summaryrefslogtreecommitdiff
path: root/hgext/purge.py
diff options
context:
space:
mode:
Diffstat (limited to 'hgext/purge.py')
-rw-r--r--hgext/purge.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/hgext/purge.py b/hgext/purge.py
index 8ec0da4..4179ea4 100644
--- a/hgext/purge.py
+++ b/hgext/purge.py
@@ -20,7 +20,8 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, see <http://www.gnu.org/licenses/>.
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
'''command to delete untracked files from the working directory'''
@@ -30,7 +31,6 @@ import os, stat
cmdtable = {}
command = cmdutil.command(cmdtable)
-testedwith = 'internal'
@command('purge|clean',
[('a', 'abort-on-err', None, _('abort if an error occurs')),
@@ -101,10 +101,10 @@ def purge(ui, repo, *dirs, **opts):
status = repo.status(match=match, ignored=opts['all'], unknown=True)
for f in sorted(status[4] + status[5]):
- ui.note(_('removing file %s\n') % f)
+ ui.note(_('Removing file %s\n') % f)
remove(removefile, f)
for f in sorted(directories, reverse=True):
if match(f) and not os.listdir(repo.wjoin(f)):
- ui.note(_('removing directory %s\n') % f)
+ ui.note(_('Removing directory %s\n') % f)
remove(os.rmdir, f)