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.
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Fri Apr 2 23:28:56 2004