You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Erik Huelsmann <eh...@gmail.com> on 2007/03/25 18:17:30 UTC
Closing issue 2238: propset/del on URLs?
In issue 2238, there's a comment about how the issue can be closed if
we don't resolve the issue by 1.5. Given the lack of interest in 'svn
propset/propdel <prop> <URL>', I propose closing the issue. (The
propedit case has been implemented and will be available in 1.5.)
bye,
Erik.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Closing issue 2238: propset/del on URLs?
Posted by Michael Haggerty <mh...@alum.mit.edu>.
Daniel Rall wrote:
> On Sun, 25 Mar 2007, Erik Huelsmann wrote:
>> In issue 2238, there's a comment about how the issue can be closed if
>> we don't resolve the issue by 1.5. Given the lack of interest in 'svn
>> propset/propdel <prop> <URL>', I propose closing the issue. (The
>> propedit case has been implemented and will be available in 1.5.)
>
> Does this mean that we support 'propedit' by URL, but not 'propset' or
> 'propdel' (on the grounds of slightly improved safety over the race
> condition)?
FWIW, a use case of "svn propdel ... URL" just came up today on the
cvs2svn mailing list.
cvs2svn can optionally record the original CVS version numbers in a tag
called "cvs2svn:cvs-rev". Unfortunately, after the conversion, these
tags linger around misleadingly. The user would like to remove them
all, but has 1300+ tags and branches so checking out the whole
repository is out of the question. It would be far less painful if he
could do
svn propdel -m "message" -R cvs2svn:cvs-rev URL
Of course cvs2svn could also offer this functionality as a last cleanup
commit, but currently it does not do so.
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Closing issue 2238: propset/del on URLs?
Posted by David James <ja...@cs.toronto.edu>.
On 3/26/07, C. Michael Pilato <cm...@collab.net> wrote:
> Erik Huelsmann wrote:
> > On 3/26/07, Daniel Rall <dl...@collab.net> wrote:
> >> On Sun, 25 Mar 2007, Erik Huelsmann wrote:
> >>
> >> > In issue 2238, there's a comment about how the issue can be closed if
> >> > we don't resolve the issue by 1.5. Given the lack of interest in 'svn
> >> > propset/propdel <prop> <URL>', I propose closing the issue. (The
> >> > propedit case has been implemented and will be available in 1.5.)
> >>
> >> Does this mean that we support 'propedit' by URL, but not 'propset' or
> >> 'propdel' (on the grounds of slightly improved safety over the race
> >> condition)?
> >
> > Currently, yes.
>
> You know, I used be in the group that felt that remote propset, propedit,
> and file modification was to be avoided because of the race condition. But
> the more I think about it, the more I wonder why I cared. After all, it's
> all versioned. Would the race be less frightening if these actions required
> the user to pass --base-revision (the revision against which the changes are
> being made), and --base-revision was *not* allowed to have a value of
> "HEAD" (but instead had to be a real revision)?
Doesn't this solution eliminate the race condition completely?
Cheers,
David
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Closing issue 2238: propset/del on URLs?
Posted by Daniel Rall <dl...@collab.net>.
On Mon, 26 Mar 2007, C. Michael Pilato wrote:
> Erik Huelsmann wrote:
> > On 3/26/07, Daniel Rall <dl...@collab.net> wrote:
> >> On Sun, 25 Mar 2007, Erik Huelsmann wrote:
> >>
> >> > In issue 2238, there's a comment about how the issue can be closed if
> >> > we don't resolve the issue by 1.5. Given the lack of interest in 'svn
> >> > propset/propdel <prop> <URL>', I propose closing the issue. (The
> >> > propedit case has been implemented and will be available in 1.5.)
> >>
> >> Does this mean that we support 'propedit' by URL, but not 'propset' or
> >> 'propdel' (on the grounds of slightly improved safety over the race
> >> condition)?
> >
> > Currently, yes.
>
> You know, I used be in the group that felt that remote propset, propedit,
> and file modification was to be avoided because of the race condition. But
> the more I think about it, the more I wonder why I cared. After all, it's
> all versioned.
Non-rev-props, yeah. But we *already* let you set revprops by URL. I
don't understand the big deal.
> Would the race be less frightening if these actions required
> the user to pass --base-revision (the revision against which the changes are
> being made), and --base-revision was *not* allowed to have a value of
> "HEAD" (but instead had to be a real revision)?
Interesting sugeestion, hmm. It might be safer, but it would also
result in a more cumbersome user experience. I don't think that
there's a need for this.
Re: Closing issue 2238: propset/del on URLs?
Posted by David Glasser <gl...@mit.edu>.
On 3/26/07, Daniel Rall <dl...@collab.net> wrote:
> On Mon, 26 Mar 2007, David Glasser wrote:
> > For what it's worth, the changes to libsvn_client that enabled
> > propedit on URLs are enough to require only changes in the
> > command-line client to implement "svn propset --base-rev". (ie,
> > that's basically what libsvn_client_propset expects to receive.)
>
> What base revnum do you pass for the "change revprop by URL" case?
You don't: svn_client_propset3 only does versioned props.
--dave
--
David Glasser | glasser@mit.edu | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Closing issue 2238: propset/del on URLs?
Posted by Daniel Rall <dl...@collab.net>.
On Mon, 26 Mar 2007, David Glasser wrote:
> On 3/26/07, C. Michael Pilato <cm...@collab.net> wrote:
> >You know, I used be in the group that felt that remote propset, propedit,
> >and file modification was to be avoided because of the race condition. But
> >the more I think about it, the more I wonder why I cared. After all, it's
> >all versioned. Would the race be less frightening if these actions
> >required
> >the user to pass --base-revision (the revision against which the changes
> >are
> >being made), and --base-revision was *not* allowed to have a value of
> >"HEAD" (but instead had to be a real revision)?
>
> For what it's worth, the changes to libsvn_client that enabled
> propedit on URLs are enough to require only changes in the
> command-line client to implement "svn propset --base-rev". (ie,
> that's basically what libsvn_client_propset expects to receive.)
What base revnum do you pass for the "change revprop by URL" case?
Re: Closing issue 2238: propset/del on URLs?
Posted by David Glasser <gl...@mit.edu>.
On 3/26/07, C. Michael Pilato <cm...@collab.net> wrote:
> You know, I used be in the group that felt that remote propset, propedit,
> and file modification was to be avoided because of the race condition. But
> the more I think about it, the more I wonder why I cared. After all, it's
> all versioned. Would the race be less frightening if these actions required
> the user to pass --base-revision (the revision against which the changes are
> being made), and --base-revision was *not* allowed to have a value of
> "HEAD" (but instead had to be a real revision)?
For what it's worth, the changes to libsvn_client that enabled
propedit on URLs are enough to require only changes in the
command-line client to implement "svn propset --base-rev". (ie,
that's basically what libsvn_client_propset expects to receive.)
--dave
--
David Glasser | glasser@mit.edu | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Closing issue 2238: propset/del on URLs?
Posted by "C. Michael Pilato" <cm...@collab.net>.
Erik Huelsmann wrote:
> On 3/26/07, Daniel Rall <dl...@collab.net> wrote:
>> On Sun, 25 Mar 2007, Erik Huelsmann wrote:
>>
>> > In issue 2238, there's a comment about how the issue can be closed if
>> > we don't resolve the issue by 1.5. Given the lack of interest in 'svn
>> > propset/propdel <prop> <URL>', I propose closing the issue. (The
>> > propedit case has been implemented and will be available in 1.5.)
>>
>> Does this mean that we support 'propedit' by URL, but not 'propset' or
>> 'propdel' (on the grounds of slightly improved safety over the race
>> condition)?
>
> Currently, yes.
You know, I used be in the group that felt that remote propset, propedit,
and file modification was to be avoided because of the race condition. But
the more I think about it, the more I wonder why I cared. After all, it's
all versioned. Would the race be less frightening if these actions required
the user to pass --base-revision (the revision against which the changes are
being made), and --base-revision was *not* allowed to have a value of
"HEAD" (but instead had to be a real revision)?
--
C. Michael Pilato <cm...@collab.net>
CollabNet <> www.collab.net <> Distributed Development On Demand
Re: Closing issue 2238: propset/del on URLs?
Posted by Erik Huelsmann <eh...@gmail.com>.
On 3/26/07, Daniel Rall <dl...@collab.net> wrote:
> On Sun, 25 Mar 2007, Erik Huelsmann wrote:
>
> > In issue 2238, there's a comment about how the issue can be closed if
> > we don't resolve the issue by 1.5. Given the lack of interest in 'svn
> > propset/propdel <prop> <URL>', I propose closing the issue. (The
> > propedit case has been implemented and will be available in 1.5.)
>
> Does this mean that we support 'propedit' by URL, but not 'propset' or
> 'propdel' (on the grounds of slightly improved safety over the race
> condition)?
Currently, yes.
bye,
Erik.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Closing issue 2238: propset/del on URLs?
Posted by Daniel Rall <dl...@collab.net>.
On Sun, 25 Mar 2007, Erik Huelsmann wrote:
> In issue 2238, there's a comment about how the issue can be closed if
> we don't resolve the issue by 1.5. Given the lack of interest in 'svn
> propset/propdel <prop> <URL>', I propose closing the issue. (The
> propedit case has been implemented and will be available in 1.5.)
Does this mean that we support 'propedit' by URL, but not 'propset' or
'propdel' (on the grounds of slightly improved safety over the race
condition)?