On Tue, May 1, 2018 at 2:07 PM, vitalije <[email protected]> wrote:
I have just pushed new branch based on devel which contains all changes
> regarding our recent discussions about decoupling VNode class from
> Commander class.
>
​Very interesting. I'll study it carefully. All unit tests pass for me.
My first thought when looking at the code was unease at changing context to
context.fileName(). And indeed git-diff gives this traceback:
Traceback (most recent call last):
File "c:\leo.repo\leo-editor\leo\core\leoGlobals.py", line 2761, in
new_cmd_wrapper
func(self, event=event)
File "c:\leo.repo\leo-editor\leo\commands\editFileCommands.py", line 344,
in gitDiff
GitDiffController(self.c, 'HEAD').run()
File "c:\leo.repo\leo-editor\leo\commands\editFileCommands.py", line 773,
in run
ok = self.diff_revs()
File "c:\leo.repo\leo-editor\leo\commands\editFileCommands.py", line 831,
in diff_revs
self.diff_file(fn)
File "c:\leo.repo\leo-editor\leo\commands\editFileCommands.py", line 562,
in diff_file
self.make_diff_outlines(fn, c1, c2)
File "c:\leo.repo\leo-editor\leo\commands\editFileCommands.py", line 695,
in make_diff_outlines
added, deleted, changed = self.compute_dicts(c1, c2)
File "c:\leo.repo\leo-editor\leo\commands\editFileCommands.py", line 580,
in compute_dicts
assert v1.context != v2.context
AssertionError
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.