tests: fix empty commit in test
authorGregory Szorc <gregory.szorc@gmail.com>
Mon, 10 Dec 2018 16:53:09 +0000
changeset 53693 afdbc9c6a333d01f86bfee31bae183dec80a5062
parent 53686 5014e93a569609cec4b373b27f2a6b56699d9894
child 53694 ca6372b7e5660f2670cface7ce85222dad0e0d8d
push id1081
push usergszorc@mozilla.com
push dateMon, 10 Dec 2018 21:46:46 +0000
tests: fix empty commit in test This was almost certainly a bug. Differential Revision: https://phab.mercurial-scm.org/D5403
tests/test-wireproto-command-filedata.t
--- a/tests/test-wireproto-command-filedata.t
+++ b/tests/test-wireproto-command-filedata.t
@@ -14,39 +14,39 @@
   $ echo d0 > dir0/d
   $ echo e0 > dir0/child0/e
   $ echo f0 > dir0/child1/f
   $ hg -q commit -A -m 'commit 0'
 
   $ echo a1 >> a
   $ echo d1 > dir0/d
   $ hg commit -m 'commit 1'
-  $ echo f0 > dir0/child1/f
+  $ echo f1 > dir0/child1/f
   $ hg commit -m 'commit 2'
-  nothing changed
-  [1]
 
   $ hg -q up -r 0
   $ echo a2 >> a
   $ hg commit -m 'commit 3'
   created new head
 
   $ hg log -G -T '{rev}:{node} {desc}\n'
-  @  2:5ce944d7fece1252dae06c34422b573c191b9489 commit 3
+  @  3:5ce944d7fece1252dae06c34422b573c191b9489 commit 3
   |
+  | o  2:b3c27db01410dae01e5485d425b1440078df540c commit 2
+  | |
   | o  1:3ef5e551f219ba505481d34d6b0316b017fa3f00 commit 1
   |/
   o  0:91b232a2253ce0638496f67bdfd7a4933fb51b25 commit 0
   
 
   $ hg --debug debugindex a
      rev linkrev nodeid                                   p1                                       p2
        0       0 649d149df43d83882523b7fb1e6a3af6f1907b39 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000
        1       1 0a86321f1379d1a9ecd0579a22977af7a5acaf11 649d149df43d83882523b7fb1e6a3af6f1907b39 0000000000000000000000000000000000000000
-       2       2 7e5801b6d5f03a5a54f3c47b583f7567aad43e5b 649d149df43d83882523b7fb1e6a3af6f1907b39 0000000000000000000000000000000000000000
+       2       3 7e5801b6d5f03a5a54f3c47b583f7567aad43e5b 649d149df43d83882523b7fb1e6a3af6f1907b39 0000000000000000000000000000000000000000
 
   $ hg --debug debugindex dir0/child0/e
      rev linkrev nodeid                                   p1                                       p2
        0       0 bbba6c06b30f443d34ff841bc985c4d0827c6be4 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000
 
   $ hg serve -p $HGPORT -d --pid-file hg.pid -E error.log
   $ cat hg.pid > $DAEMON_PIDS