please review '[server.source.native] exceptions should never pass silently'
nicola.spanti at logilab.fr
Wed Jan 8 17:29:46 CET 2020
$ hg paths
default = ssh://email@example.com/review/cubicweb
nchauvat = https://hg.logilab.org/users/nchauvat/cubicweb
$ hg pull nchauvat
$ hg log --hidden -r 56039b68c449
abandon : unknown revision '56039b68c449' !
I guess this commit never existed, maybe a copy/paste error. Contrary to
git, hg remembers rewritten changeset and can give the hash of the new
one, so it looks strange to me.
Le 08/01/2020 à 16:43, Laurent Peuch a écrit :
> On Thu, Dec 19, 2019 at 12:04:26PM +0100, Nicolas Chauvat wrote:
>> On Thu, Dec 19, 2019 at 05:46:46AM +0100, Laurent Peuch wrote:
>>> LGTM but we might want to add the traceback here, from my experience
>>> when you actually wants to fix the bug, the exception alone is rarely
>> Would https://hg.logilab.org/users/nchauvat/cubicweb/rev/56039b68c449
>> be better ?
> I got "filtered revision '56039b68c449' (not in 'served' subset)" when
> looking at the link, have you maybe rewrite this changeset?
>> I tried to limit the traceback to 2 frames to avoid flooding the logs.
>> Do you know of a better way to write this ? I do not like that much
>> the fact that I used a StringIO in there.
>> Nicolas Chauvat
>> logilab.fr - services en informatique scientifique et gestion de connaissances
More information about the cubicweb-devel