Mercurial > hg
diff tests/test-tag.t @ 30247:27addd7e8eca stable
tag: clarify warning about making a tag on a branch head
Currently the warning is ambiguous about whether the new tag (possibly specified
via --rev) is being added on a branch head or whether the working directory is
based on a branch head. Clarify the error message to eliminate this ambiguity.
author | Nathan Goldbaum <ngoldbau@illinois.edu> |
---|---|
date | Mon, 31 Oct 2016 17:12:32 -0500 |
parents | 4414d500604f |
children | b36318e6d2ef |
line wrap: on
line diff
--- a/tests/test-tag.t Tue Nov 01 20:39:37 2016 +0900 +++ b/tests/test-tag.t Mon Oct 31 17:12:32 2016 -0500 @@ -109,7 +109,7 @@ 0 files updated, 0 files merged, 1 files removed, 0 files unresolved $ hg tag -l localblah $ hg tag "foobar" - abort: not at a branch head (use -f to force) + abort: working directory is not at a branch head (use -f to force) [255] $ hg tag -f "foobar" $ cat .hgtags @@ -339,7 +339,7 @@ $ hg up null 0 files updated, 0 files merged, 2 files removed, 0 files unresolved $ hg tag nullrev - abort: not at a branch head (use -f to force) + abort: working directory is not at a branch head (use -f to force) [255] $ hg init empty