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

Re: Maintain Directory Structure When Tagging Files

From: Peter Münster <pm_at_deltadore.com>
Date: 2006-07-28 14:57:05 CEST

On Fri, 28 Jul 2006, Rob Wilkerson wrote:

> Since I haven't had any response to this scenario, I assume people
> aren't really doing things this way. That makes me wonder, then, how
> other *are* handling hotfix packaging and delivery. Do you ship the
> entire code base when only a few files have been changed? If not, how
> do you maintain the directory structure for the few files that *have*
> changed?

Two ideas come into my mind:

1.) sending a patch (a diff between two tags)
    advantages: - only the really necessary information is sent to your
                - deleted files are taken into account
    disadvantage: your customer needs the patch program

2.) something like:
svn co https://server/svnroot/project/tags/version1 tmpdir
svn export --force https://server/svnroot/project/tags/version2 tmpdir
tar -czf hotfix.tgz -C tmpdir `svn status tmpdir | cut -d/ -f2-`

Cheers, Peter

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 28 15:02:00 2006

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.