Commit 6c02b9ac authored by Kyle Lippincott's avatar Kyle Lippincott
Browse files

prune: adjust 'nothing to prune' to imply user needs to specify revs to prune

parent 7b5d08e84c4d
Changelog
=========
9.1.0 - in progress
-------------------
* prune: clarify error message when no revision were passed,
9.1.0 -- 2019-07-29
-------------------
......
......@@ -1028,7 +1028,7 @@
rewriteutil.deletebookmark(repo, repomarks, bookmarks)
if not revs:
raise error.Abort(_('nothing to prune'))
raise error.Abort(_('no revisions specified to prune'))
wlock = lock = tr = None
try:
......
......@@ -39,7 +39,7 @@
abort: can only specify one of pair, fold
[255]
$ hg prune --fold --biject
abort: nothing to prune
abort: no revisions specified to prune
[255]
$ hg prune --split --fold
abort: can only specify one of fold, split
......@@ -307,7 +307,7 @@
(activating bookmark todelete)
$ hg prune -B nostrip
bookmark 'nostrip' deleted
abort: nothing to prune
abort: no revisions specified to prune
[255]
$ hg tag --remove --local a
$ hg prune -B todelete
......
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