Commit 35967b47 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

WIP quickfix for hg 5.8 and subrepos

Certainly not admissible in this form, breaks compat with previous
versions.

Also did not yet investigate similar problems not showing up in tests: this
one got catched by py-heptapod tests.
parent 7d358a8736c4
Pipeline #21855 failed with stages
in 2 minutes and 16 seconds
......@@ -400,7 +400,7 @@
added, removed = [], []
def isgit(sub, path):
return path not in sub or sub[path].startswith(b'[git]')
return path not in sub or sub[path][0].startswith(b'[git]')
for path, sha in substate.items():
if not isgit(sub, path):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment