[42846] trunk/base/src/upgrade_sources_conf_default.tcl

blb at macports.org blb at macports.org
Mon Dec 1 00:28:44 PST 2008


Revision: 42846
          http://trac.macports.org/changeset/42846
Author:   blb at macports.org
Date:     2008-12-01 00:28:44 -0800 (Mon, 01 Dec 2008)
Log Message:
-----------
base/src/upgrade_sources_conf_default.tcl - support svn from macports.org and macosforge.org, and rsync from macports.org and old darwinports.org

Modified Paths:
--------------
    trunk/base/src/upgrade_sources_conf_default.tcl

Modified: trunk/base/src/upgrade_sources_conf_default.tcl
===================================================================
--- trunk/base/src/upgrade_sources_conf_default.tcl	2008-12-01 08:24:38 UTC (rev 42845)
+++ trunk/base/src/upgrade_sources_conf_default.tcl	2008-12-01 08:28:44 UTC (rev 42846)
@@ -44,7 +44,7 @@
    if {!$defaultSeen && ![regexp {^\s*#|^$} $line]} {
       if {[string first {[default]} $line] >= 0} {
          set defaultSeen true
-      } elseif {[regexp {^\s*rsync://rsync\.macports\.org/release/ports/} $line]} {
+      } elseif {[regexp {^\s*rsync://rsync\.(macports|darwinports)\.org/(release|dpupdate)/d?ports} $line]} {
          set line [append_default_tag_to_line $line]
          set defaultSeen true
          set defaultWritten true
@@ -56,7 +56,7 @@
                regexp {^URL: (.*)} $svnLine -> svnURL
             }
             close $svnChannel
-            if {[regexp {^https?://svn\.macports\.org/repository/macports/trunk/dports} $svnURL]} {
+            if {[regexp {^https?://svn\.(macports|macosforge)\.org/repository/macports/trunk/dports} $svnURL]} {
                set line [append_default_tag_to_line $line]
                set defaultSeen true
                set defaultWritten true
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081201/5976e6c9/attachment.html>


More information about the macports-changes mailing list