diff hglib/client.py @ 187:9062a6b935ad

summary: parse commit line less strictly (issue5637)
author Yuya Nishihara <yuya@tcha.org>
date Wed, 02 Aug 2017 23:43:16 +0900
parents cdb5a320d2bf
children 5609a21fe39a
line wrap: on
line diff
--- a/hglib/client.py	Wed Jul 19 14:48:40 2017 +0200
+++ b/hglib/client.py	Wed Aug 02 23:43:16 2017 +0900
@@ -1597,7 +1597,7 @@
             elif name == b('branch'):
                 pass
             elif name == b('commit'):
-                value = value == b('(clean)')
+                value = b('(clean)') in value
             elif name == b('update'):
                 if value == b('(current)'):
                     value = 0