aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek.chauhan@gmail.com>2008-08-05 11:02:58 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2008-08-05 11:02:58 +0530
commit4b0b394ceb0e70cb4dd79a14479b276da8fac007 (patch)
tree0a960ae394b5a96322980fd1bac462abf1023e49
parent* Fix unmounting when we die prematurely (diff)
downloadautotua-4b0b394ceb0e70cb4dd79a14479b276da8fac007.tar.gz
autotua-4b0b394ceb0e70cb4dd79a14479b276da8fac007.tar.bz2
autotua-4b0b394ceb0e70cb4dd79a14479b276da8fac007.zip
Fix syncing of the jobtage tree (master:master not HEAD:HEAD)
-rw-r--r--slave/autotua/sync/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slave/autotua/sync/__init__.py b/slave/autotua/sync/__init__.py
index 7b30ae8..97ca095 100644
--- a/slave/autotua/sync/__init__.py
+++ b/slave/autotua/sync/__init__.py
@@ -128,7 +128,7 @@ class Command(object):
if action == 'init':
return cmd+'git clone --bare "$URI" "$GIT_DIR";git config remote.origin.url "$URI"'
if action == 'sync':
- return cmd+'git config remote.origin.url "$URI";git fetch -f -u origin HEAD:HEAD'
+ return cmd+'git config remote.origin.url "$URI";git fetch -f -u origin master:master'
elif self.scheme == 'git-export': # export self.rev
return 'git-archive --prefix="%s/" --remote="%s" "%s" | tar x -C "%s"' % \
(osp.basename(self.destdir), self.uri, self.rev, osp.dirname(self.destdir))