I'm using JavaHg in order to build a customised GUI interface. I was able to clone via code as follows:
BaseRepository repo = Repository.clone(new File(checkout_folder), url);
However, this being a GUI app, it just stalls until the clone is complete. Is there any way to do this clone command while also allowing the GUI to monitor its progress?
My gut feeling is telling me to take a look at the MercurialEclipse plug-in and see how they do it there, but if anyone can suggest an approach, I'd be glad to hear it.
Regards, Gurce
EDIT:
Thanks for the info on both perspectives, one for the reality of the present situation, and for the suggestion of a night-rider progress bar.
I recently opted for a dodgey workaround approach, which I seem to be getting away with for now.
Since I'm hosting my mercurial projects on a hgweb server, I tried doing it this way:
It's not 100% accurate, but oh well, it seems to do the job ok...
Currently JavaHg doesn't support showing progress of long running operations