D1336: remove: print message for each file in verbose mode only while using `-A`

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Fri Nov 17 08:47:18 EST 2017


yuja added a comment.


  In https://phab.mercurial-scm.org/D1336#23872, @pavanpc wrote:
  
  > 4. hg rm -A  <dir>                             -  What should be the behavior here? What if the directory has thousands of  files . May be we can suppress warnings based on number of files in the warnings list, like if len(warnings_list) > 25 suppress warnings ? or always suppress warnings for this case
  
  
  I think "always suppress" is the right thing to do because I would run `hg rm -A <dir>`
  to record deleted files under the directory. In matcher, I think only `m.files()` needs to
  be warned.
  
  > -I PATTERN or -X PATTERN
  
  I see these patterns are not "explicit" files, so won't be warned.

REPOSITORY
  rHG Mercurial

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

To: pavanpc, #hg-reviewers, lothiraldan, yuja
Cc: yuja, durin42, lothiraldan, mitrandir, mharbison72, mercurial-devel


More information about the Mercurial-devel mailing list