~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to bzrtools.py

  • Committer: Aaron Bentley
  • Date: 2005-10-30 03:51:19 UTC
  • mfrom: (257.1.3)
  • Revision ID: aaron.bentley@utoronto.ca-20051030035119-7cda4f9164ea6449
Merged latest changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
        if file_class in ('?', 'I'):
61
61
            non_source.append(path)
62
62
    delta = compare_trees(old_tree, new_tree, want_unchanged=False)
63
 
    if len(delta.added) > 0 or len(delta.removed) > 0 or \
64
 
        len(delta.modified) > 0:
65
 
        return False, non_source
66
 
    return True, non_source 
 
63
    return not delta.has_changed(), non_source
67
64
 
68
65
def set_pull_data(br, location, rev_id):
69
66
    pull_file = file (br.controlfilename("x-pull-data"), "wb")