Changset de893ad6bd17 wrongly reversed the meaning of --nothing
authordemian@gaudron.lan
Tue, 16 May 2006 18:55:22 +0200
changeset 2372 449906e17576
parent 2371 e39300cdb8ff
child 2373 61976a27aa2b
Changset de893ad6bd17 wrongly reversed the meaning of --nothing
purge.py
--- a/purge.py
+++ b/purge.py
@@ -134,7 +134,7 @@ def purge(ui, repo, *paths, **opts):
     forgot to add to the repository. If you only want to print the list of
     files that this program would delete use the -vn options.
     '''
-    act = bool(opts['nothing'])
+    act = not opts['nothing']
     abort_on_err = bool(opts['abort_on_err'])
     p = Purge(act, abort_on_err)
     p.purge(ui, repo, paths)