diff tests/test-convert-svn-source.t @ 20420:62153c5d1ce2

convert: secret config option for disabling debugsvnlog Subversion issues involving svn log such as d54467c1a198 can be tricky to debug when it is run in an 'hg debugsvnlog' sub process. Debugging is simpler when convert only uses one process. With this change convert will invoke the svn log directly when setting [convert] svn.debugsvnlog = False This is intentionally not documented.
author Mads Kiilerich <madski@unity3d.com>
date Fri, 07 Feb 2014 17:29:37 +0100
parents aa9385f983fa
children 7a9cbb315d84
line wrap: on
line diff
--- a/tests/test-convert-svn-source.t	Fri Feb 07 17:28:37 2014 +0100
+++ b/tests/test-convert-svn-source.t	Fri Feb 07 17:29:37 2014 +0100
@@ -198,11 +198,12 @@
   extra:       convert_revision=svn:........-....-....-....-............/proj B/mytrunk@1 (re)
   $ cd ..
 
-Test converting empty heads (issue3347)
+Test converting empty heads (issue3347).
+Also tests getting logs directly without debugsvnlog.
 
   $ svnadmin create svn-empty
   $ svnadmin load -q svn-empty < "$TESTDIR/svn/empty.svndump"
-  $ hg --config convert.svn.trunk= convert svn-empty
+  $ hg --config convert.svn.trunk= --config convert.svn.debugsvnlog=0 convert svn-empty
   assuming destination svn-empty-hg
   initializing destination svn-empty-hg repository
   scanning source...