# HG changeset patch # User Patrick Mezard # Date 1213527661 -7200 # Node ID d286ec1bdcff3b2b63d327371900770363088b26 # Parent 1eba8e8f2ccecf2d24b802bbe60e2f07b0209234 context: fix workingctx.fileflags() execute bit diff -r 1eba8e8f2cce -r d286ec1bdcff 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