summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawmURXBzaYE1gmVc-X9eLAyDat_6rHPl670 <Bram@web>2012-06-28 12:37:29 +0000
committerGravatar admin <admin@branchable.com>2012-06-28 12:37:29 +0000
commitb2327f04c6484d47ad2bf7194934af956fe9e953 (patch)
tree8f3f716ff345dbdf6b874b376e81bb23b13ae924
parent1f09ae686ef35f8fd2d973754f8e1efd99161f4a (diff)
-rw-r--r--doc/bugs/watcher_commits_unlocked_files.mdwn43
1 files changed, 43 insertions, 0 deletions
diff --git a/doc/bugs/watcher_commits_unlocked_files.mdwn b/doc/bugs/watcher_commits_unlocked_files.mdwn
new file mode 100644
index 000000000..b80759376
--- /dev/null
+++ b/doc/bugs/watcher_commits_unlocked_files.mdwn
@@ -0,0 +1,43 @@
+When having "git annex watch" running, unlocking files causes the watcher to immediately lock/commit them. Observe:
+
+ bram@falafel% git annex unlock
+ unlock 01 - Crunchy Joe (featuring Sakhile Moleshe).flac (copying...) ok
+ unlock 02 - Get Busy Living (featuring Emily Bruce).flac (copying...) ok
+ unlock 03 - Show You How.flac (copying...) ok
+ unlock 04 - Call Me (featuring Monique Hellenberg).flac (copying...) ok
+ unlock 05 - Humbug (featuring Sakhile Moleshe).flac (copying...) ok
+ unlock 06 - Brush Your Hair.flac (copying...) ok
+ unlock 07 - We Come Together (featuring Sakhile Moleshe).flac (copying...) ok
+ unlock 08 - In Too Deep (featuring Emily Bruce).flac (copying...) ok
+ unlock 09 - My Rainbow.flac (copying...) ok
+ unlock 10 - Big Band Wolf.flac (copying...) ok
+ (Recording state in git...)
+ bram@falafel% ls -l 01\ -\ Crunchy\ Joe\ \(featuring\ Sakhile\ Moleshe\).flac
+ lrwxrwxrwx 1 bram bram 208 Jul 18 2011 01 - Crunchy Joe (featuring Sakhile Moleshe).flac -> ../../.git/annex/objects/KX/15/SHA256E-s23981083--5ffd30042e313f8e10cf51ded59c369dd03a600fa3b8c13962f833694af449b5.flac/SHA256E-s23981083--5ffd30042e313f8e10cf51ded59c369dd03a600fa3b8c13962f833694af449b5.flac
+ bram@falafel% tail ~/Media/.git/annex/daemon.log
+ add ./Uncategorized/Goldfish - Get Busy Living (2010)/04 - Call Me (featuring Monique Hellenberg).flac (checksum...) ok
+ add ./Uncategorized/Goldfish - Get Busy Living (2010)/03 - Show You How.flac (checksum...) ok
+ add ./Uncategorized/Goldfish - Get Busy Living (2010)/02 - Get Busy Living (featuring Emily Bruce).flac (checksum...) ok
+ add ./Uncategorized/Goldfish - Get Busy Living (2010)/10 - Big Band Wolf.flac (checksum...) ok
+ add ./Uncategorized/Goldfish - Get Busy Living (2010)/09 - My Rainbow.flac (checksum...) ok
+ add ./Uncategorized/Goldfish - Get Busy Living (2010)/08 - In Too Deep (featuring Emily Bruce).flac (checksum...) ok
+ add ./Uncategorized/Goldfish - Get Busy Living (2010)/07 - We Come Together (featuring Sakhile Moleshe).flac (checksum...) ok
+ add ./Uncategorized/Goldfish - Get Busy Living (2010)/06 - Brush Your Hair.flac (checksum...) ok
+ (Recording state in git...)
+ (Recording state in git...)
+ bram@falafel% git annex watch --stop
+ bram@falafel% git annex unlock
+ unlock 01 - Crunchy Joe (featuring Sakhile Moleshe).flac (copying...) ok
+ unlock 02 - Get Busy Living (featuring Emily Bruce).flac (copying...) ok
+ unlock 03 - Show You How.flac (copying...) ok
+ unlock 04 - Call Me (featuring Monique Hellenberg).flac (copying...) ok
+ unlock 05 - Humbug (featuring Sakhile Moleshe).flac (copying...) ok
+ unlock 06 - Brush Your Hair.flac (copying...) ok
+ unlock 07 - We Come Together (featuring Sakhile Moleshe).flac (copying...) ok
+ unlock 08 - In Too Deep (featuring Emily Bruce).flac (copying...) ok
+ unlock 09 - My Rainbow.flac (copying...) ok
+ unlock 10 - Big Band Wolf.flac (copying...) ok
+ bram@falafel% ls -l 01\ -\ Crunchy\ Joe\ \(featuring\ Sakhile\ Moleshe\).flac
+ -rw-r--r-- 1 bram bram 23981083 Jul 18 2011 01 - Crunchy Joe (featuring Sakhile Moleshe).flac
+
+This is using git-annex 3.20120624 on Ubuntu, compiled with cabal (I upgraded my libghc-stm-dev package, as you mentioned in another bug, to get the watch command working on this version).