comparison cmdline/org/tmatesoft/hg/console/Remote.java @ 295:981f9f50bb6c

Issue 11: Error log facility. SessionContext to share common facilities
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 16 Sep 2011 05:35:32 +0200
parents da426c2fe1ec
children e31e85cf4d4c
comparison
equal deleted inserted replaced
294:32890bab7209 295:981f9f50bb6c
34 import javax.net.ssl.SSLContext; 34 import javax.net.ssl.SSLContext;
35 import javax.net.ssl.TrustManager; 35 import javax.net.ssl.TrustManager;
36 import javax.net.ssl.X509TrustManager; 36 import javax.net.ssl.X509TrustManager;
37 37
38 import org.tmatesoft.hg.internal.ConfigFile; 38 import org.tmatesoft.hg.internal.ConfigFile;
39 import org.tmatesoft.hg.internal.Internals;
40 39
41 /** 40 /**
42 * WORK IN PROGRESS, DO NOT USE 41 * WORK IN PROGRESS, DO NOT USE
43 * 42 *
44 * @author Artem Tikhomirov 43 * @author Artem Tikhomirov
89 Between two subsequent revisions (i.e. direct child in remote of a local root) 88 Between two subsequent revisions (i.e. direct child in remote of a local root)
90 cmd=between&pairs=71ddbf8603e8e09d54ac9c5fe4bb5ae824589f1d-8c8e3f372fa1fbfcf92b004b6f2ada2dbaf60028 89 cmd=between&pairs=71ddbf8603e8e09d54ac9c5fe4bb5ae824589f1d-8c8e3f372fa1fbfcf92b004b6f2ada2dbaf60028
91 empty result 90 empty result
92 */ 91 */
93 public static void main(String[] args) throws Exception { 92 public static void main(String[] args) throws Exception {
94 ConfigFile cfg = new Internals().newConfigFile(); 93 ConfigFile cfg = new ConfigFile();
95 cfg.addLocation(new File(System.getProperty("user.home"), ".hgrc")); 94 cfg.addLocation(new File(System.getProperty("user.home"), ".hgrc"));
96 String svnkitServer = cfg.getSection("paths").get("svnkit"); 95 String svnkitServer = cfg.getSection("paths").get("svnkit");
97 // URL url = new URL(svnkitServer + "?cmd=branches&nodes=30bd389788464287cee22ccff54c330a4b715de5"); 96 // URL url = new URL(svnkitServer + "?cmd=branches&nodes=30bd389788464287cee22ccff54c330a4b715de5");
98 // URL url = new URL(svnkitServer + "?cmd=between"); 97 // URL url = new URL(svnkitServer + "?cmd=between");
99 URL url = new URL(svnkitServer + "?cmd=changegroup&roots=71ddbf8603e8e09d54ac9c5fe4bb5ae824589f1d"); 98 URL url = new URL(svnkitServer + "?cmd=changegroup&roots=71ddbf8603e8e09d54ac9c5fe4bb5ae824589f1d");