diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-17 19:04:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-17 19:04:28 +0100 |
commit | 514d1bbe260df2521fe60f1a3ec87cfcfde1a829 (patch) | |
tree | 555c194dbeb0fb2ac4ad3cde7c0f6a80fd330ce2 /dev-vcs/mercurial/files | |
parent | 4df3bf9762850b34cd1ead5c80374d1a0fc3362e (diff) |
gentoo resync : 17.07.2021
Diffstat (limited to 'dev-vcs/mercurial/files')
-rw-r--r-- | dev-vcs/mercurial/files/mercurial-5.8.1-testing-timeout.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-vcs/mercurial/files/mercurial-5.8.1-testing-timeout.patch b/dev-vcs/mercurial/files/mercurial-5.8.1-testing-timeout.patch new file mode 100644 index 000000000000..5c68835ccf75 --- /dev/null +++ b/dev-vcs/mercurial/files/mercurial-5.8.1-testing-timeout.patch @@ -0,0 +1,12 @@ +diff --git a/mercurial/testing/__init__.py b/mercurial/testing/__init__.py +--- a/mercurial/testing/__init__.py ++++ b/mercurial/testing/__init__.py +@@ -25,7 +25,7 @@ def wait_file(path, timeout=10): + timeout *= _timeout_factor() + start = time.time() + while not os.path.exists(path): +- if time.time() - start > timeout: ++ if timeout and time.time() - start > timeout: + raise RuntimeError(b"timed out waiting for file: %s" % path) + time.sleep(0.01) + |