[jhbuild] [git-cvsimport] fix update, using copydir instead of cwd



commit be7e1932c2737d5e3a8caba2a6eadd7529951e62
Author: Marc-André Lureau <marcandre lureau gmail com>
Date:   Sat May 9 15:26:20 2009 +0300

    [git-cvsimport] fix update, using copydir instead of cwd
---
 jhbuild/versioncontrol/git.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/jhbuild/versioncontrol/git.py b/jhbuild/versioncontrol/git.py
index 40f39e7..ad2b423 100644
--- a/jhbuild/versioncontrol/git.py
+++ b/jhbuild/versioncontrol/git.py
@@ -495,7 +495,7 @@ class GitCvsBranch(GitBranch):
             stashed = True
             buildscript.execute(['git', 'stash', 'save', 'jhbuild-stash'], cwd=cwd)
 
-        self._checkout(buildscript, cwd=cwd)
+        self._checkout(buildscript, copydir=copydir)
 
         if stashed:
             buildscript.execute(['git', 'stash', 'pop'], cwd=cwd)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]