# HG changeset patch # User Dan Villiom Podlaski Christiansen # Date 1336830081 -7200 # Node ID 83cc6e9e8425364458575a2323d349aec37931df # Parent 78db88de9622a2ae05d6fe21ff56be8ffd82fdb1 kill all 'print' statements in the extension proper diff --git a/hgsubversion/editor.py b/hgsubversion/editor.py --- a/hgsubversion/editor.py +++ b/hgsubversion/editor.py @@ -364,7 +364,6 @@ class HgEditor(svnwrap.Editor): else: # pragma: no cover raise hgutil.Abort(*e.args) except: # pragma: no cover - print len(base), self.current.file self._exception_info = sys.exc_info() raise return txdelt_window diff --git a/hgsubversion/maps.py b/hgsubversion/maps.py --- a/hgsubversion/maps.py +++ b/hgsubversion/maps.py @@ -135,8 +135,7 @@ class Tags(dict): svncommands.rebuildmeta(repo.ui, repo, ()) return elif ver != self.VERSION: - print 'tagmap too new -- please upgrade' - raise NotImplementedError + raise hgutil.Abort('tagmap too new -- please upgrade') for l in f: ha, revision, tag = l.split(' ', 2) revision = int(revision) @@ -228,8 +227,7 @@ class RevMap(dict): return iter([]) ver = int(f.readline()) if ver != cls.VERSION: - print 'revmap too new -- please upgrade' - raise NotImplementedError + raise hgutil.Abort('revmap too new -- please upgrade') return f def _load(self): @@ -361,8 +359,7 @@ class FileMap(object): f = open(self.path) ver = int(f.readline()) if ver != self.VERSION: - print 'filemap too new -- please upgrade' - raise NotImplementedError + raise hgutil.Abort('filemap too new -- please upgrade') self.load_fd(f, self.path) f.close()