From 51944c93afc8cabd271fee6b97f4f274ea1227bd Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Thu, 7 Jun 2007 09:19:34 +0200 Subject: [PATCH] Fix support for "depot-path" in older git-p4 imports --- git-p4 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/git-p4 b/git-p4 index e955ad4..e576f2d 100755 --- a/git-p4 +++ b/git-p4 @@ -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): -- 2.11.0