You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Bob McCune <bo...@mccuneos.com> on 2005/03/10 03:31:28 UTC
Problem with svn:ignore
I am trying to set the svn:ignore property to ignore my
build.properties file in the root of my project directory. While in
the root of this directory, I issue the following command: 'svn
propedit svn:ignore .'. When vi pops up I add build.properties as the
lone entry. If I edit build.properties and then do an svn status it
shows this file as being modified. I checked that the property was
correctly set using propget.
This seems like this should be pretty straightforward, but I obviously
must be missing something. Any ideas?
Thanks,
Bob
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Problem with svn:ignore
Posted by Matthew L Daniel <md...@scdi.com>.
> If I edit build.properties and then do an svn status it
> shows this file as being modified. I checked that the property was
> correctly set using propget.
It is my understanding that svn:ignore only ignores files that are not
already under Subversion's control. Since it shows build.properties as
"M", someone has already told svn to be responsible for it's contents.
You will need to release svn from controlling the file before it will
consider ignoring it. I believe .cvsignore works in this same way.
Also, one of the things that bit me early in my svn usage was that
properties are also controlled, so make sure you checkin the directory
you just propset upon.
-- /v\atthew
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Problem with svn:ignore
Posted by Scott Palmer <sc...@2connected.org>.
On Mar 9, 2005, at 10:31 PM, Bob McCune wrote:
> I am trying to set the svn:ignore property to ignore my
> build.properties file in the root of my project directory. While in
> the root of this directory, I issue the following command: 'svn
> propedit svn:ignore .'. When vi pops up I add build.properties as the
> lone entry. If I edit build.properties and then do an svn status it
> shows this file as being modified. I checked that the property was
> correctly set using propget.
>
> This seems like this should be pretty straightforward, but I obviously
> must be missing something. Any ideas?
Subversion won't ignore a file that is already added to the repository.
It works to suppress info for lines that start with '?' in the output
of "svn st". If you are seeing a 'M' then the file is already under
subversion control.
Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org