Changeset - c44885d0e546
[Not reviewed]
stable
0 1 0
Matthias Zilk - 10 years ago 2015-05-22 23:56:50
matthias.zilk@gmail.com
vcs: added proper windows quoting to git commands (Issue #135)

Git repositories could not be forked on windows.
1 file changed with 6 insertions and 0 deletions:
0 comments (0 inline, 0 general)
kallithea/lib/vcs/backends/git/repository.py
Show inline comments
 
@@ -17,6 +17,12 @@ import urllib2
 
import logging
 
import posixpath
 
import string
 
import sys
 
if sys.platform == "win32":
 
    from subprocess import list2cmdline
 
    def quote(s):
 
        return list2cmdline([s])
 
else:
 
try:
 
    # Python <=2.7
 
    from pipes import quote
0 comments (0 inline, 0 general)