[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] 'svn' should not silently ignore a peg revision

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Wed, 29 Jun 2011 09:22:48 -0400

On 06/29/2011 08:07 AM, Julian Foad wrote:
> My question is about this case:
>
> $ svn copy SOURCE TARGET_at_HEAD
>
> This case falls under the last sentence of point (C) above. Issue #3651
> [3] claims that the 'HEAD' peg should be ignored in this case, and that
> claim is explicitly tested by copy_tests 62 [4]. (It is the only test
> that fails with the attached patch.)

Issue #3651 is wrong. This command line should error out in the same way it
would had "HEAD" been any other revision. HEAD is, by definition, the
youngest revision in the repository. Our revisions are immutable with
respect to key changes, and therefore cannot be the target of any write
operation (excepting revprop changes).

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2011-06-29 15:23:37 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.