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

Re: [PATCH] 'svn st -v' looks weird on an empty repository (Issue:708) (resend)

From: Benjamin Pflugmann <benjamin-svn-dev_at_pflugmann.de>
Date: 2003-07-27 08:36:18 CEST

Hi!

On Sat 2003-07-26 at 21:32:50 -0400, Garrett Rooney wrote:
> Jilles Oldenbeuving wrote:
[...]
> > So, thanks to Shlomi Fish, i've rewritten this patch so that it now
> > correctly determines wether or not the repository is empty. This is
> > done by first determining the number of files/directories under
> > version control in the current directory. If this is > 0, bail
> > out. Otherwise do the same for the parent directory. If this
> > returns either a count of 0 or an error, the repository is empty
> > and a helpfull message is displayed to the user.
>
> Umh, doesn't this make 'svn status -v' contact the repository in cases
> where it previously would not?

I think not. From looking at the patch (mind you, I don't know much
about svn internals, so I could be dead wrong ;), it just determines
how many entries (dirs/files) the local .svn-dir knows about.

IIRC, this was even one of the issues mentioned with the first
incarnation of this patch...

Bye,

        Benjamin.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jul 27 08:37:13 2003

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.