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

RE: I can checkout a version, that should not exist !!! BUG or Feature ???

From: Frank Leischnig <frank.leischnig_at_vialux.de>
Date: 2007-08-17 13:17:02 CEST

> -----Original Message-----
> From: Mark Phippard [mailto:markphip@gmail.com]
> Sent: Thursday, August 16, 2007 7:01 PM
> To: alexander.gun@exasol.com
> Cc: dev@subversion.tigris.org
> Subject: Re: I can checkout a version, that should not exist
> !!! BUG or Feature ???
>
> On 8/16/07, alexander.gun@exasol.com <alexander.gun@exasol.com> wrote:
>
> > here is a little scenario where at the end i can checkout
> a version
> > that should not exist.
> > I proofed the scenaria on linux 32bit and macos, with bdb and with
> > fsfs repository, svn version 1.3.2 and 1.4.4
>
> This is working as expected. This command:
>
> svn co -r 3 file:///$HOME/REP/D1/d22
>
> says "Checkout the path that exists in HEAD at location
> file:///$HOME/REP/D1/d22 as it existed in r3". Since this
> path is a copy, it did exist in r3. So what you checked out
> was the location it was copied from.
>
> If you added "@3"to end the of your URL then Subversion would
> have given an error because the path you were checking out
> does not exist in r3.

Dear Alexander,

Please have a look to the peg revisions topic in the subversion book, and
revise the assumption.
As Mark writes, what you encounter is the expected behaviour...

http://svnbook.red-bean.com/nightly/en/svn.advanced.pegrevs.html

(BUG or feature? Feature! ;-) )

HTH & best regards

Frank Leischnig

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 17 13:15:02 2007

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

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