While testing out the svn upgrade feature in 1.7 beta 2, on some working copies 
the upgrade failed with an error E155036. 

The problem was that the svn upgrade command is case sensitive on the WC folder 
name and failed if the name doesn't match exactly. Windows itself is case 
insensitive and none of the other svn commands are case sensitive to the WC 
folder name.

The following test case shows the steps to reproduce the problem using a public 
server:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\>cd svn1617

C:\svn1617>svn co http://svn.apache.org/repos/asf/subversion/trunk/notes/wc-ng/ 
C:\TestWC
A    C:\TestWC\single-db-per-wc
A    C:\TestWC\revert-in-subtree.svg
A    C:\TestWC\use-of-tmp-text-base-path
A    C:\TestWC\modularization
A    C:\TestWC\conflict-storage
A    C:\TestWC\externals
A    C:\TestWC\locking
A    C:\TestWC\pristine-store
A    C:\TestWC\copying
A    C:\TestWC\nodes
A    C:\TestWC\design
A    C:\TestWC\conflict-ui
A    C:\TestWC\node-data
A    C:\TestWC\transitions
Checked out revision 1154040.

C:\svn1617>cd \svn17beta

C:\svn17beta>svn upgrade c:\testwc
svn: E155036: Please see the 'svn upgrade' command
svn: E155036: Working copy 'C:\testwc' is too old (format 10, created by Subvers
ion 1.6)

C:\svn17beta>svn upgrade c:\TestWC
Upgraded 'C:\TestWC'

C:\svn17beta>svn --version
svn, version 1.7.0-beta2 (Beta 2)
   compiled Jul 22 2011, 12:44:23

Copyright (C) 2011 The Apache Software Foundation.
This software consists of contributions made by many people; see the NOTICE
file for more information.
Subversion is open source software, see http://subversion.apache.org/

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  - 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
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
  - handles 'http' scheme
  - handles 'https' scheme


C:\svn17beta>







Reply via email to