Mercurial > treepkg
changeset 579:97a5e09c84dc tip
Fix: pass url to command expand to be able to checkout a new git repository
author | Bjoern Ricks <bricks@intevation.de> |
---|---|
date | Sat, 03 Sep 2011 12:32:32 +0000 (2011-09-03) |
parents | bccd69dedbe5 |
children | |
files | treepkg/git.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)