diff tests/test-mq-pull-from-bundle.t @ 35394:469b06b4c3ca

tests: add commit hashes to log commands in rebase tests Commit hashes are a useful way to ensure the content of commits made in the tests are not changing, even if we don't query every aspect of every commit. (And some properties, like extras, are rarely printed at all.) Many of the rebase log -G calls didn't show hashes; by adding hashes to places that weren't showing them we can help protect those tests from unwanted changes. Differential Revision: https://phab.mercurial-scm.org/D1650
author Phil Cohen <phillco@fb.com>
date Sun, 10 Dec 2017 21:57:37 -0800
parents eb586ed5d8ce
children 45a4799174a1
line wrap: on
line diff
--- a/tests/test-mq-pull-from-bundle.t	Sun Dec 10 22:39:46 2017 -0800
+++ b/tests/test-mq-pull-from-bundle.t	Sun Dec 10 21:57:37 2017 -0800
@@ -2,7 +2,7 @@
   > [extensions]
   > mq=
   > [alias]
-  > tlog = log --template "{rev}: {desc}\\n"
+  > tlog = log --template "{rev}: {node|short} {desc}\\n"
   > theads = heads --template "{rev}: {desc}\\n"
   > tincoming = incoming --template "{rev}: {desc}\\n"
   > EOF
@@ -97,7 +97,7 @@
   0: queue: two.patch added
 
   $ hg -R .hg/patches tlog
-  0: queue: two.patch added
+  0: d7553909353d queue: two.patch added
 
   $ hg qseries
   two.patch
@@ -128,7 +128,7 @@
   0: queue: two.patch added
 
   $ hg -R .hg/patches tlog
-  0: queue: two.patch added
+  0: d7553909353d queue: two.patch added
 
   $ hg qseries
   two.patch