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

Re: SVN.EXE cannot checkout old revision after server side copy

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-10-08 19:45:09 CEST

Is not a problem. You just need to understand "peg revisions" vs.
"operative revisions":

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

On Oct 8, 2007, at 11:18, Tarkan Taralp wrote:

> Identical problem seen on Linux pardus 2.6.18.
>
>> svn, version 1.4.4 (r25188)
>> compiled Jun 10 2007, 03:11:40
>> Copyright (C) 2000-2006 CollabNet.
>> Subversion is open source software, see http://subversion.tigris.org/
>> This product includes software developed by CollabNet (http://
>> www.Collab.Net/).
>> The following repository access (RA) modules are available:
>> * ra_dav : Module for accessing a repository via WebDAV (DeltaV)
>> protocol.
>> - handles 'http' scheme
>> - handles 'https' scheme
>> * ra_svn : Module for accessing a repository using the svn network
>> protocol.
>> - handles 'svn' scheme
>> * ra_local : Module for accessing a repository on local disk.
>> - handles 'file' scheme
>> Checked out revision 0.
>> A /tmp/WORKDIR/trunk
>> A /tmp/WORKDIR/tags
>> A /tmp/WORKDIR/branches
>> Adding /tmp/WORKDIR/branches
>> Adding /tmp/WORKDIR/tags
>> Adding /tmp/WORKDIR/trunk
>> Committed revision 1.
>> A /tmp/WORKDIR/branches/branch1
>> A /tmp/WORKDIR/branches/branch1/file.1
>> A /tmp/WORKDIR/branches/branch1/file.2
>> Adding /tmp/WORKDIR/branches/branch1
>> Adding /tmp/WORKDIR/branches/branch1/file.1
>> Adding /tmp/WORKDIR/branches/branch1/file.2
>> Transmitting file data ..
>> Committed revision 2.
>> Committed revision 3.
>> A /tmp/WORKDIR/branches/branch1/file.3
>> Adding /tmp/WORKDIR/branches/branch1/file.3
>> Transmitting file data .
>> Committed revision 4.
>> A /tmp/WORKDIR/trunk/trunk1
>> A /tmp/WORKDIR/trunk/trunk1/file.2
>> A /tmp/WORKDIR/trunk/trunk1/file.1
>> Updated to revision 4.
>> D /tmp/WORKDIR/trunk/trunk1/file.2
>> D /tmp/WORKDIR/trunk/trunk1/file.1
>> D /tmp/WORKDIR/trunk/trunk1
>> Deleting /tmp/WORKDIR/trunk/trunk1
>> Committed revision 5.
>> A /tmp/WORKDIR/branches/branch1/file.4
>> Adding /tmp/WORKDIR/branches/branch1/file.4
>> Transmitting file data .
>> Committed revision 6.
>> A /tmp/TRUNKWC/trunk1
>> A /tmp/TRUNKWC/trunk1/file.2
>> A /tmp/TRUNKWC/trunk1/file.1
>> Checked out revision 4.
>> svn: File not found: revision 6, path '/trunk/trunk1'
>
> oldrevprob.sh
>
>> #!/bin/bash
>> \rm -rf /tmp/REPO /tmp/WORKDIR /tmp/TRUNKWC /tmp/TRUNK1WC
>> svn --version
>> svnadmin create /tmp/REPO
>> svn checkout file://localhost//tmp/REPO /tmp/WORKDIR
>> mkdir /tmp/WORKDIR/trunk
>> mkdir /tmp/WORKDIR/tags
>> mkdir /tmp/WORKDIR/branches
>> svn add /tmp/WORKDIR/trunk
>> svn add /tmp/WORKDIR/tags
>> svn add /tmp/WORKDIR/branches
>> svn commit -m "Added main directories" /tmp/WORKDIR
>> mkdir /tmp/WORKDIR/branches/branch1
>> svn add /tmp/WORKDIR/branches/branch1
>> echo BLAHBLAH > /tmp/WORKDIR/branches/branch1/file.1
>> svn add /tmp/WORKDIR/branches/branch1/file.1
>> echo BLAHBLAH > /tmp/WORKDIR/branches/branch1/file.2
>> svn add /tmp/WORKDIR/branches/branch1/file.2
>> svn commit -m "Added directory under branches and some files" /tmp/
>> WORKDIR
>> svn copy -m "COPY BRANCH" file://localhost/tmp/REPO/branches/
>> branch1 file://localhost/tmp/REPO/trunk/trunk1
>> echo BLAHBLAH > /tmp/WORKDIR/branches/branch1/file.3
>> svn add /tmp/WORKDIR/branches/branch1/file.3
>> svn commit -m "Did some meaningless commits" /tmp/WORKDIR
>> svn update /tmp/WORKDIR
>> svn remove /tmp/WORKDIR/trunk/trunk1
>> svn commit -m "Deleted the branch I created with COPY" /tmp/WORKDIR
>> echo BLAHBLAH > /tmp/WORKDIR/branches/branch1/file.4
>> svn add /tmp/WORKDIR/branches/branch1/file.4
>> svn commit -m "Did some meaningless commits" /tmp/WORKDIR
>> svn -r 4 checkout file://localhost/tmp/REPO/trunk /tmp/TRUNKWC
>> svn -r 4 checkout file://localhost/tmp/REPO/trunk/trunk1 /tmp/
>> TRUNK1WC

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 8 19:48:06 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.