changeset 6679:d286ec1bdcff

context: fix workingctx.fileflags() execute bit
author Patrick Mezard <pmezard@gmail.com>
date Sun, 15 Jun 2008 13:01:01 +0200
parents 1eba8e8f2cce
children deda205a00e1
files mercurial/context.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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