Mercurial > hg
comparison tests/test-log.t @ 25762:f4412380d357
changeset_printer: display wdirrev/wdirnode values for workingctx
Because we want to eliminate "if"s in the default template, it makes sense to
display wdirrev/wdirnode values for now. wdir() is still experimental, so the
output of "log -r'wdir()'" may change in future.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 04 Jul 2015 17:19:49 +0900 |
parents | 3dabc9b7494a |
children | 5618858dce26 |
comparison
equal
deleted
inserted
replaced
25761:0d37b9b21467 | 25762:f4412380d357 |
---|---|
1624 date: Thu Jan 01 00:00:00 1970 +0000 | 1624 date: Thu Jan 01 00:00:00 1970 +0000 |
1625 | 1625 |
1626 working-directory revision requires special treatment | 1626 working-directory revision requires special treatment |
1627 | 1627 |
1628 $ hg log -r 'wdir()' | 1628 $ hg log -r 'wdir()' |
1629 changeset: 0:65624cd9070a+ | 1629 changeset: 2147483647:ffffffffffff |
1630 parent: 0:65624cd9070a | 1630 parent: 0:65624cd9070a |
1631 user: test | 1631 user: test |
1632 date: [A-Za-z0-9:+ ]+ (re) | 1632 date: [A-Za-z0-9:+ ]+ (re) |
1633 | 1633 |
1634 $ hg log -r 'wdir()' -q | 1634 $ hg log -r 'wdir()' -q |
1635 0:65624cd9070a+ | 1635 2147483647:ffffffffffff |
1636 | 1636 |
1637 $ hg log -r 'wdir()' --debug | 1637 $ hg log -r 'wdir()' --debug |
1638 changeset: 0:65624cd9070a035fa7191a54f2b8af39f16b0c08+ | 1638 changeset: 2147483647:ffffffffffffffffffffffffffffffffffffffff |
1639 phase: draft | 1639 phase: draft |
1640 parent: 0:65624cd9070a035fa7191a54f2b8af39f16b0c08 | 1640 parent: 0:65624cd9070a035fa7191a54f2b8af39f16b0c08 |
1641 parent: -1:0000000000000000000000000000000000000000 | 1641 parent: -1:0000000000000000000000000000000000000000 |
1642 user: test | 1642 user: test |
1643 date: [A-Za-z0-9:+ ]+ (re) | 1643 date: [A-Za-z0-9:+ ]+ (re) |