comparison src/org/tmatesoft/hg/repo/HgWorkingCopyStatusCollector.java @ 323:4c7e3ba67213

Exception when analyzing metadata of an empty renamed file
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 30 Sep 2011 08:44:48 +0200
parents fb74133d2025
children 15e1961719f2
comparison
equal deleted inserted replaced
322:d68dcb3b5f49 323:4c7e3ba67213
392 // WC doesn't have it anyway 392 // WC doesn't have it anyway
393 dataFile.content(localRevision, bac); 393 dataFile.content(localRevision, bac);
394 } catch (CancelledException ex) { 394 } catch (CancelledException ex) {
395 // silently ignore - can't happen, ByteArrayChannel is not cancellable 395 // silently ignore - can't happen, ByteArrayChannel is not cancellable
396 } catch (HgException ex) { 396 } catch (HgException ex) {
397 repo.getContext().getLog().warn(getClass(), ex, null);
397 ioFailed = true; 398 ioFailed = true;
398 } 399 }
399 return !ioFailed && areTheSame(f, bac.toArray(), dataFile.getPath()); 400 return !ioFailed && areTheSame(f, bac.toArray(), dataFile.getPath());
400 } 401 }
401 402