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:
Simon Hausmann 2007-08-21 11:53:02 +02:00
Родитель 86bab9615c
Коммит 31f9ec129e
1 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -664,9 +664,8 @@ class P4Submit(Command):
f.close();
os.chdir(self.clientPath)
response = raw_input("Do you want to sync %s with p4 sync? [y]es/[n]o " % self.clientPath)
if response == "y" or response == "yes":
system("p4 sync ...")
print "Syncronizing p4 checkout..."
system("p4 sync ...")
if self.reset:
self.firstTime = True