D6056: patch: stop aborting when add/rename/copy files on --interactive (issue5727)

navaneeth.suresh (Navaneeth Suresh) phabricator at mercurial-scm.org
Sat Mar 16 04:57:08 EDT 2019


navaneeth.suresh added inline comments.

INLINE COMMENTS

> pulkit wrote in test-mq-qrefresh.t:570
> does this prompt ended here? it didn't show changes in 'foo.h'?

i think that's usual here as the file `foo.h` is empty. i have the following case running successfully with this patch:

  $ echo foo > foo.h
  $ hg add foo.h
  $ hg qrefresh -i --config ui.interactive=true <<EOF
  > y
  > y
  > n
  > EOF
  diff --git a/foo.h b/foo.h
  new file mode 100644
  examine changes to 'foo.h'? [Ynesfdaq?] y
  
  @@ -0,0 +1,1 @@
  +foo
  record this change to 'foo.h'? [Ynesfdaq?] y

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6056

To: navaneeth.suresh, #hg-reviewers
Cc: pulkit, mercurial-devel


More information about the Mercurial-devel mailing list