There was an error while loading. Please reload this page.
1 parent b0a69bb commit e4a83ffCopy full SHA for e4a83ff
2 files changed
git/objects/submodule/base.py
@@ -538,7 +538,7 @@ def update(self, recursive=False, init=True, to_latest_revision=False, progress=
538
mrepo.head.set_reference(local_branch, logmsg="submodule: attaching head to %s" % local_branch)
539
mrepo.head.ref.set_tracking_branch(remote_branch)
540
except (IndexError, InvalidGitRepositoryError):
541
- log.warn("Failed to checkout tracking branch %s", self.branch_path)
+ log.warning("Failed to checkout tracking branch %s", self.branch_path)
542
# END handle tracking branch
543
544
# NOTE: Have to write the repo config file as well, otherwise
git/objects/submodule/root.py
@@ -265,7 +265,7 @@ def update(self, previous_commit=None, recursive=True, force_remove=False, init=
265
# this way, it will be checked out in the next step
266
# This will change the submodule relative to us, so
267
# the user will be able to commit the change easily
268
- log.warn("Current sha %s was not contained in the tracking\
+ log.warning("Current sha %s was not contained in the tracking\
269
branch at the new remote, setting it the the remote's tracking branch", sm.hexsha)
270
sm.binsha = rref.commit.binsha
271
# END reset binsha
0 commit comments