# HG changeset patch # User Bjoern Ricks # Date 1315053152 0 # Node ID 97a5e09c84dc098134aabeda00b978f2501d2a19 # Parent bccd69dedbe5785db0a67f9c3a2cb6310148242d Fix: pass url to command expand to be able to checkout a new git repository diff -r bccd69dedbe5 -r 97a5e09c84dc treepkg/git.py --- a/treepkg/git.py Sat Sep 03 11:53:12 2011 +0000 +++ b/treepkg/git.py Sat Sep 03 12:32:32 2011 +0000 @@ -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)