~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commit.py

  • Committer: Martin Pool
  • Date: 2005-09-16 06:51:44 UTC
  • Revision ID: mbp@sourcefrog.net-20050916065144-dbf04063a4b635b6
- pointless commit of r1 no longer allowed
  (same behaviour as with old commit code)

Show diffs side-by-side

added added

removed removed

Lines of Context:
202
202
            self._report_deletes()
203
203
 
204
204
            if not (self.allow_pointless
205
 
                    or len(self.parents) != 1
 
205
                    or len(self.parents) > 1
206
206
                    or self.new_inv != self.basis_inv):
207
207
                raise PointlessCommit()
208
208