# HG changeset patch # User Patrick Mezard # Date 2008-06-15 11:01:01 # Node ID d286ec1bdcff3b2b63d327371900770363088b26 # Parent 1eba8e8f2ccecf2d24b802bbe60e2f07b0209234 context: fix workingctx.fileflags() execute bit diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -526,7 +526,7 @@ class workingctx(changectx): 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