~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/changeset.py

  • Committer: Martin Pool
  • Date: 2005-08-24 08:59:32 UTC
  • Revision ID: mbp@sourcefrog.net-20050824085932-c61f1f1f1c930e13
- Add a simple UIFactory 

  The idea of this is to let a client of bzrlib set some 
  policy about how output is displayed.

  In this revision all that's done is that progress bars
  are constructed by a policy established by the application
  rather than being randomly constructed in the library 
  or passed down the calls.  This avoids progress bars
  popping up while running the test suite and cleans up
  some code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1065
1065
    def new_contents_conflict(self, filename, other_contents):
1066
1066
        raise NewContentsConflict(filename)
1067
1067
 
1068
 
    def finalize(self):
 
1068
    def finalize():
1069
1069
        pass
1070
1070
 
1071
1071
def apply_changeset(changeset, inventory, dir, conflict_handler=None,