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

Re: Branching with missing revisions

From: Kevin Ballard <kevin_at_sb.org>
Date: 2004-08-11 20:19:26 CEST

On Aug 11, 2004, at 2:03 PM, Ben Collins-Sussman wrote:

> If you think there's a bug here, try doing a test and show us a
> transcript.

There's definitely *some* bug. I just did a test with a local file:///
repo (once again subversion 1.1.0 rc 2) and I saw some weird behaviour.
Here's what I saw.

kevin:~/Dev/TestRepo/trunk% svn status -v
                 2 2 kevin .
                 2 2 kevin bar
                 3 3 kevin foobar
                 3 3 kevin foobar/foo
kevin:~/Dev/TestRepo/trunk% svnlook tree -r 2 ../../svn/TestRepo
/
  trunk/
   foo
   bar
  branches/
  tags/
kevin:~/Dev/TestRepo/trunk% svn log -r 2:3
------------------------------------------------------------------------
r2 | kevin | 2004-08-11 14:14:59 -0400 (Wed, 11 Aug 2004) | 2 lines

Add foo and bar

------------------------------------------------------------------------
r3 | kevin | 2004-08-11 14:15:32 -0400 (Wed, 11 Aug 2004) | 2 lines

Move foo to foobar/foo

------------------------------------------------------------------------
kevin:~/Dev/TestRepo/trunk% svn copy .
file:///Users/kevin/Dev/TestRepo/branches/abranch
svn: Unable to open an ra_local session to URL
svn: Unable to open repository
'file:///Users/kevin/Dev/TestRepo/branches'
kevin:~/Dev/TestRepo/trunk% svn copy .
file:///Users/kevin/Dev/svn/TestRepo/branches/abranch

Committed revision 4.
kevin:~/Dev/TestRepo/trunk% svn switch
file:///Users/kevin/Dev/svn/TestRepo/branches/abranch
A foo
Updated to revision 4.
kevin:~/Dev/TestRepo/trunk% ls
bar foo foobar/
kevin:~/Dev/TestRepo/trunk% ls foobar
foo
kevin:~/Dev/TestRepo/trunk% svn log
------------------------------------------------------------------------
r4 | kevin | 2004-08-11 14:17:13 -0400 (Wed, 11 Aug 2004) | 2 lines

Create a branch

------------------------------------------------------------------------
r2 | kevin | 2004-08-11 14:14:59 -0400 (Wed, 11 Aug 2004) | 2 lines

Add foo and bar

------------------------------------------------------------------------
r1 | kevin | 2004-08-11 14:14:06 -0400 (Wed, 11 Aug 2004) | 2 lines

Create structure

------------------------------------------------------------------------
kevin:~/Dev/TestRepo/trunk%

Notice that it re-added the file foo back into the main part of the
branch (oddly, without removing the foobar/foo file). That's not right
at all.

-- 
Kevin Ballard
kevin@sb.org
http://www.tildesoft.com
http://kevin.sb.org

  • application/pkcs7-signature attachment: smime.p7s
Received on Wed Aug 11 20:20:09 2004

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.