Mercurial > hg
changeset 5399:18f8abefdb2a
Fix bad lambda prototype in workingctx.fileflags()
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sat, 06 Oct 2007 17:54:33 +0200 |
parents | ecde0b7e0b3f |
children | d9057f00d343 |
files | mercurial/context.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/context.py Sat Oct 06 14:14:11 2007 -0300 +++ b/mercurial/context.py Sat Oct 06 17:54:33 2007 +0200 @@ -483,8 +483,8 @@ pnode = self._parents[0].changeset()[0] node, flag = self._repo.manifest.find(pnode, path) - is_link = util.linkfunc(self._repo.root, lambda: 'l' in flag) - is_exec = util.execfunc(self._repo.root, lambda: 'x' in flag) + is_link = util.linkfunc(self._repo.root, lambda p: 'l' in flag) + is_exec = util.execfunc(self._repo.root, lambda p: 'x' in flag) try: return (is_link(path) and 'l' or '') + (is_exec(path) and 'e' or '') except OSError: