Mercurial > hg-stable
comparison hgext/convert/common.py @ 4760:07efcce17d28
convert: add -r argument specifying latest revision to convert
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Sun, 01 Jul 2007 15:02:15 -0700 |
parents | 20ec5cc02f18 |
children | 47091c8d028e |
comparison
equal
deleted
inserted
replaced
4759:20ec5cc02f18 | 4760:07efcce17d28 |
---|---|
10 self.__dict__.update(parts) | 10 self.__dict__.update(parts) |
11 | 11 |
12 class converter_source(object): | 12 class converter_source(object): |
13 """Conversion source interface""" | 13 """Conversion source interface""" |
14 | 14 |
15 def __init__(self, ui, path): | 15 def __init__(self, ui, path, rev=None): |
16 """Initialize conversion source (or raise NoRepo("message") | 16 """Initialize conversion source (or raise NoRepo("message") |
17 exception if path is not a valid repository)""" | 17 exception if path is not a valid repository)""" |
18 raise NotImplementedError() | 18 raise NotImplementedError() |
19 | 19 |
20 def getheads(self): | 20 def getheads(self): |