[Bug 5475] New: hg unshelve could ignore -n/--name

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Tue Jan 31 16:48:21 UTC 2017


https://bz.mercurial-scm.org/show_bug.cgi?id=5475

            Bug ID: 5475
           Summary: hg unshelve could ignore -n/--name
           Product: Mercurial
           Version: stable branch
          Hardware: Macintosh
                OS: Mac OS
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: shelve
          Assignee: bugzilla at mercurial-scm.org
          Reporter: joshgold at alum.mit.edu
                CC: mercurial-devel at selenic.com

Typing "hg unshelve -n Patch", the operation is aborted with the error message.
   hg unshelve: option -n not recognized

I think it would be safe in this case to "do what I meant" and ignore the
-n/--name.

I have the habit of typing -n both from the old shelve extension, which I
believe required it, and from expecting consistency with shelve.  Also, it's
nice to be able to minimally edit the command line in the history.

I don't think this would need to be mentioned in the help.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list