test failure: test-convert-svn-sink.t (svn 1.6.17 on Fedora 16)

Greg Ward greg at gerg.ca
Wed Mar 28 14:04:45 CDT 2012


Hi all --

I'm getting a test failure at tip of stable:

--- /home/gward/src/hg-crew-stable/tests/test-convert-svn-sink.t
+++ /home/gward/src/hg-crew-stable/tests/test-convert-svn-sink.t.err
@@ -59,11 +59,11 @@
   $ svnupanddisplay a-hg-wc 2
   At revision 2.
    2 2 test .
+   2 1 test link
    2 2 test a
    2 1 test d1
    2 1 test d1/d2
    2 1 test d1/d2/b
-   2 1 test link
   <?xml version="1.0"?>
   <log>
   <logentry
@@ -72,7 +72,7 @@
   <date/>
   <paths>
   <path
-     action="M">/a</path>
+     action="M"
   </paths>
   <msg>modify a file</msg>
   </logentry>
@@ -82,15 +82,15 @@
   <date/>
   <paths>
   <path
-     action="A">/a</path>
-  <path
-     action="A">/d1</path>
-  <path
-     action="A">/d1/d2</path>
-  <path
-     action="A">/d1/d2/b</path>
-  <path
-     action="A">/link</path>
+     action="A"
+  <path
+     action="A"
+  <path
+     action="A"
+  <path
+     action="A"
+  <path
+     action="A"
   </paths>
   <msg>add a file</msg>
   </logentry>
@@ -139,7 +139,9 @@
   <date/>
   <paths>
   <path
-     action="D">/a</path>
+     action="D"
+  <path
+     action="D"
   <path
      copyfrom-path="/a"
      copyfrom-rev="2"
@@ -148,8 +150,6 @@
      copyfrom-path="/link"
      copyfrom-rev="2"
      action="A">/newlink</path>
-  <path
-     action="D">/link</path>
   </paths>
   <msg>rename a file</msg>
   </logentry>

[... lots more ...]

I can reproduce this with Mercurial 2.1, 2.0, and 1.9 -- same failure.

This is on Fedora 16 with Subversion 1.6.17 installed. Seems like
making tests depend on how svn writes its working dir is a bit
fragile!

Also, I recently ran the complete test suite at home on Ubuntu 11.11
and it was passing there. (Not sure if I even have svn installed at
home, though.)

Is anyone else seeing this?

        Greg


More information about the Mercurial-devel mailing list