← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~cjwatson/lp-codeimport:git-fetch-progress into lp-codeimport:master

 

Colin Watson has proposed merging ~cjwatson/lp-codeimport:git-fetch-progress into lp-codeimport:master.

Commit message:
Run git fetch with --progress

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)
Related bugs:
  Bug #1961804 in Launchpad code imports: "Mirror of nova-compute is failing due to "strange" timeout"
  https://bugs.launchpad.net/lp-codeimport/+bug/1961804

For more details, see:
https://code.launchpad.net/~cjwatson/lp-codeimport/+git/lp-codeimport/+merge/415936

I'm hoping that this will make it easier to see what's going on in https://bugs.launchpad.net/lp-codeimport/+bug/1961804.
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/lp-codeimport:git-fetch-progress into lp-codeimport:master.
diff --git a/lib/lp/codehosting/codeimport/worker.py b/lib/lp/codehosting/codeimport/worker.py
index 4b6dbe7..f547cfb 100644
--- a/lib/lp/codehosting/codeimport/worker.py
+++ b/lib/lp/codehosting/codeimport/worker.py
@@ -1184,7 +1184,7 @@ class GitToGitImportWorker(ImportWorker):
                 "remote", "add", "source", self.source_details.url,
                 cwd="repository")
             self._runGit(
-                "fetch", "--prune", "source", "+refs/*:refs/*",
+                "fetch", "--progress", "--prune", "source", "+refs/*:refs/*",
                 cwd="repository")
             try:
                 new_head = self._getHead("repository", "source")