diff hgext/convert/bzr.py @ 8148:adce97d28389

convert/bzr: fix symlink handling (issue1626)
author Patrick Mezard <pmezard@gmail.com>
date Fri, 24 Apr 2009 10:34:11 +0200
parents 13b36eb14324
children ddbee2d0d634 78658990c725
line wrap: on
line diff
--- a/hgext/convert/bzr.py	Thu Apr 23 15:07:05 2009 +0200
+++ b/hgext/convert/bzr.py	Fri Apr 24 10:34:11 2009 +0200
@@ -192,7 +192,7 @@
 
             # populate the mode cache
             kind, executable = [e[1] for e in (kind, executable)]
-            mode = ((executable and 'x') or (kind == 'symlink' and 's')
+            mode = ((executable and 'x') or (kind == 'symlink' and 'l')
                     or '')
             self._modecache[(topath, revid)] = mode
             changes.append((topath, revid))