# HG changeset patch # User Pierre-Yves David # Date 1444868372 -3600 # Node ID 652dfb1eff149174acff54ec27cb32a4a19716ad # Parent 9903261dcc813a78f3304f780577b8624e9275ed merge: directly get destination from destutil There is no real value in using the revset over the function. The revset have no remaining users and will be taken care of in a later changesets. diff -r 9903261dcc81 -r 652dfb1eff14 mercurial/commands.py --- a/mercurial/commands.py Thu Oct 15 01:11:00 2015 +0100 +++ b/mercurial/commands.py Thu Oct 15 01:19:32 2015 +0100 @@ -4901,7 +4901,7 @@ node = scmutil.revsingle(repo, node).node() if not node: - node = scmutil.revsingle(repo, '_mergedefaultdest()').node() + node = repo[destutil.destmerge(repo)].node() if opts.get('preview'): # find nodes that are ancestors of p2 but not of p1