Staging instance, all changes can be removed at any time

Skip to content

utils: Return revision and peg revision in function parsing external

Previously the parse_external_definition function was returning a single revision number regardless it was a revision specified with -rX or a peg revision specified with @X.

However, the use and combination of these two parameters in the export command from subversion can lead to different results (see https://svnbook.red-bean.com/en/1.6/svn.advanced.pegrevs.html).

So ensure to extract both revision and peg revision in order to avoid different behavior from the official subversion client when the loader exports externals.

This fixes the proper loading of https://svn.code.sf.net/p/genome-sdk/genome-sl/code (spotted in SWH-LOADER-SVN-C4).

Merge request reports

Loading