Edgewall Software

Ticket #7687 (new defect)

Opened 3 months ago

Last modified 3 months ago

Add support for svn:externals "1.5" style

Reported by: eblot Owned by:
Priority: normal Milestone: 0.13
Component: version control Version: 0.11.1
Severity: normal Keywords: svn15
Cc:

Description (last modified by cboos) (diff)

For now, Trac only supports the old-style syntax.

Subversion 1.5 URLs have the following special prefixes:

../
Relative to the URL of the directory on which the svn:externals property is set
^/
Relative to the root of the repository in which the svn:externals property is versioned
//
Relative to the scheme of the URL of the directory on which the svn:externals property is set
/
Relative to the root URL of the server on which the svn:externals property is versioned

Also, there's a new convention for svn:externals, instead of:

RELPATH [-r<rev>] URL

the mapping can now be written:

[-r<rev>] URL RELPATH

(taken from http://svnbook.red-bean.com/en/1.5/svn.advanced.externals.html)

Attachments

Change History

Changed 3 months ago by cboos

  • keywords svn15 added
  • description modified (diff)

Changed 3 months ago by eblot

Note: It's not only about the prefixes, it's also about the parameter order in the external info line. SVN book quoting is incomplete ;-)

Changed 3 months ago by cboos

  • description modified (diff)

Oh brilliant, I missed that part... If I'm not mistaken, looks like we have to check for one of "-.^/" as the starting character, in order to detect the new mode.

Changed 3 months ago by cboos

  • milestone set to 0.13

Add/Change #7687 (Add support for svn:externals "1.5" style)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from (none). Next status will be 'new'
The owner will change from (none) to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.