1
0
mirror of https://github.com/git/git.git synced 2024-10-03 19:51:31 +02:00

Use p4 revert ... instead of revert -a ... after submitting, to make sure the p4 checkout is clean.

Signed-off-by: Simon Hausmann <hausmann@kde.org>
This commit is contained in:
Simon Hausmann 2007-03-15 19:07:06 +01:00
parent d566209e7f
commit f72537f97e

@ -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)