changeset 42427 | 027f1567f97f |
parent 42426 | a1f87294471f |
child 42446 | 055c3e2c44f0 |
--- a/mercurial/changelog.py Wed May 22 09:54:00 2019 -0700 +++ b/mercurial/changelog.py Thu Jun 06 10:07:14 2019 -0700 @@ -109,12 +109,12 @@ for i, f in enumerate(files): if f in subset: indices.append('%d' % i) - return '\0'.join(indices) + return '\n'.join(indices) def decodefileindices(files, data): try: subset = [] - for strindex in data.split('\0'): + for strindex in data.split('\n'): i = int(strindex) if i < 0 or i >= len(files): return None