Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip any inaccessible file:// source links #231

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Skip any inaccessible file:// source links
This allows continuing to next source quicker and avoids outputting a
lot of debug lines.
kurthindenburg committed Mar 23, 2021
commit 7388596ee7a55e05fbe584ab5b14ebc5e95bfd50
5 changes: 5 additions & 0 deletions src/macports1.0/macports.tcl
Original file line number Diff line number Diff line change
@@ -2676,6 +2676,11 @@ proc mportsync {{optionslist {}}} {
switch -regexp -- [macports::getprotocol $source] {
{^file$} {
set portdir [macports::getportdir $source]
if {![file exists ${portdir}]} {
ui_info "Could not access contents of $portdir"
incr numfailed
continue
}
if {[_source_is_obsolete_svn_repo $portdir]} {
set obsoletesvn 1
}