dagparser: fix variable name in error message
authorYuya Nishihara <yuya@tcha.org>
Sun, 03 Sep 2017 15:22:54 +0900
changeset 34209 da9c4b0693c5
parent 34208 0a2fd3bfc704
child 34210 8927534cacbc
dagparser: fix variable name in error message There's no variable named 'type'.
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)