Mercurial > treepkg > treepkg
diff treepkg/git.py @ 444:cb061f0474ba
Always call checkout index with a trailing / to force the creation of the dest
directory.
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 09 Aug 2010 12:24:56 +0000 |
parents | dd2bd0ccd674 |
children | bee2e5f6cf8d |
line wrap: on
line diff
--- a/treepkg/git.py Fri Aug 06 15:00:51 2010 +0000 +++ b/treepkg/git.py Mon Aug 09 12:24:56 2010 +0000 @@ -37,6 +37,7 @@ def export(src, dest): """Exports the local branch from src to dest""" + dest = os.path.normpath(dest) + os.sep run.call(cmdexpand("git checkout-index -a -f --prefix=$dest", **locals()), cwd=src)