~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revisionspec.py

(jr) use .format() instead of % for string formatting where there are
 multiple formats in one string to allow for translations (Jonathan Riddell)

Show diffs side-by-side

added added

removed removed

Lines of Context:
911
911
            location_type = 'parent branch'
912
912
        if submit_location is None:
913
913
            raise errors.NoSubmitBranch(branch)
914
 
        trace.note(gettext('Using %s %s'), location_type, submit_location)
 
914
        trace.note(gettext('Using {0} {1}').format(location_type,
 
915
                                                        submit_location))
915
916
        return submit_location
916
917
 
917
918
    def _match_on(self, branch, revs):