mercurial/copies.py
changeset 30361 1070df141718
parent 30360 0298a07f64d9
child 30581 43a9e02a7b7f
--- a/mercurial/copies.py	Thu Nov 10 02:17:22 2016 -0800
+++ b/mercurial/copies.py	Thu Nov 10 02:19:16 2016 -0800
@@ -278,7 +278,7 @@
         ac = repo.changelog.ancestors(revs, inclusive=True)
         ctx._ancestrycontext = ac
     def makectx(f, n):
-        if len(n) != 20 or n in node.wdirnodes:  # in a working context?
+        if n in node.wdirnodes:  # in a working context?
             if ctx.rev() is None:
                 return ctx.filectx(f)
             return repo[None][f]