##// END OF EJS Templates
patch: use ctx.node() instead of bare node variable...
Sean Farley -
r21833:c1ceec0c default
parent child Browse files
Show More
@@ -1622,7 +1622,7 b' def diff(repo, node1=None, node2=None, m'
1622
1622
1623 revs = None
1623 revs = None
1624 hexfunc = repo.ui.debugflag and hex or short
1624 hexfunc = repo.ui.debugflag and hex or short
1625 revs = [hexfunc(node) for node in [node1, node2] if node]
1625 revs = [hexfunc(node) for node in [ctx1.node(), ctx2.node()] if node]
1626
1626
1627 copy = {}
1627 copy = {}
1628 if opts.git or opts.upgrade:
1628 if opts.git or opts.upgrade:
General Comments 0
You need to be logged in to leave comments. Login now