Mercurial > hg
comparison tests/test-branches.t @ 12942:05fffd665170 stable
tests: use (esc) for all non-ASCII test output
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 08 Nov 2010 01:41:41 +0100 |
parents | 4134686b83e1 |
children | e0f07847f8de |
comparison
equal
deleted
inserted
replaced
12941:b911cb80c671 | 12942:05fffd665170 |
---|---|
355 3 files updated, 0 files merged, 2 files removed, 0 files unresolved | 355 3 files updated, 0 files merged, 2 files removed, 0 files unresolved |
356 $ hg commit -d '9 0' --close-branch -m 'reclosing this branch' | 356 $ hg commit -d '9 0' --close-branch -m 'reclosing this branch' |
357 $ hg up -C b | 357 $ hg up -C b |
358 2 files updated, 0 files merged, 3 files removed, 0 files unresolved | 358 2 files updated, 0 files merged, 3 files removed, 0 files unresolved |
359 $ hg branches --color=always | 359 $ hg branches --color=always |
360 [0;32mb[0m [0;33m 13:6ac12926b8c3[0m | 360 \x1b[0;32mb\x1b[0m \x1b[0;33m 13:6ac12926b8c3\x1b[0m (esc) |
361 [0;0ma branch name much longer than the default justification used by branches[0m [0;33m7:10ff5895aa57[0m | 361 \x1b[0;0ma branch name much longer than the default justification used by branches\x1b[0m \x1b[0;33m7:10ff5895aa57\x1b[0m (esc) |
362 [0;0ma[0m [0;33m 5:d8cbc61dbaa6[0m (inactive) | 362 \x1b[0;0ma\x1b[0m \x1b[0;33m 5:d8cbc61dbaa6\x1b[0m (inactive) (esc) |
363 [0;0mdefault[0m [0;33m 0:19709c5a4e75[0m (inactive) | 363 \x1b[0;0mdefault\x1b[0m \x1b[0;33m 0:19709c5a4e75\x1b[0m (inactive) (esc) |
364 | 364 |
365 default closed branch color: | 365 default closed branch color: |
366 | 366 |
367 $ hg branches --color=always --closed | 367 $ hg branches --color=always --closed |
368 [0;32mb[0m [0;33m 13:6ac12926b8c3[0m | 368 \x1b[0;32mb\x1b[0m \x1b[0;33m 13:6ac12926b8c3\x1b[0m (esc) |
369 [0;0ma branch name much longer than the default justification used by branches[0m [0;33m7:10ff5895aa57[0m | 369 \x1b[0;0ma branch name much longer than the default justification used by branches\x1b[0m \x1b[0;33m7:10ff5895aa57\x1b[0m (esc) |
370 [0;30;1mc[0m [0;33m 14:717d2e6fabe1[0m (closed) | 370 \x1b[0;30;1mc\x1b[0m \x1b[0;33m 14:717d2e6fabe1\x1b[0m (closed) (esc) |
371 [0;0ma[0m [0;33m 5:d8cbc61dbaa6[0m (inactive) | 371 \x1b[0;0ma\x1b[0m \x1b[0;33m 5:d8cbc61dbaa6\x1b[0m (inactive) (esc) |
372 [0;0mdefault[0m [0;33m 0:19709c5a4e75[0m (inactive) | 372 \x1b[0;0mdefault\x1b[0m \x1b[0;33m 0:19709c5a4e75\x1b[0m (inactive) (esc) |
373 | 373 |
374 $ echo "[extensions]" >> $HGRCPATH | 374 $ echo "[extensions]" >> $HGRCPATH |
375 $ echo "color =" >> $HGRCPATH | 375 $ echo "color =" >> $HGRCPATH |
376 $ echo "[color]" >> $HGRCPATH | 376 $ echo "[color]" >> $HGRCPATH |
377 $ echo "branches.active = green" >> $HGRCPATH | 377 $ echo "branches.active = green" >> $HGRCPATH |
381 $ echo "log.changeset = cyan" >> $HGRCPATH | 381 $ echo "log.changeset = cyan" >> $HGRCPATH |
382 | 382 |
383 custom branch colors: | 383 custom branch colors: |
384 | 384 |
385 $ hg branches --color=always | 385 $ hg branches --color=always |
386 [0;31mb[0m [0;36m 13:6ac12926b8c3[0m | 386 \x1b[0;31mb\x1b[0m \x1b[0;36m 13:6ac12926b8c3\x1b[0m (esc) |
387 [0;32ma branch name much longer than the default justification used by branches[0m [0;36m7:10ff5895aa57[0m | 387 \x1b[0;32ma branch name much longer than the default justification used by branches\x1b[0m \x1b[0;36m7:10ff5895aa57\x1b[0m (esc) |
388 [0;35ma[0m [0;36m 5:d8cbc61dbaa6[0m (inactive) | 388 \x1b[0;35ma\x1b[0m \x1b[0;36m 5:d8cbc61dbaa6\x1b[0m (inactive) (esc) |
389 [0;35mdefault[0m [0;36m 0:19709c5a4e75[0m (inactive) | 389 \x1b[0;35mdefault\x1b[0m \x1b[0;36m 0:19709c5a4e75\x1b[0m (inactive) (esc) |
390 | 390 |
391 custom closed branch color: | 391 custom closed branch color: |
392 | 392 |
393 $ hg branches --color=always --closed | 393 $ hg branches --color=always --closed |
394 [0;31mb[0m [0;36m 13:6ac12926b8c3[0m | 394 \x1b[0;31mb\x1b[0m \x1b[0;36m 13:6ac12926b8c3\x1b[0m (esc) |
395 [0;32ma branch name much longer than the default justification used by branches[0m [0;36m7:10ff5895aa57[0m | 395 \x1b[0;32ma branch name much longer than the default justification used by branches\x1b[0m \x1b[0;36m7:10ff5895aa57\x1b[0m (esc) |
396 [0;34mc[0m [0;36m 14:717d2e6fabe1[0m (closed) | 396 \x1b[0;34mc\x1b[0m \x1b[0;36m 14:717d2e6fabe1\x1b[0m (closed) (esc) |
397 [0;35ma[0m [0;36m 5:d8cbc61dbaa6[0m (inactive) | 397 \x1b[0;35ma\x1b[0m \x1b[0;36m 5:d8cbc61dbaa6\x1b[0m (inactive) (esc) |
398 [0;35mdefault[0m [0;36m 0:19709c5a4e75[0m (inactive) | 398 \x1b[0;35mdefault\x1b[0m \x1b[0;36m 0:19709c5a4e75\x1b[0m (inactive) (esc) |