Skip to content

Commit 31f9ec1

Browse files
committed
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>
1 parent 86bab96 commit 31f9ec1

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

contrib/fast-import/git-p4

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -664,9 +664,8 @@ class P4Submit(Command):
664664
f.close();
665665

666666
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 ...")
670669

671670
if self.reset:
672671
self.firstTime = True

0 commit comments

Comments
 (0)