简体   繁体   中英

Can I use the Delphi XE2 Subversion integration with Subversion 1.7

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?

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

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\\... .

另一个选择:您可以使用选项--compatible-version创建存储库,它可以让您为旧版本创建存储库。“svnadmin帮助创建”以获取更多信息。您的旧版本颠覆可以在rad工作室中正常工作

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM