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

Re: Dropping Subversion

From: <kfogel_at_collab.net>
Date: 2004-04-02 21:47:17 CEST

Marcin Kasperski <Marcin.Kasperski@softax.com.pl> writes:
> Let's say there is module /libs/xyz in our repozitory
> a) Tell me what tags where placed on /libs/xyz. Efficiently,
> thats frequently used operation.

Hard and not efficient in Subversion.

> b) Give me the log entries for the changes made between xyz_1-0-8
> and xyz_1-0-9. Efficiently.

Easy in Subversion, or at least not terribly hard. And efficient.

> c) Give me diff between xyz_1-0-8 and xyz_1-0-9. Efficiently

Easy and efficient in Subversion.

> d) I need to place tag xyz_1-0-10 so it takes the
> current /libs/xyz version but without the change to the file
> aaa.cxx commited 3 revisions ago (but with change to the bbb.cxx
> commited later)

Easy in Subversion (you can do this from a working copy, or you can
use several direct commits to do it, but either way you *can*
construct such a tag pretty easily).

You didn't ask that it be efficient, but anyway it is :-).

> e) Reconsider the efficiency of the operations above considering
> my repository contains 347 separately tagged modules, a lot of
> which have large history of 100 and more tags

Those numbers should have no effect on the amount of time it takes to
do (b), (c), or (d) in Subversion, but they might affect (a).

> e) I don't know anyone to commit to the tag once the tag is
> placed. What could I do?

Tell them not to. Watch commits, revert it if they do?

You can also use one of the many authorization systems to protect the
tags/ subdir so only a certain user can commit to it... It could be
you, but under a special username.

(I mean, there are a lot of ways to solve this problem.)

> The case illustration using CVS: trunk /libs/xyz is heavily
> reorganized, so I do
> cvs up -r stable_tag /libs/xyz
> as I use this library while working on something else
> (in subversion I would svn switch)
> Some days later I forgot about the tag checkout and do some
> modification to the files in my xyz working copy. Then I try to
> commit.
> CVS refuses to commit so I know that I either should branch or
> return to the trunk or resign.
> Subversion allows to commit.

Subversion would disallow the commit if you didn't have authorization
to commit to tags/. Solve one problem, and you've solved the other.

It sounds like Subversion fails to meet some of your requirements, but
does meet others that you (maybe?) weren't aware it meets.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 2 22:59:34 2004

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.