File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -72,9 +72,7 @@ def read_pipe_lines(c):
72
72
73
73
def p4_read_pipe_lines (c ):
74
74
"""Specifically invoke p4 on the command supplied. """
75
- real_cmd = "%s %s" % ("p4" , c )
76
- if verbose :
77
- print real_cmd
75
+ real_cmd = p4_build_cmd (c )
78
76
return read_pipe_lines (real_cmd )
79
77
80
78
def system (cmd ):
@@ -85,9 +83,7 @@ def system(cmd):
85
83
86
84
def p4_system (cmd ):
87
85
"""Specifically invoke p4 as the system command. """
88
- real_cmd = "%s %s" % ("p4" , cmd )
89
- if verbose :
90
- print real_cmd
86
+ real_cmd = p4_build_cmd (cmd )
91
87
return system (real_cmd )
92
88
93
89
def isP4Exec (kind ):
@@ -172,7 +168,7 @@ def isModeExecChanged(src_mode, dst_mode):
172
168
return isModeExec (src_mode ) != isModeExec (dst_mode )
173
169
174
170
def p4CmdList (cmd , stdin = None , stdin_mode = 'w+b' ):
175
- cmd = "p4 -G %s" % cmd
171
+ cmd = p4_build_cmd ( " -G %s" % ( cmd ))
176
172
if verbose :
177
173
sys .stderr .write ("Opening pipe: %s\n " % cmd )
178
174
You can’t perform that action at this time.
0 commit comments