/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 bzrlib/diff.py

  • Committer: Aaron Bentley
  • Date: 2007-11-27 13:57:29 UTC
  • mto: This revision was merged to the branch mainline in revision 3036.
  • Revision ID: abentley@panoramicfeedback.com-20071127135729-il5et0dxtsu05ceh
Change constants to strings

Show diffs side-by-side

added added

removed removed

Lines of Context:
424
424
    """Base type for command object that compare files"""
425
425
 
426
426
    # The type or contents of the file were unsuitable for diffing
427
 
    CANNOT_DIFF = object()
 
427
    CANNOT_DIFF = 'CANNOT_DIFF'
428
428
    # The file has changed in a semantic way
429
 
    CHANGED = object()
430
 
    # The file content has changed, but there is no semantic change
431
 
    UNCHANGED = object()
 
429
    CHANGED = 'CHANGED'
 
430
    # The file content may have changed, but there is no semantic change
 
431
    UNCHANGED = 'UNCHANGED'
432
432
 
433
433
    def __init__(self, old_tree, new_tree, to_file, path_encoding='utf-8'):
434
434
        """Constructor.