Mercurial > hgsubversion
changeset 1564:70eb9b6b0320
wrappers: revpair returns contexts now
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Fri, 20 Apr 2018 15:46:29 -0400 |
parents | f44543ffab9b |
children | 8a66277136ab |
files | hgsubversion/wrappers.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgsubversion/wrappers.py +++ b/hgsubversion/wrappers.py @@ -184,6 +184,7 @@ def diff(orig, ui, repo, *args, **opts): parent = repo[o_r[-1]].parents()[0] opts['rev'] = ['%s:.' % node.hex(parent.node()), ] node1, node2 = scmutil.revpair(repo, opts['rev']) + node1, node2 = node1.node(), node2.node() baserev, _junk = hashes.get(node1, (-1, 'junk')) newrev, _junk = hashes.get(node2, (-1, 'junk')) it = patch.diff(repo, node1, node2,