[Python-Dev] End of the mystery "@README.txt Mercurial bug"

Zachary Ware zachary.ware+pydev at gmail.com
Wed Jun 26 15:28:51 CEST 2013


On Wed, Jun 26, 2013 at 8:12 AM,  <a.cavallo at cavallinux.eu> wrote:
>Eric V. Smith wrote:
>> How would that work? How could hg purge the .bak, .orig, .rej, .old,
>> etc. files?
>
>
> hg purge (it's an extension) removes anything that isn't tracked (and not
> ignored in the .hgignore): kind of distclean.
>
> I hope this helps

I've recently discovered purge and have started using it on Windows
since there is no `make distclean`, and it is very effective.  `hg
purge -p` shows what will be removed (which should match anything with
a ? in `hg status`), `hg purge` removes it, and `hg purge --all`
clears out everything that's not tracked (including things listed in
.hgignore) giving a fresh checkout without having to re-download.
Very convenient, especially since it's a built-in extension.


More information about the Python-Dev mailing list