Karl Auer <kauer@biplane.com.au> wrote on 01/22/2006 08:52:49 AM:
> I am on the wrong end of a wet piece of string as far as bandwidth is
> concerned - a 14400bps modem link in the bush on the east coast of Oz.
I'm
> trying to import a middle-sized set of sources and docs (about 4Mb in
total)
> into a repository in Switzerland using subclipse. It takes a looooong
time.
> That in itself is not a problem.
>
> However, the progress indicator at bottom right of the main Eclipse
window and
> the progress bar in the "SVN Import" dialog both show zero progress for
pretty
> much the entire operation. Due to timeouts aborting the whole thing, I
don't
> know if the progress bar gets any more plausible, but so far I've seen
nothing
> but an empty progress bar in the dialog, and 0% at bottom right.
>
> I can see messages happening in the console as Subclipse/Subversion add
the
> files, so progress is definitely happening. Even after a good few
hundred K
> have been transferred, there is no progress shown, however.
If the progress stays at 0% the entire time then there is likely some room
for improvement. That being said, our ability to show progress
information for any operation is currently very limited. Subversion does
not currently have any API's for progress information. There is an open
issue to add such API's, and once they exist then they could be exposed to
us in JavaHL.
The point being that if a process is sending a large file, we have no way
to update progress information while the file is sending. What we can do
is update the progress meter every time a file is processed. So we do
something like make a guess that say 1000 files will be imported (there
could only be 5 for all we know). Then as each file is imported, we can
update progress by 1. This is the technique we use is in the operations
that are reporting progress and it at least gives you an idea that stuff
is happening.
If you are on Windows and this repository is being accessed via http://,
then I would recommend that you use TortoiseSVN for some of these
operations. TortoiseSVN has added some callbacks to the Neon library that
Subversion uses for http:// conversations. This allows it to report on
the bytes transferred. It is just a simple counter, not a percentage
meter, but it does let you know that stuff is happening.
Mark
_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Jan 24 15:25:42 2006