mercurial/posix.py
changeset 8219 21cf74ff2deb
parent 7943 c289c3fc5985
child 8225 46293a0c7e9f
equal deleted inserted replaced
8218:e61cb2813d2a 8219:21cf74ff2deb
    51     pf = output_line[14:]
    51     pf = output_line[14:]
    52     if os.sys.platform == 'OpenVMS':
    52     if os.sys.platform == 'OpenVMS':
    53         if pf[0] == '`':
    53         if pf[0] == '`':
    54             pf = pf[1:-1] # Remove the quotes
    54             pf = pf[1:-1] # Remove the quotes
    55     else:
    55     else:
    56        if pf.startswith("'") and pf.endswith("'") and " " in pf:
    56         if pf.startswith("'") and pf.endswith("'") and " " in pf:
    57             pf = pf[1:-1] # Remove the quotes
    57             pf = pf[1:-1] # Remove the quotes
    58     return pf
    58     return pf
    59 
    59 
    60 def sshargs(sshcmd, host, user, port):
    60 def sshargs(sshcmd, host, user, port):
    61     '''Build argument list for ssh'''
    61     '''Build argument list for ssh'''