diff src/org/tmatesoft/hg/repo/HgRepoConfig.java @ 487:db48a77ec8ff

Access to reposiotry lock mechanism via HgRepositoryLock
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Mon, 13 Aug 2012 18:11:47 +0200
parents 51d682cf9cdc
children 36e36b926747
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgRepoConfig.java	Fri Aug 10 21:03:03 2012 +0200
+++ b/src/org/tmatesoft/hg/repo/HgRepoConfig.java	Mon Aug 13 18:11:47 2012 +0200
@@ -62,6 +62,10 @@
 	public String getStringValue(String section, String key, String defaultValue) {
 		return config.getString(section, key, defaultValue);
 	}
+	
+	public int getIntegerValue(String section, String key, int defaultValue) {
+		return config.getInteger(section, key, defaultValue);
+	}
 
 	//
 	//