| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,3 @@ | |||
| 1 | 1 | [submodule "gitdb"] | |
| 2 | 2 | path = git/ext/gitdb | |
| 3 | - url = git://github.com/Byron/gitdb.git | ||
| 3 | + url = git://github.com/gitpython-developers/gitdb.git | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,7 +14,13 @@ | |||
| 14 | 14 | #{ Initialization | |
| 15 | 15 | def _init_externals(): | |
| 16 | 16 | """Initialize external projects by putting them into the path""" | |
| 17 | - sys.path.append(os.path.join(os.path.dirname(__file__), 'ext')) | ||
| 17 | + sys.path.append(os.path.join(os.path.dirname(__file__), 'ext', 'gitdb')) | ||
| 18 | + | ||
| 19 | + try: | ||
| 20 | + import gitdb | ||
| 21 | + except ImportError: | ||
| 22 | + raise ImportError("'gitdb' could not be found in your PYTHONPATH") | ||
| 23 | + #END verify import | ||
| 18 | 24 | ||
| 19 | 25 | #} END initialization | |
| 20 | 26 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -20,7 +20,7 @@ def update(self, op, index, max_count, message=''): | |||
| 20 | 20 | ||
| 21 | 21 | class TestSubmodule(TestBase): | |
| 22 | 22 | ||
| 23 | - k_subm_current = "cb68eef0865df6aedbc11cd81888625a70da6777" | ||
| 23 | + k_subm_current = "e1e3017788213720afcfae0accddb2a6f2d9f052" | ||
| 24 | 24 | k_subm_changed = "394ed7006ee5dc8bddfd132b64001d5dfc0ffdd3" | |
| 25 | 25 | k_no_subm_tag = "0.1.6" | |
| 26 | 26 | ||
@@ -42,7 +42,7 @@ def _do_base_tests(self, rwrepo): | |||
| 42 | 42 | ||
| 43 | 43 | assert sm.path == 'git/ext/gitdb' | |
| 44 | 44 | assert sm.path != sm.name # in our case, we have ids there, which don't equal the path | |
| 45 | - assert sm.url == 'git://gitorious.org/git-python/gitdb.git' | ||
| 45 | + assert sm.url == 'git://github.com/gitpython-developers/gitdb.git' | ||
| 46 | 46 | assert sm.branch_path == 'refs/heads/master' # the default ... | |
| 47 | 47 | assert sm.branch_name == 'master' | |
| 48 | 48 | assert sm.parent_commit == rwrepo.head.commit | |
| Back | FazBrowse Home | New Git URL |
0 commit comments