This commit is contained in:
https://www.google.com/accounts/o8/id?id=AItOawkvSZ1AFJdY_1FeutZr_KWeqtzjZta1PNE 2011-07-28 17:40:53 +00:00 committed by admin
parent 1d88b966e2
commit 50edbb03eb

View file

@ -0,0 +1,48 @@
~$ mkdir test annex
~$ cd test
~$ git init
Initialized empty Git repository in /home/user/test/.git/
~$ git annex init test
init test ok
~$ git annex initremote localrsync encryption=none type=rsync rsyncurl=localhost:annex/
initremote localrsync ok
~$ cp /home/user/Music/Charming\ Hostess/Eat/03\ Mi\ Nuera.ogg ./
~$ git annex add 03\ Mi\ Nuera.ogg
add 03 Mi Nuera.ogg ok
(Recording state in git...)
~$ git commit -m "add ogg"
fatal: No HEAD commit to compare with (yet)
fatal: No HEAD commit to compare with (yet)
[master (root-commit) 12608af] add ogg
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 120000 03 Mi Nuera.ogg
~$ git annex move 03\ Mi\ Nuera.ogg --to localrsync
move 03 Mi Nuera.ogg (checking localrsync...) (to localrsync...)
sending incremental file list
1X/
1X/39/
1X/39/WORM-s6296772-m1311874383--03 Mi Nuera.ogg/
1X/39/WORM-s6296772-m1311874383--03 Mi Nuera.ogg/WORM-s6296772-m1311874383--03 Mi Nuera.ogg
6296772 100% 42.98MB/s 0:00:00 (xfer#1, to-check=0/5)
sent 6297754 bytes received 43 bytes 4198531.33 bytes/sec
total size is 6296772 speedup is 1.00
ok
~$ git annex get 03\ Mi\ Nuera.ogg
get 03 Mi Nuera.ogg (from localrsync...)
rsync: link_stat "/home/user/annex/1X/39/WORM-s6296772-m1311874383--03" failed: No such file or directory (2)
rsync: link_stat "/home/user/Mi" failed: No such file or directory (2)
rsync: change_dir "/home/user/Nuera.ogg" failed: No such file or directory (2)
rsync: link_stat "/home/user/Mi" failed: No such file or directory (2)
rsync: link_stat "/home/user/Nuera.ogg" failed: No such file or directory (2)
sent 8 bytes received 12 bytes 13.33 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(1526) [Receiver=3.0.7]
rsync failed -- run git annex again to resume file transfer
Unable to access these remotes: localrsync
Try making some of these repositories available:
b8b1ea7a-b93f-11e0-b712-d7bffb6e61e6 -- localrsync
failed
git-annex: 1 failed