hgext/convert/subversion.py
changeset 4764 e2292928cbe6
parent 4763 4526ef8c47b2
child 4765 69548a9d9796
equal deleted inserted replaced
4763:4526ef8c47b2 4764: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)