| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -538,7 +538,7 @@ def update(self, recursive=False, init=True, to_latest_revision=False, progress= | |||
| 538 | 538 | mrepo.head.set_reference(local_branch, logmsg="submodule: attaching head to %s" % local_branch) | |
| 539 | 539 | mrepo.head.ref.set_tracking_branch(remote_branch) | |
| 540 | 540 | except (IndexError, InvalidGitRepositoryError): | |
| 541 | - log.warn("Failed to checkout tracking branch %s", self.branch_path) | ||
| 541 | + log.warning("Failed to checkout tracking branch %s", self.branch_path) | ||
| 542 | 542 | # END handle tracking branch | |
| 543 | 543 | ||
| 544 | 544 | # NOTE: Have to write the repo config file as well, otherwise | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -265,7 +265,7 @@ def update(self, previous_commit=None, recursive=True, force_remove=False, init= | |||
| 265 | 265 | # this way, it will be checked out in the next step | |
| 266 | 266 | # This will change the submodule relative to us, so | |
| 267 | 267 | # the user will be able to commit the change easily | |
| 268 | - log.warn("Current sha %s was not contained in the tracking\ | ||
| 268 | + log.warning("Current sha %s was not contained in the tracking\ | ||
| 269 | 269 | branch at the new remote, setting it the the remote's tracking branch", sm.hexsha) | |
| 270 | 270 | sm.binsha = rref.commit.binsha | |
| 271 | 271 | # END reset binsha | |
| Back | FazBrowse Home | New Git URL |
0 commit comments