# HG changeset patch # User demian@gaudron.lan # Date 1147798522 -7200 # Node ID 449906e17576e79eecb8c4f58537a664651e8fb8 # Parent e39300cdb8ffbceba3bc7f075a2afcaa49b202ee Changset de893ad6bd17 wrongly reversed the meaning of --nothing diff --git a/purge.py b/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)