equal
deleted
inserted
replaced
215 $ hg bookmark ' |
215 $ hg bookmark ' |
216 > ' |
216 > ' |
217 abort: bookmark name cannot contain newlines |
217 abort: bookmark name cannot contain newlines |
218 [255] |
218 [255] |
219 |
219 |
|
220 $ hg bookmark -m Z ' |
|
221 > ' |
|
222 abort: bookmark name cannot contain newlines |
|
223 [255] |
|
224 |
220 bookmark with existing name |
225 bookmark with existing name |
221 |
226 |
222 $ hg bookmark Z |
227 $ hg bookmark Z |
223 abort: bookmark 'Z' already exists (use -f to force) |
228 abort: bookmark 'Z' already exists (use -f to force) |
224 [255] |
229 [255] |
225 |
230 |
|
231 $ hg bookmark -m Y Z |
|
232 abort: bookmark 'Z' already exists (use -f to force) |
|
233 [255] |
|
234 |
|
235 bookmark with name of branch |
|
236 |
|
237 $ hg bookmark default |
|
238 abort: a bookmark cannot have the name of an existing branch |
|
239 [255] |
|
240 |
|
241 $ hg bookmark -m Y default |
|
242 abort: a bookmark cannot have the name of an existing branch |
|
243 [255] |
|
244 |
226 force bookmark with existing name |
245 force bookmark with existing name |
227 |
246 |
228 $ hg bookmark -f Z |
247 $ hg bookmark -f Z |
229 |
248 |
230 list bookmarks |
249 list bookmarks |
242 [255] |
261 [255] |
243 |
262 |
244 bookmark name with whitespace only |
263 bookmark name with whitespace only |
245 |
264 |
246 $ hg bookmark ' ' |
265 $ hg bookmark ' ' |
|
266 abort: bookmark names cannot consist entirely of whitespace |
|
267 [255] |
|
268 |
|
269 $ hg bookmark -m Y ' ' |
247 abort: bookmark names cannot consist entirely of whitespace |
270 abort: bookmark names cannot consist entirely of whitespace |
248 [255] |
271 [255] |
249 |
272 |
250 invalid bookmark |
273 invalid bookmark |
251 |
274 |