Submitter | phabricator |
---|---|
Date | Aug. 1, 2017, 8:22 p.m. |
Message ID | <9ea2a5c57b9cc5a2348303fd117dbd14@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/22607/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/tests/test-commit.t b/tests/test-commit.t --- a/tests/test-commit.t +++ b/tests/test-commit.t @@ -147,6 +147,18 @@ oldhash=bar sourcehash=foo +Failed commit with --addremove should not update dirstate + + $ echo foo > newfile + $ hg status + ? newfile + $ HGEDITOR=false hg ci --addremove + adding newfile + abort: edit failed: false exited with status 1 + [255] + $ hg status + A newfile + Make sure we do not obscure unknown requires file entries (issue2649) $ echo foo >> foo