13
votes

I have just migrated revision control systems to Subversion. We have chosen to use the latest version of Subversion, 1.7. When I switch to the history view in the Delphi editor an error occurs:

The path 'path/to/my/project' appears to be part of a Subversion 1.7 or greater working copy rooted at 'path/to/my/project'. Please upgrade your Subversion client to use this working copy.

Clearly the integration shipped with XE2 does not support Subversion 1.7. Does anyone know a workaround to this problem?

3

3 Answers

18
votes

It should be possible to install the latest version (use a Subversion client to get the latest sources from the SourceForge SVN repository).

Edit (to clarify): "RAD Studio Version Insight" is the opensource project which provides the IDE Subversion integration. Its source code is maintained in a Subversion repository on SourceForge. So you can use any Subversion client to get the latest sources from that repository.

Currently the active maintainer of the project is Uwe Schuster.

I've successfully updated my (trial) RAD Studio XE2 to use the current trunk (rev. 152). Here are the steps:

  1. Check out the latest sources
  2. Open the project group in the IDE, change library suffix to 160 in Project Options for each package
  3. Delete or rename svn.dcp, svnui.dcp in $(BDS)\lib\Win32\Release directory
  4. Rebuild all three packages (svn, svnui, svnide), close the IDE
  5. Replace svn160.bpl, svnui160.bpl, svnide160.bpl in $(BDS)\bin directory
  6. Replace Subversion client DLLs in $(BDS)\bin\subversion directory (I used CollabNet Subversion Client DLLs 1.7.1.7211)
  7. Start the IDE
5
votes

For anyone else who encounters the problem, and thanks to TOndrej and Uwe, here is exactly what I did to get integration of svn 1.7 in XE2. I expect the same would work in XE.

  • Install Version Insight Plus Beta 7.1.
  • Install the win32svn client.
  • Point the Delphi IDE at the appropriate svn client with a registry setting in HKEY_CURRENT_USER\Software\Embarcadero\BDS\9.0\Subversion. Add a REG_SZ value named SvnDllDir, whose value is the bin directory of the win32svn client, C:\Program Files (x86)\Subversion\bin in my case. For XE this would be ...\BDS\8.0\....
-2
votes

another choice: you can create your repository with option --compatible-version ,it can make you create repository for old version.try "svnadmin help create" to get more information.you old version subversion can work well in rad studio