From: Simon Hausmann Date: Thu, 15 Mar 2007 18:07:06 +0000 (+0100) Subject: Be more strict with Perforce after synching. X-Git-Url: http://crossforests.com/gitweb?a=commitdiff_plain;h=c24e9e1bf3aee088fb50de17d6bc40a301988bdd;p=python%2Ffast-export.git Be more strict with Perforce after synching. --- diff --git a/p4-git-sync.py b/p4-git-sync.py index 4f02079..e07fcee 100755 --- a/p4-git-sync.py +++ b/p4-git-sync.py @@ -276,8 +276,8 @@ if len(commits) == 0: print "Deleting temporary p4-sync branch and going back to %s" % master system("git checkout %s" % master) system("git branch -D p4-sync") - print "Cleaning out your perforce checkout by doing p4 edit ... ; p4 revert -a ..." - system("p4 edit ...") - system("p4 revert -a ...") + print "Cleaning out your perforce checkout by doing p4 edit ... ; p4 revert ..." + system("p4 edit ... >/dev/null") + system("p4 revert ... >/dev/null") os.remove(configFile)