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

Re: Ignoring previously revisioned files

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-08-11 16:09:40 CEST

On Aug 11, 2005, at 8:49 AM, Tillman, Scott wrote:

>>> I've been looking for a while and haven't found any reference to
>>> this. I have some files that were at one time manually edited, but
>>> I now generate these files during our build process. Without
>>> loosing the revision history in subversion is it possible to
>>> svn:ignore these, now generated, files? I've tried adding them
>>> individually and with a wildcard into the svn:ignore property but
>>> they still come up as deleted (non-revisioned files are being
>>> ignored, so I'm doing that correctly). Is there a way to do this?
>>> This seems like a common enough need that I would expect there to
>>> be a way to handle it. Am I just missing it? Thanks for any
>>> suggestions.
>> Sure, just 'svn rm' the files and commit. In other words, remove
>> them from version control. Once they're not under version control,
>> svn:ignore will be able to ignore them. And don't worry, it's
>> impossible to lose their history. They'll always still exist in
>> older revisions.
> Well, that tells svn that the files are no longer being revisioned,
> but
> forever more when I do an svn status it will complain that the files
> have been deleted (implying that they should be removed). Everything
> seems to work, but its an annoyance that I'd like to get rid of. I
> guess I just don't see why the behavior is different between a file
> that
> was never under version control, and a file that was, but is no longer
> under version control.

I really don't understand the problem at this point. If you 'svn rm
file; svn commit', then the file is gone. Subversion won't complain
about it being missing. I think you'll need to show us a cut-and-
paste transcript demonstrating your problem, because we're somehow
not understanding each other.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 11 16:13:54 2005

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.