diff tests/test-log.t @ 25739:3dabc9b7494a

changeset_printer: use node.wdirrev to calculate meaningful parentrevs Because we defined the working-directory revision is INT_MAX, it makes sense that "hg log -r 'wdir()'" displays the "parent:" field. This is the same for two revisions that are semantically contiguous but the intermediate revisions are hidden.
author Yuya Nishihara <yuya@tcha.org>
date Thu, 02 Jul 2015 22:03:06 +0900
parents 24cda1dd45ff
children f4412380d357
line wrap: on
line diff
--- a/tests/test-log.t	Mon Jun 22 22:05:10 2015 +0900
+++ b/tests/test-log.t	Thu Jul 02 22:03:06 2015 +0900
@@ -1627,6 +1627,7 @@
 
   $ hg log -r 'wdir()'
   changeset:   0:65624cd9070a+
+  parent:      0:65624cd9070a
   user:        test
   date:        [A-Za-z0-9:+ ]+ (re)