[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [rooneg@electricjellyfish.net: Re: Why is "svn log" a network operation]

From: Blair Zajac <blair_at_orcaware.com>
Date: 2002-02-15 19:28:06 CET

Garrett Rooney wrote:
> On Thu, Feb 14, 2002 at 05:51:46PM -0800, Blair Zajac wrote:
> > It seems that svn log should ideally be a local operation and not
> > one that connects to the svn server, for several reasons (I just
> > tailed my Apache access log and svn log had hits show up there).
> >
> > 1) This would be needed for disconnected operation.
> > 2) It's faster.
> perhaps, but i can't seem how it could be easily done. are we
> supposed to store the logs in the .svn dirs? which one? what if
> you've only checked out part of the tree, rather than all of it. i
> just can't imagine a clean solution to this problem.
> > 3) If you are working on revision X and you do svn log, then you
> > get the log for X+N, which is not what you would expect.
> could you be a little more specific about this part? i'm not sure
> quite what you mean.

I've noticed that if I'm working on the HEAD version, and if there
are one or more commits and I haven't done an update, then svn log
will show the logs for the HEAD, not for the version I have.

I typically run cvs log to see which revision I'm working with, so
maybe svn log should just at the top of its output state the
revision in the working directory.

> > 4) Cvs does not need a network connection to do cvs log.
> are you sure? my knowledge of cvs isnt' too in depth, but from a
> cursory inspection of the CVS dirs in my checked out apr tree, it
> doesn't seem to be storing log information there...

I did a cvs log on apr and checked netstat -a to see if there were
any open or closed connections to apache.org. There were none, and
then I did a cvs update, and there was one connection.


Blair Zajac <blair@orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:08 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.