Patchwork [STABLE] bookmarks: improve documentation for --rev option

login
register
mail settings
Submitter Nathan Goldbaum
Date Jan. 27, 2016, 10:24 p.m.
Message ID <f3c37995e356ef0da066.1453933476@rous2.ncsa.illinois.edu>
Download mbox | patch
Permalink /patch/12898/
State Accepted
Headers show

Comments

Nathan Goldbaum - Jan. 27, 2016, 10:24 p.m.
# HG changeset patch
# User Nathan Goldbaum <ngoldbau@ucsc.edu>
# Date 1453932998 21600
#      Wed Jan 27 16:16:38 2016 -0600
# Branch stable
# Node ID f3c37995e356ef0da066b563319cd5291753b600
# Parent  4511e8dac4c798e5fed91e629aa9802b01c2b6c3
bookmarks: improve documentation for --rev option
Matt Mackall - Jan. 29, 2016, 10 p.m.
On Wed, 2016-01-27 at 16:24 -0600, Nathan Goldbaum wrote:
> # HG changeset patch
> # User Nathan Goldbaum <ngoldbau@ucsc.edu>
> # Date 1453932998 21600
> #      Wed Jan 27 16:16:38 2016 -0600
> # Branch stable
> # Node ID f3c37995e356ef0da066b563319cd5291753b600
> # Parent  4511e8dac4c798e5fed91e629aa9802b01c2b6c3
> bookmarks: improve documentation for --rev option

I've accepted this with s/associated with/for/, thanks.

> -    ('r', 'rev', '', _('revision'), _('REV')),
> +    ('r', 'rev', '', _('revision associated with bookmark action'),
> _('REV')),

-- 
Mathematics is the supreme nostalgia of our time.

Patch

diff -r 4511e8dac4c7 -r f3c37995e356 mercurial/commands.py
--- a/mercurial/commands.py	Sat Jan 23 23:32:49 2016 -0500
+++ b/mercurial/commands.py	Wed Jan 27 16:16:38 2016 -0600
@@ -968,7 +968,7 @@  def bisect(ui, repo, rev=None, extra=Non
 
 @command('bookmarks|bookmark',
     [('f', 'force', False, _('force')),
-    ('r', 'rev', '', _('revision'), _('REV')),
+    ('r', 'rev', '', _('revision associated with bookmark action'), _('REV')),
     ('d', 'delete', False, _('delete a given bookmark')),
     ('m', 'rename', '', _('rename a given bookmark'), _('OLD')),
     ('i', 'inactive', False, _('mark a bookmark inactive')),