~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commit.py

  • Committer: Robert Collins
  • Date: 2005-10-27 19:45:18 UTC
  • mfrom: (1185.16.130)
  • Revision ID: robertc@robertcollins.net-20051027194518-58afabc9ab280bb0
MergeĀ fromĀ Martin

Show diffs side-by-side

added added

removed removed

Lines of Context:
206
206
        self.allow_pointless = allow_pointless
207
207
        self.revprops = revprops
208
208
 
209
 
        if strict and branch.unknowns():
210
 
            raise StrictCommitFailed()
 
209
        if strict:
 
210
            # raise an exception as soon as we find a single unknown.
 
211
            for unknown in branch.unknowns():
 
212
                raise StrictCommitFailed()
211
213
 
212
214
        if timestamp is None:
213
215
            self.timestamp = time.time()