Mercurial > hg
changeset 8219:21cf74ff2deb
whitespace cleanup
author | Peter Arrenbrecht <peter.arrenbrecht@gmail.com> |
---|---|
date | Mon, 27 Apr 2009 09:12:07 +0200 |
parents | e61cb2813d2a |
children | 6e6ebeb52899 |
files | hgext/convert/subversion.py mercurial/posix.py |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/subversion.py Mon Apr 06 15:09:54 2009 +0200 +++ b/hgext/convert/subversion.py Mon Apr 27 09:12:07 2009 +0200 @@ -148,8 +148,8 @@ # this by requesting a version-controlled URL we know can't exist and looking # for the svn-specific "not found" XML. def httpcheck(path, proto): - return ('<m:human-readable errcode="160013">' in - urllib.urlopen('%s://%s/!svn/ver/0/.svn' % (proto, path)).read()) + return ('<m:human-readable errcode="160013">' in + urllib.urlopen('%s://%s/!svn/ver/0/.svn' % (proto, path)).read()) protomap = {'http': httpcheck, 'https': httpcheck,
--- a/mercurial/posix.py Mon Apr 06 15:09:54 2009 +0200 +++ b/mercurial/posix.py Mon Apr 27 09:12:07 2009 +0200 @@ -53,7 +53,7 @@ if pf[0] == '`': pf = pf[1:-1] # Remove the quotes else: - if pf.startswith("'") and pf.endswith("'") and " " in pf: + if pf.startswith("'") and pf.endswith("'") and " " in pf: pf = pf[1:-1] # Remove the quotes return pf