hgext/convert/hg.py
changeset 5402 ad0b580cad35
parent 5379 d3e51dc804f8
child 5433 4d34f8b12a9e
equal deleted inserted replaced
5401:4c555dd167dd 5402:ad0b580cad35
    86                 self.ui.note(_('cloning branch %s to %s\n') % (pbranch, branch))
    86                 self.ui.note(_('cloning branch %s to %s\n') % (pbranch, branch))
    87                 hg.clone(self.ui, os.path.join(self.path, pbranch),
    87                 hg.clone(self.ui, os.path.join(self.path, pbranch),
    88                          branchpath, rev=parents, update=False,
    88                          branchpath, rev=parents, update=False,
    89                          stream=True)
    89                          stream=True)
    90                 self.repo = hg.repository(self.ui, branchpath)
    90                 self.repo = hg.repository(self.ui, branchpath)
       
    91         self.before()
    91 
    92 
    92     def putcommit(self, files, parents, commit):
    93     def putcommit(self, files, parents, commit):
    93         seen = {}
    94         seen = {}
    94         pl = []
    95         pl = []
    95         for p in parents:
    96         for p in parents: