https://bz.mercurial-scm.org/show_bug.cgi?id=5397
Bug ID: 5397 Summary: With evolve, hg commit -i crashes on an empty repo Product: Mercurial Version: default branch Hardware: All OS: All Status: UNCONFIRMED Severity: bug Priority: wish Component: evolution Assignee: bugzi...@selenic.com Reporter: arcppzju+hg...@gmail.com CC: mercurial-de...@selenic.com, pierre-yves.da...@ens-lyon.org % hg init repo; cd repo; % HGRCPATH= hg commit -i --config 'ui.username=A <a...@b.com>' --config 'extensions.evolve=' --trace no changes to record Traceback (most recent call last): File "/home/quark/clowncopter/mercurial/dispatch.py", line 208, in _runcatchfunc return _dispatch(req) File "/home/quark/clowncopter/mercurial/dispatch.py", line 910, in _dispatch cmdpats, cmdoptions) File "/home/quark/clowncopter/mercurial/dispatch.py", line 653, in runcommand ret = _runcommand(ui, options, cmd, d) File "/home/quark/clowncopter/mercurial/dispatch.py", line 918, in _runcommand return cmdfunc() File "/home/quark/clowncopter/mercurial/dispatch.py", line 907, in <lambda> d = lambda: util.checksignature(func)(ui, *args, **cmdoptions) File "/home/quark/clowncopter/mercurial/util.py", line 1035, in check return func(*args, **kwargs) File "/home/quark/clowncopter/mercurial/extensions.py", line 220, in closure return func(*(args + a), **kw) File "/home/quark/clowncopter/mercurial/util.py", line 1035, in check return func(*args, **kwargs) File "/usr/lib/python2.7/site-packages/hgext/evolve.py", line 2849, in commitwrapper new = repo['-1'] File "/home/quark/clowncopter/mercurial/localrepo.py", line 534, in __getitem__ return context.changectx(self, changeid) File "/home/quark/clowncopter/mercurial/context.py", line 514, in __init__ _("unknown revision '%s'") % changeid) RepoLookupError: unknown revision '-1' abort: unknown revision '-1'! -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel