Changeset 153865
- Timestamp:
- Oct 14, 2016, 3:45:42 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/base/src/port1.0/portlint.tcl
r142588 r153865 720 720 ################################################################### 721 721 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 errors733 }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 errors742 }743 }744 }745 746 ###################################################################747 748 722 ui_notice "$UI_PREFIX [format [msgcat::mc "%d errors and %d warnings found."] $errors $warnings]" 749 723
Note: See TracChangeset
for help on using the changeset viewer.