~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: mbp at sourcefrog
  • Date: 2005-03-25 08:26:36 UTC
  • Revision ID: mbp@sourcefrog.net-20050325082636-b87da84c23289d36
with commit -v, show committed revision number

Show diffs side-by-side

added added

removed removed

Lines of Context:
542
542
        mutter("committing patch r%d" % (self.revno() + 1))
543
543
 
544
544
        mutter("append to revision-history")
545
 
        self.controlfile('revision-history', 'at').write(rev_id + '\n')
 
545
        f = self.controlfile('revision-history', 'at')
 
546
        f.write(rev_id + '\n')
 
547
        f.close()
546
548
 
547
 
        mutter("done!")
 
549
        if verbose:
 
550
            note("commited r%d" % self.revno())
548
551
 
549
552
 
550
553
    def get_revision(self, revision_id):