changeset 34216:da9c4b0693c5

dagparser: fix variable name in error message There's no variable named 'type'.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 03 Sep 2017 15:22:54 +0900
parents 0a2fd3bfc704
children 8927534cacbc
files mercurial/dagparser.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)