diff options
-rw-r--r-- | MgaRepo/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MgaRepo/git.py b/MgaRepo/git.py index 515fae4..45c628d 100644 --- a/MgaRepo/git.py +++ b/MgaRepo/git.py @@ -77,7 +77,7 @@ class GIT(VCS): return [(x[0], x[8:]) for x in output.splitlines()] return None - def update(self, path, **kwargs): + def update(self, targetpath, **kwargs): os.environ.update({"GIT_WORK_TREE" : abspath(targetpath), "GIT_DIR" : join(abspath(targetpath),".git")}) cmd = ["svn", "log", "--oneline", "--limit=1"] |