Re: RFC: How should revert handle copied/added items?

2010-08-13 Thread Philip Martin
Greg Stein gst...@gmail.com writes: On Tue, Aug 10, 2010 at 14:41, Paul Burba ptbu...@gmail.com wrote: On Tue, Aug 10, 2010 at 12:18 AM, Greg Stein gst...@gmail.com wrote: ... For example, $ svn cp A/B C $ svn revert C/D/file That should error. $ svn revert C Should succeed, and undo

Re: RFC: How should revert handle copied/added items?

2010-08-10 Thread Paul Burba
On Tue, Aug 10, 2010 at 12:18 AM, Greg Stein gst...@gmail.com wrote: Greg and Peter, Thanks for your views on this topic. A few comments/questions below. On Mon, Aug 9, 2010 at 12:54, Paul Burba ptbu...@gmail.com wrote: We have several issues related to the question of how revert should

Re: RFC: How should revert handle copied/added items?

2010-08-10 Thread Greg Stein
On Tue, Aug 10, 2010 at 14:41, Paul Burba ptbu...@gmail.com wrote: On Tue, Aug 10, 2010 at 12:18 AM, Greg Stein gst...@gmail.com wrote: ... For example, $ svn cp A/B C $ svn revert C/D/file That should error. $ svn revert C Should succeed, and undo the copy that was made. Since we

RFC: How should revert handle copied/added items?

2010-08-09 Thread Paul Burba
We have several issues related to the question of how revert should handle locally added or copied items: 'svn revert of svn move' http://subversion.tigris.org/issues/show_bug.cgi?id=876 'svn revert should provide a way to delete copied files'

Re: RFC: How should revert handle copied/added items?

2010-08-09 Thread Peter Samuelson
[Paul Burba] With only one exception that I know of[1], revert leaves local additions of every stripe as unversioned. My first question is simple: Do we consider this the correct behavior? A) Yes! svn revert only reverts the scheduled addition, but leaves the item behind as

Re: RFC: How should revert handle copied/added items?

2010-08-09 Thread Greg Stein
On Mon, Aug 9, 2010 at 12:54, Paul Burba ptbu...@gmail.com wrote: We have several issues related to the question of how revert should handle locally added or copied items: 'svn revert of svn move' http://subversion.tigris.org/issues/show_bug.cgi?id=876 'svn revert should provide a way to