Mercurial > jhg
diff src/org/tmatesoft/hg/internal/WorkingDirFileWriter.java @ 572:becd2a1310a2
Report file object in case of error to be helpful as much as possible
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 12 Apr 2013 18:30:55 +0200 |
parents | 2f9ed6bcefa2 |
children | bd5926e24aa3 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/internal/WorkingDirFileWriter.java Thu Apr 11 16:27:06 2013 +0200 +++ b/src/org/tmatesoft/hg/internal/WorkingDirFileWriter.java Fri Apr 12 18:30:55 2013 +0200 @@ -45,6 +45,13 @@ hgRepo = internalRepo; } + /** + * Information purposes only, to find out trouble location if {@link #processFile(HgDataFile, int)} fails + */ + public File getDestinationFile() { + return dest; + } + public void processFile(HgDataFile df, int fileRevIndex) throws IOException { try { prepare(df.getPath());