[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: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2003-07-27 03:32:50 CEST

Jilles Oldenbeuving wrote:

>
> /* This is my first (oh maybe my second) patch submission. I've
> * read all in HACKING, etc. So please, if I skip on some
> * rules (written or not) please tell me, i'll adapt my patch */
>
> 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'm not sure I like the idea of causing
a potential network access whenever you happen to do an 'svn status -v'
in an empty directory just because it makes the output look a little
nicer...

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jul 27 03:33:40 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.