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