# HG changeset patch # User Yuya Nishihara # Date 1504419774 -32400 # Node ID da9c4b0693c53e0c916865f6dcee7302b9fa0b5e # Parent 0a2fd3bfc7045d9d626f3d72d5f463b02eb3feaa dagparser: fix variable name in error message There's no variable named 'type'. diff -r 0a2fd3bfc704 -r da9c4b0693c5 mercurial/dagparser.py --- a/mercurial/dagparser.py Sun Sep 03 17:47:21 2017 +0900 +++ b/mercurial/dagparser.py Sun Sep 03 15:22:54 2017 +0900 @@ -368,7 +368,7 @@ yield '\n' else: raise error.Abort(_("invalid event type in dag: %s") - % str((type, data))) + % str((kind, data))) if run: yield '+' + str(run)