##// END OF EJS Templates
repair: use absolute_import
Gregory Szorc -
r25970:d1419cfb default
parent child Browse files
Show More
@@ -6,11 +6,19 b''
6 6 # This software may be used and distributed according to the terms of the
7 7 # GNU General Public License version 2 or any later version.
8 8
9 from mercurial import changegroup, exchange, util, bundle2
10 from mercurial.node import short
11 from mercurial.i18n import _
9 from __future__ import absolute_import
10
12 11 import errno
13 12
13 from .i18n import _
14 from .node import short
15 from . import (
16 bundle2,
17 changegroup,
18 exchange,
19 util,
20 )
21
14 22 def _bundle(repo, bases, heads, node, suffix, compress=True):
15 23 """create a bundle with the specified revisions as a backup"""
16 24 usebundle2 = (repo.ui.configbool('experimental', 'bundle2-exp', True) and
General Comments 0
You need to be logged in to leave comments. Login now