Mercurial > hg > pyhgsh
comparison purge.py @ 2372:449906e17576
Changset de893ad6bd17 wrongly reversed the meaning of --nothing
author | demian@gaudron.lan |
---|---|
date | Tue, 16 May 2006 18:55:22 +0200 |
parents | e39300cdb8ff |
children | 61976a27aa2b |
comparison
equal
deleted
inserted
replaced
2371:e39300cdb8ff | 2372:449906e17576 |
---|---|
132 | 132 |
133 Be careful with purge, you could irreversibly delete some files you | 133 Be careful with purge, you could irreversibly delete some files you |
134 forgot to add to the repository. If you only want to print the list of | 134 forgot to add to the repository. If you only want to print the list of |
135 files that this program would delete use the -vn options. | 135 files that this program would delete use the -vn options. |
136 ''' | 136 ''' |
137 act = bool(opts['nothing']) | 137 act = not opts['nothing'] |
138 abort_on_err = bool(opts['abort_on_err']) | 138 abort_on_err = bool(opts['abort_on_err']) |
139 p = Purge(act, abort_on_err) | 139 p = Purge(act, abort_on_err) |
140 p.purge(ui, repo, paths) | 140 p.purge(ui, repo, paths) |
141 | 141 |
142 | 142 |