Commit graph

83 commits

Author SHA1 Message Date
Joey Hess
28b5a9fa20 changelog 2010-10-31 15:09:50 -04:00
Joey Hess
c9347693d7 factor out stagedFiles 2010-10-29 17:26:26 -04:00
Joey Hess
694a33e91b syntax tweaks 2010-10-28 14:20:02 -04:00
Joey Hess
ecfbc01ff8 Add --verbose 2010-10-28 14:04:22 -04:00
Joey Hess
045b051ec1 got rid of almost all 'return ()' 2010-10-28 12:40:05 -04:00
Joey Hess
833d4b342e copyright statements 2010-10-27 16:53:54 -04:00
Joey Hess
563484e135 pre-commit hook 2010-10-27 14:33:44 -04:00
Joey Hess
3281a1cb19 don't try to set up .gitattributes every time; only do it on git annex init 2010-10-27 13:55:28 -04:00
Joey Hess
24ee4439d4 use git command queue 2010-10-26 16:15:29 -04:00
Joey Hess
5d4ff035ba bugfix 2010-10-25 20:52:03 -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
a8fbd5d91f speed up git annex move --from
Avoid extra ssh to check if the remote has the key, just trust the location
log (and propigate error if it's wrong).

Quick exit when asked to move files that are not on the remote, so this is
now suitable to be used on a big directory.
2010-10-25 19:34:44 -04:00
Joey Hess
e87287c11b fix failure propigation 2010-10-25 19:17:11 -04:00
Joey Hess
3b6b9ab4e1 typo 2010-10-25 18:33:59 -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
1aa19422ac git annex move --from remote almost working 2010-10-25 17:17:03 -04:00
Joey Hess
3f0de706dd comments 2010-10-25 15:49:52 -04:00
Joey Hess
1f3088fb94 wording 2010-10-25 15:46:53 -04:00
Joey Hess
7fe4bfa20f split commands into 3 phases
I feel like I just leveled up in Haskell.
2010-10-25 15:44:27 -04:00
Joey Hess
e29210d1dd update 2010-10-25 14:10:38 -04:00
Joey Hess
3cf16c9883 incomplete 2010-10-23 14:58:14 -04:00
Joey Hess
f05ed818f9 implemented 1/4th of move subcommand 2010-10-23 14:27:04 -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
514b98ff55 document move subcommand 2010-10-21 17:59:32 -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
d42f8a9f39 autocommit on init 2010-10-20 12:07:24 -04:00
Joey Hess
7bc4435ffd update 2010-10-19 15:59:40 -04:00
Joey Hess
d23fc22f0e less verbose failures seem better here 2010-10-19 12:55:40 -04:00
Joey Hess
2caf711827 stop trapping all exceptions
Need to allow exceptions to be thrown for SIGPIPE propigation.

Converted places that used error unncessarily to not.
2010-10-19 01:46:20 -04:00
Joey Hess
f3dcc8489d gratuitous rename 2010-10-18 02:06:27 -04:00
Joey Hess
0382d26cdb speling 2010-10-18 01:57:32 -04:00
Joey Hess
4b1086cc7d experimentally, removing all actual git committing
Idea is the user will commit when ready, just stage everything.
2010-10-18 01:52:06 -04:00
Joey Hess
8f634a5e16 cleanup 2010-10-17 20:35:33 -04:00
Joey Hess
335c06171a commit logs at end; faster 2010-10-17 18:52:09 -04:00
Joey Hess
e602238cd8 don't complain if a file is not annexed 2010-10-17 18:27:37 -04:00
Joey Hess
632a4e2c6d rename describe to init and show usage 2010-10-17 17:10:20 -04:00
Joey Hess
a4dc920f6b remove some old todos 2010-10-17 16:44:06 -04:00
Joey Hess
a020b0c25c atomic file retrieval from backends 2010-10-17 16:39:30 -04:00
Joey Hess
6d4fc0ca7e command output cleanup 2010-10-17 13:13:49 -04:00
Joey Hess
8f6e5da18f verbosity 2010-10-17 12:12:23 -04:00
Joey Hess
76ba2d0030 reorg 2010-10-17 12:08:59 -04:00
Joey Hess
b471822cfe move supportedBackends list into annex monad
This was necessary so the File backend could import Backend w/o a cycle.

Moved code that checks whether enough backends have a file into File
backend.
2010-10-17 11:47:36 -04:00
Joey Hess
6bfa534aa4 git annex drop -- do not try to drop if key is not in backend 2010-10-17 10:47:46 -04:00
Joey Hess
a0b040524a remove checksum from WORM
with size and mtime in the key, it's redundant
2010-10-17 00:33:05 -04:00
Joey Hess
aaee8e231f bugfix 2010-10-16 23:36:45 -04:00
Joey Hess
20b447782a typo 2010-10-16 22:59:19 -04:00
Joey Hess
c0b16e0a73 actually, unannex w/o commit can work
just have to git rm
2010-10-16 22:49:09 -04:00