[Bug 4437] New: "hg commit --amend <filename>" doesn't filter unneeded files

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Tue Nov 4 20:30:28 UTC 2014


http://bz.selenic.com/show_bug.cgi?id=4437

          Priority: normal
            Bug ID: 4437
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: "hg commit --amend <filename>" doesn't filter unneeded
                    files
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: techtonik at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 3.2
         Component: evolution
           Product: Mercurial

I was about to fill a bug, but saw it was already here as bug #3913. I don't
see when it was closed as WONTFIX, so I'd like to open a new request summarized
by Martin Geisler at http://bz.selenic.com/show_bug.cgi?id=3913#c7

>I don't see why
>
>  $ hg commit --amend --exclude foo
>
>can't work the same way
>
>  $ hg commit --exclude foo


The similar question from me. Why

  $ hg commit --amend filename

can't work the same way as

  $ hg commit filename


For me this is a major usability bug of --amend pattern. It is sad that we need
to return to that.

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



More information about the Mercurial-devel mailing list