Mercurial > hg4j
diff src/org/tmatesoft/hg/repo/HgLookup.java @ 170:71ddbf8603e8
Initial clone: populate given directory from a bundle. Everything but remote server access is there, albeit prototype code style
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Wed, 23 Mar 2011 20:46:00 +0100 |
parents | 8c8e3f372fa1 |
children | 2c3e96674e2a |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgLookup.java Wed Mar 23 14:13:11 2011 +0100 +++ b/src/org/tmatesoft/hg/repo/HgLookup.java Wed Mar 23 20:46:00 2011 +0100 @@ -18,6 +18,7 @@ import java.io.File; import java.io.IOException; +import java.net.URL; import org.tmatesoft.hg.core.HgException; import org.tmatesoft.hg.internal.DataAccessProvider; @@ -69,4 +70,11 @@ } return new HgBundle(new DataAccessProvider(), location); } + + public HgRemoteRepository detect(URL url) throws HgException { + if (Boolean.FALSE.booleanValue()) { + throw HgRepository.notImplemented(); + } + return null; + } }