[153865] trunk/base/src/port1.0/portlint.tcl

ryandesign at macports.org ryandesign at macports.org
Fri Oct 14 17:45:42 CEST 2016


Revision: 153865
          https://trac.macports.org/changeset/153865
Author:   ryandesign at macports.org
Date:     2016-10-14 08:45:42 -0700 (Fri, 14 Oct 2016)
Log Message:
-----------
portlint.tcl: No longer check Subversion properties

MacPorts is moving from Subversion to Git.

Reverts r89428

Resolves #48577

Revision Links:
--------------
    https://trac.macports.org/changeset/89428

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

Modified: trunk/base/src/port1.0/portlint.tcl
===================================================================
--- trunk/base/src/port1.0/portlint.tcl	2016-10-14 14:58:53 UTC (rev 153864)
+++ trunk/base/src/port1.0/portlint.tcl	2016-10-14 15:45:42 UTC (rev 153865)
@@ -719,32 +719,6 @@
 
     ###################################################################
 
-    set svn_cmd ""
-    catch {set svn_cmd [findBinary svn]}
-    if {$svn_cmd ne "" && ([file exists $portpath/.svn] || ![catch {exec $svn_cmd info $portpath > /dev/null 2>@1}])} {
-        ui_debug "Checking svn properties"
-        if {[catch {exec $svn_cmd propget svn:keywords $portfile 2>@1} output]} {
-            ui_warn "Unable to check for svn:keywords property: $output"
-        } else {
-            ui_debug "Property svn:keywords is \"$output\", should be \"Id\""
-            if {$output ne "Id"} {
-                ui_error "Missing subversion property on Portfile, please execute: svn ps svn:keywords Id Portfile"
-                incr errors
-            }
-        }
-        if {[catch {exec $svn_cmd propget svn:eol-style $portfile 2>@1} output]} {
-            ui_warn "Unable to check for svn:eol-style property: $output"
-        } else {
-            ui_debug "Property svn:eol-style is \"$output\", should be \"native\""
-            if {$output ne "native"} {
-                ui_error "Missing subversion property on Portfile, please execute: svn ps svn:eol-style native Portfile"
-                incr errors
-            }
-        }
-    }
-
-    ###################################################################
-
     ui_notice "$UI_PREFIX [format [msgcat::mc "%d errors and %d warnings found."] $errors $warnings]"
 
     return {$errors > 0}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161014/c4ac1b88/attachment-0002.html>


More information about the macports-changes mailing list