--- a/mercurial/scmutil.py Sun Oct 01 11:56:41 2017 +0100+++ b/mercurial/scmutil.py Sun Oct 01 11:58:27 2017 +0100@@ -1052,7 +1052,7 @@ src = url.open(repo.ui, spec) try:- for l in src.readlines():+ for l in src: if " " in l: k, v = l.strip().split(" ", 1) else: