diff cmdline/org/tmatesoft/hg/console/Incoming.java @ 215:41a778e3fd31

Issue 5: Facilities for progress and cancellation. More specific exceptions. Exceptions from callbacks as RuntimeException
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Tue, 17 May 2011 00:56:54 +0200
parents ef8eba4aa215
children 45dc79e545f5
line wrap: on
line diff
--- a/cmdline/org/tmatesoft/hg/console/Incoming.java	Mon May 16 21:10:36 2011 +0200
+++ b/cmdline/org/tmatesoft/hg/console/Incoming.java	Tue May 17 00:56:54 2011 +0200
@@ -60,7 +60,7 @@
 		HgIncomingCommand cmd = hgRepo.createIncomingCommand();
 		cmd.against(hgRemote);
 		//
-		List<Nodeid> missing = cmd.executeLite(null);
+		List<Nodeid> missing = cmd.executeLite();
 		Collections.reverse(missing); // useful to test output, from newer to older
 		Outgoing.dump("Nodes to fetch:", missing);
 		System.out.printf("Total: %d\n\n", missing.size());