diff src/org/tmatesoft/hg/repo/HgInternals.java @ 382:82336b7c54f4

Per-repository UpdateConfigCommand completed. Access to system properties through SessionContext to ease alternation
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 10 Feb 2012 13:56:24 +0100
parents 8107b95f4280
children 2747b0723867 0f5696623512
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgInternals.java	Thu Feb 09 19:07:29 2012 +0100
+++ b/src/org/tmatesoft/hg/repo/HgInternals.java	Fri Feb 10 13:56:24 2012 +0100
@@ -83,8 +83,8 @@
 		return rv;
 	}
 
-	public File getRepositoryDir() {
-		return repo.getRepositoryRoot();
+	public static File getRepositoryDir(HgRepository hgRepo) {
+		return hgRepo.getRepositoryRoot();
 	}
 	
 	public static HgIgnore newHgIgnore(Reader source) throws IOException {