Browse Source

Changed --known-branches to take a file as argument instead of a comma separated list.

Signed-off-by: Simon Hausmann <hausmann@kde.org>
maint
Simon Hausmann 18 years ago
parent
commit
934371385c
  1. 4
      contrib/fast-import/p4-fast-export.py

4
contrib/fast-import/p4-fast-export.py

@ -44,8 +44,8 @@ for o, a in opts: @@ -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:

Loading…
Cancel
Save