# HG changeset patch # User Franz Glasner # Date 1535094234 -7200 # Node ID 6f9eec09db3f4843de86615547f6b26de5f59af1 # Parent fb82e116a7bf9f85150136d6b2b9f3baf0a8eb1a Filter out the special bookmark "@" when expanding keywords. This is analogous to filtering out the "tip" tag. diff -r fb82e116a7bf -r 6f9eec09db3f extensions/kwarchive.py --- a/extensions/kwarchive.py Fri Aug 24 02:10:56 2018 +0200 +++ b/extensions/kwarchive.py Fri Aug 24 09:03:54 2018 +0200 @@ -535,7 +535,7 @@ "HGpath": path_uri, # XXX FIXME: Should Archive an alias of this "HGbranch": ctx.branch(), "HGtags": " ".join([tag for tag in ctx.tags() if tag != "tip"]), - "HGbookmarks": " ".join(ctx.bookmarks()), + "HGbookmarks": " ".join([bm for bm in ctx.bookmarks() if bm != "@"]), "State": ctx.phasestr(), "HGrevision": ctx.hex(), "Revision": templatefilters.short(ctx.hex()),