Skip to content

Commit

Permalink
Fix error detection with git-p4 submit when the requested depot path …
Browse files Browse the repository at this point in the history
…is not in the client view.

Signed-off-by: Simon Hausmann <shausman@trolltech.com>
  • Loading branch information
Simon Hausmann committed May 21, 2007
1 parent 33be3e6 commit dc52403
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contrib/fast-import/git-p4
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ def p4Where(depotPath):
if not depotPath.endswith("/"):
depotPath += "/"
output = p4Cmd("where %s..." % depotPath)
if output["code"] == "error":
return ""
clientPath = ""
if "path" in output:
clientPath = output.get("path")
Expand Down

0 comments on commit dc52403

Please sign in to comment.