提交 31f9ec12 编写于 作者: S Simon Hausmann

git-p4: Always call 'p4 sync ...' before submitting to Perforce.

Acked-by: NMarius Storm-Olsen <marius@trolltech.com>
Acked-by: NThiago Macieira <thiago@kde.org>
上级 86bab961
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册