Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Added -cvs and -svn to set version system preference. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
feb100370a57205ad7f5763eb8a9521a |
User & Date: | peter 2008-01-23 17:31:18.000 |
Context
2008-01-23
| ||
17:34 | No Log check-in: 7a603121e8 user: peter tags: trunk | |
17:31 | Added -cvs and -svn to set version system preference. check-in: feb100370a user: peter tags: trunk | |
17:27 | Added SVN support. Ability to set preference from command line. check-in: c23ebb67c7 user: peter tags: trunk | |
Changes
Changes to src/eskil.tcl.
︙ | ︙ | |||
3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 | -nonewline : Try to ignore newline changes. -nonewline+ : Try to ignore newline changes, and don't display. -prefix <str> : Care mainly about words starting with "str". -preprocess <pair> : TBW -r <ver> : Version info for version control mode. -conflict : Treat file as a merge conflict file and enter merge mode. -o <file> : Specify merge result output file. -browse : Automatically bring up file dialog after starting. -server : Set up Eskil to be controllable from the outside. | > > | 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 | -nonewline : Try to ignore newline changes. -nonewline+ : Try to ignore newline changes, and don't display. -prefix <str> : Care mainly about words starting with "str". -preprocess <pair> : TBW -r <ver> : Version info for version control mode. -cvs : Detect CVS first, if multiple version systems are used. -svn : Detect SVN first, if multiple version systems are used. -conflict : Treat file as a merge conflict file and enter merge mode. -o <file> : Specify merge result output file. -browse : Automatically bring up file dialog after starting. -server : Set up Eskil to be controllable from the outside. |
︙ | ︙ | |||
3291 3292 3293 3294 3295 3296 3297 | return } set allOpts { -w --help -help -b -noignore -i -nocase -nodigit -nokeyword -prefix -noparse -line -smallblock -block -char -word -limit -nodiff -dir -clip -patch -browse -conflict -print -printps -printpdf | | | 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 | return } set allOpts { -w --help -help -b -noignore -i -nocase -nodigit -nokeyword -prefix -noparse -line -smallblock -block -char -word -limit -nodiff -dir -clip -patch -browse -conflict -print -printps -printpdf -server -o -r -context -cvs -svn -foreach -preprocess -close -nonewline } # If the first option is "--query", use it to ask about options. if {$::eskil(argc) == 2 && [lindex $::eskil(argv) 0] == "--query"} { set arg [lindex $::eskil(argv) 1] if {[lsearch -exact $allOpts $arg] < 0} { |
︙ | ︙ | |||
3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 | set dodir 0 set doclip 0 set files "" set nextArg "" set revNo 1 set dopatch 0 set foreach 0 foreach arg $::eskil(argv) { if {$nextArg != ""} { if {$nextArg eq "mergeFile"} { set opts(mergeFile) [file join [pwd] $arg] } elseif {$nextArg eq "printFile"} { set opts(printFile) [file join [pwd] $arg] } elseif {$nextArg eq "revision"} { | > > | 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 | set dodir 0 set doclip 0 set files "" set nextArg "" set revNo 1 set dopatch 0 set foreach 0 set preferedRev "GIT" foreach arg $::eskil(argv) { if {$nextArg != ""} { if {$nextArg eq "mergeFile"} { set opts(mergeFile) [file join [pwd] $arg] } elseif {$nextArg eq "printFile"} { set opts(printFile) [file join [pwd] $arg] } elseif {$nextArg eq "revision"} { |
︙ | ︙ | |||
3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 | } } elseif {$arg eq "-o"} { set nextArg mergeFile } elseif {$arg eq "-r"} { set nextArg revision } elseif {$arg eq "-debug"} { set ::debug 1 } elseif {$arg eq "-"} { # Allow "-" for stdin patch processing lappend files "-" } else { set apa [file normalize [file join [pwd] $arg]] if {![file exists $apa]} { puts "Bad argument: $arg" | > > > > | 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 | } } elseif {$arg eq "-o"} { set nextArg mergeFile } elseif {$arg eq "-r"} { set nextArg revision } elseif {$arg eq "-debug"} { set ::debug 1 } elseif {$arg eq "-svn"} { set preferedRev "SVN" } elseif {$arg eq "-cvs"} { set preferedRev "CVS" } elseif {$arg eq "-"} { # Allow "-" for stdin patch processing lappend files "-" } else { set apa [file normalize [file join [pwd] $arg]] if {![file exists $apa]} { puts "Bad argument: $arg" |
︙ | ︙ | |||
3539 3540 3541 3542 3543 3544 3545 | startConflictDiff $top $fullname after idle [list doDiff $top] set ReturnAfterLoop 1 continue } if {!$autobrowse && !$dopatch} { # Check for revision control | | | 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 | startConflictDiff $top $fullname after idle [list doDiff $top] set ReturnAfterLoop 1 continue } if {!$autobrowse && !$dopatch} { # Check for revision control set rev [detectRevSystem $fullname $preferedRev] if {$rev ne ""} { startRevMode $top $rev $fullname if {$noautodiff} { enableRedo $top } else { after idle [list doDiff $top] } |
︙ | ︙ |