#6350 Option to use dynamic svn checkout command [ss4214]

unreleased
open
nobody
General
nobody
2015-01-04
2013-06-10
Chris Tsai
No

[forge:site-support:#4214]

For some projects, it doesn't make sure to have a one svn checkout command for every situation.

An alternative that we believe would work well for these projects is to have the checkout URL match the current directory of the code browser it's on. eg. https://sourceforge.net/p/openfoam-extend/svn/HEAD/tree/trunk/Breeder_1.5/OSIG/TurboMachinery/ would display:

svn checkout svn://svn.code.sf.net/p/openfoam-extend/svn/trunk/Breeder_1.5/OSIG/TurboMachinery/ openfoam-extend-svn

This should probably be added as an option (though perhaps the default?) as other projects will likely want to still always display "trunk" or something like that.

Extra credit: if specifying an older revision in the code browser, we could add "-r <rev>" to the checkout command as well.

Discussion


Log in to post a comment.