bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cvs update with file list is very slow


From: Larry Jones
Subject: Re: cvs update with file list is very slow
Date: Thu, 7 Feb 2002 14:14:36 -0500 (EST)

Jason Elbaum writes:
> 
> I often invoke cvs using automatic scripts, and I've noticed that while
> most cvs functions are very efficient, one scenario is invariably slow.
> When I run "cvs update" with a list of files - sometimes a long list -
> cvs seems to take a good second of time to process each file. "cvs
> update" with no file list proceeds quickly through all the files in the
> hierarchy.
> 
> Is this a known problem? Is there a way around it?

This is the first I've heard of it.  Are you sure it's a function of
whether there's a file list or not?  If you can time running it both
ways with trace turned on (cvs -t) we might be able to see what's going
on from the times and traces.  If I had to guess, I's say it's because
when you give it a list of file names, the files are all (or mostly)
potentially modified, so CVS has to send them all to the server, but
when you run it without a list it's always right after doing it the
other way so CVS knows there are no local changes and doesn't have to
send any files.

-Larry Jones

All this was funny until she did the same thing to me. -- Calvin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]