[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 22:06:10 CEST

On 4/25/2007 3:56 PM, Brian Erickson wrote:
> Maybe admitting I'm stupid made me a bit smarter...
>
> Here is what I did
>
> 1) Navigate to the p:\pcs\nt_drive folder
> 2) type svn propedit svn:ignore gmlan
> 3) In the editor window that pops up, type gmlan.c, save and exit
> 4) svn status now ignores the gmlan.c file (YEA!!)
>
> Now I just have to do this 150 more times. I can't seem to find a way
> to edit (set) the property without invoking the editor. Am I still
> being stupid?

See Kylo's message: use propset, not propedit.
>
> Second question. I will have 15 other users of this repository. Do
> they all have to do the same thing or do the properties become part of
> the repository?

Once committed, they are part of the repository.

Duncan Murdoch
>
>
>> -----Original Message-----
>> From: Brian Erickson
>> Sent: Wednesday, April 25, 2007 3:30 PM
>> To: 'Duncan Murdoch'
>> Cc: Karen Tracey; users@subversion.tigris.org
>> Subject: RE: Re: Unversioned files
>>
>> I'm sorry I'm being so stupid...
>>
>> I've tried everything I can think of, read the doc Karen
>> pointed to 100 times, read her e-mail 100 more times, tried a
>> thousand things in the config file and I still don't have a clue.
>>
>> Here is the global-ignores entry in the config file:
>> global-ignores = *.obj *.lob *.lib *.map *.hs *.tmp *.exp
>> *.ibf *.pdf *.def dllprefix.* *.log *.pdb *.lrt *.tok
>> cli_side.* dd_cli.* *.gsd *.res *.tlb *.tlh *.tli *.out *.rc
>> *.cab *.sys *.inf locked.c unlocked.c
>>
>> Here is the complete path: p:\pcs\nt_drive\gmlan\gmlan.c Can
>> someone tell me the command to run?
>>
>>
>>> -----Original Message-----
>>> From: Duncan Murdoch [mailto:murdoch@stats.uwo.ca]
>>> Sent: Wednesday, April 25, 2007 2:32 PM
>>> To: Brian Erickson
>>> Cc: Karen Tracey; users@subversion.tigris.org
>>> Subject: Re: Unversioned files
>>>
>>> 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.igno
>>>> re
>>>> .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
>>>
>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 25 22:06:45 2007

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