mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
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:
parent
826a5ab4e7
commit
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):
|
||||
|
Loading…
Reference in New Issue
Block a user