aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/Windows__58___repo_located_on_different_drive_letter_unavailable.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-03-12 12:57:18 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-03-12 12:57:18 -0400
commitca10c06819aacc50d4423836ce51fc4486803789 (patch)
treee96072aef36f12d28d715fd4b7396d3fea4eef4c /doc/bugs/Windows__58___repo_located_on_different_drive_letter_unavailable.mdwn
parent024dd384140b25f69defd762e41fd5e4af4f3567 (diff)
rename files containing :
This is mostly to let the repo check out on windows w/o using cygwin's git. But, bash completion is also crap with : , so ..
Diffstat (limited to 'doc/bugs/Windows__58___repo_located_on_different_drive_letter_unavailable.mdwn')
-rw-r--r--doc/bugs/Windows__58___repo_located_on_different_drive_letter_unavailable.mdwn164
1 files changed, 164 insertions, 0 deletions
diff --git a/doc/bugs/Windows__58___repo_located_on_different_drive_letter_unavailable.mdwn b/doc/bugs/Windows__58___repo_located_on_different_drive_letter_unavailable.mdwn
new file mode 100644
index 000000000..070191a63
--- /dev/null
+++ b/doc/bugs/Windows__58___repo_located_on_different_drive_letter_unavailable.mdwn
@@ -0,0 +1,164 @@
+Suppose I want to have following repositories syncronized on my windows pc:
+
+ D:\Annex (NTFS hard drive)
+ R:\Annex (FAT32 usb flash drive)
+
+What I'm experiencing is that I simply can't do this. Everything ok if both repositories located on the same drive, for example:
+
+ D:\Annex1
+ D:\Annex2
+
+I'm new to git annex, tell me if I'm doing something completely wrong.
+
+### System information:
+
+* windows 8.1
+* git 1.9.4.msysgit.0
+* git-annex 5.20150327-g22c9bbd (official build)
+
+### Short steps for reproduction:
+
+* init repo A on drive C
+* commit some file
+* clone repo A to repo B on drive D
+* add remote to repo B, pointing to repo A
+* add remote to repo A, pointing to repo B
+* execute sync on repo B
+
+### Verbose step by step reproduction:
+
+ C:\>mkdir Annex
+
+ C:\>cd Annex
+
+ C:\Annex>git init
+ Initialized empty Git repository in C:/Annex/.git/
+
+ C:\Annex>git-annex init c
+ init c
+ Detected a filesystem without fifo support.
+
+ Disabling ssh connection caching.
+
+ Detected a crippled filesystem.
+
+ Enabling direct mode.
+ ok
+ (recording state in git...)
+
+ C:\Annex>echo "Hello" > README.txt
+
+ C:\Annex>git-annex add README.txt
+ add README.txt ok
+ (recording state in git...)
+
+ C:\Annex>git-annex sync
+ commit ok
+
+ C:\>D:
+
+ D:\>mkdir Annex
+
+ D:\>cd Annex
+
+ D:\Annex>cd ..
+
+ D:\>git clone C:\Annex
+ Cloning into 'Annex'...
+ done.
+
+ D:\>cd Annex
+
+ D:\Annex>git-annex init d
+ init d
+ Detected a filesystem without fifo support.
+
+ Disabling ssh connection caching.
+
+ Detected a crippled filesystem.
+ (merging origin/git-annex into git-annex...)
+ (recording state in git...)
+
+ Enabling direct mode.
+ ok
+ (recording state in git...)
+
+ D:\Annex>git remote add c C:\Annex
+
+ D:\Annex>cd ..
+
+ D:\>C:
+
+ C:\>cd Annex
+
+ C:\Annex>git remote add d D:\Annex
+
+ C:\Annex>cd ..
+
+ C:\>D:
+
+ D:\>cd Annex
+
+ D:\Annex>git-annex sync
+ commit ok
+
+ D:\Annex>git-annex get README.txt
+ get README.txt (not available)
+ Try making some of these repositories available:
+ 98a6384c-ede4-4c97-b20d-9e1895e415cd -- c
+ failed
+ git-annex: get: 1 failed
+
+### Notices
+
+Latest sync command should inject annex-uuid to .config file, but it does not. For some reason repository on other drive is unavailable. If I do all of this on the same drive everything works ok. I've also checked case with one bare repository, result is the same.
+
+### Resulting .config files
+
+#### Repo on drive C
+
+ [core]
+ repositoryformatversion = 0
+ filemode = false
+ bare = true
+ logallrefupdates = true
+ symlinks = false
+ ignorecase = true
+ hideDotFiles = dotGitOnly
+ [annex]
+ uuid = 98a6384c-ede4-4c97-b20d-9e1895e415cd
+ sshcaching = false
+ crippledfilesystem = true
+ version = 5
+ direct = true
+ [remote "d"]
+ url = D:\\Annex
+ fetch = +refs/heads/*:refs/remotes/d/*
+
+#### Repo on drive D
+
+ [core]
+ repositoryformatversion = 0
+ filemode = false
+ bare = true
+ logallrefupdates = true
+ symlinks = false
+ ignorecase = true
+ hideDotFiles = dotGitOnly
+ [remote "origin"]
+ url = C:\\Annex
+ fetch = +refs/heads/*:refs/remotes/origin/*
+ [branch "annex/direct/master"]
+ remote = origin
+ merge = refs/heads/annex/direct/master
+ [annex]
+ uuid = 74b81547-ef4b-4bd6-bc6c-38578029ac96
+ sshcaching = false
+ crippledfilesystem = true
+ version = 5
+ direct = true
+ [remote "c"]
+ url = C:\\Annex
+ fetch = +refs/heads/*:refs/remotes/c/*
+
+> [[fixed|done]]; a simple path calculation bug. --[[Joey]]