purge.py
changeset 2372 449906e17576
parent 2371 e39300cdb8ff
child 2373 61976a27aa2b
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