Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
octobus
mercurial-devel
Commits
3a56574f329a
Commit
5609b38f
authored
Jan 30, 2006
by
Matt Mackall
Browse files
Options
Browse Files
Download
Plain Diff
Merge with crew
parents
4338e33c973b
2d8dc84c9323
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
mercurial/commands.py
mercurial/commands.py
+1
-1
tests/test-tag.out
tests/test-tag.out
+2
-2
No files found.
mercurial/commands.py
View file @
3a56574f
...
...
@@ -2092,7 +2092,7 @@ def tag(ui, repo, name, rev_=None, **opts):
raise
util
.
Abort
(
_
(
"the name 'tip' is reserved"
))
if
rev_
is
not
None
:
ui
.
warn
(
_
(
"use of 'hg tag NAME [REV]' is deprecated, "
"please use 'hg tag [-r REV] NAME instead
\n
"
))
"please use 'hg tag [-r REV] NAME
'
instead
\n
"
))
if
opts
[
'rev'
]:
raise
util
.
Abort
(
_
(
"use only one form to specify the revision"
))
if
opts
[
'rev'
]:
...
...
tests/test-tag.out
View file @
3a56574f
...
...
@@ -18,10 +18,10 @@ summary: test
abort: working copy of .hgtags is changed (please commit .hgtags manually)
failed
use of 'hg tag NAME [REV]' is deprecated, please use 'hg tag [-r REV] NAME instead
use of 'hg tag NAME [REV]' is deprecated, please use 'hg tag [-r REV] NAME
'
instead
abort: use only one form to specify the revision
failed
use of 'hg tag NAME [REV]' is deprecated, please use 'hg tag [-r REV] NAME instead
use of 'hg tag NAME [REV]' is deprecated, please use 'hg tag [-r REV] NAME
'
instead
acb14030fe0a21b60322c440ad2d20cf7685a376 bleah
acb14030fe0a21b60322c440ad2d20cf7685a376 bleah0
863197ef03781c4fc00276d83eb66c4cb9cd91df bleah1
...
...
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