You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by asdf <fi...@yahoo.com> on 2006/09/06 17:38:43 UTC

Creating a branch based on an older revision/snapshot

Is it possible to create a branch based on an older revision/snapshot?

Re: Creating a branch based on an older revision/snapshot

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Sep 6, 2006, at 19:38, asdf wrote:

> Is it possible to create a branch based on an older revision/snapshot?
>
> From what I've read in the Subversion book, it appears to be
> possible...
>
> let's say that the HEAD revision is currently 78 but I want to create
> a branch based on the repository as it existed in revision 59.
>
> It should then be possible to backdate my working copy to revision 59
> (or checkout a new copy at revision 59), and then copy off of that
> to create a new branch so that the branch is identical to the trunk
> as it existed in revision 59?

I assume you mean "based on the trunk of the project as it existed in  
revision 59."

I would just do it via URL. Seems easiest.

If $PROJ is the URL to your project (for example, https:// 
www.example.org/svn/some_project) then you could say:

svn cp -r 59 $PROJ/trunk $PROJ/branches/new_branch_name


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org