Ticket #49759: bzr-git-progress.patch

File bzr-git-progress.patch, 1.2 KB (added by ryandesign (Ryan Carsten Schmidt), 6 years ago)
  • /opt/local/libexec/macports/lib/port1.0/portfetch.tcl

    old new  
    6868default bzr.cmd {[findBinary bzr $portutil::autoconf::bzr_path]}
    6969default bzr.dir {${workpath}}
    7070default bzr.revision {-1}
    71 default bzr.pre_args {"--builtin --no-aliases checkout --lightweight --verbose"}
     71default bzr.env {BZR_PROGRESS_BAR=text}
     72default bzr.pre_args {"--builtin --no-aliases checkout --lightweight"}
    7273default bzr.args ""
    73 default bzr.post_args {"-r ${bzr.revision} ${bzr.url} ${worksrcdir}"}
     74default bzr.post_args {"-r ${bzr.revision} ${bzr.url} ${worksrcdir} 2>&1 | tr -su '\\\\r' '\\\\n'"}
    7475
    7576default cvs.cmd {[findBinary cvs $portutil::autoconf::cvs_path]}
    7677default cvs.password ""
     
    433434        # if we're just using HEAD, we can make a shallow repo
    434435        append options " --depth=1"
    435436    }
    436     set cmdstring "${git.cmd} clone $options ${git.url} ${worksrcpath} 2>&1"
     437    set cmdstring "${git.cmd} clone $options ${git.url} ${worksrcpath} 2>&1 | tr -su '\\r' '\\n' 2>&1"
    437438    ui_debug "Executing: $cmdstring"
    438439    if {[catch {system $cmdstring} result]} {
    439440        return -code error [msgcat::mc "Git clone failed"]