diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -730,6 +730,12 @@ class workingctx(changectx): t.extend(p.tags()) return t + def bookmarks(self): + b = [] + for p in self.parents(): + b.extend(p.bookmarks()) + return b + def children(self): return []