Changeset 153865


Ignore:
Timestamp:
Oct 14, 2016, 3:45:42 PM (8 years ago)
Author:
ryandesign@…
Message:

portlint.tcl: No longer check Subversion properties

MacPorts is moving from Subversion to Git.

Reverts r89428

Resolves #48577

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/portlint.tcl

    r142588 r153865  
    720720    ###################################################################
    721721
    722     set svn_cmd ""
    723     catch {set svn_cmd [findBinary svn]}
    724     if {$svn_cmd ne "" && ([file exists $portpath/.svn] || ![catch {exec $svn_cmd info $portpath > /dev/null 2>@1}])} {
    725         ui_debug "Checking svn properties"
    726         if {[catch {exec $svn_cmd propget svn:keywords $portfile 2>@1} output]} {
    727             ui_warn "Unable to check for svn:keywords property: $output"
    728         } else {
    729             ui_debug "Property svn:keywords is \"$output\", should be \"Id\""
    730             if {$output ne "Id"} {
    731                 ui_error "Missing subversion property on Portfile, please execute: svn ps svn:keywords Id Portfile"
    732                 incr errors
    733             }
    734         }
    735         if {[catch {exec $svn_cmd propget svn:eol-style $portfile 2>@1} output]} {
    736             ui_warn "Unable to check for svn:eol-style property: $output"
    737         } else {
    738             ui_debug "Property svn:eol-style is \"$output\", should be \"native\""
    739             if {$output ne "native"} {
    740                 ui_error "Missing subversion property on Portfile, please execute: svn ps svn:eol-style native Portfile"
    741                 incr errors
    742             }
    743         }
    744     }
    745 
    746     ###################################################################
    747 
    748722    ui_notice "$UI_PREFIX [format [msgcat::mc "%d errors and %d warnings found."] $errors $warnings]"
    749723
Note: See TracChangeset for help on using the changeset viewer.