view mercurial/cffi/diffhelpers.py @ 33041:e425f5aabe70

unbundle: move BundleUnknownFeatureError exception handling out This just moves the BundleUnknownFeatureError exception handling one level up so we collect the bundle2.applybundle{,1}() calls together. applybundle1() will never throw the exception, so it should have no functional consequence.
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 22 Jun 2017 15:03:13 -0700
parents 0e8b0b9a7acc
children
line wrap: on
line source

# diffhelpers.py - pure Python implementation of diffhelpers.c
#
# Copyright 2009 Matt Mackall <mpm@selenic.com> and others
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.

from __future__ import absolute_import

from ..pure.diffhelpers import *