projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7530a40
)
Fix support for "depot-path" in older git-p4 imports
author
Simon Hausmann
<shausman@trolltech.com>
Thu, 7 Jun 2007 07:19:34 +0000
(09:19 +0200)
committer
Simon Hausmann
<shausman@trolltech.com>
Thu, 7 Jun 2007 07:19:34 +0000
(09:19 +0200)
Signed-off-by: Simon Hausmann <shausman@trolltech.com>
contrib/fast-import/git-p4
patch
|
blob
|
history
diff --git
a/contrib/fast-import/git-p4
b/contrib/fast-import/git-p4
index e955ad4f442d1e44cf96079f8589687ba487c26e..e576f2dd9efb39fcb86eda826b18a059828a87ef 100755
(executable)
--- a/
contrib/fast-import/git-p4
+++ b/
contrib/fast-import/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):