|
|
@@ -3698,8 +3698,9 @@ var __interactive_prompts = function( target, choices, promptsfilter ){ |
|
|
|
, 'upstream-remote' : { label : `Enter Remote Name ( <= ${target['upstream-remote'] || 'chess'} ) : ` |
|
|
|
, get choices() { |
|
|
|
var reposerver = target['reposerver'] |
|
|
|
var remotes = [] |
|
|
|
target.reposervers.forEach(rs => { |
|
|
|
var remotes = [] |
|
|
|
var trs = target.reposervers || [] |
|
|
|
trs.forEach(rs => { |
|
|
|
if(rs.server === reposerver){ |
|
|
|
remotes.push(remote) |
|
|
|
// PB : TODO -- Sort and display highest priority target.remotes.sort( ) |
|
|
@@ -3723,7 +3724,7 @@ var __interactive_prompts = function( target, choices, promptsfilter ){ |
|
|
|
, get choices() { |
|
|
|
var reposerver = target['reposerver'] // PB : TODO -- We need options to work with multiple selected reposervers at the same time.. |
|
|
|
var remotenames = [] |
|
|
|
Object.entries(target.remotes).forEach( ([rname, r]) => { |
|
|
|
Object.entries(target.remotes || []).forEach( ([rname, r]) => { |
|
|
|
if(r.server === reposerver && r.accessibility.find( target[ 'remote-type' ] )){ |
|
|
|
remotes.push(rname) |
|
|
|
// PB : TODO -- Sort and display highest priority target.remotes.sort( ) |