Mercurial > bitten > bitten-test
diff bitten/build/svntools.py @ 605:c94481bc4646
0.6dev: Reverting [677] as many of these paths are also used for URLs, and hadn't considered this change enough. No major point in changing code that already works well, so simply reverting seems the best idea...
author | osimons |
---|---|
date | Thu, 30 Jul 2009 19:51:11 +0000 |
parents | 7af6ebc30ff8 |
children | 639e5c466c96 |
line wrap: on
line diff
--- a/bitten/build/svntools.py +++ b/bitten/build/svntools.py @@ -11,6 +11,7 @@ """Recipe commands for Subversion.""" import logging +import posixpath import re import shutil import os @@ -85,7 +86,7 @@ if revision: args += ['-r', revision] if path: - final_url = os.path.join(url, path.lstrip('/')) + final_url = posixpath.join(url, path.lstrip('/')) else: final_url = url if username: @@ -128,7 +129,7 @@ if revision: args += ['-r', revision] if path: - url = os.path.join(url, path) + url = posixpath.join(url, path) if username: args += ['--username', username] if password: