You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by ro...@mailpoalim.co.il on 2004/10/25 10:23:00 UTC

Setting a property remotely

Hi,

Using Subversion 1.1.0 on Windows, I'm trying to set the svn:ignore
property directly on a repository directory.

D:\svn>svn ps --revprop -r HEAD svn:ignore -F d:\svn\ignore.pat
file:///d:/svn/myrepos/mydir

property 'svn:ignore' set on repository revision 65

D:\svn>svn pg svn:ignore file:///d:/svn/myrepos/mydir

D:\svn>

It works when I checkout the entire directory to a working copy, set the
property and then commit, but that's a bit awkward.

Am I doing anything wrong, or is this expected behaviour?

-Roy.
**************************************************************************************************
Important Notice
This message and its attachments are designated solely for the addressee. 
They contain information that may be privileged and protected by law.
Duplication or distribution of this information in any manner is prohibited by law.
If you receive this document or information and it is not addressed to you, it must be 
deleted from your system forthwith. 
In such case, kindly inform us of this event as soon as practicable..
**************************************************************************************************>

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

Re: Setting a property remotely

Posted by François Beausoleil <fb...@ftml.net>.
roy.razon@mailpoalim.co.il wrote:
> Hi,
> 
> Using Subversion 1.1.0 on Windows, I'm trying to set the svn:ignore
> property directly on a repository directory.
> 
> D:\svn>svn ps --revprop -r HEAD svn:ignore -F d:\svn\ignore.pat
> file:///d:/svn/myrepos/mydir
> 
> property 'svn:ignore' set on repository revision 65
> 
> D:\svn>svn pg svn:ignore file:///d:/svn/myrepos/mydir
> 
> D:\svn>
> 
> It works when I checkout the entire directory to a working copy, set the
> property and then commit, but that's a bit awkward.
> 
> Am I doing anything wrong, or is this expected behaviour?

svn:ignore is NOT a revprop.  Drop the "--revprop" from your first 
command line, and you'll be fine.

To devs:  maybe Subversion should notice incorrect usage of the special 
svn:* properties (revpropped when should not, and vice-versa) ?

Bye,
François

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

Re: Setting a property remotely

Posted by Jeroen Leenarts <le...@tiscali.nl>.
roy.razon@mailpoalim.co.il wrote:

>It works when I checkout the entire directory to a working copy, set the
>property and then commit, but that's a bit awkward.
>
>  
>
It's not that awkward when you realize that the property you've just set 
is also versioned by SVN. To be able to commit edit something that's 
versioned by SVN, you have to check it out, edit it locally and then 
commit. The ignore property you just set is stored in the repository and 
stays with the directory it was set on. Even when someone else checks 
out the same directory.

Jeroen



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