[PATCH 6 of 6] test-notify: stabilize output

Mads Kiilerich mads at kiilerich.com
Wed Oct 6 04:01:53 CDT 2010


# HG changeset patch
# User Mads Kiilerich <mads at kiilerich.com>
# Date 1286355514 -7200
# Node ID db67d200be01e54ff81f7986d1d9a45d347ad7a9
# Parent  1a6956afd32eab75e5c5c0bd1e4a2e4443d06219
test-notify: stabilize output

test-notify is made a bit more stable by stripping "all" folders away instead
of just 3.

diff --git a/tests/test-notify.t b/tests/test-notify.t
--- a/tests/test-notify.t
+++ b/tests/test-notify.t
@@ -143,7 +143,7 @@
   > [notify]
   > config = `pwd`/.notify.conf
   > domain = test.com
-  > strip = 3
+  > strip = 42
   > template = Subject: {desc|firstline|strip}\nFrom: {author}\nX-Test: foo\n\nchangeset {node|short} in {webroot}\ndescription:\n\t{desc|tabindent|strip}
   > 
   > [web]
@@ -181,7 +181,7 @@
   Message-Id: <*> (glob)
   To: baz at test.com, foo at bar
   
-  changeset 0647d048b600 in */b (glob)
+  changeset 0647d048b600 in b
   description: b
   diffs (6 lines):
   
@@ -225,7 +225,7 @@
   Message-Id: <*> (glob)
   To: baz at test.com, foo at bar
   
-  changeset 0647d048b600 in */b (glob)
+  changeset 0647d048b600 in b
   description: b
   diffstat:
   
@@ -274,7 +274,7 @@
   Message-Id: <*> (glob)
   To: baz at test.com, foo at bar
   
-  changeset 0a184ce6067f in */b (glob)
+  changeset 0a184ce6067f in b
   description: adda2
   diffstat:
   
@@ -300,6 +300,6 @@
   Message-Id: <*> (glob)
   To: baz at test.com, foo at bar
   
-  changeset 22c88b85aa27 in */b (glob)
+  changeset 22c88b85aa27 in b
   description: merge
   (run 'hg update' to get a working copy)


More information about the Mercurial-devel mailing list