[Treepkg-commits] r406 - trunk/treepkg

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Aug 9 15:56:31 CEST 2010


Author: aheinecke
Date: 2010-08-09 15:56:31 +0200 (Mon, 09 Aug 2010)
New Revision: 406

Modified:
   trunk/treepkg/git.py
Log:
Ignore redundancy of trailing slashes while ensuring to have at least one.


Modified: trunk/treepkg/git.py
===================================================================
--- trunk/treepkg/git.py	2010-08-09 12:25:41 UTC (rev 405)
+++ trunk/treepkg/git.py	2010-08-09 13:56:31 UTC (rev 406)
@@ -37,7 +37,7 @@
 
 def export(src, dest):
     """Exports the local branch from src to dest"""
-    dest = os.path.normpath(dest) + os.sep
+    dest = dest + os.sep
     run.call(cmdexpand("git checkout-index -a -f --prefix=$dest", **locals()),
              cwd=src)
 



More information about the Treepkg-commits mailing list