[issue1997] convert/svn: Default hg branch ignoring convert.svn.trunk config setting

Tony Snook bugs at mercurial.selenic.com
Tue Jan 26 03:37:25 UTC 2010


New submission from Tony Snook <tspc at dodo.com.au>:

When converting a non-standard svn repository where the trunk is called
something other than 'trunk', say 'newtrunk', you can use the following svn
convert option: --config convert.svn.trunk=newtrunk 
This works, however the 'default' hg branch is still set to the svn 'trunk'
stream. I would have expected the hg 'default' branch to be set to the
'newtrunk' stream. 
I have attached a simple patch against the crew repository, which appears to
resolve the issue. 

Regards,
Tony

----------
files: svn_default_branch.patch
messages: 11513
nosy: tspc
priority: bug
status: unread
title: convert/svn: Default hg branch ignoring convert.svn.trunk config setting
topic: convert, svn

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue1997>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: svn_default_branch.patch
Type: text/x-patch
Size: 1470 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100126/da41d389/attachment.bin>


More information about the Mercurial-devel mailing list