# HG changeset patch # User Mads Kiilerich # Date 2011-05-01 13:49:13 # Node ID 1618c4f6f15b1e4a2bf0d3da9ec85dd5b3188812 # Parent 8468ec1109d12676293488f7df8b98ad194a0bc6 tests: use raw string for url tests of '\' handling diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -1319,7 +1319,7 @@ def _urlunquote(s): return s class url(object): - """Reliable URL parser. + r"""Reliable URL parser. This parses URLs and provides attributes for the following components: @@ -1350,8 +1350,8 @@ class url(object): >>> url('bundle://../foo') - >>> url('c:\\\\foo\\\\bar') - + >>> url(r'c:\foo\bar') + Authentication credentials: