[73825] trunk/base/src/port1.0/portfetch.tcl

jmr at macports.org jmr at macports.org
Fri Nov 26 05:46:47 PST 2010


Revision: 73825
          http://trac.macports.org/changeset/73825
Author:   jmr at macports.org
Date:     2010-11-26 05:46:43 -0800 (Fri, 26 Nov 2010)
Log Message:
-----------
allow use of svn.post_args (#27454)

Modified Paths:
--------------
    trunk/base/src/port1.0/portfetch.tcl

Modified: trunk/base/src/port1.0/portfetch.tcl
===================================================================
--- trunk/base/src/port1.0/portfetch.tcl	2010-11-26 13:09:28 UTC (rev 73824)
+++ trunk/base/src/port1.0/portfetch.tcl	2010-11-26 13:46:43 UTC (rev 73825)
@@ -93,7 +93,7 @@
 default svn.env {}
 default svn.pre_args {"--non-interactive --trust-server-cert"}
 default svn.args ""
-default svn.post_args {"${svn.url}"}
+default svn.post_args ""
 
 default git.cmd {[findBinary git $portutil::autoconf::git_path]}
 default git.dir {${workpath}}
@@ -351,10 +351,10 @@
         return -code error [msgcat::mc "Subversion URL cannot contain whitespace"]
     }
 
-    set svn.args "${svn.method} ${svn.args}"
     if {[string length ${svn.revision}]} {
         append svn.url "@${svn.revision}"
     }
+    set svn.args "${svn.method} ${svn.args} ${svn.url}"
 
     if {[catch {command_exec svn "" "2>&1"} result]} {
         return -code error [msgcat::mc "Subversion check out failed"]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101126/33af6ec2/attachment.html>


More information about the macports-changes mailing list