зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1659602 - Fix type error in `mozversioncontrol` for Windows+`hg`+Python 3 r=dmajor
These arguments will get converted to `bytes` later on if necessary; if we don't defer to `hglib`, then we need proper strings. Differential Revision: https://phabricator.services.mozilla.com/D87440
This commit is contained in:
Родитель
826a5ab4e7
Коммит
9ad232391e
|
@ -429,7 +429,7 @@ class HgRepository(Repository):
|
|||
def get_tracked_files_finder(self):
|
||||
# Can return backslashes on Windows. Normalize to forward slashes.
|
||||
files = list(p.replace('\\', '/') for p in
|
||||
self._run(b'files', b'-0').split('\0') if p)
|
||||
self._run('files', '-0').split('\0') if p)
|
||||
return FileListFinder(files)
|
||||
|
||||
def working_directory_clean(self, untracked=False, ignored=False):
|
||||
|
|
Загрузка…
Ссылка в новой задаче