Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/hg.py @ 8312:b87a50b7125c
separate import lines from mercurial and general python modules
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Tue, 28 Apr 2009 17:40:46 +0200 |
parents | 46293a0c7e9f |
children | 39cf453da958 |
comparison
equal
deleted
inserted
replaced
8311:e0eb03bfa5af | 8312:b87a50b7125c |
---|---|
7 # GNU General Public License version 2, incorporated herein by reference. | 7 # GNU General Public License version 2, incorporated herein by reference. |
8 | 8 |
9 from i18n import _ | 9 from i18n import _ |
10 from lock import release | 10 from lock import release |
11 import localrepo, bundlerepo, httprepo, sshrepo, statichttprepo | 11 import localrepo, bundlerepo, httprepo, sshrepo, statichttprepo |
12 import errno, lock, os, shutil, util, extensions, error | 12 import lock, util, extensions, error |
13 import merge as _merge | 13 import merge as _merge |
14 import verify as _verify | 14 import verify as _verify |
15 import errno, os, shutil | |
15 | 16 |
16 def _local(path): | 17 def _local(path): |
17 return (os.path.isfile(util.drop_scheme('file', path)) and | 18 return (os.path.isfile(util.drop_scheme('file', path)) and |
18 bundlerepo or localrepo) | 19 bundlerepo or localrepo) |
19 | 20 |