# HG changeset patch # User Jun Wu <qu...@fb.com> # Date 1490572823 25200 # Sun Mar 26 17:00:23 2017 -0700 # Node ID 234ade0bb549d9d1bd20aba41cd8ddc96619d703 # Parent 4b594304a50056b5bde7b193e5496db6f68982dc # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull https://bitbucket.org/quark-zju/hg-draft -r 234ade0bb549 crecord: use ProgrammingError
diff --git a/mercurial/crecord.py b/mercurial/crecord.py --- a/mercurial/crecord.py +++ b/mercurial/crecord.py @@ -565,5 +565,5 @@ class curseschunkselector(object): # affects some ui text if operation not in _headermessages: - raise RuntimeError('unexpected operation: %s' % operation) + raise error.ProgrammingError('unexpected operation: %s' % operation) self.operation = operation _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel