experiments: fix logging bugs (#5195)

* experiments: use relpaths when tracking changed files

* experiments: suppress SCM hints in tempdir executors

* experiments: move multiprocessing error logging into child

* exp run: clarify help text for --temp
This commit is contained in:
Peter Rowlands (변기호)
2021-01-04 19:25:13 +09:00
committed by GitHub
parent 8010005364
commit cffc019e1f
6 changed files with 68 additions and 50 deletions
+2 -1
View File
@@ -45,6 +45,7 @@ class Git(Base):
):
self.ignored_paths: List[str] = []
self.files_to_track: Set[str] = set()
self.quiet: bool = False
selected = backends if backends else self.DEFAULT_BACKENDS.keys()
self.backends = OrderedDict(
@@ -243,7 +244,7 @@ class Git(Base):
self.files_to_track = set()
def remind_to_track(self):
if not self.files_to_track:
if self.quiet or not self.files_to_track:
return
files = " ".join(shlex.quote(path) for path in self.files_to_track)