comparison src/org/tmatesoft/hg/repo/HgStatusInspector.java @ 360:150500515714

Report non-critical errors during status operation to handler/inspector
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 08 Dec 2011 22:19:27 +0100
parents ee6b467c1a5f
children cd658b24a620
comparison
equal deleted inserted replaced
359:1d9bcab9c50f 360:150500515714
33 * If copied files of no interest, it is implementation responsibility to delegate to <code>this.added(fnameAdded)</code> 33 * If copied files of no interest, it is implementation responsibility to delegate to <code>this.added(fnameAdded)</code>
34 */ 34 */
35 void copied(Path fnameOrigin, Path fnameAdded); 35 void copied(Path fnameOrigin, Path fnameAdded);
36 void removed(Path fname); 36 void removed(Path fname);
37 void clean(Path fname); 37 void clean(Path fname);
38 void missing(Path fname); // aka deleted (tracked by Hg, but not available in FS any more 38 /**
39 * Reports file tracked by Mercurial, but not available in file system any more, aka deleted.
40 */
41 void missing(Path fname); //
39 void unknown(Path fname); // not tracked 42 void unknown(Path fname); // not tracked
40 void ignored(Path fname); 43 void ignored(Path fname);
44 /**
45 * Reports a single file error during status collecting operation. It's up to client to treat the whole operation as successful or not.
46 * The error reported is otherwise not critical for the status operation.
47 *
48 * @param fname origin of the error
49 * @param ex describes an error occurred while accessing the file, never <code>null</code>
50 */
51 void invalid(Path fname, Exception ex);
41 } 52 }