changeset 50471 | 521fec115dad |
parent 50184 | a6ca61fd1fa8 |
child 50472 | 9fdc28e21b68 |
--- a/hgext/narrow/narrowcommands.py Mon May 15 08:56:08 2023 +0200 +++ b/hgext/narrow/narrowcommands.py Mon May 15 08:56:23 2023 +0200 @@ -288,7 +288,8 @@ repair.strip(ui, unfi, tostrip, topic=b'narrow', backup=backup) todelete = [] - for t, f, size in repo.store.datafiles(): + for entry in repo.store.datafiles(): + f = entry.unencoded_path if f.startswith(b'data/'): file = f[5:-2] if not newmatch(file):