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
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
dc12ce762e
-Wall clean
2010-10-31 14:23:51 -04:00
Joey Hess
583e8118d4
ok, let's just use extensible-exceptions
2010-10-30 17:29:11 -04:00
Joey Hess
23da029b75
Support building with Debian stable's ghc.
2010-10-30 15:10:10 -04:00
Joey Hess
7c0777c60d
avoid unnessary newlines before progress in quiet mode
2010-10-29 14:10:55 -04:00
Joey Hess
694a33e91b
syntax tweaks
2010-10-28 14:20:02 -04:00
Joey Hess
045b051ec1
got rid of almost all 'return ()'
2010-10-28 12:40:05 -04:00
Joey Hess
9c7b3dce9e
tweaks
2010-10-28 12:15:21 -04:00
Joey Hess
833d4b342e
copyright statements
2010-10-27 16:53:54 -04:00
Joey Hess
4e7c27f58b
tweak
2010-10-27 13:39:45 -04:00
Joey Hess
99eaf41da5
better messages
2010-10-25 20:48:32 -04:00
Joey Hess
fec9f611df
add setkey subcommand
...
And finished implementing move --to
2010-10-25 20:19:08 -04:00
Joey Hess
d0a9cdadaf
add dropkey subcommand and --quiet
...
Needed for better git annex move --from
2010-10-25 18:32:29 -04:00
Joey Hess
8beed17168
drop incomplete bare repo support
...
Added a bug about it.
Now git annex move --from works fully
2010-10-25 17:31:07 -04:00
Joey Hess
1aa19422ac
git annex move --from remote almost working
2010-10-25 17:17:03 -04:00
Joey Hess
fed1d3c1f5
bugfix
...
Annex.new can throw an IO exception if a remote git repo is not available.
2010-10-23 22:25:07 -04:00
Joey Hess
3cf16c9883
incomplete
2010-10-23 14:58:14 -04:00
Joey Hess
fcd30ce992
bugfix
2010-10-23 14:26:23 -04:00
Joey Hess
08236e780f
reorg
2010-10-23 14:14:36 -04:00
Joey Hess
9dfbf40d1a
reorg remote key presense checking code
...
Also, it now checks if a key is inAnnex, ie, cached in .git/annex, not if
it is present in a remote. For the File Backend, these are equivilant, not
so for other backends.
2010-10-23 13:18:47 -04:00
Joey Hess
2fbbbd34bc
store from and to repositories separately
2010-10-23 12:35:10 -04:00
Joey Hess
f4e2dde8a8
fix perl refugee code
2010-10-22 20:47:14 -04:00
Joey Hess
ff38e49eb4
--from/--to can be used to limit the remote repository that git-annex uses.
2010-10-22 20:35:39 -04:00
Joey Hess
26005d23ba
separate remote names with commas
2010-10-22 15:21:23 -04:00
Joey Hess
9ec5d90b6a
avoid reading configs for URL remotes every time
2010-10-22 14:28:47 -04:00
Joey Hess
19fde4960d
new fromkey subcommand, for registering urls, etc
...
had to redo Annex monad's flag storage
2010-10-21 16:30:16 -04:00
Joey Hess
4f8d28819d
improved messages when a file is not available in remotes
2010-10-19 14:13:48 -04:00
Joey Hess
3531ce5c54
fix remote uuid learning bug
2010-10-19 13:08:05 -04:00
Joey Hess
b3e5590fb2
update
2010-10-16 17:44:59 -04:00
Joey Hess
909f619c07
tweaks
2010-10-16 16:20:49 -04:00
Joey Hess
508a3b65ed
annex.numcopies works
2010-10-14 17:38:13 -04:00
Joey Hess
a200761e66
implemented basic --drop
2010-10-14 14:14:19 -04:00
Joey Hess
f9557d7c5e
uuid cache done
2010-10-14 13:49:45 -04:00
Joey Hess
8df3e2aa02
query remotes for uuids
...
(not cached yet)
2010-10-14 13:11:42 -04:00
Joey Hess
6f3572e47f
more reorg, spiffed up state monad
2010-10-14 03:18:11 -04:00
Joey Hess
4c1d8b9689
more namespace cleanup
2010-10-14 02:41:54 -04:00
Joey Hess
48643b68b3
convert GitRepo to qualified import
2010-10-14 02:36:41 -04:00
Joey Hess
eda80e44c5
add module that only exports abstract types
2010-10-14 02:12:41 -04:00
Joey Hess
8ab54401b6
update
2010-10-13 23:18:58 -04:00
Joey Hess
912d10e78b
implemented remotes config caching
2010-10-13 22:59:43 -04:00
Joey Hess
b160748516
use a state monad
...
enormous reworking
2010-10-13 21:28:47 -04:00
Joey Hess
e28ff5bdaf
almost able to get files from remotes now!
2010-10-13 15:55:18 -04:00