/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 __init__.py

  • Committer: John Arbash Meinel
  • Date: 2005-06-27 21:57:33 UTC
  • mto: (1185.31.24 bzr-jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1512.
  • Revision ID: john@arbash-meinel.com-20050627215733-f4419eee3c33dd37
Updated for new log_formatter.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
    def run(self, location=None, remove=False,
28
28
            dry_run=False, verbose=False):
29
29
        from bzrlib.branch import find_branch
30
 
        from bzrlib.log import show_one_log
 
30
        from bzrlib.log import log_formatter
31
31
        import uncommit, sys
32
32
 
33
33
        if location is None:
39
39
        if rev_id is None:
40
40
            print 'No revisions to uncommit.'
41
41
 
42
 
        show_one_log(revno, b.get_revision(rev_id),
43
 
                None, False, sys.stdout, 'original')
 
42
        lf = log_formatter('short', to_file=sys.stdout)
 
43
        lf.show(revno, b.get_revision(rev_id), None)
44
44
 
45
45
        print 'The above revision will be removed.'
46
46
        val = raw_input('Are you sure [y/N]? ')