Mercurial > public > mercurial-scm > hg-stable
diff tests/test-log.t @ 24584:5a40b5d45396
changeset_printer: display p1rev:p1node with "+" suffix for workingctx
Still templater can't handle workingctx, which will be fixed later.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 14 Mar 2015 20:01:30 +0900 |
parents | 888dcab69ca3 |
children | e191d5d8d515 |
line wrap: on
line diff
--- a/tests/test-log.t Sat Mar 14 17:29:48 2015 +0900 +++ b/tests/test-log.t Sat Mar 14 20:01:30 2015 +0900 @@ -1623,6 +1623,16 @@ user: date: Thu Jan 01 00:00:00 1970 +0000 +working-directory revision requires special treatment + + $ hg log -r 'wdir()' + changeset: 0:65624cd9070a+ + user: test + date: [A-Za-z0-9:+ ]+ (re) + + $ hg log -r 'wdir()' -q + 0:65624cd9070a+ + Check that adding an arbitrary name shows up in log automatically $ cat > ../names.py <<EOF