diff 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
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgWorkingCopyStatusCollector.java	Fri Sep 30 08:00:04 2011 +0200
+++ b/src/org/tmatesoft/hg/repo/HgWorkingCopyStatusCollector.java	Fri Sep 30 08:44:48 2011 +0200
@@ -394,6 +394,7 @@
 		} catch (CancelledException ex) {
 			// silently ignore - can't happen, ByteArrayChannel is not cancellable
 		} catch (HgException ex) {
+			repo.getContext().getLog().warn(getClass(), ex, null);
 			ioFailed = true;
 		}
 		return !ioFailed && areTheSame(f, bac.toArray(), dataFile.getPath());