Julian Foad <firstname.lastname@example.org> writes:
> email@example.com wrote:
> > "Ed Price" <firstname.lastname@example.org> writes:
> >>So you think they should be inconsistent but in the opposite way they
> >>are inconsistent now. Interesting :) Actually, I can see where you're
> >>coming from, I think... There is no value is changing the properties
> >>of a to-be-deleted file (AFAICS) but there *is* value in querying
> >>properties it had prior to deletion.
> > Exactly.
> >>Hmm. I think you've changed my mind. I would now propose:
> >> * propget and proplist should Just Work on schedule-delete
> >> * propset and propedit should return a warning that the file is
> >> scheduled for deletion.
> > What about --force to override?
> You've got to be kidding.[*] No way. KISS. Don't even allow the
> user to view the properties of a schedule-delete item, just like we
> can't view or copy its main text. The user can specifically ask to
> see the properties at -rBASE if that's what he/she wants.
> (A schedule-delete item should behave locally as if it were already
> deleted. In fact, the main text IS already deleted, and the properties
> should be too. They aren't restored by "revert", of course, so there's
> no reason to keep them at all.)
Can you clarify what you mean by "they aren't restored by 'revert', of
course, so there's no reason to keep them at all"? The main text is
restored by 'revert'... By the way, try this:
$ svn delete some-versioned-file.txt
$ svn st -q
$ svn cat some-versioned-file.txt
You may be surprised by the results :-).
Also, if the working file was in a modified state at deletion time,
then it remains present on disk. Should the analogous thing happen
> * All five prop commands should fail on schedule-delete targets.
> * The failure should probably be a warning rather than an error, in
> line with our recent policy of warning about unversioned targets
> rather than erroring out.
> - Julian
> [* I know you don't kid about stuff like this without a smiley, so
> it's probably just that you were typing ahead without giving it your
> cool and rational attention.]
Well, I think this question is complex enough that there isn't one
Obviously Right Answer, as you can see from my questions above.
www.collab.net <> CollabNet | Distributed Development On Demand
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Wed Mar 15 17:27:14 2006