Add openAll() and applyConfig() methods to Transport
commitce1b91ceaceb50af993b5c013128c480b76fc564
authorMarek Zawirski <marek.zawirski@gmail.com>
Sun, 17 Aug 2008 20:43:48 +0000 (17 22:43 +0200)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Thu, 21 Aug 2008 19:19:39 +0000 (21 21:19 +0200)
treeb5d7e8507eb602874e606aa6589e9815100a6d70
parentabcb0eeba1fe4e8a4f1c541649c38b144fb4d1ab
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>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit.pgm/src/org/spearce/jgit/pgm/Push.java
org.spearce.jgit/src/org/spearce/jgit/transport/Transport.java