hgext/convert/cvs.py
changeset 5521 03496d4fa509
parent 5481 003d1f174fe1
child 5528 6ffca2bf23da
child 5920 5df7cb799baf
equal deleted inserted replaced
5520:cc3af86ab6fe 5521:03496d4fa509
     9     def __init__(self, ui, path, rev=None):
     9     def __init__(self, ui, path, rev=None):
    10         super(convert_cvs, self).__init__(ui, path, rev=rev)
    10         super(convert_cvs, self).__init__(ui, path, rev=rev)
    11 
    11 
    12         cvs = os.path.join(path, "CVS")
    12         cvs = os.path.join(path, "CVS")
    13         if not os.path.exists(cvs):
    13         if not os.path.exists(cvs):
    14             raise NoRepo("couldn't open CVS repo %s" % path)
    14             raise NoRepo("%s does not look like a CVS checkout" % path)
    15 
    15 
    16         self.changeset = {}
    16         self.changeset = {}
    17         self.files = {}
    17         self.files = {}
    18         self.tags = {}
    18         self.tags = {}
    19         self.lastbranch = {}
    19         self.lastbranch = {}