# HG changeset patch # User Bryan O'Sullivan # Date 1199483791 28800 # Node ID d852151fb8d4927fc6a293e6ed276c590a4a1e01 # Parent 86f5d8f608b74e4cf76cbc33711dd6ce7ff605aa util: drop params added during experimentation diff -r 86f5d8f608b7 -r d852151fb8d4 mercurial/util.py --- a/mercurial/util.py Fri Jan 04 11:58:27 2008 -0800 +++ b/mercurial/util.py Fri Jan 04 13:56:31 2008 -0800 @@ -1707,7 +1707,7 @@ # Avoid double backslash in Windows path repr() return repr(s).replace('\\\\', '\\') -def hidepassword(url, user=True, password=True): +def hidepassword(url): '''hide user credential in a url string''' scheme, netloc, path, params, query, fragment = urlparse.urlparse(url) netloc = re.sub('([^:]*):([^@]*)@(.*)', r'\1:***@\3', netloc)