mercurial/posix.py
changeset 26248 99b6afff09ae
parent 25967 224a33452ed4
child 26876 b8381832ce2b
child 26883 c750ed59892a
--- a/mercurial/posix.py	Sat Sep 12 12:16:39 2015 -0700
+++ b/mercurial/posix.py	Fri Sep 04 11:15:02 2015 -0400
@@ -350,7 +350,7 @@
         return '"%s"' % s
     global _needsshellquote
     if _needsshellquote is None:
-        _needsshellquote = re.compile(r'[^a-zA-Z0-9._/-]').search
+        _needsshellquote = re.compile(r'[^a-zA-Z0-9._/+-]').search
     if s and not _needsshellquote(s):
         # "s" shouldn't have to be quoted
         return s