Commit 858918e0 authored by Boris Feld's avatar Boris Feld
Browse files

Our clones must be without working directories

If we fully clone a repository (without --noupdate) it will create lots of
files and directories, that hgweb will scan continuously, looking for
repositories to serve.
parent 16c200b14043
......@@ -27,7 +27,7 @@ def main():
processes.append(run(['pull', '-R', repo_path]))
print("Cloning missing repository %s from %s" % (name, url))
processes.append(run(['clone', url, repo_path]))
processes.append(run(['clone', '--noupdate', url, repo_path]))
for process in processes:
if process is not None:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment