Mercurial > public > mercurial-scm > hg-stable
diff mercurial/context.py @ 6679:d286ec1bdcff
context: fix workingctx.fileflags() execute bit
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 15 Jun 2008 13:01:01 +0200 |
parents | a7582980d654 |
children | 76021ec849c8 |
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