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

Re: Move from CVSNT to SVN?

From: Stein Somers <ssomers_at_opnet.com>
Date: Thu, 10 Sep 2009 18:23:37 +0200

Eric B. wrote:
> Would that [retagging] concept/workflow cause problems in SVN?

I do it in an automated build process, and found it only a bit awkward you
have to delete the tag before adding it again. In pseudo code:

        if (svn info the_tag)
            # tag exists so delete it
            svn del the_tag
        svn copy the_revision the_tag

But I probably just lack the imagination and experience to do it in a single
transaction.

> require the client to download the entire code repository of a previous
> version?

No at all, you can access info, history and contents of each file
individually, both on the command line and in many GUI interfaces (at least
the two I used).

> revision for that one file and stick with it (ie: sticky tags).

I don't know the feature in CVS, but I could have used it in SVN. I don't
think there is a easy way. Even if it's an entire subfolder, SVN allows
"switching" it to a different branch, but I don't think you can pin it to a
revision of the current branch and still allowing updating the rest. Unless
you tag the pinned and switch the folder to be pinned to that tag, but that
involves a change in the repository

> Another problem I had read about a while back was with file renaming; I had
> understood it not to be fully functional.

If you rename a file or folder, all changes are taken into account very well.
The same for splitting a file in two (making a copy). Only if you start doing
more complicated stuff like merging such a "rename" to other branches where
other changes or renames have been done to the same file, you run into
conflicts. Before SVN 1.6, you sometimes didn't notice such conflicts.
Hopefully some day, SVN will help you resolve those conflicts. For instance,
you rename "foo" to "bar" but someone else renamed it to "baz". Right now
this is reported as a tree conflict, but if SVN were really smart if could
ask which of the two names you want in the end. As far as I know, from aging
experience, no system comes anywhere near what SVN already offers.

-- 
Stein
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2393353
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-10 18:24:22 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.