@@ -20,7 +20,7 @@ def update(self, op, index, max_count, message=''):
2020
2121class TestSubmodule (TestBase ):
2222
23- k_subm_current = "83a9e4a0dad595188ff3fb35bc3dfc4d931eff6d "
23+ k_subm_current = "cb68eef0865df6aedbc11cd81888625a70da6777 "
2424 k_subm_changed = "394ed7006ee5dc8bddfd132b64001d5dfc0ffdd3"
2525 k_no_subm_tag = "0.1.6"
2626
@@ -40,7 +40,7 @@ def _do_base_tests(self, rwrepo):
4040 # at a different time, there is None
4141 assert len (Submodule .list_items (rwrepo , self .k_no_subm_tag )) == 0
4242
43- assert sm .path == 'ext/gitdb'
43+ assert sm .path == 'git/ ext/gitdb'
4444 assert sm .path != sm .name # in our case, we have ids there, which don't equal the path
4545 assert sm .url == 'git://gitorious.org/git-python/gitdb.git'
4646 assert sm .branch_path == 'refs/heads/master' # the default ...
@@ -184,7 +184,7 @@ def _do_base_tests(self, rwrepo):
184184 sm .update (recursive = True , dry_run = True , progress = prog )
185185 assert not csm .module_exists ()
186186
187- # update recuesively again
187+ # update recursively again
188188 sm .update (recursive = True )
189189 assert csm .module_exists ()
190190
@@ -237,6 +237,7 @@ def _do_base_tests(self, rwrepo):
237237 # deletion will fail
238238 # NOTE: As we did a few updates in the meanwhile, the indices were reset
239239 # Hence we create some changes
240+ csm .set_parent_commit (csm .repo .head .commit )
240241 sm .config_writer ().set_value ("somekey" , "somevalue" )
241242 csm .config_writer ().set_value ("okey" , "ovalue" )
242243 self .failUnlessRaises (InvalidGitRepositoryError , sm .remove )
0 commit comments