Fix single-branch imports by skipping the branch/merge detection correctly.

Signed-off-by: Simon Hausmann <hausmann@kde.org>
maint
Simon Hausmann 2007-02-18 01:18:22 +10:00
parent f1e9b5345e
commit 90dc3dfdc8
1 changed files with 1 additions and 1 deletions

View File

@ -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):