# HG changeset patch
# User Yuya Nishihara <y...@tcha.org>
# Date 1504419774 -32400
#      Sun Sep 03 15:22:54 2017 +0900
# Node ID 9781ea13183a7a64d4b5fdfe13c07244273c0e56
# Parent  3592f41c8c14cee0c2ee103da254193a486bca35
dagparser: fix variable name in error message

There's no variable named 'type'.

diff --git a/mercurial/dagparser.py b/mercurial/dagparser.py
--- a/mercurial/dagparser.py
+++ b/mercurial/dagparser.py
@@ -368,7 +368,7 @@ def dagtextlines(events,
                     yield '\n'
                 else:
                     raise error.Abort(_("invalid event type in dag: %s")
-                                     % str((type, data)))
+                                      % str((kind, data)))
         if run:
             yield '+' + str(run)
 
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to