Mercurial > hg
comparison hgext/convert/common.py @ 4807:15a3cbfc6568
convert: call superclass init from engine init functions
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Thu, 05 Jul 2007 12:00:04 -0700 |
parents | 47091c8d028e |
children | c2d529f288a1 |
comparison
equal
deleted
inserted
replaced
4801:6aa1fae4c28a | 4807:15a3cbfc6568 |
---|---|
15 """Conversion source interface""" | 15 """Conversion source interface""" |
16 | 16 |
17 def __init__(self, ui, path, rev=None): | 17 def __init__(self, ui, path, rev=None): |
18 """Initialize conversion source (or raise NoRepo("message") | 18 """Initialize conversion source (or raise NoRepo("message") |
19 exception if path is not a valid repository)""" | 19 exception if path is not a valid repository)""" |
20 raise NotImplementedError() | 20 pass |
21 | 21 |
22 def getheads(self): | 22 def getheads(self): |
23 """Return a list of this repository's heads""" | 23 """Return a list of this repository's heads""" |
24 raise NotImplementedError() | 24 raise NotImplementedError() |
25 | 25 |