Mercurial > hg4j
diff cmdline/org/tmatesoft/hg/console/Options.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/cmdline/org/tmatesoft/hg/console/Options.java Thu Jan 27 21:18:47 2011 +0100 +++ b/cmdline/org/tmatesoft/hg/console/Options.java Thu Jan 27 21:22:57 2011 +0100 @@ -26,7 +26,7 @@ import java.util.Set; import org.tmatesoft.hg.repo.HgRepository; -import org.tmatesoft.hg.repo.Lookup; +import org.tmatesoft.hg.repo.HgLookup; /** * Parse command-line options @@ -44,9 +44,9 @@ public HgRepository findRepository() throws Exception { if (repoLocation != null) { - return new Lookup().detect(repoLocation); + return new HgLookup().detect(repoLocation); } - return new Lookup().detectFromWorkingDir(); + return new HgLookup().detectFromWorkingDir(); }