Commit graph

15191 commits

Author SHA1 Message Date
Joey Hess
0bd7ebbf35 make a ssh call honor annex-ssh-options 2010-10-31 23:50:58 -04:00
Joey Hess
cec25153ec bugfix: git annex move --from <file remote>
The data structure comparison didn't work because for a file remote,
the config gets read for one structure but not the other.
2010-10-31 23:38:07 -04:00
Joey Hess
00d4c7cd01 simplify evals 2010-10-31 23:24:16 -04:00
Joey Hess
f3e4633e35 refactor inAnnex remote checking to Remotes 2010-10-31 23:21:16 -04:00
Joey Hess
0194394be6 Added remote.annex-scp-options and remote.annex-ssh-options. 2010-10-31 22:56:56 -04:00
Joey Hess
e70812eca9 use ssh -p to preserve perms
and refactor
2010-10-31 22:29:11 -04:00
Joey Hess
c6206c4560 tweak 2010-10-31 22:22:01 -04:00
Joey Hess
d04bfceaad more accurate type 2010-10-31 22:20:07 -04:00
Joey Hess
11efa7ef60 more escaping for ssh 2010-10-31 22:19:25 -04:00
Joey Hess
228b32d473 bugfix: shell escape for scp 2010-10-31 22:13:43 -04:00
Joey Hess
4e742d62f4 Revert "add toggles"
This reverts commit f4383532e6.
2010-10-31 19:57:05 -04:00
Joey Hess
b5411926ab Revert "foo"
This reverts commit 371906efb0.
2010-10-31 19:54:12 -04:00
Joey Hess
371906efb0 foo 2010-10-31 19:53:17 -04:00
Joey Hess
f4383532e6 add toggles 2010-10-31 19:52:11 -04:00
Joey Hess
fd6611f955 Fix crash on unknown symlinks. 2010-10-31 18:04:34 -04:00
Joey Hess
b220e117f2 idea 2010-10-31 17:20:05 -04:00
Joey Hess
763882925d idea2 2010-10-31 17:04:28 -04:00
Joey Hess
9429cdb9da idea 2010-10-31 17:02:49 -04:00
Joey Hess
dda0679290 all Walls are clean! 2010-10-31 16:04:19 -04:00
Joey Hess
cf4c926f2e more Wall cleaning 2010-10-31 16:00:32 -04:00
Joey Hess
b2c28c1ac0 more Wall cleaning 2010-10-31 15:50:07 -04:00
Joey Hess
aa05859410 more Wall cleaning 2010-10-31 15:38:47 -04:00
Joey Hess
435ec21d58 bugfix: really run GitQueue against specified repo, not necessarily pwd 2010-10-31 15:25:55 -04:00
Joey Hess
96fa6b89ac more Wall cleaning 2010-10-31 15:12:56 -04:00
Joey Hess
80ed63ebb4 Merge remote branch 'branchable/master' 2010-10-31 15:10:26 -04:00
Joey Hess
28b5a9fa20 changelog 2010-10-31 15:09:50 -04:00
Joey Hess
40729e4bfd more Wall cleaning 2010-10-31 14:40:34 -04:00
Joey Hess
2d893b3331 more Wall cleaning 2010-10-31 14:39:53 -04:00
Joey Hess
1576c48c80 more Wall cleaning 2010-10-31 14:32:18 -04:00
Joey Hess
dc12ce762e -Wall clean 2010-10-31 14:23:51 -04:00
http://users.itk.ppke.hu/~cstamas/openid/
081517b6e9 add 'done' link 2010-10-31 16:10:22 +00:00
http://users.itk.ppke.hu/~cstamas/openid/
bcfd0d908a building on squeeze 2010-10-31 16:06:00 +00:00
Joey Hess
6a9a9bd5a3 another memory optimisation
This time memory leaked if lots of UUIDs needed to be pretty-printed, as in
a get or drop of many files. Essentially the same strict read buffering
problem that affected the LocationLog underneath though.

uuidMap really could stand to be cached, as the uuid log is read many times
in this case. But it is a fairly edge case.
2010-10-31 01:51:50 -04:00
Joey Hess
59672d32ed write to tmp file
Writing to a tmp file means no locking is needed, and it fixes a bug
introduced by the last commit, which made log files be read lazily, so
they could still be open when written, which breaks due to haskell's
internal locking.
2010-10-31 01:06:58 -04:00
Joey Hess
d5a0c16298 more space saving by not locking location log for read
Actions that need to read all the location logs, like "git annex get .",
were still using a lot of memory, and profiling pointed at the location log
reading as the problem. Not locking them for read, and thus avoiding the
strict reading fixes the problem, although I don't quite understand why.
(Oddly, -sstderr profiling did not show the memory as used, though top
showed dozens of MB being used.)

Anyway, it's fine to not lock location logs for read, since the log format
and parser should be safe if a partial read of a file being written happens.
Note that that could easily happen anyway, if doing a git pull, etc,
especially if git needs to union merge in changes from elsewhere. The worst
that will happen is git-annex could get a bad or out of date idea about
locations and refuse to eg, --drop something.
2010-10-30 23:34:40 -04:00
Joey Hess
c2651d64bc Fixed memory leak; git-annex no longer reads the whole file list from git before starting, and will be much faster with large repos. 2010-10-30 23:19:33 -04:00
Joey Hess
963bfa9673 cpp not needed 2010-10-30 22:47:34 -04:00
Joey Hess
465fb0ebc4 link to ask.debian.net 2010-10-30 20:43:05 -04:00
Joey Hess
765c9fa82d meh 2010-10-30 17:38:20 -04:00
Joey Hess
140b999aca Merge remote branch 'branchable/master' 2010-10-30 17:29:42 -04:00
Joey Hess
583e8118d4 ok, let's just use extensible-exceptions 2010-10-30 17:29:11 -04:00
Joey Hess
fad1616e68 build fix 2010-10-30 17:26:45 -04:00
http://users.itk.ppke.hu/~cstamas/openid/
8edc7a0e43 formatting fix 2010-10-30 19:46:39 +00:00
http://users.itk.ppke.hu/~cstamas/openid/
2be74a60df reply to joey 2010-10-30 19:40:17 +00:00
Joey Hess
b4a218e078 meh 2010-10-30 15:15:04 -04:00
Joey Hess
128eaa7073 note 2010-10-30 15:11:11 -04:00
Joey Hess
23da029b75 Support building with Debian stable's ghc. 2010-10-30 15:10:10 -04:00
Joey Hess
83715949c9 response 2010-10-30 15:03:34 -04:00
http://users.itk.ppke.hu/~cstamas/openid/
d1fd2c1428 2010-10-30 17:25:38 +00:00
Joey Hess
c88d493945 changelog 2010-10-29 17:38:12 -04:00