Commit graph

43 commits

Author SHA1 Message Date
Joey Hess
2099407d8a Add --exclude option to exclude files from processing.
Required some lifting so flags are evaled in the Annex monad before
file filtering.
2010-12-08 14:07:49 -04:00
Joey Hess
2fba1ba40d Avoid deleting temp files when rsync fails. 2010-12-02 17:51:02 -04:00
Joey Hess
0e55d6a907 move stuff out of Core 2010-11-14 14:44:24 -04:00
Joey Hess
0eae5b806c broke subcommands out into separate modules 2010-11-02 19:04:24 -04:00
Joey Hess
0655ae4b8a move 2010-11-01 03:01:58 -04:00
Joey Hess
00d4c7cd01 simplify evals 2010-10-31 23:24:16 -04:00
Joey Hess
fd6611f955 Fix crash on unknown symlinks. 2010-10-31 18:04:34 -04:00
Joey Hess
1576c48c80 more Wall cleaning 2010-10-31 14:32:18 -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
e87287c11b fix failure propigation 2010-10-25 19:17:11 -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
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
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
909f619c07 tweaks 2010-10-16 16:20:49 -04:00
Joey Hess
e80160380a now finds files in git or not depending on what command wants 2010-10-16 14:58:35 -04:00
Joey Hess
29039fdf97 add flags, and change to subcommand style 2010-10-14 21:10:59 -04:00
Joey Hess
467c4b2751 better shutdown 2010-10-14 17:57:04 -04:00
Joey Hess
aa2f4bd810 bug 2010-10-14 16:13:43 -04:00
Joey Hess
1d628ff238 comment 2010-10-14 14:50:46 -04:00
Joey Hess
a0c0136056 cooler command-line handling 2010-10-14 14:49:19 -04:00
Joey Hess
90cdc61c7c refactor 2010-10-14 14:38:29 -04:00
Joey Hess
f407f23a54 more refactor 2010-10-14 03:40:26 -04:00
Joey Hess
6f3572e47f more reorg, spiffed up state monad 2010-10-14 03:18:11 -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
b160748516 use a state monad
enormous reworking
2010-10-13 21:28:47 -04:00
Joey Hess
f87c5ed949 copying almost working 2010-10-13 16:21:50 -04:00
Joey Hess
f6306bc301 wording 2010-10-11 18:39:36 -04:00
Joey Hess
530f16b980 better result summary 2010-10-11 18:39:09 -04:00
Joey Hess
200bc6fdb8 better option handling
multiple-file support for all modes
2010-10-10 21:00:42 -04:00
Joey Hess
026adce5a0 update 2010-10-10 18:25:31 -04:00
Joey Hess
e5514e0cb0 update 2010-10-10 18:05:37 -04:00
Joey Hess
dce9c2e080 convert GitRepo to struct with constructor 2010-10-10 16:06:36 -04:00
Joey Hess
eb577ee37f stub checksum backend 2010-10-10 15:27:49 -04:00
Joey Hess
cc23519235 update 2010-10-10 15:04:18 -04:00
Joey Hess
80ce5f90db update 2010-10-10 13:47:04 -04:00
Joey Hess
a55f49efb6 update 2010-10-10 12:41:20 -04:00
Joey Hess
a745043e7d don't repeatedly call repoTop, it's a bit expensive 2010-10-10 12:35:28 -04:00
Joey Hess
7ad4a0bb7d log compaction 2010-10-10 12:32:15 -04:00
Joey Hess
f98fa53d7f fixed close after locking 2010-10-10 11:08:40 -04:00
Joey Hess
852ead4707 add gitPrep to handle .gitattributes 2010-10-10 02:22:47 -04:00
Joey Hess
c67521741a add 2010-10-10 00:18:16 -04:00