[PATCH 13 of 19] tests: make qnew in test-mq-caches.t stable

Mads Kiilerich mads at kiilerich.com
Thu Jan 12 19:32:47 CST 2012


# HG changeset patch
# User Mads Kiilerich <mads at kiilerich.com>
# Date 1326413948 -3600
# Node ID c34a911c2f744d0b4a441c657b2af7fd99caac32
# Parent  94747a0592102b0f80b9877d527e7260579544b2
tests: make qnew in test-mq-caches.t stable

The unstable hashes did for other reasons not show up in the test output.

diff --git a/tests/test-mq-caches.t b/tests/test-mq-caches.t
--- a/tests/test-mq-caches.t
+++ b/tests/test-mq-caches.t
@@ -26,7 +26,7 @@
 
 mq patch on an empty repo
 
-  $ hg qnew p1
+  $ hg qnew -d '0 0' p1
   $ show_branch_cache
   tip: 0
   No branch cache
@@ -69,7 +69,7 @@
   c229711f16da3d7591f89b1b8d963b79bda22714 bar
   dc25e3827021582e979f600811852e36cbe57341 foo
 
-  $ hg qnew p2
+  $ hg qnew -d '0 0' p2
   $ echo foo > .hg/branch
   $ echo foo2 >> foo
   $ hg qrefresh -m 'patch 2'


More information about the Mercurial-devel mailing list