[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: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2007-04-25 20:31:35 CEST

On 4/25/2007 2:16 PM, Brian Erickson wrote:
> 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.

No, you want to set the property on the versioned folder which contains
the unversioned file, as Karen said. Read her last paragraph again.

Duncan Murdoch
>
>
> ________________________________
>
> 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:
>
>
> http://svnbook.red-bean.com/nightly/en/svn.advanced.props.special.ignore
> .html
>
> 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.
>
> Karen
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 25 20:32:26 2007

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