зеркало из https://github.com/microsoft/git.git
Fix error detection with git-p4 submit when the requested depot path is not in the client view.
Signed-off-by: Simon Hausmann <shausman@trolltech.com>
This commit is contained in:
Родитель
33be3e6550
Коммит
dc52403696
|
@ -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")
|
||||
|
|
Загрузка…
Ссылка в новой задаче