Mercurial > hg > mercurial-crew
changeset 18075:2c1fc483efa4
commands: 'hg bookmark NAME' should work even with ui.strict=True
Before this patch, enabling strict command processing (ui.strict=True)
meant that 'hg bookmark NAME', as referenced several places in the
documentation, would not work. This adds 'bookmark' as an explicit alias
to 'bookmarks'.
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Sun, 16 Dec 2012 22:00:38 -0600 |
parents | 8c9a52492d42 |
children | 3d1dc7aeca39 |
files | mercurial/commands.py tests/test-bookmarks.t |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -758,7 +758,7 @@ cmdutil.bailifchanged(repo) return hg.clean(repo, node) -@command('bookmarks', +@command('bookmarks|bookmark', [('f', 'force', False, _('force')), ('r', 'rev', '', _('revision'), _('REV')), ('d', 'delete', False, _('delete a given bookmark')),