hgext/convert/subversion.py
changeset 8103 2a4a71b15e95
parent 8074 fc78313cba53
parent 8086 89b6450148d0
child 8129 fca0b16c594a
equal deleted inserted replaced
8074:fc78313cba53 8103:2a4a71b15e95
   345                              (branch, self.revnum(brevid)))
   345                              (branch, self.revnum(brevid)))
   346                 self.heads.append(brevid)
   346                 self.heads.append(brevid)
   347 
   347 
   348         if self.startrev and self.heads:
   348         if self.startrev and self.heads:
   349             if len(self.heads) > 1:
   349             if len(self.heads) > 1:
   350                 raise util.Abort(_('svn: start revision is not supported with '
   350                 raise util.Abort(_('svn: start revision is not supported '
   351                                    'with more than one branch'))
   351                                    'with more than one branch'))
   352             revnum = self.revnum(self.heads[0])
   352             revnum = self.revnum(self.heads[0])
   353             if revnum < self.startrev:
   353             if revnum < self.startrev:
   354                 raise util.Abort(_('svn: no revision found after start revision %d')
   354                 raise util.Abort(_('svn: no revision found after start revision %d')
   355                                  % self.startrev)
   355                                  % self.startrev)