Can I use the Delphi XE2 Subversion integration with Subversion 1.7

David Heffernan picture David Heffernan · Dec 9, 2011 · Viewed 7.2k times · Source

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?

Answer

Ondrej Kelle picture Ondrej Kelle · Dec 9, 2011

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