Mercurial > public > mercurial-scm > hg
diff tests/test-tag.t @ 13133:c1492615cdee stable
tag: don't check .hgtags status if --local passed
Local tags don't create a commit, so we don't need to check the status
of .hgtags.
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Mon, 13 Dec 2010 21:20:30 -0600 |
parents | bb35840e965c |
children | ea3c93b53fdb |
line wrap: on
line diff
--- a/tests/test-tag.t Mon Dec 13 11:51:01 2010 -0600 +++ b/tests/test-tag.t Mon Dec 13 21:20:30 2010 -0600 @@ -196,3 +196,15 @@ $ hg log -l1 --template "{desc}\n" custom tag message second line + +local tag with .hgtags modified + + $ hg tag hgtags-modified + $ hg rollback + rolling back to revision 11 (undo commit) + $ hg st + M .hgtags + ? .hgtags.orig + ? editor + $ hg tag --local baz + $ hg revert --no-backup .hgtags