[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: John Peacock <jpeacock_at_rowman.com>
Date: 2004-04-02 23:28:55 CEST

Marcin Kasperski wrote:
> AFAIK it is multi-step operation (find where first tag was
> copied, find where the second tag was copied, then log between
> those revisions in the main directory). Not too easy (and not
> too well handled by GUI tools)

It's two 'svn info' calls followed by an 'svn log'; it is very scriptable (the
svn output is very uniform and easy to parse).

> Add to that the presence of gui tools. I tried RapidSvn. Having
> tags directory with no more than 100 tags causes it to
> recalculate something for 30 seconds every time I click tags
> directorly.... Just to view what's inside...

Don't blame the library for the GUI's problems; take that complaint to the
RapidSVN list. There is also no requirement to have that many tags in a single
directory. Even just a CURRENT vs OLD split should make that much more managable.

> The problem is that I want to restrict accidental tags changes,
> not all!

It should be possible to change the pre-commit script to permit creation of the
tag, but prevent changing any files under the tags themselves. I don't think
you can do that with mod_auth_svn, but I might be wrong.

> Using CVS I frequently happen to multi-step place one tag (tag
> some files, then tag some other files with the same tag). It is
> also useful to sometimes deliberately change some file version
> within the tag.
> At the same time CVS will not allow me to accidentally commit
> within the directory checked out by the tag.
> I can't imagine how could I configure subversion so it reproduced
> the behaviour above...

It's easy, even with the limitation of only being able to create tags, but not
change them. Do all of your setup (backrev, etc) in a WC or on a branch. Then
when you are happy (and tests are good), copy to the tags folder and you are done.

Be realistic, most of the time you are making tags you are working on the files
in a working copy (since you have to run the tests). You can copy from the WC
to the tags folder after confirming that everything tests fine. It is no harder
in practice than in CVS. In fact, in someways it is easier in Subversion, since
the WC -> tag is a single command.


John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 2 23:28:56 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.