branch | stable |
changeset 36742 | 4e41b59633fa |
parent 34207 | 5a1b41268b7c |
child 39442 | 9a813e4c8406 |
--- a/tests/drawdag.py Sun Mar 04 14:53:57 2018 -0500 +++ b/tests/drawdag.py Tue Feb 06 16:08:57 2018 -0800 @@ -371,7 +371,8 @@ comments = list(_getcomments(text)) filere = re.compile(br'^(\w+)/([\w/]+)\s*=\s*(.*)$', re.M) for name, path, content in filere.findall(b'\n'.join(comments)): - files[name][path] = content.replace(br'\n', b'\n') + content = content.replace(br'\n', b'\n').replace(br'\1', b'\1') + files[name][path] = content committed = {None: node.nullid} # {name: node}