[Bug 5140] New: hg rm needs to clearly indicate if it fails

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Tue Mar 15 15:39:07 UTC 2016


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

            Bug ID: 5140
           Summary: hg rm needs to clearly indicate if it fails
           Product: Mercurial
           Version: 3.7.2
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: timeless at gmail.com
                CC: mercurial-devel at selenic.com

I had an hg-git clone of git://github.com/square/p2

I made a change to
Godeps/_workspace/src/github.com/miekg/dns/idn/code_points.go (deleting a bunch
of lines).

I then ran:
hg rm -f Godeps

I got thousands of lines of output.

I did not see the one line that said:
not removing Godeps/_workspace/src/github.com/miekg/dns/idn/code_points.go:
file is modified (use -f to force removal)

If there's a single file that needs to be removed and the user asked to delete 
a single file, then a hint w/ the file isn't unreasonable.

But, if there are multiple files that need to be removed, then the hint needs
to be at the end, preferably with the command that failed.

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


More information about the Mercurial-devel mailing list