/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/commit.py

  • Committer: John Arbash Meinel
  • Date: 2007-12-05 18:47:51 UTC
  • mfrom: (3079 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3080.
  • Revision ID: john@arbash-meinel.com-20071205184751-58fi7xoj8ddox6ch
[merge] bzr.dev 3079

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
    """I report on progress of a commit."""
92
92
 
93
93
    def started(self, revno, revid, location=None):
 
94
        if location is None:
 
95
            symbol_versioning.warn("As of bzr 1.0 you must pass a location "
 
96
                                   "to started.", DeprecationWarning,
 
97
                                   stacklevel=2)
94
98
        pass
95
99
 
96
100
    def snapshot_change(self, change, path):
133
137
 
134
138
    def started(self, revno, rev_id, location=None):
135
139
        if location is not None:
136
 
            location = ' to "' + unescape_for_display(location, 'utf-8') + '"'
 
140
            location = ' to: ' + unescape_for_display(location, 'utf-8')
137
141
        else:
 
142
            # When started was added, location was only made optional by
 
143
            # accident.  Matt Nordhoff 20071129
 
144
            symbol_versioning.warn("As of bzr 1.0 you must pass a location "
 
145
                                   "to started.", DeprecationWarning,
 
146
                                   stacklevel=2)
138
147
            location = ''
139
 
        self._note('Committing revision %d%s.', revno, location)
 
148
        self._note('Committing%s', location)
140
149
 
141
150
    def completed(self, revno, rev_id):
142
151
        self._note('Committed revision %d.', revno)