Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Detect and display error if commit fails. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
17d7e0417edda1b03b81a9804bae23e5 |
User & Date: | peter 2012-07-11 19:02:13.507 |
Context
2012-07-11
| ||
19:30 | Added Starpack documentation check-in: 4011ab630b user: peter tags: trunk | |
19:02 | Detect and display error if commit fails. check-in: 17d7e0417e user: peter tags: trunk | |
2012-06-25
| ||
23:02 | Cleanup check-in: b2c9278183 user: peter tags: trunk | |
Changes
Changes to Changes.
1 2 3 4 5 6 7 | 2012-06-22 Added -pivot command line flag to control C diff's -pivot. Release 2.6.2 2012-06-12 Added -nocdiff command line flag for debug. | > > > | 1 2 3 4 5 6 7 8 9 10 | 2012-07-11 Detect and display error if commit fails. 2012-06-22 Added -pivot command line flag to control C diff's -pivot. Release 2.6.2 2012-06-12 Added -nocdiff command line flag for debug. |
︙ | ︙ |
Changes to Makefile.
1 2 3 4 | #---------------------------------------------------------------------- # Make file for Eskil #---------------------------------------------------------------------- | | | 1 2 3 4 5 6 7 8 9 10 11 12 | #---------------------------------------------------------------------- # Make file for Eskil #---------------------------------------------------------------------- VERSION = 262p # Path to the TclKits used for creating StarPacks. TCLKIT = /home/peter/tclkit/v85 TCLKIT_LINUX = $(TCLKIT)/tclkit-linux-x86 TCLKIT_SOLARIS = $(TCLKIT)/tclkit-solaris-sparc TCLKIT_WIN = $(TCLKIT)/tclkit-win32.upx.exe |
︙ | ︙ |
Changes to src/eskil.tcl.
︙ | ︙ | |||
33 34 35 36 37 38 39 | # Stop Tk from meddling with the command line by copying it first. set ::eskil(argv) $::argv set ::eskil(argc) $::argc set ::argv {} set ::argc 0 set ::eskil(debug) 0 | | | 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | # Stop Tk from meddling with the command line by copying it first. set ::eskil(argv) $::argv set ::eskil(argc) $::argc set ::argv {} set ::argc 0 set ::eskil(debug) 0 set ::eskil(diffver) "Version 2.6.2+ 2012-07-11" set ::eskil(thisScript) [file join [pwd] [info script]] namespace import tcl::mathop::+ namespace import tcl::mathop::- namespace import tcl::mathop::* namespace import tcl::mathop::/ |
︙ | ︙ |
Changes to src/rev.tcl.
︙ | ︙ | |||
925 926 927 928 929 930 931 | set target all } elseif {[llength $args] == 1} { set target [file tail [lindex $args 0]] } else { set target "[file tail [lindex $args 0]] ..." } set logmsg [LogDialog $top $target] | | < | > | > | > > > | | > > > > > > > | > > > | 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 | set target all } elseif {[llength $args] == 1} { set target [file tail [lindex $args 0]] } else { set target "[file tail [lindex $args 0]] ..." } set logmsg [LogDialog $top $target] if {$logmsg eq ""} return set sts [catch {exec cvs -q commit -m $logmsg {*}$args} errmsg] } # Check in SVN controlled file proc eskil::rev::SVN::commitFile {top args} { if {[llength $args] == 0} { set target all } elseif {[llength $args] == 1} { set target [file tail [lindex $args 0]] } else { set target "[file tail [lindex $args 0]] ..." } set logmsg [LogDialog $top $target] if {$logmsg eq ""} return set sts [catch {exec svn -q commit -m $logmsg {*}$args} svnmsg] set svnmsg [string trim $svnmsg] if {$svnmsg ne ""} { tk_messageBox -icon error -title "SVN commit error" -message $svnmsg } } # Check in GIT controlled file proc eskil::rev::GIT::commitFile {top args} { if {[llength $args] == 0} { set target all } elseif {[llength $args] == 1} { set target [file tail [lindex $args 0]] } else { set target "[file tail [lindex $args 0]] ..." } set logmsg [LogDialog $top $target] if {$logmsg eq ""} return if {[llength $args] == 0} { set sts [catch {exec git commit -a -m $logmsg} gitmsg] } else { set sts [catch {exec git commit -m $logmsg {*}$args} gitmsg] } set gitmsg [string trim $gitmsg] if {$sts} { tk_messageBox -icon error -title "GIT commit error" -message $gitmsg } elseif {[string match "*detached HEAD*" $gitmsg]} { # Make sure to make a detached HEAD commit visible. tk_messageBox -icon info -title "GIT commit message" -message $gitmsg } } # Check in Fossil controlled file proc eskil::rev::FOSSIL::commitFile {top args} { if {[llength $args] == 0} { set target all } elseif {[llength $args] == 1} { set target [file tail [lindex $args 0]] } else { set target "[file tail [lindex $args 0]] ..." } set logmsg [LogDialog $top $target] if {$logmsg eq ""} return set sts [catch {exec fossil commit -m $logmsg {*}$args} errmsg] if {$sts} { tk_messageBox -icon error -title "Fossil commit error" -message $errmsg } } # View log between displayed versions proc eskil::rev::CVS::viewLog {top filename revs} { set cmd [list exec cvs -q log -N] if {[llength $revs] > 1} { lappend cmd -r[join $revs ":"] |
︙ | ︙ |