~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to hunk_selector.py

  • Committer: Aaron Bentley
  • Date: 2007-06-12 22:09:44 UTC
  • mfrom: (540.1.2 bzrtools-0.17)
  • Revision ID: aaron.bentley@utoronto.ca-20070612220944-5zw4hlzp1ctq6mkl
Merge fixes from 0.17

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)
 
16
                    self.diff_stream = DiffWriter(sys.stdout,
 
17
                                                  check_style=False)
17
18
                else:
18
19
                    if color is True:
19
20
                        raise NoColor()
24
25
                self.diff_stream = sys.stdout
25
26
        else:
26
27
            self.diff_stream = sys.stdout
27
 
            
 
28
 
28
29
        self.standard_options = [
29
30
            UserOption('y', self._selected, self.strings['select_desc'],
30
31
                default=True),