--- a/mercurial/context.py Wed Aug 14 16:23:28 2013 -0500
+++ b/mercurial/context.py Wed Aug 14 16:24:16 2013 -0500
@@ -994,6 +994,12 @@
def extra(self):
return self._extra
+ def tags(self):
+ t = []
+ for p in self.parents():
+ t.extend(p.tags())
+ return t
+
class workingctx(commitablectx):
"""A workingctx object makes access to data related to
the current working directory convenient.
@@ -1020,12 +1026,6 @@
p = p[:-1]
return [changectx(self._repo, x) for x in p]
- def tags(self):
- t = []
- for p in self.parents():
- t.extend(p.tags())
- return t
-
def bookmarks(self):
b = []
for p in self.parents():