[MacPorts] #17635: upgrade_sources_conf_default.tcl script needs svn with file:/// sources via svn

MacPorts noreply at macports.org
Sat Dec 13 15:15:51 PST 2008


#17635: upgrade_sources_conf_default.tcl script needs svn with file:/// sources via
svn
------------------------------+---------------------------------------------
 Reporter:  blb@…             |       Owner:  blb@…           
     Type:  defect            |      Status:  new             
 Priority:  Normal            |   Milestone:  MacPorts 1.7.1  
Component:  base              |     Version:  1.6.0           
 Keywords:                    |        Port:                  
------------------------------+---------------------------------------------
 Minor issue, but upgrade_sources_conf_default.tcl (run with 'make install'
 and postflight) assumes an svn is available if sources.conf uses a
 !file:/// source which is itself a subversion checkout.  Odds are quite
 small that someone will have a subversion checkout without subversion, but
 upgrade_sources_conf_default.tcl should still be better than
 {{{
 couldn't execute "svn": no such file or directory
     while executing
 "open "|svn info ${filepath}" r"
     ("while" body line 12)
     invoked from within
 "while {[gets $sourcesConfChannel line] >= 0} {
    set addDefault false
    if {!$defaultSeen && ![regexp {^\s*#|^$} $line]} {
       if {[regexp {^([\w-..."
     (file "src/upgrade_sources_conf_default.tcl" line 34)
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/17635>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list