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

Emanuele Aina emanuele.aina at tiscali.it
Sun May 20 09:13:01 UTC 2007


# 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')),






More information about the Mercurial-devel mailing list