summaryrefslogtreecommitdiff
path: root/doc/bugs/rsync_special_remote_fails_to___96__get__96___files_which_have_names_containing_spaces.mdwn
blob: 040d86bb874585d3892cff35b94b05173d657859 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
    ~$ 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

> [[fixed|done]] --[[Joey]]