[PATCH evolve-ext] Fixed case where AttributeError can be thrown when importing wireproto
Andrew Fischer
andrew at apastron.co
Fri Oct 19 12:08:41 EDT 2018
No problem, marmoute informed me directly over IRC when they were added.
Thanks for the follow up!
On Fri, Oct 19, 2018 at 11:06 AM Boris FELD <boris.feld at octobus.net> wrote:
> I was checking the in-flight patches and saw that we never acknowledge
> the reception of those patches.
>
> Thank you, they have been merged in evolve.
>
> Sorry about the delay.
>
> On 31/07/2018 14:39, andrew at apastron.co wrote:
> > # HG changeset patch
> > # User Andrew Fischer <andrew at apastron.co>
> > # Date 1533040717 18000
> > # Tue Jul 31 07:38:37 2018 -0500
> > # Node ID c4a2d0e5bf18c229fc559323295900e421e246ef
> > # Parent 2af10d0a59e06c7f84d33eb1eb5eec4a880df162
> > Fixed case where AttributeError can be thrown when importing wireproto
> >
> > diff -r 2af10d0a59e0 -r c4a2d0e5bf18 hgext3rd/topic/discovery.py
> > --- a/hgext3rd/topic/discovery.py Tue Jul 31 11:25:57 2018 +0200
> > +++ b/hgext3rd/topic/discovery.py Tue Jul 31 07:38:37 2018 -0500
> > @@ -16,7 +16,7 @@
> > try:
> > from mercurial import wireproto
> > wireproto.branchmap
> > -except ImportError: # <= hg-4.5
> > +except (AttributeError, ImportError): # <= hg-4.5
> > from mercurial import wireprotov1server as wireproto
> >
> > def _headssummary(orig, pushop, *args, **kwargs):
> > _______________________________________________
> > Mercurial-devel mailing list
> > Mercurial-devel at mercurial-scm.org
> > https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
>
--
Andrew Fischer
Apastron Co
903 1st ST N Hopkins, MN
952-373-1024
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20181019/3e004c52/attachment.html>
More information about the Mercurial-devel
mailing list