changeset 51700 | 7f0cb9ee0534 |
parent 51690 | 493034cc3265 |
child 51703 | ca7bde5dbafb |
--- a/hgext/convert/convcmd.py Mon Jul 22 16:49:38 2024 +0200 +++ b/hgext/convert/convcmd.py Tue Jul 23 10:02:46 2024 +0200 @@ -76,6 +76,7 @@ authors = {} with open(authorfile, b'rb') as afile: for line in afile: + line = line.strip() if not line or line.startswith(b'#'): continue @@ -272,6 +273,7 @@ class converter: def __init__(self, ui: "uimod.ui", source, dest, revmapfile, opts) -> None: + self.source = source self.dest = dest self.ui = ui