Mercurial > hg
comparison tests/test-branches.t @ 22703:bd6e95cb82b4
branches: port to generic templater
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 02 Oct 2014 22:59:56 +0900 |
parents | b500a663a2c7 |
children | 386339ffe421 |
comparison
equal
deleted
inserted
replaced
22702:08a4e70ed183 | 22703:bd6e95cb82b4 |
---|---|
468 \x1b[0;32ma branch name much longer than the default justification used by branches\x1b[0m \x1b[0;36m7:10ff5895aa57\x1b[0m (esc) | 468 \x1b[0;32ma branch name much longer than the default justification used by branches\x1b[0m \x1b[0;36m7:10ff5895aa57\x1b[0m (esc) |
469 \x1b[0;34mc\x1b[0m \x1b[0;36m 14:f894c25619d3\x1b[0m (closed) (esc) | 469 \x1b[0;34mc\x1b[0m \x1b[0;36m 14:f894c25619d3\x1b[0m (closed) (esc) |
470 \x1b[0;35ma\x1b[0m \x1b[0;36m 5:d8cbc61dbaa6\x1b[0m (inactive) (esc) | 470 \x1b[0;35ma\x1b[0m \x1b[0;36m 5:d8cbc61dbaa6\x1b[0m (inactive) (esc) |
471 \x1b[0;35mdefault\x1b[0m \x1b[0;36m 0:19709c5a4e75\x1b[0m (inactive) (esc) | 471 \x1b[0;35mdefault\x1b[0m \x1b[0;36m 0:19709c5a4e75\x1b[0m (inactive) (esc) |
472 | 472 |
473 template output: | |
474 | |
475 $ hg branches -Tjson --closed | |
476 [ | |
477 { | |
478 "branch": "b", | |
479 "node": "e23b5505d1ad24aab6f84fd8c7cb8cd8e5e93be0", | |
480 "rev": 13 | |
481 }, | |
482 { | |
483 "branch": "a branch name much longer than the default justification used by branches", | |
484 "node": "10ff5895aa5793bd378da574af8cec8ea408d831", | |
485 "rev": 7 | |
486 }, | |
487 { | |
488 "branch": "c", | |
489 "node": "f894c25619d3f1484639d81be950e0a07bc6f1f6", | |
490 "rev": 14 | |
491 }, | |
492 { | |
493 "branch": "a", | |
494 "node": "d8cbc61dbaa6dc817175d1e301eecb863f280832", | |
495 "rev": 5 | |
496 }, | |
497 { | |
498 "branch": "default", | |
499 "node": "19709c5a4e75bf938f8e349aff97438539bb729e", | |
500 "rev": 0 | |
501 } | |
502 ] | |
503 | |
473 $ cd .. | 504 $ cd .. |