Mercurial > hg
diff hgext/convert/hg.py @ 20373:e8203629371b
convert: add mapname parameter to checkrevformat
Upcoming patches will add new map files so we change the calling sequence of
checkrevformat so that error messages will let the user know which file has the
wrong rev format.
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Tue, 21 Jan 2014 11:34:55 -0600 |
parents | 45562379ce4e |
children | 7a4797910205 |
line wrap: on
line diff
--- a/hgext/convert/hg.py Thu Apr 18 10:05:50 2013 -0500 +++ b/hgext/convert/hg.py Tue Jan 21 11:34:55 2014 -0600 @@ -423,6 +423,6 @@ def getbookmarks(self): return bookmarks.listbookmarks(self.repo) - def checkrevformat(self, revstr): + def checkrevformat(self, revstr, mapname='splicemap'): """ Mercurial, revision string is a 40 byte hex """ - self.checkhexformat(revstr) + self.checkhexformat(revstr, mapname)