comparison hgext/convert/subversion.py @ 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
comparison
equal deleted inserted replaced
4770:4526ef8c47b2 4771:e2292928cbe6
205 self.ui.debug("Parsing revision %d\n" % revnum) 205 self.ui.debug("Parsing revision %d\n" % revnum)
206 if orig_paths is not None: 206 if orig_paths is not None:
207 rev = self.rev(revnum) 207 rev = self.rev(revnum)
208 try: 208 try:
209 branch = self.module.split("/")[-1] 209 branch = self.module.split("/")[-1]
210 if branch == 'trunk':
211 branch = ''
210 except IndexError: 212 except IndexError:
211 branch = None 213 branch = None
212 214
213 for path in orig_paths: 215 for path in orig_paths:
214 # self.ui.write("path %s\n" % path) 216 # self.ui.write("path %s\n" % path)