hgext/convert/hg.py
changeset 4753 07efcce17d28
parent 4589 451e91ed535e
child 4756 8e9d3faec270
equal deleted inserted replaced
4752:20ec5cc02f18 4753:07efcce17d28
     4 from mercurial import hg
     4 from mercurial import hg
     5 
     5 
     6 from common import NoRepo, converter_sink
     6 from common import NoRepo, converter_sink
     7 
     7 
     8 class convert_mercurial(converter_sink):
     8 class convert_mercurial(converter_sink):
     9     def __init__(self, ui, path):
     9     def __init__(self, ui, path, rev=None):
    10         self.path = path
    10         self.path = path
    11         self.ui = ui
    11         self.ui = ui
    12         try:
    12         try:
    13             self.repo = hg.repository(self.ui, path)
    13             self.repo = hg.repository(self.ui, path)
    14         except:
    14         except: