hgext/convert/hg.py
changeset 6749 51b0e799352f
parent 6747 f6c00b17387c
child 6762 f67d1468ac50
--- a/hgext/convert/hg.py	Thu Jun 26 14:35:50 2008 -0500
+++ b/hgext/convert/hg.py	Thu Jun 26 14:35:50 2008 -0500
@@ -229,8 +229,7 @@
             raise IOError(err)
 
     def getmode(self, name, rev):
-        m = self.changectx(rev).manifest()
-        return (m.execf(name) and 'x' or '') + (m.linkf(name) and 'l' or '')
+        return self.changectx(rev).manifest().flags(name)
 
     def getchanges(self, rev):
         ctx = self.changectx(rev)