Mercurial > jhg
diff src/org/tmatesoft/hg/core/RepositoryFacade.java @ 95:bcd31a4c638a
Lookup to HgLookup
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> | 
|---|---|
| date | Thu, 27 Jan 2011 21:22:57 +0100 | 
| parents | 6f1b88693d48 | 
| children | a3a2e5deb320 | 
line wrap: on
 line diff
--- a/src/org/tmatesoft/hg/core/RepositoryFacade.java Thu Jan 27 21:18:47 2011 +0100 +++ b/src/org/tmatesoft/hg/core/RepositoryFacade.java Thu Jan 27 21:22:57 2011 +0100 @@ -19,7 +19,7 @@ import java.io.File; import org.tmatesoft.hg.repo.HgRepository; -import org.tmatesoft.hg.repo.Lookup; +import org.tmatesoft.hg.repo.HgLookup; /** * @@ -33,12 +33,12 @@ } public boolean init() throws Exception /*FIXME RepoInitException*/ { - repo = new Lookup().detectFromWorkingDir(); + repo = new HgLookup().detectFromWorkingDir(); return repo != null && !repo.isInvalid(); } public boolean initFrom(File repoLocation) throws Exception { - repo = new Lookup().detect(repoLocation.getCanonicalPath()); + repo = new HgLookup().detect(repoLocation.getCanonicalPath()); return repo != null && !repo.isInvalid(); }
