This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: svn tag inspection
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Mike Stump <mrs at apple dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 21 Oct 2005 20:38:12 -0400
- Subject: Re: svn tag inspection
- References: <FA093355-C8E7-4AE5-B129-F7332C3EE1A4@apple.com>
On Fri, 2005-10-21 at 15:38 -0700, Mike Stump wrote:
> svn tag inspection:
>
> mrs $ time cvs log version.c | grep apple-gcc-52
> real 0m3.640s
> user 0m0.181s
> sys 0m0.037s
>
> mrs $ time svn ls svn+ssh://gcc.gnu.org/svn/gcc/tags | grep -i apple-
> gcc-52
> real 0m5.233s
> user 0m0.083s
> sys 0m0.061s
>
Not a fair comparison, since the svn repo has merged old-gcc into it's
version.c, which adds another thousand revisions.
> Is there a better/faster way of doing this?
Use svn:// for readonly ops until we move to ssl auth (or i make it only
resort to ssh for write ops)?
I may come out with a patch that makes SVN only use ssh for write
operations, before we move to ssl. Depends on time constraints, etc.
We shall see.
Anyway:
dberlin@linux-009002219071:~> time svn ls
svn://gcc.gnu.org/svn/gcc/tags|grep -i apple-gcc-52
real 0m3.269s
user 0m0.080s
sys 0m0.016s
You'll also get a much faster time if you moved the apple tags into a
subdir (probably a second).
Personally, one of the first things i think we should do on the new repo
is organize the tags dir somehow.
> I did:
>
> svn co svn+ssh://gcc.gnu.org/svn/gcc/tags
>
That would be insane.
> in the hopes that I could just update it form time to time, and have
> a list of all tags, but... empty directory...
Uh, that won't give you an empty dir, it will give you *every single
tag*
You must have put a -N in there.
>