Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
20419:e61a8395c3c1 | 20420:62153c5d1ce2 |
---|---|
196 $ hg tip --debug | grep extra | 196 $ hg tip --debug | grep extra |
197 extra: branch=default | 197 extra: branch=default |
198 extra: convert_revision=svn:........-....-....-....-............/proj B/mytrunk@1 (re) | 198 extra: convert_revision=svn:........-....-....-....-............/proj B/mytrunk@1 (re) |
199 $ cd .. | 199 $ cd .. |
200 | 200 |
201 Test converting empty heads (issue3347) | 201 Test converting empty heads (issue3347). |
202 Also tests getting logs directly without debugsvnlog. | |
202 | 203 |
203 $ svnadmin create svn-empty | 204 $ svnadmin create svn-empty |
204 $ svnadmin load -q svn-empty < "$TESTDIR/svn/empty.svndump" | 205 $ svnadmin load -q svn-empty < "$TESTDIR/svn/empty.svndump" |
205 $ hg --config convert.svn.trunk= convert svn-empty | 206 $ hg --config convert.svn.trunk= --config convert.svn.debugsvnlog=0 convert svn-empty |
206 assuming destination svn-empty-hg | 207 assuming destination svn-empty-hg |
207 initializing destination svn-empty-hg repository | 208 initializing destination svn-empty-hg repository |
208 scanning source... | 209 scanning source... |
209 sorting... | 210 sorting... |
210 converting... | 211 converting... |