changeset 4771:e2292928cbe6

convert: svn: convert branch trunk to default
author Brendan Cully <brendan@kublai.com>
date Sun, 01 Jul 2007 22:23:33 -0700
parents 4526ef8c47b2
children 69548a9d9796
files hgext/convert/subversion.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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