comparison tests/test-tags.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 ae3089cefaab
children 4b0c9c674707
comparison
equal deleted inserted replaced
6320:9a9b02bcbcf4 6321:55ba3bc5b8fd
48 date: Mon Jan 12 13:46:40 1970 +0000 48 date: Mon Jan 12 13:46:40 1970 +0000
49 summary: Removed tag bar 49 summary: Removed tag bar
50 50
51 tip 5:57e1983b4a60 51 tip 5:57e1983b4a60
52 % remove nonexistent tag 52 % remove nonexistent tag
53 abort: tag foobar does not exist 53 abort: tag 'foobar' does not exist
54 changeset: 5:57e1983b4a60 54 changeset: 5:57e1983b4a60
55 tag: tip 55 tag: tip
56 user: test 56 user: test
57 date: Mon Jan 12 13:46:40 1970 +0000 57 date: Mon Jan 12 13:46:40 1970 +0000
58 summary: Removed tag bar 58 summary: Removed tag bar
60 tip 5:d8bb4d1eff25 60 tip 5:d8bb4d1eff25
61 bar 0:b409d9da318e 61 bar 0:b409d9da318e
62 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 62 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
63 tip 6:b5ff9d142648 63 tip 6:b5ff9d142648
64 bar 0:b409d9da318e 64 bar 0:b409d9da318e
65 abort: a tag named bar already exists (use -f to force) 65 abort: tag 'bar' already exists (use -f to force)
66 tip 6:b5ff9d142648 66 tip 6:b5ff9d142648
67 bar 0:b409d9da318e 67 bar 0:b409d9da318e
68 adding foo 68 adding foo
69 tip 3:ca8479b4351c 69 tip 3:ca8479b4351c
70 bar 2:72b852876a42 70 bar 2:72b852876a42
71 % bar should still point to rev 2 71 % bar should still point to rev 2
72 tip 4:40af5d225513 72 tip 4:40af5d225513
73 bar 2:72b852876a42 73 bar 2:72b852876a42
74 adding foo 74 adding foo
75 abort: localtag tag is local 75 abort: tag 'localtag' is not a global tag
76 abort: globaltag tag is global 76 abort: tag 'globaltag' is not a local tag
77 tip 1:a0b6fe111088 77 tip 1:a0b6fe111088
78 localtag 0:bbd179dfa0a7 local 78 localtag 0:bbd179dfa0a7 local
79 globaltag 0:bbd179dfa0a7 79 globaltag 0:bbd179dfa0a7