You've already forked macports-base
mirror of
https://github.com/macports/macports-base.git
synced 2026-07-12 18:18:43 -07:00
Use peg revision instead of operative revision for svn checkouts; fixes https://trac.macports.org/ticket/20777.
git-svn-id: https://svn.macports.org/repository/macports/trunk/base@60573 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
@@ -5,6 +5,10 @@
|
||||
|
||||
Release 1.9.0 (unreleased):
|
||||
|
||||
- svn checkouts now use peg revisions instead of operative revisions,
|
||||
so they'll continue to work if a repository gets reorganized
|
||||
(#20777, ryandesign)
|
||||
|
||||
- Use CommonCrypto/CommonDigest instead of OpenSSL libcrypto. (toby)
|
||||
|
||||
- Add SHA256 checksums in addition to MD5, SHA1 and RIPEMD160. (afb)
|
||||
|
||||
@@ -533,11 +533,15 @@ proc portfetch::cvsfetch {args} {
|
||||
|
||||
# Perform an svn fetch
|
||||
proc portfetch::svnfetch {args} {
|
||||
global svn.args svn.revision svn.method
|
||||
global svn.args svn.method svn.revision svn.url
|
||||
|
||||
if {[regexp {\s} ${svn.url}]} {
|
||||
return -code error [msgcat::mc "Subversion URL cannot contain whitespace"]
|
||||
}
|
||||
|
||||
set svn.args "${svn.method} ${svn.args}"
|
||||
if {[string length ${svn.revision}]} {
|
||||
set svn.args "${svn.args} -r ${svn.revision}"
|
||||
append svn.url "@${svn.revision}"
|
||||
}
|
||||
|
||||
if {[catch {command_exec svn "" "2>&1"} result]} {
|
||||
|
||||
Reference in New Issue
Block a user