aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/git_annex_upgrade_loses_track_of_files_with___34____38____34___character___40...
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-07-07 17:04:59 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-07-07 17:05:53 -0400
commitff531b96778abba9e992103a644ba80f7ddf2397 (patch)
tree7eb6242074a805b0bff0c62740613ef7cbc6e43d /doc/bugs/git_annex_upgrade_loses_track_of_files_with___34____38____34___character___40__and_probably_others__41__.mdwn
parent2fb771f135ad0a5adec0349a6270cadc518e04f6 (diff)
parentdac158c7b206b2f4d82ae6b993189e8148ad5f09 (diff)
Merge branch 'master' of ssh://git-annex.branchable.com
Diffstat (limited to 'doc/bugs/git_annex_upgrade_loses_track_of_files_with___34____38____34___character___40__and_probably_others__41__.mdwn')
-rw-r--r--doc/bugs/git_annex_upgrade_loses_track_of_files_with___34____38____34___character___40__and_probably_others__41__.mdwn33
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/bugs/git_annex_upgrade_loses_track_of_files_with___34____38____34___character___40__and_probably_others__41__.mdwn b/doc/bugs/git_annex_upgrade_loses_track_of_files_with___34____38____34___character___40__and_probably_others__41__.mdwn
new file mode 100644
index 000000000..9daf8a0cb
--- /dev/null
+++ b/doc/bugs/git_annex_upgrade_loses_track_of_files_with___34____38____34___character___40__and_probably_others__41__.mdwn
@@ -0,0 +1,33 @@
+"git annex upgrade" has lost track of some of my files. Most of them have "&" characters. The others contain "%" characters (I haven't tried the testcase below with "%" however).
+
+Testcase:
+
+ # (With git annex v2)
+ mkdir ~/testannex1
+ cd ~/testannex1
+ git init
+ git annex init "testannex1"
+ touch '02 - Afternoons & Coffeespoons.mp3'
+ touch 'no ampersand.mp3'
+ git annex add '02 - Afternoons & Coffeespoons.mp3'
+ git annex add 'no ampersand.mp3'
+ git commit -m added
+ git annex whereis '02 - Afternoons & Coffeespoons.mp3'
+ git annex whereis 'no ampersand.mp3'
+ # (Upgrade git-annex binary to v3 and then...)
+ git annex upgrade
+ git annex whereis '02 - Afternoons & Coffeespoons.mp3'
+ git annex whereis 'no ampersand.mp3'
+
+This produces:
+
+ 12:38:40 ~/testannex1 (master)$ git annex whereis '02 - Afternoons & Coffeespoons.mp3'
+ whereis 02 - Afternoons & Coffeespoons.mp3 (0 copies)
+ failed
+ git-annex: 1 failed
+ 12:38:40 ~/testannex1 (master)$ git annex whereis 'no ampersand.mp3'
+ whereis no ampersand.mp3 (1 copy)
+ a7b680fc-a8d0-11e0-b0fe-4f94e86d1fb7 -- testannex1 <-- here
+ ok
+
+[[!tag done]]