Fix p4 execution in git-p4 rollback.
authorSimon Hausmann <shausman@trolltech.com>
Wed, 23 May 2007 21:44:19 +0000 (23:44 +0200)
committerSimon Hausmann <shausman@trolltech.com>
Wed, 23 May 2007 21:44:19 +0000 (23:44 +0200)
Signed-off-by: Simon Hausmann <shausman@trolltech.com>
contrib/fast-import/git-p4

index 6d016b83d4b72f3ff1e2281d1365e0ab3aaa1ab7..b2341b7ec4592f0457adfddc6e4f711191b9e36a 100755 (executable)
@@ -152,7 +152,7 @@ class P4RollBack(Command):
             return False
         maxChange = int(args[0])
 
-        if "p4ExitCode" in p4Cmd("p4 changes -m 1"):
+        if "p4ExitCode" in p4Cmd("changes -m 1"):
             die("Problems executing p4");
 
         if self.rollbackLocalBranches: