~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revision.py

  • Committer: Ian Clatworthy
  • Date: 2009-09-01 12:39:21 UTC
  • mto: (4634.25.1 integration-2.0)
  • mto: This revision was merged to the branch mainline in revision 4676.
  • Revision ID: ian.clatworthy@canonical.com-20090901123921-yf0sdacajv0rcry6
fix error message when illegal revision property value found

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
                raise ValueError("invalid property name %r" % name)
89
89
            if not isinstance(value, basestring):
90
90
                raise ValueError("invalid property value %r for %r" %
91
 
                                 (name, value))
 
91
                                 (value, name))
92
92
 
93
93
    def get_history(self, repository):
94
94
        """Return the canonical line-of-history for this revision.