hg purge

Thomas Arendsen Hein thomas at intevation.de
Thu Jun 1 17:34:31 CDT 2006


* Marco Barisione <barisione at gmail.com> [20060601 17:38]:
> Thomas Arendsen Hein wrote:
> >If nobody objects I want to put this into Mercurial's hgext when the
> >code is ok, as I'd like to have this feature, too.
> 
> I have updated the code correcting some small problems.
> 
> web page: http://www.barisione.org/apps.html#hg-purge
> hg repo: http://techn.ocracy.org/hg-purge

I used
hg mv purge.py hgext/purge/__init__.py
hg mv README hgext/purge/README
hg rm COPYING.GPL .hgignore
to make it pullable directly in a mercurial repo.
(enable it with "hgext.purge=" in the extensions section of ~/.hgrc then)

Already very usable, but it "feels" different from the other parts
of hg, because it uses its own methods to walk through the repo and
to generate/print paths. So you'll loose the ability to --print
relative paths and to use -X and -I in the same way other commands
do it.

But even if 90% of the code might be rewritten in the future, I
think it should be available now, because it works fine otherwise
(and is disabled by default).

Pushed to crew.

Thomas

-- 
Email: thomas at intevation.de
http://intevation.de/~thomas/


More information about the Mercurial mailing list