hgk: add .diff extension when exporting commits
authorAndrew Shadura <andrew@shadura.me>
Tue, 25 Mar 2014 22:47:59 +0100
changeset 20934 777daa412e56
parent 20933 d3775db748a0
child 20935 70f9a5d8c06f
hgk: add .diff extension when exporting commits Append the .diff extension automatically.
contrib/hgk
--- a/contrib/hgk	Tue Apr 01 15:27:53 2014 -0700
+++ b/contrib/hgk	Tue Mar 25 22:47:59 2014 +0100
@@ -3913,7 +3913,7 @@
     grid $top.clab $top.cmd -sticky w -pady 10
     ttk::label $top.flab -text "Output file:"
     ttk::entry $top.fname -width 60
-    $top.fname insert 0 [file normalize "commit-[string range $rowmenuid 0 6]"]
+    $top.fname insert 0 [file normalize "commit-[string range $rowmenuid 0 6].diff"]
     grid $top.flab $top.fname -sticky w
     ttk::frame $top.buts
     ttk::button $top.buts.gen -text "Write" -command wrcomgo