[Treepkg-commits] r542 - trunk/treepkg
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Sat Sep 3 14:32:33 CEST 2011
Author: bricks
Date: 2011-09-03 14:32:32 +0200 (Sat, 03 Sep 2011)
New Revision: 542
Modified:
trunk/treepkg/git.py
Log:
Fix: pass url to command expand to be able to checkout a new git repository
Modified: trunk/treepkg/git.py
===================================================================
--- trunk/treepkg/git.py 2011-09-03 11:53:12 UTC (rev 541)
+++ trunk/treepkg/git.py 2011-09-03 12:32:32 UTC (rev 542)
@@ -51,7 +51,8 @@
def checkout(self, localdir):
"""Clones the repository at url into the localdir"""
- run.call(cmdexpand("git clone -q $url $localdir", **locals()))
+ run.call(cmdexpand("git clone -q $url $localdir", url=self.url,
+ localdir=localdir))
if self.branch:
self.checkout_branch(localdir)
More information about the Treepkg-commits
mailing list