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

Re: How best to delete a quantity of unwanted content from a directory that has been built automatically?

From: Andy Levy <andy.levy_at_gmail.com>
Date: Fri, 1 Feb 2008 09:46:14 -0500

On Feb 1, 2008 9:34 AM, Mark Knoop <mark_at_rawcane.net> wrote:
> > Mark Knoop wrote:
> >> Hi
> >>
> >> Say I have a directory under version control but the content of that
> >> directory is generated from a script. Some files may be the same from one
> >> version to the next, some may disappear and new ones will be included.
> >
> > In practice, generated files should not be saved to the repository. By
> > all means, save the script that generates the files, but by putting the
> > autogenerated files under version control, you are going to create a lot
> > of work for yourself (when the selection of files changes) and repository
> > churn (when only the contents change).
> >
> > It sounds like you need a better build system (so that you always generate
> > the "correct" files at any given time)...
> >
> > John
> >
> I was hoping I could use subversion to quickly return a production
> environment (inc. code, resources, media etc) to a previous state but will
> need to rethink I guess.

Is your "release to production" a scripted process, or do you manually
move things? If it'ss scripted, this content generation could/should
be integrated into it.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-01 15:46:36 CET

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.