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

Re: svn:ignore version controlled resource

From: Wascally Wabbit <wascallywabbit_at_earthling.net>
Date: 2007-08-02 15:28:50 CEST

+1 vote for such a new property. It would work wonders on "shared and
baselined" files that each developer might tweak locally but doesn't
want to commit w/ local mods accidentally. Files like IDE touchable
control files and other application configuration files come to mind.
ClearCase has such a feature and it is still missed years after we
switched to Subversion...

-The Wabbit

C. Michael Pilato wrote:
> Jack Bates wrote:
>> I understand the svn:ignore property currently doesn't apply to
>> resources already under version control, but our project is in this
>> common situation: http://subversion.tigris.org/faq.html#ignore-commit
>>
>> We've worked around it, as suggested, by creating a "databases.yml.tmpl"
>> file and removing "databases.yml" from version control, but I can't
>> figure out for what reason the svn:ignore property shouldn't apply to
>> version controlled resources?
>
> In a sense, it does. svn:ignore is defined to be a collection of patterns
> for files which should not be added to version control. And sure enough,
> Subversion will not add to version control any
> already-added-to-version-control files that match svn:ignore. :-)
>
> On a more serious note, though, what would the proposed new definition of
> svn:ignore be? Versioned-and-modified files don't get committed, but do
> they get updated? Do they get omitted from 'svn log' reports? "Ignore" is
> a strong verb, and if taken to the extremes implied by that verb for
> versioned files, I really don't see much point in versioning them. I
> *could*, however, see us growing a new property which is set on a particular
> file (instead of on its parent directory) that says, "Please don't commit
> me" or "Please don't commit me unless you --force it" or "Please don't
> commit my text until after you commit the removal of this property" or somesuch.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 2 15:27:57 2007

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

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