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

Switch bug

From: Kent Karlsson <kent_at_popwire.com>
Date: 2002-11-14 18:27:20 CET

Ive found a rather anoying switch-bug that I couldnt find in the
issuetracker. It seems it deletes parts of the name of a file when
switching to a branch where the file never existed and afterwards it
seems to think that it really is a part of that branch.

Im running r3782. Attached is a script that gives this exact error
every time for me.

Is this a known bug?

-- kent

[kent:/tmp/svntest] kent% ../test_bug.sh
+ REPOS=file:///tmp/svntest/bug_repos
+ TRUNK=file:///tmp/svntest/bug_repos/trunk
+ BRANCH=file:///tmp/svntest/bug_repos/branch/kent
+ FILE=kalle.h
+ rm -rf bug bug_repos
+ svnadmin create bug_repos
+ svn mkdir file:///tmp/svntest/bug_repos/trunk
file:///tmp/svntest/bug_repos/branch -m 'Creating structure'

Committed revision 1.

Committed revision 2.
+ svn co file:///tmp/svntest/bug_repos/trunk bug
Checked out revision 2.
+ cd bug
+ svn cp file:///tmp/svntest/bug_repos/trunk
file:///tmp/svntest/bug_repos/branch/kent -m 'Branching alles'

Committed revision 3.
+ touch kalle.h kalle.h.tmp
+ svn add kalle.h kalle.h.tmp
A kalle.h
A kalle.h.tmp
+ svn commit -m 'Adding a file'
Adding kalle.h
Adding kalle.h.tmp
Transmitting file data ..
Committed revision 4.
+ svnlook tree ../bug_repos
/
  trunk/
   kalle.h.tmp
   kalle.h
  branch/
   kent/
+ svn switch file:///tmp/svntest/bug_repos/branch/kent
D .h.tmp
D .h
Updated to revision 4.
+ svn info kalle.h.tmp
Path: kalle.h.tmp
Name: kalle.h.tmp
Url: file:///tmp/svntest/bug_repos/branch/kent/kalle.h.tmp
Revision: 4
Node Kind: file
Schedule: normal
Last Changed Author: kent
Last Changed Rev: 4
Last Changed Date: 2002-11-14 18:22:34 +0100 (Thu, 14 Nov 2002)
Text Last Updated: 2002-11-14 18:22:33 +0100 (Thu, 14 Nov 2002)
Checksum: 1B2M2Y8AsgTpgAmY7PhCfg==

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Thu Nov 14 18:28:11 2002

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.