/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/commit.py

  • Committer: Martin Pool
  • Date: 2005-09-12 08:49:03 UTC
  • Revision ID: mbp@sourcefrog.net-20050912084903-2b9cf9a31c43df93
- add bzrlib.commit.commit compatability interface

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
from bzrlib.atomicfile import AtomicFile
54
54
 
55
55
 
 
56
def commit(*args, **kwargs):
 
57
    """Commit a new revision to a branch.
 
58
 
 
59
    Function-style interface for convenience of old callers.
 
60
 
 
61
    New code should use the Commit class instead.
 
62
    """
 
63
    Commit().commit(*args, **kwargs)
 
64
 
 
65
 
56
66
class NullCommitReporter(object):
57
67
    """I report on progress of a commit."""
58
68
    def added(self, path):