Commit graph

10814 commits

Author SHA1 Message Date
Joey Hess
ee6052cbf8 update for modifying files 2010-11-10 13:27:52 -04:00
Joey Hess
43412419ea bugfix
The object's directory might exist if the backend picked the same key
as was already present. That could happen, for example, if the sha1 is the
same.

Note that I chose to go ahead and replace the old content with the new.
We don't know if they are the same (even with sha1, their timestamp or
perms could differ), so have to assume the newer one is preffered. Although
it won't propigate to other annexes, so it had better not be significantly
different!
2010-11-10 13:08:29 -04:00
Joey Hess
361d28e138 Unlocked files will now automatically be added back into the annex when committed (and the updated symlink committed), by some magic in the pre-commit hook. 2010-11-10 13:01:17 -04:00
Joey Hess
2ab448276c fix handling of staged unlocked files 2010-11-10 13:01:01 -04:00
Joey Hess
55720885ae set write bit on unlocked file 2010-11-10 12:50:00 -04:00
Joey Hess
f1c4a5a8dc close 2010-11-10 10:55:00 -04:00
Joey Hess
25b014ec26 update 2010-11-10 10:52:59 -04:00
Joey Hess
91c5fe71af add 2010-11-10 10:52:43 -04:00
Joey Hess
05ca2bebff in debian unstable! 2010-11-10 10:51:50 -04:00
Joey Hess
b52aa2d12f in debian unstable! 2010-11-10 10:51:17 -04:00
Joey Hess
515d6b6c7d Avoid using runghc to run test suite as it is not available on all architectures. Closes: #603006 2010-11-10 10:49:35 -04:00
Joey Hess
536bc97d25 lock and unlock subcommands 2010-11-09 15:59:49 -04:00
Joey Hess
d56feda25d maybe call it unlock and not checkout
It'd be confusing to have a git-annex subcommand with the same name as a
git subcommand.
2010-11-09 15:11:45 -04:00
Joey Hess
75d2925082 Merge branch 'master' into checkout
Conflicts:
	debian/changelog
	doc/backends.mdwn
2010-11-09 15:05:08 -04:00
Joey Hess
8d5374f4a3 tweak 2010-11-09 15:04:13 -04:00
Joey Hess
1d32d902c9 Annexed file contents are now made unwritable and put in unwriteable directories, to avoid them accidentially being removed or modified. (Thanks Josh Triplett for the idea.) 2010-11-08 19:26:37 -04:00
Joey Hess
8dd9f8e49e typo 2010-11-08 17:44:30 -04:00
Joey Hess
40a815d873 add unsetFileMode 2010-11-08 17:44:08 -04:00
Joey Hess
6395b790ce Reorganised the layout of .git/annex/ 2010-11-08 17:00:34 -04:00
Joey Hess
ba59ac13b2 add showSideAction 2010-11-08 16:45:41 -04:00
Joey Hess
98a77ab725 add 2010-11-08 16:40:42 -04:00
Joey Hess
50ec22e322 set version on init 2010-11-08 16:40:28 -04:00
Joey Hess
c281747b0e add queueRun 2010-11-08 16:40:02 -04:00
Joey Hess
070e8530c1 refactoring, no code changes really 2010-11-08 15:15:21 -04:00
Joey Hess
02a21d7f27 reorg .git/annex 2010-11-08 15:14:54 -04:00
Joey Hess
ab4de45491 Add annex.version, which will be used to automate upgrades. 2010-11-08 14:39:12 -04:00
Joey Hess
f03adec793 Add build dep on libghc6-testpack-dev. 2010-11-08 12:36:55 -04:00
Joey Hess
377bf24d9a documentation for checkout 2010-11-07 21:02:25 -04:00
Joey Hess
714619d9e8 add news item for git-annex 0.03 2010-11-07 18:30:38 -04:00
Joey Hess
8f949b1644 releasing version 0.03 2010-11-07 18:30:21 -04:00
Joey Hess
05d321ace6 done 2010-11-07 18:24:44 -04:00
Joey Hess
bbee90cd55 update 2010-11-07 18:23:25 -04:00
Joey Hess
009873e0eb fsck works 2010-11-07 18:22:25 -04:00
Joey Hess
316264f3e8 add annexDir 2010-11-07 17:36:24 -04:00
Joey Hess
ea8ccaa3d5 rough in fsck 2010-11-07 17:26:21 -04:00
Joey Hess
55b92860ce bigfix: doubled shell escape 2010-11-06 21:12:45 -04:00
Joey Hess
8156af90ed update 2010-11-07 00:28:17 +00:00
Joey Hess
b1e26b19c6 idea 2010-11-07 00:26:44 +00:00
Joey Hess
a3519c365f hlinted a few files 2010-11-06 17:07:11 -04:00
Joey Hess
016b6a59e7 add fsck subcommand (stub) 2010-11-06 17:06:59 -04:00
Joey Hess
6b80356f6d fixes 2010-11-04 13:40:00 -04:00
Joey Hess
cc4794ce85 support subcommands that take no params 2010-11-04 13:37:06 -04:00
Joey Hess
df4b461df1 refactor 2010-11-04 13:28:49 -04:00
Joey Hess
0eae5b806c broke subcommands out into separate modules 2010-11-02 19:04:24 -04:00
Joey Hess
606ed6bb35 better test framework 2010-11-02 17:08:16 -04:00
Joey Hess
d93a372894 add a stupid test harness 2010-11-02 16:49:35 -04:00
Joey Hess
c7b0f60fba clean up 2010-11-02 16:02:43 -04:00
Joey Hess
cecb1cbeb2 clean up 2010-11-02 16:00:55 -04:00
Joey Hess
9e5985ff98 blew several hours on getting the decodeGitFile 100% right with quickcheck 2010-11-02 15:54:43 -04:00
Joey Hess
82056a7921 reorg 2010-11-02 12:43:34 -04:00