File: broken_git_annex_map_on_direct_mode.mdwn

package info (click to toggle)
git-annex 5.20141125%2Bdeb8u1
  • links: PTS
  • area: main
  • in suites: jessie
  • size: 37,832 kB
  • sloc: haskell: 42,603; sh: 1,080; ansic: 498; makefile: 316; perl: 125
file content (58 lines) | stat: -rw-r--r-- 1,330 bytes parent folder | download | duplicates (4)
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
51
52
53
54
55
56
57
58
### Please describe the problem.

`git annex map` shows broken graph when direct mode is used

### What steps will reproduce the problem?

See transcript

### What version of git-annex are you using? On what operating system?

[[!format sh """
$ git annex version
git-annex version: 5.20140107
build flags: Assistant Webapp Pairing Testsuite S3 WebDAV Inotify DBus XMPP DNS Feeds Quvi TDFA CryptoHash
key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SKEIN256E SKEIN512E SHA256 SHA1 SHA512 SHA224 SHA384 SKEIN256 SKEIN512 WORM URL
remote types: git gcrypt S3 bup directory rsync web webdav glacier hook external

$ LANG=C apt-cache policy git-annex
git-annex:
  Installed: 5.20140107
  Candidate: 5.20140107
  Version table:
 *** 5.20140107 0
         50 http://http.debian.net/debian/ sid/main amd64 Packages
        100 /var/lib/dpkg/status
"""]]


### Please provide any additional information below.

[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log

git init a
cd a
git annex init

cd ..
git clone a b
cd b
git annex init


# OK
git annex map

cd ../a
git annex direct
cd ../b

# NOT OK
git annex map

# End of transcript or log.
"""]]

> [[fixed|done]]; thanks for a good test case. --[[Joey]]