[issue3129] pushing large number of changesets results RuntimeError (default branch)

Yuya Nishihara bugs at mercurial.selenic.com
Sat Nov 26 00:17:27 CST 2011


New submission from Yuya Nishihara <yuya at tcha.org>:

fa47291b3f1f introduces the following code:

def prepush(repo, remote, force, revs, newbranch):
    ...
    rset = repo.set('heads(%ln + %ln)', common, outg)
    ...

If outg isn't small, the revset query becomes significantly long and fails with 'maximum 
recursion depth exceeded' error at revset.optimize().

How to reproduce:
% hg init dest
% hg push -R mercurial dest
...
    if op == 'minus':
RuntimeError: maximum recursion depth exceeded in cmp

It also happens on cloning to remote host via ssh.

----------
messages: 18168
nosy: youjah
priority: bug
status: unread
title: pushing large number of changesets results RuntimeError (default branch)

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3129>
____________________________________________________


More information about the Mercurial-devel mailing list