D3859: unlinkpath: make empty directory removal optional (issue5901) (issue5826)

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Fri Jun 29 08:30:21 EDT 2018


yuja added a comment.


  Queued, thanks.
  
  > +  $ NO_RM=--config=experimental.removeemptydirs=0
  >  +  $ isdir() { if [[ -d $1 ]]; then echo yes; else echo no; fi }
  >  +  $ isfile() { if [[ -f $1 ]]; then echo yes; else echo no; fi }
  
  changed to `[ ... ]` since `[[ ... ]]` requires bash.

REPOSITORY
  rHG Mercurial

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

To: spectral, #hg-reviewers
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list