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

Re: copying versioned files between dirs within a repository

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-08-27 17:12:51 CEST

On Thu, 2004-08-26 at 23:18, bruce wrote:

> but for the sake of argument, what's the best method for getting different
> files/different versions from different dirs within a trunk, and putting
> them in a 'tag'?

Normally you create a tag by running 'svn cp [-r X] URL1 URL2'.

If you want to build a tree of very specific versions of files, then you
have to do it in a working copy. Use 'svn up -r X foo.c' on each file
and directory, then 'svn copy working-copy URL'.

Discussed here, in the 'tags' section of chapter 4:


> also, can/how can you do a copy of a file from one dir to another, based
> upon the version of the file??

'svn cp -r X URL1 URL2', or 'svn cp -r X URL working-copy; svn commit'

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 27 17:15:24 2004

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.