[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mercurial-devel
Subject:    [Bug 5645] New: "hg ci --addremove" updates dirstate even if it fails
From:       mercurial-bugs () mercurial-scm ! org
Date:       2017-07-31 23:01:07
Message-ID: bug-5645-285 () https ! bz ! mercurial-scm ! org/
[Download RAW message or body]

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

            Bug ID: 5645
           Summary: "hg ci --addremove" updates dirstate even if it fails
           Product: Mercurial
           Version: 4.3-rc
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla@mercurial-scm.org
          Reporter: martinvonz@google.com
                CC: mercurial-devel@mercurial-scm.org

$ hg init
  $ echo foo > foo
  $ hg st
  ? foo
  $ HGEDITOR=false hg ci --addremove
  adding foo
  abort: edit failed: false exited with status 1
  [255]
  $ hg st
  A foo

IMO, it's a bug that foo becomes tracked.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic