Mercurial > hg-stable
changeset 6361:9b21faa6f013
hgk: display orphan revisions content (issue 1041)
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 23 Mar 2008 18:52:02 +0100 |
parents | 95413879bac9 |
children | bc3dbdb1d430 |
files | contrib/hgk |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/hgk Sun Mar 23 16:07:27 2008 +0100 +++ b/contrib/hgk Sun Mar 23 18:52:02 2008 +0100 @@ -2339,8 +2339,12 @@ $cflist delete 0 end $cflist insert end "Comments" + if {$nparents($id) <= 1} { + set parent "null" if {$nparents($id) == 1} { - startdiff [concat $id $parents($id)] + set parent $parents($id) + } + startdiff [concat $id $parent] } elseif {$nparents($id) > 1} { mergediff $id }