summaryrefslogtreecommitdiff
path: root/doc/bugs/backend_version_upgrade_leaves_repo_unusable.mdwn
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U <Richard@web>2011-03-27 20:39:14 +0000
committerGravatar admin <admin@branchable.com>2011-03-27 20:39:14 +0000
commit834309d1d0c96f5f1ca9530c9622a24234242e28 (patch)
treed9ab9c3d2520f7949c2c98a4e0e0b9b352d1aa75 /doc/bugs/backend_version_upgrade_leaves_repo_unusable.mdwn
parentbec63186ea0b9b25e2387685c209578bc316397d (diff)
Diffstat (limited to 'doc/bugs/backend_version_upgrade_leaves_repo_unusable.mdwn')
-rw-r--r--doc/bugs/backend_version_upgrade_leaves_repo_unusable.mdwn28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/bugs/backend_version_upgrade_leaves_repo_unusable.mdwn b/doc/bugs/backend_version_upgrade_leaves_repo_unusable.mdwn
new file mode 100644
index 000000000..16a0ca374
--- /dev/null
+++ b/doc/bugs/backend_version_upgrade_leaves_repo_unusable.mdwn
@@ -0,0 +1,28 @@
+foo is a local repo, bar is a bare remote.
+
+I upgraded foo's git-annex to 0.20110325 and upgraded a local repo backend to version 2. I then ran `git annex copy . --to bar` and checked the remote. This created WORM:SHA512--123123 files in annex/objects. Understandable but unwanted. So I upgraded git-annex on bar's machine, as well.
+
+ % git annex copy . --to bar
+ copy quux (checking bar) git-annex-shell: Repository version 1 is not supported. Upgrade this repository: git-annex upgrade (to bar)
+ git-annex-shell: Repository version 1 is not supported. Upgrade this repository: git-annex upgrade
+ rsync: connection unexpectedly closed (0 bytes received so far) [sender]
+ rsync error: error in rsync protocol data stream (code 12) at io.c(601) [sender=3.0.7]
+
+ rsync failed -- run git annex again to resume file transfer
+ failed
+
+Running `git annex upgrade` on bar's machine I get:
+
+ % git annex upgrade
+ upgrade (v1 to v2) (moving content...) git-annex: Prelude.read: no parse
+
+Again, bar is a bare repo.
+Running the copy job again, I am still getting the same error as above (as expected). Partial contents of annex/objects on bar:
+
+ [...]
+ SHA512:123
+ WORM:SHA512--234
+ [...]
+
+
+-- RichiH