--- a/mercurial/windows.py Thu Sep 07 22:36:54 2017 +0900
+++ b/mercurial/windows.py Sun Sep 03 14:32:11 2017 +0900
@@ -267,15 +267,15 @@
_needsshellquote = None
def shellquote(s):
r"""
- >>> shellquote(r'C:\Users\xyz')
+ >>> shellquote(br'C:\Users\xyz')
'"C:\\Users\\xyz"'
- >>> shellquote(r'C:\Users\xyz/mixed')
+ >>> shellquote(br'C:\Users\xyz/mixed')
'"C:\\Users\\xyz/mixed"'
>>> # Would be safe not to quote too, since it is all double backslashes
- >>> shellquote(r'C:\\Users\\xyz')
+ >>> shellquote(br'C:\\Users\\xyz')
'"C:\\\\Users\\\\xyz"'
>>> # But this must be quoted
- >>> shellquote(r'C:\\Users\\xyz/abc')
+ >>> shellquote(br'C:\\Users\\xyz/abc')
'"C:\\\\Users\\\\xyz/abc"'
"""
global _quotere