equal
deleted
inserted
replaced
49 |
49 |
50 reserved names |
50 reserved names |
51 |
51 |
52 $ hg branch tip |
52 $ hg branch tip |
53 abort: the name 'tip' is reserved |
53 abort: the name 'tip' is reserved |
54 [255] |
54 [10] |
55 $ hg branch null |
55 $ hg branch null |
56 abort: the name 'null' is reserved |
56 abort: the name 'null' is reserved |
57 [255] |
57 [10] |
58 $ hg branch . |
58 $ hg branch . |
59 abort: the name '.' is reserved |
59 abort: the name '.' is reserved |
60 [255] |
60 [10] |
61 |
61 |
62 invalid characters |
62 invalid characters |
63 |
63 |
64 $ hg branch 'foo:bar' |
64 $ hg branch 'foo:bar' |
65 abort: ':' cannot be used in a name |
65 abort: ':' cannot be used in a name |
66 [255] |
66 [10] |
67 |
67 |
68 $ hg branch 'foo |
68 $ hg branch 'foo |
69 > bar' |
69 > bar' |
70 abort: '\n' cannot be used in a name |
70 abort: '\n' cannot be used in a name |
71 [255] |
71 [10] |
72 |
72 |
73 trailing or leading spaces should be stripped before testing duplicates |
73 trailing or leading spaces should be stripped before testing duplicates |
74 |
74 |
75 $ hg branch 'b ' |
75 $ hg branch 'b ' |
76 abort: a branch of the same name already exists |
76 abort: a branch of the same name already exists |