aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo
diff options
context:
space:
mode:
Diffstat (limited to 'MgaRepo')
-rw-r--r--MgaRepo/git.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/MgaRepo/git.py b/MgaRepo/git.py
index 3462eb1..01f21f0 100644
--- a/MgaRepo/git.py
+++ b/MgaRepo/git.py
@@ -147,9 +147,11 @@ class GIT(VCS):
usermap = UserTagParser(url=gitconfig.get("svn-remote.authorlog.url"),defaultmail=gitconfig.get("svn-remote.authorlog.defaultmail"))
usermapfile = usermap.get_user_map_file()
fetchcmd.extend(("--authors-file", usermapfile))
+ fetchcmd.append("")
while revisions:
- self._execVcs(*fetchcmd + ["-r%d"%revisions.pop(0)], **kwargs)
+ fetchcmd[-1] = "-r%d"%revisions.pop(0)
+ self._execVcs(*fetchcmd, **kwargs)
if gitconfig:
usermap.cleanup()