[PATCH 0 of 2] Add --quiet and (bash) tab completion to 'hg bookmarks'

Steve Losh steve at stevelosh.com
Thu Sep 17 21:34:56 CDT 2009


I've been using bookmarks more lately, and noticed that it didn't have
bash tab completion for 'hg bookmarks --delete'.

When writing the patch to add it I also noticed that 'hg bookmarks' doesn't
have a '--quiet' option.  The first of these two patches adds that.  It behaves
like the '--quiet' option for 'hg tags' -- it just prints the bookmark names,
one per line, and nothing else.

The second patch adds the tab completion.  It uses the '--quiet' option, so
it depends on the first patch.

Both patches are in my fork of hg-crew at http://bitbucket.org/sjl/hg-crew-sjl/
if pulling is easier than importing patches from an email message:

adding --quiet: hg pull http://bitbucket.org/sjl/hg-crew-sjl/ --rev 3b283adcc720
tab completion: hg pull http://bitbucket.org/sjl/hg-crew-sjl/ --rev d2870232f807


More information about the Mercurial-devel mailing list