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

Re: Howto export changet files in two revisions?

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2006-11-26 14:20:48 CET

On 11/25/06, Fernando Correa da Conceição <conceicao.fernando@gmail.com> wrote:
> Hi all!!
> I am a beginner with svn, i read the book and the help, but do not find
> what I need.
> I need this.
> I have a website and I send the files using an ftp server, this site is
> too im my home under svn, so I see what I done. What I need is this. On
> revison 10 I send the files using ftp. Later I make some changes and
> commits to svn so the revision now is 15. I want send it to ftp. Using
> export gives all files from repository. So the real question is this!
> There is a way to make the svn export export only the files changed from
> revision 10 to 15? Or any other way to make this?

Assuming you're using Subversion 1.4+, you can use svn diff
--summarize to get a list of the files changed between 2 revisions.

svn diff --summarize <Repos_URL> -r 10:15

And then use that list to determine what paths you need to export.
Subversion doesn't export individual files, at a minimum you have to
get a single directory.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Nov 26 14:22:16 2006

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