Opened 16 years ago
Last modified 7 months ago
#7687 new defect
Add support for svn:externals "1.5" style — at Version 3
Reported by: | Emmanuel Blot | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | next-stable-1.6.x |
Component: | version control/browser | Version: | 0.11.1 |
Severity: | normal | Keywords: | svn15 svn:externals patch svn |
Cc: | Emmanuel Blot, itamarost@…, mpotter@…, joel@…, rverchere@…, lists@…, jon.kowal@…, Ryan J Ollos | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
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)
Change History (3)
comment:1 by , 16 years ago
Description: | modified (diff) |
---|---|
Keywords: | svn15 added |
comment:2 by , 16 years ago
comment:3 by , 16 years ago
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.
Note:
See TracTickets
for help on using tickets.
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 ;-)