You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jiho Han <jh...@InfinityInfo.com> on 2006/09/15 19:26:27 UTC

A couple of questions on revert and svn:ignore

First question is whether propset svn:ignore takes effect after a
commit.
For example, if you have a test.suo file and you set svn:ignore to *.suo
and svn add test.suo, what should happen?

The second question is, if you just svn added a file (i.e. test.suo from
above) and issue a svn revert, why is test.suo still show up with the
status of A when you do svn status?
I guess I am not quite understanding the functionality of revert.  So
then, if you wanted to cancel an add, how would I go about it?

Thanks

Jiho Han
Senior Software Engineer
Infinity Info Systems
The Sales Technology Experts
Tel: 212.563.4400 x6375
Fax: 212.760.0540
jhan@infinityinfo.com
www.infinityinfo.com <http://www.infinityinfo.com/> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: A couple of questions on revert and svn:ignore

Posted by Andy Levy <an...@gmail.com>.
On 9/15/06, Jiho Han <jh...@infinityinfo.com> wrote:
> First question is whether propset svn:ignore takes effect after a
> commit.
> For example, if you have a test.suo file and you set svn:ignore to *.suo
> and svn add test.suo, what should happen?

test.suo will be added because you explicitly told Subversion to add
it.  ignore is more for ignoring the unversioned file when looking at
the status of the directory.  See
http://svnbook.red-bean.com/nightly/en/svn.advanced.props.html#svn.advanced.props.special.ignore

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org