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

Re: How to Handle Versioning a Log File in an App's Source

From: Kevin Grover <kevin_at_kevingrover.net>
Date: Thu, 1 May 2008 19:31:29 -0700

You are correct. Which is why most people recommend checking in a template
file and having users copy that to the 'real' file and customize it there.
It can even be automated. If the real (ignored name: blah) does not exist,
copy it from blah.template (or whatever: some people use blah.in). If you
need to change the defaults, edit (and commit) blah.in. Any changes users
make to blah will be ignored (unless the user explicitly moves them into

I thought this was covered in the SVN book, but it's been a while and I'm
not sure.

- Kevin

On Thu, May 1, 2008 at 2:22 PM, David G <jamdavidg_at_gmail.com> wrote:

> Okay, well that does seem to be what I'm experiencing.
> But if I SVN delete it, then if I check out that code to another
> location, won't that svn-deleted file not come out, because SVN thinks
> it shouldn't be there? That would not be what I want in this case.
> On Thu, May 1, 2008 at 2:47 PM, Kevin Grover <kevin_at_kevingrover.net>
> wrote:
> > ignore does not work on files/directories already in the repository.
> It
> > will also not work if you explicitly add a file matching an ignored
> pattern.
> > The ignore patterns prevent _unversioned_ files/diretories (matching an
> > ignore pattern) from being presented as 'unversioned file'.
> >
> > If you want your filed to truly be ignored, you must svn delete it (and
> > commit).
> >
> > - Kevin
> >
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
> For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-05-02 04:31:45 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.