~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2005-08-25 00:55:22 UTC
  • Revision ID: mbp@sourcefrog.net-20050825005522-1288ce330e3fba0b
- more cleanups of error reporting

Show diffs side-by-side

added added

removed removed

Lines of Context:
886
886
    def run(self, revision=None, file_list=None, diff_options=None):
887
887
        from bzrlib.diff import show_diff
888
888
 
 
889
        print aksdkasjdlksad
 
890
 
889
891
        if file_list:
890
892
            b = find_branch(file_list[0])
891
893
            file_list = [b.relpath(f) for f in file_list]
1992
1994
            bzrlib.trace.note('broken pipe')
1993
1995
            return 2
1994
1996
        else:
1995
 
            bzrlib.trace.log_exception('terminated by exception: %s' % str(e))
 
1997
            bzrlib.trace.log_exception()
1996
1998
            return 2
1997
1999
 
1998
2000