# HG changeset patch # User Augie Fackler # Date 1465188889 14400 # Node ID 6463dae16c33ed5b0df96d48a038bb7da2c459f6 # Parent cbad7285cbebb3280fc810e06f7e9a4b0e45172a meta: check for revmap existence locally This was the last non-documentaiton reference to the meta layer in the map layer, so it now feels very clear to me that the check should just live at the svnmeta level. diff --git a/hgsubversion/maps.py b/hgsubversion/maps.py --- a/hgsubversion/maps.py +++ b/hgsubversion/maps.py @@ -433,10 +433,6 @@ class RevMap(dict): raise hgutil.Abort('revmap too new -- please upgrade') return f - @classmethod - def exists(cls, meta): - return os.path.exists(meta.revmap_file) - @util.gcdisable def _load(self): lastpulled = self.lastpulled diff --git a/hgsubversion/svnmeta.py b/hgsubversion/svnmeta.py --- a/hgsubversion/svnmeta.py +++ b/hgsubversion/svnmeta.py @@ -351,7 +351,7 @@ class SVNMeta(object): @property def revmapexists(self): - return maps.RevMap.exists(self) + return os.path.exists(self.revmap_file) def fixdate(self, date): if date is not None: