context: fix workingctx.fileflags() execute bit
authorPatrick Mezard <pmezard@gmail.com>
Sun, 15 Jun 2008 13:01:01 +0200
changeset 6679 d286ec1bdcff
parent 6678 1eba8e8f2cce
child 6680 deda205a00e1
context: fix workingctx.fileflags() execute bit
mercurial/context.py
--- a/mercurial/context.py	Wed Apr 23 11:40:33 2008 +0200
+++ b/mercurial/context.py	Sun Jun 15 13:01:01 2008 +0200
@@ -526,7 +526,7 @@
         is_exec = util.execfunc(self._repo.root,
                                 lambda p: flag and 'x' in flag)
         try:
-            return (is_link(path) and 'l' or '') + (is_exec(path) and 'e' or '')
+            return (is_link(path) and 'l' or '') + (is_exec(path) and 'x' or '')
         except OSError:
             pass