D6056: patch: stop aborting when add/rename/copy files on --interactive (issue5727)
navaneeth.suresh (Navaneeth Suresh)
phabricator at mercurial-scm.org
Sun Mar 17 00:59:57 EDT 2019
navaneeth.suresh added inline comments.
> pulkit wrote in test-mq-qrefresh.t:570
> I don't see the output which asks for `record this change to foo.h` here in the test.
IIUC, the current scenario is running into `abort: cannot create foo.h: destination already exists` if an empty file has been added. This means that the test case in my previous comment works fine without running into an error. I tested with hg (version 4.9+3-b70b7c585ee9) by adding a file with contents by running one command after another in my command line and got the same output. The interactive UI prompted me with only two queries. For an empty file, it should be only one as there are no changes to record. This might be the case for `qrefresh`. I'm not sure about this though.
To: navaneeth.suresh, #hg-reviewers
Cc: pulkit, mercurial-devel
More information about the Mercurial-devel