Mercurial > public > mercurial-scm > hg
diff hgext/convert/common.py @ 8691:a0a541d6fed6
convert: fail fast if source does not support --sourcesort
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Mon, 01 Jun 2009 17:12:39 +0200 |
parents | c5b4f662109f |
children | 68e0a55eee6e |
line wrap: on
line diff
--- a/hgext/convert/common.py Mon Jun 01 17:12:39 2009 +0200 +++ b/hgext/convert/common.py Mon Jun 01 17:12:39 2009 +0200 @@ -137,6 +137,13 @@ '''Notify the source that a revision has been converted.''' pass + def hasnativeorder(self): + """Return true if this source has a meaningful, native revision + order. For instance, Mercurial revisions are store sequentially + while there is no such global ordering with Darcs. + """ + return False + class converter_sink(object): """Conversion sink (target) interface"""