Show More
@@ -1,28 +1,52 b'' | |||||
1 | # Subversion 1.4/1.5 Python API backend |
|
1 | # Subversion 1.4/1.5 Python API backend | |
2 | # |
|
2 | # | |
3 | # Copyright(C) 2007 Daniel Holth et al |
|
3 | # Copyright(C) 2007 Daniel Holth et al | |
|
4 | from __future__ import absolute_import | |||
4 |
|
5 | |||
5 | import os, re, sys, tempfile, urllib, urllib2 |
|
6 | import cPickle as pickle | |
|
7 | import cStringIO | |||
|
8 | import os | |||
|
9 | import re | |||
|
10 | import sys | |||
|
11 | import tempfile | |||
|
12 | import urllib | |||
|
13 | import urllib2 | |||
6 | import xml.dom.minidom |
|
14 | import xml.dom.minidom | |
7 | import cPickle as pickle |
|
|||
8 |
|
15 | |||
9 | from mercurial import strutil, scmutil, util, encoding, error |
|
16 | from mercurial import ( | |
|
17 | encoding, | |||
|
18 | error, | |||
|
19 | scmutil, | |||
|
20 | strutil, | |||
|
21 | util, | |||
|
22 | ) | |||
10 | from mercurial.i18n import _ |
|
23 | from mercurial.i18n import _ | |
11 |
|
24 | |||
|
25 | from . import common | |||
|
26 | ||||
|
27 | StringIO = cStringIO.StringIO | |||
12 | propertycache = util.propertycache |
|
28 | propertycache = util.propertycache | |
13 |
|
29 | |||
|
30 | commandline = common.commandline | |||
|
31 | commit = common.commit | |||
|
32 | converter_sink = common.converter_sink | |||
|
33 | converter_source = common.converter_source | |||
|
34 | decodeargs = common.decodeargs | |||
|
35 | encodeargs = common.encodeargs | |||
|
36 | makedatetimestamp = common.makedatetimestamp | |||
|
37 | mapfile = common.mapfile | |||
|
38 | MissingTool = common.MissingTool | |||
|
39 | NoRepo = common.NoRepo | |||
|
40 | ||||
14 | # Subversion stuff. Works best with very recent Python SVN bindings |
|
41 | # Subversion stuff. Works best with very recent Python SVN bindings | |
15 | # e.g. SVN 1.5 or backports. Thanks to the bzr folks for enhancing |
|
42 | # e.g. SVN 1.5 or backports. Thanks to the bzr folks for enhancing | |
16 | # these bindings. |
|
43 | # these bindings. | |
17 |
|
44 | |||
18 | from cStringIO import StringIO |
|
|||
19 |
|
||||
20 | from common import NoRepo, MissingTool, commit, encodeargs, decodeargs |
|
|||
21 | from common import commandline, converter_source, converter_sink, mapfile |
|
|||
22 | from common import makedatetimestamp |
|
|||
23 |
|
||||
24 | try: |
|
45 | try: | |
25 |
from svn.core import |
|
46 | from svn.core import ( | |
|
47 | Pool, | |||
|
48 | SubversionException, | |||
|
49 | ) | |||
26 | import svn |
|
50 | import svn | |
27 | import svn.client |
|
51 | import svn.client | |
28 | import svn.core |
|
52 | import svn.core |
@@ -26,7 +26,6 b'' | |||||
26 | hgext/convert/common.py not using absolute_import |
|
26 | hgext/convert/common.py not using absolute_import | |
27 | hgext/convert/convcmd.py not using absolute_import |
|
27 | hgext/convert/convcmd.py not using absolute_import | |
28 | hgext/convert/cvs.py not using absolute_import |
|
28 | hgext/convert/cvs.py not using absolute_import | |
29 | hgext/convert/subversion.py not using absolute_import |
|
|||
30 | hgext/convert/transport.py not using absolute_import |
|
29 | hgext/convert/transport.py not using absolute_import | |
31 | hgext/eol.py not using absolute_import |
|
30 | hgext/eol.py not using absolute_import | |
32 | hgext/extdiff.py not using absolute_import |
|
31 | hgext/extdiff.py not using absolute_import |
General Comments 0
You need to be logged in to leave comments.
Login now