[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: bruce <bedouglas_at_earthlink.net>
Date: 2004-08-27 17:33:58 CEST


that's kind of what i was starting to lean towards... that i'll have to
create some form of app/script that iterates through the repository,
grabbing the required files:versions, placing them into a 'working copy' and
then uploading/copying the 'working copy' files into the tagged dir...

this should work as i should already have a list of the valid revisions for
the files...



-----Original Message-----
From: Ben Collins-Sussman [mailto:sussman@collab.net]
Sent: Friday, August 27, 2004 8:13 AM
To: bedouglas@earthlink.net
Cc: users@subversion.tigris.org
Subject: Re: copying versioned files between dirs within a repository

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:30:44 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.