convert: svn: convert branch trunk to default
authorBrendan Cully <brendan@kublai.com>
Sun, 01 Jul 2007 22:23:33 -0700
changeset 4771 e2292928cbe6
parent 4770 4526ef8c47b2
child 4772 69548a9d9796
convert: svn: convert branch trunk to default
hgext/convert/subversion.py
--- a/hgext/convert/subversion.py	Sun Jul 01 22:21:05 2007 -0700
+++ b/hgext/convert/subversion.py	Sun Jul 01 22:23:33 2007 -0700
@@ -207,6 +207,8 @@
                 rev = self.rev(revnum)
                 try:
                     branch = self.module.split("/")[-1]
+                    if branch == 'trunk':
+                        branch = ''
                 except IndexError:
                     branch = None