RefUpdate: new possible result Result.IO_FAILURE
commitdf1cea42c306eb214768313881f30e6ffdc112d5
authorMarek Zawirski <marek.zawirski@gmail.com>
Fri, 27 Jun 2008 22:06:26 +0000 (28 00:06 +0200)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sat, 28 Jun 2008 10:06:42 +0000 (28 12:06 +0200)
tree76e703ad22c748cf3cca1fb7aab4026db599fd61
parent867ccc838c76b45fe849b647de9b1c27290ed534
RefUpdate: new possible result Result.IO_FAILURE

This result indicates that I/O error (beyond of IOException) occurred
during RefUpdate#update().

Hitherto behaviour was to just throw IOException and leave result with
value Result.NOT_ATTEMPTED. It was just less informative.

Fetch class from pgm package needed new conditions for printing. Other
classes were reviewed and should still work just fine.

Signed-off-by: Marek Zawirski <marek.zawirski@gmail.com>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/lib/RefUpdate.java
org.spearce.jgit/src/org/spearce/jgit/pgm/Fetch.java