# HG changeset patch # User Andrew Shadura # Date 1395784079 -3600 # Node ID 777daa412e56f8098de134ab2704a9e6531b0f83 # Parent d3775db748a06450b69e4fd5beb52cb5e9ef07b0 hgk: add .diff extension when exporting commits Append the .diff extension automatically. diff -r d3775db748a0 -r 777daa412e56 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