Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mercurial
evolve
Commits
6c02b9ac2832
Commit
6c02b9ac
authored
Aug 02, 2019
by
Kyle Lippincott
Browse files
prune: adjust 'nothing to prune' to imply user needs to specify revs to prune
parent
7b5d08e84c4d
Changes
3
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
6c02b9ac
Changelog
=========
9.1.0 - in progress
-------------------
* prune: clarify error message when no revision were passed,
9.1.0 -- 2019-07-29
-------------------
...
...
hgext3rd/evolve/cmdrewrite.py
View file @
6c02b9ac
...
...
@@ -1028,7 +1028,7 @@
rewriteutil
.
deletebookmark
(
repo
,
repomarks
,
bookmarks
)
if
not
revs
:
raise
error
.
Abort
(
_
(
'no
thing
to prune'
))
raise
error
.
Abort
(
_
(
'no
revisions specified
to prune'
))
wlock
=
lock
=
tr
=
None
try
:
...
...
tests/test-prune.t
View file @
6c02b9ac
...
...
@@ -39,7 +39,7 @@
abort:
can
only
specify
one
of
pair
,
fold
[
255
]
$
hg
prune
--
fold
--
biject
abort:
no
thing
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: no
thing
to prune
abort: no
revisions specified
to prune
[255]
$ hg tag --remove --local a
$ hg prune -B todelete
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment