Fixed output bugs in p4SyncMissingFiles.py.
This commit is contained in:
parent
6610e8e357
commit
49153babed
|
@ -44,9 +44,9 @@ def main( args ):
|
|||
return False
|
||||
def sync( data ):
|
||||
if data is not None and not os.path.exists( data ):
|
||||
try_call_process( "p4 sync -f " + data )
|
||||
subprocess.check_output( "p4 sync -f \"" + data + "\"", shell=False, cwd=None )
|
||||
if not options.quiet:
|
||||
c.write( " Synced " + data )
|
||||
c.write( " Synced " + os.path.relpath( data, directory ) )
|
||||
return True
|
||||
|
||||
commands = {
|
||||
|
@ -90,6 +90,7 @@ def main( args ):
|
|||
if not any(action == a for a in rejected_actions):
|
||||
if options.verbose:
|
||||
c.write( " Checking " + os.path.relpath( local_path, directory ) )
|
||||
# TODO: directories should be batched and synced in parallel
|
||||
queue.put( ( WRK.SYNC, local_path ) )
|
||||
|
||||
if line.startswith( clientFile_tag ):
|
||||
|
|
Loading…
Reference in New Issue