--- a/mercurial/context.py Mon Aug 05 18:28:23 2013 -0500
+++ b/mercurial/context.py Mon Aug 05 18:28:40 2013 -0500
@@ -110,6 +110,9 @@
return node, flag
+ def filenode(self, path):
+ return self._fileinfo(path)[0]
+
class changectx(basectx):
"""A changecontext object makes access to data related to a particular
changeset convenient. It represents a read-only context already presnt in
@@ -331,9 +334,6 @@
troubles.append('divergent')
return troubles
- def filenode(self, path):
- return self._fileinfo(path)[0]
-
def flags(self, path):
try:
return self._fileinfo(path)[1]