D8096: purge: add -i flag to delete ignored files instead of untracked files

2020-02-10 Thread valentin.gatienbaron (Valentin Gatien-Baron)
Closed by commit rHG9f8eddd2723f: purge: add -i flag to delete ignored files instead of untracked files (authored by valentin.gatienbaron). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.

D8096: purge: add -i flag to delete ignored files instead of untracked files

2020-02-10 Thread pulkit (Pulkit Goyal)
This revision is now accepted and ready to land. pulkit added a comment. pulkit accepted this revision. In D8096#120082 , @valentin.gatienbaron wrote: > I thought it was generally preferred to have the `False` in the code, for extensions that

D8096: purge: add -i flag to delete ignored files instead of untracked files

2020-02-10 Thread valentin.gatienbaron (Valentin Gatien-Baron)
valentin.gatienbaron added a comment. I thought it was generally preferred to have the `False` in the code, for extensions that want to call the function? REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D8096/new/ REVISION DETAIL https://phab.mercuria

D8096: purge: add -i flag to delete ignored files instead of untracked files

2020-02-10 Thread valentin.gatienbaron (Valentin Gatien-Baron)
valentin.gatienbaron updated this revision to Diff 20050. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D8096?vs=20031&id=20050 BRANCH default CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D8096/new/ REVISION DETAIL https://phab.mercuria

D8096: purge: add -i flag to delete ignored files instead of untracked files

2020-02-10 Thread pulkit (Pulkit Goyal)
pulkit added a comment. Nice! Looks good to me. Can you add a releasenotes entry in `relnotes/next`? INLINE COMMENTS > purge.py:51 > (b'', b'all', None, _(b'purge ignored files too')), > +(b'i', b'ignored', None, _(b'purge only ignored files')), > (b'', b'dirs', None

D8096: purge: add -i flag to delete ignored files instead of untracked files

2020-02-08 Thread valentin.gatienbaron (Valentin Gatien-Baron)
valentin.gatienbaron updated this revision to Diff 20031. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D8096?vs=20023&id=20031 BRANCH default CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D8096/new/ REVISION DETAIL https://phab.mercuria

D8096: purge: add -i flag to delete ignored files instead of untracked files

2020-02-08 Thread marmoute (Pierre-Yves David)
marmoute added a comment. marmoute accepted this revision. The feature is great (I actually needs it from time to time) and the code looks good. REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D8096/new/ REVISION DETAIL https://phab.mercurial-scm.org/

D8096: purge: add -i flag to delete ignored files instead of untracked files

2020-02-08 Thread valentin.gatienbaron (Valentin Gatien-Baron)
valentin.gatienbaron created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY It's convenient for deleting build artifacts. Using --all instead would delete other things too. REPOSITORY rHG Mercurial BRANCH default REVISI