##// END OF EJS Templates
basectx: move filenode from changectx
Sean Farley -
r19560:f256e110 default
parent child Browse files
Show More
@@ -110,6 +110,9 b' class basectx(object):'
110 110
111 111 return node, flag
112 112
113 def filenode(self, path):
114 return self._fileinfo(path)[0]
115
113 116 class changectx(basectx):
114 117 """A changecontext object makes access to data related to a particular
115 118 changeset convenient. It represents a read-only context already presnt in
@@ -331,9 +334,6 b' class changectx(basectx):'
331 334 troubles.append('divergent')
332 335 return troubles
333 336
334 def filenode(self, path):
335 return self._fileinfo(path)[0]
336
337 337 def flags(self, path):
338 338 try:
339 339 return self._fileinfo(path)[1]
General Comments 0
You need to be logged in to leave comments. Login now