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

creating a branch from an old revision

From: Charles Doucette <cdoucette_at_cornerstonetech.com>
Date: 2005-03-08 21:28:07 CET

Our company just switched from VSS to Subversion
(mostly because I have some past history with Subversion).
A colleague of mine is trying to create a branch starting from an old
revision.
I'm trying to tell him how to best do that.
 
Unfortunately, since we're using Subversion on Windows with MS Visual
Studio web projects,
we chose to use the special version of TortoiseSVN which uses "_svn" for
the administrative
directory rather than ".svn".
 
Assuming we wanted/needed to use the command line version of svn,
and we can successfully migrate from "_svn" to ".svn", I want to ask
about the semantics of
the various use cases for the copy command for a branch.
 
Given the 2 versions of copy where the first argument is a WC:
 
WC -> WC
Copy and schedule an item for addition (with history).

WC -> URL
Immediately commit a copy of WC to URL.

the question is what is the default revision used?

Is it the current revision of the working copy (since that is where you
are copying from)?

In the case of copying URL to either URL or WC, it makes sense that the
default revision is HEAD unless
you specify otherwise.

Thanks,
Chuck

p.s. The simplest answer might be to just do:

        svn copy -r oldrev URL1 URL2

        but, since he asked about how to create a branch from a WC, I
want the answer to that question.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 8 21:30:43 2005

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.