leoPy.leo contains the following script.  I have just renamed it to 
"script: diff-branches/revs (one file)":

import leo.commands.editFileCommands as efc

efc.GitDiffController(c).diff_two_branches(
    branch1='bc24e607a5', # old branch/rev
    branch2='devel', # new branch/rev
    fn='leo/plugins/free_layout.py',
    directory=None,
)

Previously, I had assumed that only branch names could be used, but then I 
thought that git generally allows many kind of specifiers, as shown above. 
This is very convenient and is way, way, *way* easier to understand than 
using gitk.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/f2519da2-be69-4458-ba3d-2a3f40262aafo%40googlegroups.com.

Reply via email to