[Treepkg-commits] r404 - trunk/treepkg
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Aug 9 14:24:57 CEST 2010
Author: aheinecke
Date: 2010-08-09 14:24:56 +0200 (Mon, 09 Aug 2010)
New Revision: 404
Modified:
trunk/treepkg/git.py
Log:
Always call checkout index with a trailing / to force the creation of the dest
directory.
Modified: trunk/treepkg/git.py
===================================================================
--- trunk/treepkg/git.py 2010-08-06 15:00:51 UTC (rev 403)
+++ trunk/treepkg/git.py 2010-08-09 12:24:56 UTC (rev 404)
@@ -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)
More information about the Treepkg-commits
mailing list