You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Fernando Correa da Conceição <co...@gmail.com> on 2006/11/26 04:54:05 UTC

Howto export changet files in two revisions?

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?

Thanks!

  --

    Fernando Correa da Conceição
    fernandoc@php.net
    icq: 168518047 msn: fernandocphp@hotmail.com
    Blog: http://fernando-php.blogspot.com/

    http://manualphp.sf.net
    Participe da tradução do manual do PHP

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

Re: Howto export changet files in two revisions?

Posted by Andy Levy <an...@gmail.com>.
On 11/25/06, Fernando Correa da Conceição <co...@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