[PATCH] purge: add the clean alias inspired by git-clean and svn-clean

Patrick Mézard pmezard at gmail.com
Mon May 21 06:13:48 CDT 2007


Emanuele Aina a écrit :
> # HG changeset patch
> # User Emanuele Aina <em at nerd.ocracy.org>
> # Date 1178912230 -7200
> # Node ID f0688bf171991400ac17e499c9940c262188070b
> # Parent  f97c5a7ffbe33cedc80b8515153ca7e52fb25946
> purge: add the clean alias inspired by git-clean and svn-clean
> 
> diff -r f97c5a7ffbe3 -r f0688bf17199 hgext/purge.py
> --- a/hgext/purge.py	Fri May 11 17:05:44 2007 +0200
> +++ b/hgext/purge.py	Fri May 11 21:37:10 2007 +0200
> @@ -151,7 +151,7 @@ def purge(ui, repo, *dirs, **opts):
> 
> 
>   cmdtable = {
> -    'purge':
> +    'purge|clean':
>           (purge,
>            [('a', 'abort-on-err', None, _('abort if an error occurs')),
>             ('f', 'force', None, _('purge even when missing files are 
> detected')),

+0

I am not familiar with git so I cannot tell about git-clean. I did not 
know svn-clean (I assume this is the contrib perl-script), so at first I 
thought you were talking about "svn cleanup".

--
Patrick Mézard


More information about the Mercurial-devel mailing list