Subversion externals with relative paths (Bug #272)


Added by Vos Log about 4 years ago. Updated about 3 years ago.


Status:In Progress Start date:03/22/2013
Priority:Normal Due date:
Assignee:Ruben Willems % Done:

0%

Category:Source Control Spent time: -
Target version:1.9
Affected version:1.8.4

Description

Hi,

When using externals paths relative to the repository root (^/ prefix), the subversion source control plugin malfunctions when checking for changes. The svn log command reports an error because no repository root is known.

I have made a quick fix in svn.cs to be able to set up my CC.Net builds on SubVersion, see attachment.
I modified the ParseExternalsDirectories function to extract the repository root and complete any relative URL's prefixed with '^' to the full URL

Can this issue be fixed ?


Svn.cs (38.9 kB) Vos Log, 03/22/2013 02:56 pm


History

Updated by Matthias N about 4 years ago

We are using this "^/" Prefix too. I dont get any changes displayed for externals.

Version 1.8.3

Updated by Ruben Willems almost 4 years ago

I never used svn with externals so I can not verify this.
Does this change fix the problem or not?

there is a long history of svn and externals, so I would not like to break anything.

Updated by Vos Log almost 4 years ago

Yes, this fix solved the problem and has been running in our production environment for some months.
It would be great if you could include it in the CruiseControl sources.

Updated by Ruben Willems over 3 years ago

  • Target version set to 1.8.5

Updated by Ruben Willems over 3 years ago

  • Status changed from New to In Progress
  • Assignee set to Ruben Willems

Updated by Ruben Willems about 3 years ago

  • Target version changed from 1.8.5 to 1.9

Also available in: Atom PDF