You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by jr...@lexmark.com on 2003/09/30 18:19:58 UTC

svn pset

Hello.

Is there a way I can set a property of a directory or file without doing a
checkout first?

Sincerely,
Jerry



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

Re: svn pset

Posted by Ben Collins-Sussman <su...@collab.net>.
kfogel@collab.net writes:

> "C. Michael Pilato" <cm...@collab.net> writes:
> > jrodrigu@lexmark.com writes:
> > > Is there a way I can set a property of a directory or file without doing a
> > > checkout first?
> > 
> > Not yet.
> > 
> > Hm... I betcha I could implement that in 30 minutes or less.  Now, if
> > only I had 30 minutes to spare...
> 
> Huh... so 'svn propset URL' doesn't work?

No, but 'svn propset --revprop -rX' works.  It just changes
unversioned revision props, not versioned file/dir props.


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

Re: All WC-changing actions have repository-changing equivalents?

Posted by "C. Michael Pilato" <cm...@collab.net>.
Julian Foad <ju...@btopenworld.com> writes:

> kfogel@collab.net wrote:
> > "C. Michael Pilato" <cm...@collab.net> writes:
> >
> >>jrodrigu@lexmark.com writes:
> >>
> >>>Is there a way I can set a property of a directory or file without doing a
> >>>checkout first?
> >>
> >>Not yet.
> >>
> >>Hm... I betcha I could implement that in 30 minutes or less.  Now, if
> >>only I had 30 minutes to spare...
> > Huh... so 'svn propset URL' doesn't work?
> 
> As a matter of policy, do we want all Subversion
> working-copy-changing actions to have counterparts that directly
> change the repository?  If so, it's fine to head in that direction
> one step at a time.  If not, we should probably consciously avoid
> heading in that direction at all.  (I have no opinion on this.)

If the actions remain intuitive when translated from working copies to
repositories, and so long as we don't wind up with nasty syntax
modifications, then yeah, I see no reason not to expand functionality
in that way.  That said, this type of coverage is not to be considered
anything but a convenience for the user -- most definitely not a 1.0
(shoot, or even a 2.0) requirement, in my opinion.

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

All WC-changing actions have repository-changing equivalents?

Posted by Julian Foad <ju...@btopenworld.com>.
kfogel@collab.net wrote:
> "C. Michael Pilato" <cm...@collab.net> writes:
> 
>>jrodrigu@lexmark.com writes:
>>
>>>Is there a way I can set a property of a directory or file without doing a
>>>checkout first?
>>
>>Not yet.
>>
>>Hm... I betcha I could implement that in 30 minutes or less.  Now, if
>>only I had 30 minutes to spare...
> 
> Huh... so 'svn propset URL' doesn't work?

As a matter of policy, do we want all Subversion working-copy-changing actions to have counterparts that directly change the repository?  If so, it's fine to head in that direction one step at a time.  If not, we should probably consciously avoid heading in that direction at all.  (I have no opinion on this.)

- Julian


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

Re: svn pset

Posted by kf...@collab.net.
"C. Michael Pilato" <cm...@collab.net> writes:
> jrodrigu@lexmark.com writes:
> > Is there a way I can set a property of a directory or file without doing a
> > checkout first?
> 
> Not yet.
> 
> Hm... I betcha I could implement that in 30 minutes or less.  Now, if
> only I had 30 minutes to spare...

Huh... so 'svn propset URL' doesn't work?

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

Re: svn pset

Posted by "C. Michael Pilato" <cm...@collab.net>.
"C. Michael Pilato" <cm...@collab.net> writes:

> jrodrigu@lexmark.com writes:
> 
> > Hello.
> > 
> > Is there a way I can set a property of a directory or file without doing a
> > checkout first?
> 
> Not yet.
> 
> Hm... I betcha I could implement that in 30 minutes or less.  Now, if
> only I had 30 minutes to spare...

Hm, well, to do it *right* would cost more, methinks.  Gotta do the
property validation/normalization and such, gotta decide whether (and
how) to handle the recursive case, etc...

/me withdraws his bets.

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

Re: svn pset

Posted by "C. Michael Pilato" <cm...@collab.net>.
jrodrigu@lexmark.com writes:

> Hello.
> 
> Is there a way I can set a property of a directory or file without doing a
> checkout first?

Not yet.

Hm... I betcha I could implement that in 30 minutes or less.  Now, if
only I had 30 minutes to spare...

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

Re: svn pset

Posted by Ben Collins-Sussman <su...@collab.net>.
jrodrigu@lexmark.com writes:

> Is there a way I can set a property of a directory or file without doing a
> checkout first?

No.  Text and properties of files/dirs can only be changed in a
working copy.

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