Mercurial > hg4j
comparison src/org/tmatesoft/hg/repo/HgWorkingCopyStatusCollector.java @ 238:4817d4ccc50e
Clean IOException reference
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Wed, 15 Jun 2011 18:06:39 +0200 |
parents | 6e1373b54e9b |
children | ff4fdbab4e2d |
comparison
equal
deleted
inserted
replaced
237:6e1373b54e9b | 238:4817d4ccc50e |
---|---|
325 // need content with metadata striped off - although theoretically chances are metadata may be different, | 325 // need content with metadata striped off - although theoretically chances are metadata may be different, |
326 // WC doesn't have it anyway | 326 // WC doesn't have it anyway |
327 dataFile.content(localRevision, bac); | 327 dataFile.content(localRevision, bac); |
328 } catch (CancelledException ex) { | 328 } catch (CancelledException ex) { |
329 // silently ignore - can't happen, ByteArrayChannel is not cancellable | 329 // silently ignore - can't happen, ByteArrayChannel is not cancellable |
330 } catch (IOException ex) { | |
331 ioFailed = true; | |
332 } catch (HgException ex) { | 330 } catch (HgException ex) { |
333 ioFailed = true; | 331 ioFailed = true; |
334 } | 332 } |
335 return !ioFailed && areTheSame(f, bac.toArray(), dataFile.getPath()); | 333 return !ioFailed && areTheSame(f, bac.toArray(), dataFile.getPath()); |
336 } | 334 } |