3r1co / hg4j

Automatically exported from code.google.com/p/hg4j
GNU General Public License v2.0
0 stars 1 forks source link

HgCloneCommand doesn't use CancelSupport/ProgressSupport handlers #39

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When I use HgCloneCommand it never call my overrided 
CancelSupport/ProgressSupport handlers.

HgCloneCommand clone = new HgCloneCommand();
clone.set(cHandler); // implementation of CancelSupport
clone.set(pHandler); // implementation of ProgressSupport
clone.source(hgRemote);
clone.destination(dst);
clone.execute();

No one method from CancelSupport nor ProgressSupport implementations are 
called, but clone command executed successfully. 

Original issue reported on code.google.com by stinger...@gmail.com on 26 Oct 2012 at 1:11

GoogleCodeExporter commented 8 years ago
Thanks for the report. Just a heads up, HgCloneCommand is deemed work in 
progress (albeit is in public package) and doesn't work really well, I'd not 
use it yet for anything but experimenting.

I'll add support for cancellation/progress asap.

Original comment by tikhomir...@gmail.com on 26 Oct 2012 at 4:40

GoogleCodeExporter commented 8 years ago

Original comment by tikhomir...@gmail.com on 26 Oct 2012 at 4:40

GoogleCodeExporter commented 8 years ago
Delivered, revision a41d955dc360

Original comment by tikhomir...@gmail.com on 17 Dec 2012 at 2:06