equal
deleted
inserted
replaced
472 def shellsplit(s): |
472 def shellsplit(s): |
473 """Parse a command string in cmd.exe way (best-effort)""" |
473 """Parse a command string in cmd.exe way (best-effort)""" |
474 return pycompat.maplist(_unquote, pycompat.shlexsplit(s, posix=False)) |
474 return pycompat.maplist(_unquote, pycompat.shlexsplit(s, posix=False)) |
475 |
475 |
476 |
476 |
477 def quotecommand(cmd): |
|
478 """Build a command string suitable for os.popen* calls.""" |
|
479 return cmd |
|
480 |
|
481 |
|
482 # if you change this stub into a real check, please try to implement the |
477 # if you change this stub into a real check, please try to implement the |
483 # username and groupname functions above, too. |
478 # username and groupname functions above, too. |
484 def isowner(st): |
479 def isowner(st): |
485 return True |
480 return True |
486 |
481 |