From aa04b48cabaa81f7b044b594d9305b4f90d4ac39 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Thu, 8 Mar 2007 21:34:40 +0100 Subject: [PATCH] fix --known-branches support --- p4-fast-export.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/p4-fast-export.py b/p4-fast-export.py index a2cca31..5d4ed5c 100755 --- a/p4-fast-export.py +++ b/p4-fast-export.py @@ -44,8 +44,8 @@ for o, a in opts: elif o == "--silent": silent= True elif o == "--known-branches": - for branch in o.split(","): - knownBranches.add(branch) + for branch in open(a).readlines(): + knownBranches.add(branch[:-1]) if len(args) == 0 and len(globalPrefix) != 0: if not silent: -- 2.11.4.GIT