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

RE: Exporting just changed files?

From: Graham Cossey <graham_at_cossey.plus.com>
Date: 2005-07-18 00:08:06 CEST

> > I'm both a newcomer to versioning software in general, and subversion in
> > particular, and was wondering whether or not it is possible in
> subversion
> > (ver 1.2.0) to export just the files that have changed between one
> > particular revision and another?
> >
> > In particular, I'd like to export the files changed between the
> most recent
> > revision and one chosen from before that (ie, whichever one
> represented my
> > last site upload) to save on upload bandwidth.
>
> You might be able to use 'svn diff' to get a patchfile, but that
> is limited
> with regards to binary files. Other than that, instead of doing
> an export,
> create a working copy which you can then 'svn update' in
> bandwidth-efficient
> way. It creates a bunch of .svn subdirs though and requires ~twice the
> diskspace on the server.
>
> > So, I'm wondering if anyone can tell me if that's possible, and
> how to do
> > it, if so? Is there some other method people use to keep their
> remote sites
> > updated with just the files that have changed between one revision and
> > another?
>
> Try rsync.

That's what I do just about.

svn export to a local working copy and then rsync.

HTH

Coz

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 18 00:09:56 2005

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