We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 05c2e4d + 61cdbf1 commit 06af8a2Copy full SHA for 06af8a2
test/test.py
@@ -756,10 +756,9 @@ def maybeUpdateRefImages(options, browser):
756
if options.noPrompts or prompt('Would you like to update the master copy in ref/?'):
757
sys.stdout.write(' Updating ref/ ... ')
758
759
- # XXX unclear what to do on errors here ...
760
- # NB: do *NOT* pass --delete to rsync. That breaks this
761
- # entire scheme.
762
- subprocess.check_call(( 'rsync', '-arvq', 'tmp/', 'ref/' ))
+ if not os.path.exists('ref'):
+ subprocess.check_call('mkdir ref', shell = True)
+ subprocess.check_call('cp -Rf tmp/* ref/', shell = True)
763
764
print 'done'
765
else:
0 commit comments