aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <proyvind@moondrake.org>2016-05-29 01:07:39 +0200
committerPer Øyvind Karlsen <proyvind@moondrake.org>2016-05-29 01:07:39 +0200
commit9a1ce9d9737c2dccf05db6febe3393135fb35eb7 (patch)
tree329060764029b33987c28484ff14ee51bc181a42
parent3c9999b9520abf6a8db83a146c134661dce60dd8 (diff)
downloadmgarepo-9a1ce9d9737c2dccf05db6febe3393135fb35eb7.tar
mgarepo-9a1ce9d9737c2dccf05db6febe3393135fb35eb7.tar.gz
mgarepo-9a1ce9d9737c2dccf05db6febe3393135fb35eb7.tar.bz2
mgarepo-9a1ce9d9737c2dccf05db6febe3393135fb35eb7.tar.xz
mgarepo-9a1ce9d9737c2dccf05db6febe3393135fb35eb7.zip
increase log window size to 1000 to speed up checkouts
-rw-r--r--MgaRepo/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/MgaRepo/git.py b/MgaRepo/git.py
index a424a08..c9018e6 100644
--- a/MgaRepo/git.py
+++ b/MgaRepo/git.py
@@ -45,7 +45,7 @@ class GIT(VCS):
for entry in logentries:
revisions.append(entry.attrib["revision"])
while revisions:
- execcmd("git svn fetch -r%d" % int(revisions.pop()), show=True)
+ execcmd("git svn fetch --log-window-size=1000 -r%d" % int(revisions.pop()), show=True)
cmd = ["svn", "rebase"]
return self._execVcs_success(*cmd, **kwargs)