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

Emanuele Aina faina.mail at tiscali.it
Mon May 21 12:20:07 UTC 2007


Patrick Mézard travisò:

>>   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".

I was used to cvs-purge from cvstools, so the extension was called purge.

Recently I noticed that other SCM have the same functionality under the 
'clean' name, like git-clean, svn-clean (from the subversion-tools 
package), and bzr clean-tree (from bzrtools), so I thought that some new 
user could find the alias useful, given that the change is minimal.

-- 
Buongiorno.
Complimenti per l'ottima scelta.



More information about the Mercurial-devel mailing list