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

            Bug ID: 6883
           Summary: hg add: implicit add behaviour change
           Product: Mercurial
           Version: 6.7.4
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzi...@mercurial-scm.org
          Reporter: mathias.dem...@gmail.com
                CC: mercurial-de...@mercurial-scm.org
    Python Version: ---

We had a use case where we import files from an external system. To do so, we
ran an 'hg rm' on a directory, copied over the new files from the external
system and ran 'hg add'.

This behaviour seems to have been changed/broken by:

changeset:   52938:b8f9911c8dca
user:        Martin von Zweigbergk <martinv...@google.com>
date:        Wed Nov 29 08:32:24 2023 -0800
files:       mercurial/cmdutil.py tests/test-symlinks.t
description:
add: don't attempt to add back removed files unless explicitly listed


It sounds like the behaviour change is on purpose, I'm still filing it to at
least mention that we're seeing impact.

Would it make sense to add a small note in 'hg help add' for this behaviour
change? I could send a patch...

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

Reply via email to