mirror of
https://github.com/git/git.git
synced 2026-04-11 09:20:10 +02:00
Fix support for "depot-path" in older git-p4 imports
Signed-off-by: Simon Hausmann <shausman@trolltech.com>
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user