Mercurial > evolve
diff hgext3rd/topic/discovery.py @ 4804:079dbf36e884
python3: add raw prefix in cases harder to analyze at the token level
The `byteify-strings.py` script would be a lot more complicated if it had to
do backtracking and other more advanced static analysis to figure our those
cases, so we have to add the raw prefix to those cases manually.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Tue, 06 Aug 2019 11:26:29 +0200 |
parents | 92e3db149d7d |
children | 48b30ff742cb |
line wrap: on
line diff
--- a/hgext3rd/topic/discovery.py Tue Aug 06 11:17:38 2019 +0200 +++ b/hgext3rd/topic/discovery.py Tue Aug 06 11:26:29 2019 +0200 @@ -117,7 +117,7 @@ summary[key] = ([value[1][0]], ) + value[1:] return summary finally: - if 'unfiltered' in vars(repo): + if r'unfiltered' in vars(repo): del repo.unfiltered repo.__class__ = oldrepocls if remotebranchmap is not None: