[PATCH] tests: add some optional line for svn test

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon Mar 14 09:51:09 EDT 2016


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at fb.com>
# Date 1457962602 0
#      Mon Mar 14 13:36:42 2016 +0000
# Node ID 6d73c87015235ceaec6f01929e977f48869376f6
# Parent  ade330deb39a4d2b0bfe044196c87fc4c5fd69b2
# Available At http://hg.netv6.net/marmoute-wip/mercurial/
#              hg pull http://hg.netv6.net/marmoute-wip/mercurial/ -r 6d73c8701523
tests: add some optional line for svn test

Subversion have subtle different output from one version to another.

diff --git a/tests/test-convert-svn-source.t b/tests/test-convert-svn-source.t
--- a/tests/test-convert-svn-source.t
+++ b/tests/test-convert-svn-source.t
@@ -30,10 +30,11 @@ Initial svn import
   $ mkdir mytrunk
   $ mkdir tags
   $ cd ..
 
   $ svn import -m "init projB" projB "$SVNREPOURL/proj%20B" | filter_svn_output | sort
+   (?)
   Adding         projB/mytrunk (glob)
   Adding         projB/tags (glob)
   Committed revision 1.
 
 Update svn repository
@@ -54,10 +55,11 @@ Update svn repository
   Sending        letter .txt
   Transmitting file data .
   Committed revision 3.
 
   $ svn copy -m "tag v0.1" "$SVNREPOURL/proj%20B/mytrunk" "$SVNREPOURL/proj%20B/tags/v0.1" | filter_svn_output
+   (?)
   Committed revision 4.
 
   $ svn-safe-append.py 'nice day today!' 'letter .txt'
   $ svn ci -m "nice day" | filter_svn_output
   Sending        letter .txt
@@ -97,10 +99,11 @@ Update svn repository again
   Adding         letter2.txt
   Transmitting file data ..
   Committed revision 6.
 
   $ svn copy -m "tag v0.2" "$SVNREPOURL/proj%20B/mytrunk" "$SVNREPOURL/proj%20B/tags/v0.2" | filter_svn_output
+   (?)
   Committed revision 7.
 
   $ svn-safe-append.py "blah-blah-blah" letter2.txt
   $ svn ci -m "work in progress" | filter_svn_output
   Sending        letter2.txt


More information about the Mercurial-devel mailing list