Changeset 987 for trunk/expgui


Ignore:
Timestamp:
Apr 26, 2010 1:06:36 PM (11 years ago)
Author:
toby
Message:

work on fix for problem validating svn server

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expgui

    r986 r987  
    41934193    # get info about the current version on the server. Someday we might want to compare this
    41944194    # say every month and notify when there is a new version to update
    4195     set repos [GetSVNrepository $expgui(gsasdir)]
     4195    set repos [GetSVNrepository [file normalize $expgui(gsasdir)]]
    41964196    # send a "p" to accept the server fingerprint in case needed on 1st access
    4197     catch {set out [exec echo "p" | svn info $repos]} err
     4197    set svninp [file normalize "~/svntmp.txt"]
     4198    set fp [open $svninp "w"]
     4199    puts $fp "p"
     4200    close $fp
     4201    if [catch {set out [exec svn info $repos < $svninp]} err] {
     4202        puts "svn info error = $err"
     4203    }
     4204    catch {file delete $svninp}
    41984205    set expgui(SVNversion) [lindex [split $repos '/'] end]
    41994206    # cleanup batch file from a previous update
Note: See TracChangeset for help on using the changeset viewer.