changeset 24718 | a4191e0c728f |
parent 24711 | ab6e3729747e |
child 24720 | c560d8c68791 |
--- a/mercurial/cmdutil.py Fri Apr 10 23:34:06 2015 -0400 +++ b/mercurial/cmdutil.py Sat Apr 11 16:01:42 2015 +0900 @@ -2402,7 +2402,7 @@ if len(matcher.files()) == 1 and not matcher.anypats(): file = matcher.files()[0] mf = repo.manifest - mfnode = ctx._changeset[0] + mfnode = ctx.manifestnode() if mf.find(mfnode, file)[0]: write(file) return 0