Patchwork [4,of,9] shelve: mention walk options in help

login
register
mail settings
Submitter Mads Kiilerich
Date Feb. 10, 2014, 12:01 a.m.
Message ID <a9a4695a337aa5f3ba93.1391990473@localhost.localdomain>
Download mbox | patch
Permalink /patch/3528/
State Accepted
Commit 0b7a9940a397bf001b74431843a05c4ca2ed810e
Headers show

Comments

Mads Kiilerich - Feb. 10, 2014, 12:01 a.m.
# HG changeset patch
# User Mads Kiilerich <madski@unity3d.com>
# Date 1391990005 -3600
#      Mon Feb 10 00:53:25 2014 +0100
# Node ID a9a4695a337aa5f3ba9325a5a339fb94a0f74aa6
# Parent  e021f2e5c5e4560025d3c4056eb8b9c58bf1dc41
shelve: mention walk options in help

Patch

diff --git a/hgext/shelve.py b/hgext/shelve.py
--- a/hgext/shelve.py
+++ b/hgext/shelve.py
@@ -23,7 +23,7 @@  shelve".
 
 from mercurial.i18n import _
 from mercurial.node import nullid, nullrev, bin, hex
-from mercurial import changegroup, cmdutil, scmutil, phases
+from mercurial import changegroup, cmdutil, scmutil, phases, commands
 from mercurial import error, hg, mdiff, merge, patch, repair, util
 from mercurial import templatefilters
 from mercurial import lock as lockmod
@@ -631,8 +631,8 @@  def unshelve(ui, repo, *shelved, **opts)
           ('p', 'patch', None,
            _('show patch')),
           ('', 'stat', None,
-           _('output diffstat-style summary of changes'))],
-         _('hg shelve'))
+           _('output diffstat-style summary of changes'))] + commands.walkopts,
+         _('hg shelve [OPTION]...'))
 def shelvecmd(ui, repo, *pats, **opts):
     '''save and set aside changes from the working directory