This commit is contained in:
http://id.wgnr.me/ 2012-05-02 14:09:28 +00:00 committed by admin
parent 8f8f7ecf6f
commit 834e73cde5

View file

@ -0,0 +1,49 @@
What steps will reproduce the problem?
$ git annex initremote rsyncremote type=rsync rsyncurl=myuser@rsync.hidrive.strato.com:/users/myuser/git-annex/Music/ encryption=0xC597DECC177AFD7C
$ git annex get --from rsyncremote "file"
What is the expected output? What do you see instead?
I expect that the requested file is copied as for every other remote, but instead I get this error:
----------------------------------------
get <file> (from rsyncremote...) (gpg)
rsync: change_dir "/users/myuser/git-annex/Music/0e5/a5b/'GPGHMACSHA1--3afd32ab8e70ac329262adeb770c330b0845b1e0" failed: No such file or directory (2)
sent 8 bytes received 10 bytes 7.20 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1518) [Receiver=3.0.9]
rsync failed -- run git annex again to resume file transfer
rsync: change_dir "/users/myuser/git-annex/Music/8k/QZ/'GPGHMACSHA1--3afd32ab8e70ac329262adeb770c330b0845b1e0" failed: No such file or directory (2)
sent 8 bytes received 10 bytes 36.00 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1518) [Receiver=3.0.9]
rsync failed -- run git annex again to resume file transfer
failed
git-annex: get: 1 failed
----------------------------------------
I can verify that the directory /users/myuser/git-annex/Music/0e5/a5b/GPGHMACSHA1--3afd32ab8e70ac329262adeb770c330b0845b1e0 exists in the rsync remote, without the ' character.
What version of git-annex are you using? On what operating system?
I tried versions 3.20120315 and 3.20120430 on Gentoo linux.
$ uname -a
Linux odin 3.3.1-gentoo-odin #1 SMP Sat Apr 7 21:18:11 CEST 2012 x86_64 Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz GenuineIntel GNU/Linux
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.4.1
Please provide any additional information below.
The rsync remote config in .git/config:
[remote "rsyncremote"]
annex-rsyncurl = myuser@rsync.hidrive.strato.com:/users/myuser/git-annex/Music/
annex-uuid = "UUID"