diff src/org/tmatesoft/hg/internal/Internals.java @ 559:6ca3d0c5b4bc

Commit: tests and fixes for defects discovered
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Mon, 25 Feb 2013 19:48:20 +0100
parents 9edfd5a223b8
children 36e36b926747
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/internal/Internals.java	Mon Feb 25 18:41:44 2013 +0100
+++ b/src/org/tmatesoft/hg/internal/Internals.java	Mon Feb 25 19:48:20 2013 +0100
@@ -202,6 +202,10 @@
 		return new EncodingHelper(getFilenameEncoding(), repo.getSessionContext());
 	}
 	
+	public boolean fncacheInUse() {
+		return (getRequiresFlags() & RequiresFile.FNCACHE) != 0;
+	}
+	
 	/*package-local*/ Charset getFilenameEncoding() {
 		return getFileEncoding(getSessionContext());
 	}