git-p4: Always call 'p4 sync ...' before submitting to Perforce.
Acked-by: Marius Storm-Olsen <marius@trolltech.com> Acked-by: Thiago Macieira <thiago@kde.org>
Simon Hausmann committed
Aug 21, 2007 at 11:53 UTC
31f9ec129ef37e50b5cacf26a2ebcb5420fcdc5e
1 file changed
+2
-3
contrib/fast-import/git-p4
+2
-3
@@ -664,9 +664,8 @@ class P4Submit(Command):
664
f.close();
665
666
os.chdir(self.clientPath)
667
- response = raw_input("Do you want to sync %s with p4 sync? [y]es/[n]o " % self.clientPath)
668
- if response == "y" or response == "yes":
669
- system("p4 sync ...")
667
+ print "Syncronizing p4 checkout..."
668
+ system("p4 sync ...")
669
670
if self.reset:
671
self.firstTime = True