~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commit.py

  • Committer: Matt Nordhoff
  • Date: 2007-12-01 00:20:36 UTC
  • mto: This revision was merged to the branch mainline in revision 3065.
  • Revision ID: mnordhoff@mattnordhoff.com-20071201002036-zc4cvszvgj31099n
Update the warning message to use 1.0 instead of 0.93.

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
 
93
93
    def started(self, revno, revid, location=None):
94
94
        if location is None:
95
 
            symbol_versioning.warn("As of bzr 0.93 you must pass a location "
 
95
            symbol_versioning.warn("As of bzr 1.0 you must pass a location "
96
96
                                   "to started.", DeprecationWarning,
97
97
                                   stacklevel=2)
98
98
        pass
141
141
        else:
142
142
            # When started was added, location was only made optional by
143
143
            # accident.  Matt Nordhoff 20071129
144
 
            symbol_versioning.warn("As of bzr 0.93 you must pass a location "
 
144
            symbol_versioning.warn("As of bzr 1.0 you must pass a location "
145
145
                                   "to started.", DeprecationWarning,
146
146
                                   stacklevel=2)
147
147
            location = ''