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

RE: Unversioned files

From: Brian Erickson <erickson_at_BAUERCONTROLS.com>
Date: 2007-04-25 20:16:35 CEST

Sorry I've taken so long to respond...
The problem I have is that I can not set the svn:ignore property at all.
Here is a specific situation.
We have a system here that generates some of our 'c' source files. So,
I have a file, cli_side.c, that is under version control. When the
system is built a new file is generated, gmlan.c. The gmlan file shows
up in the svn status ouput as an unversioned file and I'd like to change
so it didn't show up at all.
I, obviously, don't want to make so all .c files are ignored. If I try
to make just this file ignored, I get an message that says: "svn:
warning: 'gmlan.c' is not under version control". Then, of course, stn
status still shows it as an unversioned file.
If I add gmlan.c I can than set the svn:ignore property but I'd like to
not have to add it.
So, I'm back at square one. I want to set a property on an unversioned
file/folder. However, I can't because it is unversioned.


        From: Karen Tracey [mailto:kmtracey@gmail.com]
        Sent: Tuesday, April 24, 2007 6:08 PM
        To: Brian Erickson
        Cc: users@subversion.tigris.org
        Subject: Re: Unversioned files
        On 4/24/07, Brian Erickson <erickson@bauercontrols.com> wrote:

                Is there a way to keep the unversioned files from
showing up in the svn status output. When I try to set the svn:ignore
property on the file or folder svn tells me that the file/folder is not
under version control.

        There are two ways to ignore files, described here:
        Sounds like you are trying the 2nd way, which is to set the
svn:ignore property on items in the repository. The key thing to
realize here is that you must set the property on the directory
containing the files you want to ignore. You set the property to a list
of file patterns you want to be ignored in that directory.
Received on Wed Apr 25 20:18:23 2007

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