Commit ccccc978 authored by Faheem Mitha's avatar Faheem Mitha
Browse files

uncommit: change 'kill' to 'prune' in error message

'kill' was renamed to 'prune' Long time ago.

--HG--
branch : stable
parent a6a202c22b28
......@@ -1641,7 +1641,7 @@ def uncommit(ui, repo, *pats, **opts):
updatebookmarks(newid)
if not repo[newid].files():
ui.warn(_("new changeset is empty\n"))
ui.status(_('(use "hg kill ." to remove it)\n'))
ui.status(_('(use "hg prune ." to remove it)\n'))
finally:
wlock.release()
finally:
......
......@@ -316,7 +316,7 @@ Display a warning if nothing left
$ hg uncommit e
new changeset is empty
(use "hg kill ." to remove it)
(use "hg prune ." to remove it)
$ hg debugobsolete
5eb72dbe0cb409d094e3b4ae8eaa30071c1b8730 e8db4aa611f6d5706374288e6898e498f5c44098 0 {'date': '* *', 'user': 'test'} (glob)
5eb72dbe0cb409d094e3b4ae8eaa30071c1b8730 c706fe2c12f83ba5010cb60ea6af3bd1f0c2d6d3 0 {'date': '* *', 'user': 'test'} (glob)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment