# HG changeset patch # User Andre Heinecke # Date 1281362191 0 # Node ID bee2e5f6cf8d267462cb0f09f453dd2f79fabb46 # Parent e049599fde1aaafd97444651da734172830ee5a3 Ignore redundancy of trailing slashes while ensuring to have at least one. diff -r e049599fde1a -r bee2e5f6cf8d treepkg/git.py --- a/treepkg/git.py Mon Aug 09 12:25:41 2010 +0000 +++ b/treepkg/git.py Mon Aug 09 13:56:31 2010 +0000 @@ -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)