@@ -578,11 +578,13 @@ def update(self, recursive=False, init=True, to_latest_revision=False, progress=
578578base_commit = mrepo .merge_base (mrepo .head .commit ,hexsha )
579579if len (base_commit )== 0 or base_commit [0 ].hexsha == hexsha :
580580if force :
581- log .debug ("Will force checkout or reset on local branch that is possibly in the future of"
582- + "the commit it will be checked out to, effectively 'forgetting' new commits" )
581+ msg = "Will force checkout or reset on local branch that is possibly in the future of"
582+ msg += "the commit it will be checked out to, effectively 'forgetting' new commits"
583+ log .debug (msg )
583584else :
584- log .info ("Skipping %s on branch '%s' of submodule repo '%s' as it contains "
585- + "un-pushed commits" ,is_detached and "checkout" or "reset" ,mrepo .head ,mrepo )
585+ msg = "Skipping %s on branch '%s' of submodule repo '%s' as it contains un-pushed commits"
586+ msg %= (is_detached and "checkout" or "reset" ,mrepo .head ,mrepo )
587+ log .info (msg )
586588may_reset = False
587589# end handle force
588590# end handle if we are in the future