Fix support for "depot-path" in older git-p4 imports

Signed-off-by: Simon Hausmann <shausman@trolltech.com>
This commit is contained in:
Simon Hausmann 2007-06-07 09:19:34 +02:00
parent 7530a40ce2
commit 845b42cb6c

View File

@ -153,7 +153,10 @@ def extractSettingsGitLog(log):
values[key] = val
values['depot-paths'] = values.get("depot-paths").split(',')
paths = values.get("depot-paths")
if not paths:
paths = values.get("depot-path")
values['depot-paths'] = paths.split(',')
return values
def gitBranchExists(branch):