D6265: narrow: also warn when not deleting untracked or ignored files

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Wed Apr 17 17:16:17 EDT 2019


martinvonz added inline comments.

INLINE COMMENTS

> rdamazio wrote in narrowspec.py:310
> Just do a loop for each one? You probably also don't need them to be sets.

I did it that way at first. Then I changed it because I figured it might be a harder to read if dirty, untracked, and ignored files in single a directory were spread out in three places. OTOH, both `hg status` and `hg revert` already do it that way, so I guess we should follow them. I'll change it back here.

REPOSITORY
  rHG Mercurial

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

To: martinvonz, durin42, #hg-reviewers
Cc: rdamazio, mercurial-devel


More information about the Mercurial-devel mailing list