comparison mercurial/pure/mpatch.py @ 31082:abb92b3d370e

hgweb: explictly pass basectx in webutil.diffs There's only one case where `basectx` parameter is None (over two usages), so it's probably not worth handling the special case as it makes code-reading harder. Along the way, use ctx.p1() instead of checking for ctx.parents() being empty which should not occur.
author Denis Laxalde <denis.laxalde@logilab.fr>
date Tue, 17 Jan 2017 17:25:48 +0100
parents f2846d546645
children 151cc3b3d799
comparison
equal deleted inserted replaced
31081:be74ce1b930f 31082:abb92b3d370e