comparison hgext/convert/common.py @ 5373:6aba1835a7b3

convert: pass the order of the revmapfile to the converter_source The entries in this file are supposed to be topologically sorted and this may be useful for a converter_source.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Thu, 04 Oct 2007 23:21:37 -0300
parents f0931c0240b4
children e710874247d1
comparison
equal deleted inserted replaced
5372:6f6aa7f3bc1c 5373:6aba1835a7b3
42 pass 42 pass
43 43
44 def after(self): 44 def after(self):
45 pass 45 pass
46 46
47 def setrevmap(self, revmap): 47 def setrevmap(self, revmap, order):
48 """set the map of already-converted revisions""" 48 """set the map of already-converted revisions
49
50 order is a list with the keys from revmap in the order they
51 appear in the revision map file."""
49 pass 52 pass
50 53
51 def getheads(self): 54 def getheads(self):
52 """Return a list of this repository's heads""" 55 """Return a list of this repository's heads"""
53 raise NotImplementedError() 56 raise NotImplementedError()