# HG changeset patch # User Martin Geisler # Date 1223534943 -7200 # Node ID 31f70804f1b188ef8b9daf3786042701b499a0b8 # Parent cae586246331f6f0e4e976c66aeaae84b9ae1cf2 bookmarks: Include bookmarks in tags. diff -r cae586246331 -r 31f70804f1b1 hgext/bookmarks.py --- a/hgext/bookmarks.py Fri Dec 05 11:12:46 2008 +0100 +++ b/hgext/bookmarks.py Thu Oct 09 08:49:03 2008 +0200 @@ -219,6 +219,15 @@ write(repo, marks) return result + def tags(self): + """Merge bookmarks with normal tags""" + if self.tagscache: + return self.tagscache + + tagscache = super(bookmark_repo, self).tags() + tagscache.update(parse(repo)) + return tagscache + repo.__class__ = bookmark_repo def pushnonbookmarked(orig, ui, repo, *args, **opts):