Mercurial > hg
diff tests/test-tag.out @ 6321:55ba3bc5b8fd
tag: allow multiple tags to be added or removed
- Example: "hg tag -r 42 build-25 beta-1" will add tags build-25 and beta-1
for rev 42.
- The deprecated and undocumented usage "hg tag arg1 arg2" used to emit a
warning, then add tag arg1 for rev arg2 (equivalent to "hg tag -r arg2 arg1").
It will now add tags arg1 and arg2 for the current revision.
- If one tag triggers an error, no tags are added/removed (all or nothing).
author | John Coomes <john.coomes@sun.com> |
---|---|
date | Fri, 14 Mar 2008 15:38:56 -0700 |
parents | d69b1fb111b9 |
children | 938eddd76237 |
line wrap: on
line diff
--- a/tests/test-tag.out Mon Mar 17 19:28:46 2008 +0200 +++ b/tests/test-tag.out Fri Mar 14 15:38:56 2008 -0700 @@ -18,12 +18,26 @@ 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 -abort: use only one form to specify the revision +abort: tag names must be unique +failed +abort: the name 'tip' is reserved +failed +abort: tag 'bleah' already exists (use -f to force) failed -use of 'hg tag NAME [REV]' is deprecated, please use 'hg tag [-r REV] NAME' instead +abort: tag 'bleah' already exists (use -f to force) +failed +abort: tag 'blecch' does not exist +failed +abort: tag 'blecch' does not exist +failed 0acdaf8983679e0aac16e811534eb49d7ee1f2b4 bleah 0acdaf8983679e0aac16e811534eb49d7ee1f2b4 bleah0 +868cc8fbb43b754ad09fa109885d243fc49adae7 gack +868cc8fbb43b754ad09fa109885d243fc49adae7 gawk +868cc8fbb43b754ad09fa109885d243fc49adae7 gorp +3807bcf62c5614cb6c16436b514d7764ca5f1631 gack +0000000000000000000000000000000000000000 gack +0000000000000000000000000000000000000000 gorp 3ecf002a1c572a2f3bb4e665417e60fca65bbd42 bleah1 0 files updated, 0 files merged, 1 files removed, 0 files unresolved 0acdaf8983679e0aac16e811534eb49d7ee1f2b4 foobar