mercurial/util.py
changeset 14147 617483af1cc0
parent 14146 1618c4f6f15b
child 14167 0e4753807c93
--- a/mercurial/util.py	Sun May 01 15:49:13 2011 +0200
+++ b/mercurial/util.py	Sun May 01 15:49:13 2011 +0200
@@ -1473,7 +1473,7 @@
         return '<url %s>' % ', '.join(attrs)
 
     def __str__(self):
-        """Join the URL's components back into a URL string.
+        r"""Join the URL's components back into a URL string.
 
         Examples:
 
@@ -1493,6 +1493,8 @@
         'bundle:../foo'
         >>> str(url('path'))
         'path'
+        >>> print url(r'bundle:foo\bar')
+        bundle:foo\bar
         """
         if self._localpath:
             s = self.path