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

pavanpc (Pavan Kumar PC) phabricator at mercurial-scm.org
Thu Nov 16 16:41:11 EST 2017

pavanpc added a comment.

  @yuja @mitrandir
  I can think of below cases. Could you please check and let me know your thoughts on these?
  1. hg rm -A                                    -  suppress warnings
  2. hg rm -Av                                  -  do not suppress warnings (could be helpful for small repos)
  3. hg rm -A <file1> <file2>          -  do not suppress warnings
  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 supprress warnings ?  
                                                             always suppress warnings for this case
  5. hg rm -Av <dir>                      -  do not suppress warnings

  rHG Mercurial


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

More information about the Mercurial-devel mailing list