~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to hunk_selector.py

  • Committer: Aaron Bentley
  • Date: 2006-12-12 16:50:31 UTC
  • Revision ID: abentley@panoramicfeedback.com-20061212165031-51w8gjy1eps1vnw0
update NEWS

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
                from colordiff import DiffWriter
14
14
                from terminal import has_ansi_colors
15
15
                if has_ansi_colors():
16
 
                    self.diff_stream = DiffWriter(sys.stdout,
17
 
                                                  check_style=False)
 
16
                    self.diff_stream = DiffWriter(sys.stdout)
18
17
                else:
19
18
                    if color is True:
20
19
                        raise NoColor()
25
24
                self.diff_stream = sys.stdout
26
25
        else:
27
26
            self.diff_stream = sys.stdout
28
 
 
 
27
            
29
28
        self.standard_options = [
30
29
            UserOption('y', self._selected, self.strings['select_desc'],
31
30
                default=True),