##// END OF EJS Templates
convert/bzr: fix symlink handling (issue1626)
Patrick Mezard -
r8148:adce97d2 default
parent child Browse files
Show More
@@ -192,7 +192,7 b' class bzr_source(converter_source):'
192 192
193 193 # populate the mode cache
194 194 kind, executable = [e[1] for e in (kind, executable)]
195 mode = ((executable and 'x') or (kind == 'symlink' and 's')
195 mode = ((executable and 'x') or (kind == 'symlink' and 'l')
196 196 or '')
197 197 self._modecache[(topath, revid)] = mode
198 198 changes.append((topath, revid))
@@ -72,7 +72,10 b' cd source'
72 72 touch program
73 73 chmod +x program
74 74 ln -s program altname
75 bzr add -q altname program
75 mkdir d
76 echo a > d/a
77 ln -s a syma
78 bzr add -q altname program syma d/a
76 79 bzr commit -q -m 'Initial setup'
77 80 touch newprog
78 81 chmod +x newprog
@@ -50,9 +50,13 b' converting...'
50 50 1 Initial setup
51 51 0 Symlink changed, x bits changed
52 52 % manifest of 0
53 644 altname
53 644 @ altname
54 644 d/a
54 55 755 * program
56 644 @ syma
55 57 % manifest of tip
56 644 altname
58 644 @ altname
59 644 d/a
57 60 755 * newprog
58 61 644 program
62 644 @ syma
General Comments 0
You need to be logged in to leave comments. Login now