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>
This commit is contained in:
parent
86bab9615c
commit
31f9ec129e
@ -664,8 +664,7 @@ class P4Submit(Command):
|
|||||||
f.close();
|
f.close();
|
||||||
|
|
||||||
os.chdir(self.clientPath)
|
os.chdir(self.clientPath)
|
||||||
response = raw_input("Do you want to sync %s with p4 sync? [y]es/[n]o " % self.clientPath)
|
print "Syncronizing p4 checkout..."
|
||||||
if response == "y" or response == "yes":
|
|
||||||
system("p4 sync ...")
|
system("p4 sync ...")
|
||||||
|
|
||||||
if self.reset:
|
if self.reset:
|
||||||
|
Loading…
Reference in New Issue
Block a user