codeinn/vcs — Issue #88: Add get_diff method to changesets
Author: lukaszb
Created: 2011-10-15 13:35:34+00:00
State: open

**Synopsis**:

def get_diff(self, other)

It should return diff as a unicode. *other* parameter should be optional. Diff format should be *git* (requires *-g* switch to be turned for *hg* command).

I believe it should be assumed as *low level method* and simply return strings. We can then create another method that would parse diff and return more structured object. @marcinkuzminski - feedback please :)

Eventually, that method should also allow *paths* parameter to be passed.