Add openAll() and applyConfig() methods to Transport
commit5c934b34740e0a66de122f5c4306716f60102803
authorMarek Zawirski <marek.zawirski@gmail.com>
Mon, 28 Jul 2008 10:30:02 +0000 (28 12:30 +0200)
committerMarek Zawirski <marek.zawirski@gmail.com>
Sat, 16 Aug 2008 13:34:41 +0000 (16 15:34 +0200)
treed32954a03cbdbf050a5ebfcfe7aa4e7169206c07
parent2c8d3fc72857128641937ab27968b2046c2ef7a8
Add openAll() and applyConfig() methods to Transport

openAll() method honours many URIs in remote configuration when opening
transports. Old open() calls remained, they still open only 1 transport
at time.

openAll() is used during push operation - pgm.Push implementation was
fixed to use it.

applyConfig() is used internally here, but could be interesting for
clients and it's safe to call it.

Signed-off-by: Marek Zawirski <marek.zawirski@gmail.com>
org.spearce.jgit.pgm/src/org/spearce/jgit/pgm/Push.java
org.spearce.jgit/src/org/spearce/jgit/transport/Transport.java