[PATCH 1 of 6] test-record: add hg summary to verify we update dirstate

Augie Fackler durin42 at gmail.com
Mon Apr 19 18:16:34 CDT 2010


# HG changeset patch
# User Augie Fackler <durin42 at gmail.com>
# Date 1271445880 18000
# Node ID 7dce8fff9fc7ba801afe5136372d8be16885225f
# Parent  90f72f47cfc22cc5b91b46ca83a2464f8e8746fc
test-record: add hg summary to verify we update dirstate

diff --git a/tests/test-record b/tests/test-record
--- a/tests/test-record
+++ b/tests/test-record
@@ -37,6 +37,10 @@
 EOF
 echo; hg tip -p
 
+echo % summary shows we updated to the new cset
+hg summary
+echo
+
 echo % rename empty file
 
 hg mv empty-rw empty-rename
@@ -315,4 +319,3 @@
 y
 EOF
 echo; hg tip -p
-
diff --git a/tests/test-record.out b/tests/test-record.out
--- a/tests/test-record.out
+++ b/tests/test-record.out
@@ -72,6 +72,13 @@
 summary:     empty
 
 
+% summary shows we updated to the new cset
+parent: 0:c0708cf4e46e tip
+ empty
+branch: default
+commit: (clean)
+update: (current)
+
 % rename empty file
 diff --git a/empty-rw b/empty-rename
 rename from empty-rw


More information about the Mercurial-devel mailing list