From: Simon Hausmann Date: Sat, 17 Feb 2007 15:18:22 +0000 (+1000) Subject: hotfix for branchless imports X-Git-Url: http://crossforests.com/gitweb?a=commitdiff_plain;h=8d2196e3e9510c85967f2d9871b03c7f1a5a9ab0;p=python%2Ffast-export.git hotfix for branchless imports --- diff --git a/p4-fast-export.py b/p4-fast-export.py index 76c4b9d..f37fdcf 100755 --- a/p4-fast-export.py +++ b/p4-fast-export.py @@ -210,7 +210,7 @@ def commit(details, files, branch, branchPrefix): merges = Set() for file in files: - if lastChange == 0: + if lastChange == 0 or not detectBranches: continue path = file["path"] if not path.startswith(branchPrefix):