~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to bzrtools.py

  • Committer: Aaron Bentley
  • Date: 2005-09-29 16:16:56 UTC
  • mto: (147.2.17)
  • mto: This revision was merged to the branch mainline in revision 324.
  • Revision ID: abentley@panoramicfeedback.com-20050929161656-0aa948c2f00f3655
Fixed import issues w/ PyBaz

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
    >>> is_clean(br)
49
49
    (False, [])
50
50
    >>> br.commit("added file")
 
51
    added foo
51
52
    >>> is_clean(br)
52
53
    (True, [])
53
54
    >>> rm_branch(br)
56
57
    old_tree = cur_branch.basis_tree()
57
58
    new_tree = cur_branch.working_tree()
58
59
    non_source = []
59
 
    for path, file_class, kind, file_id, entry in new_tree.list_files():
 
60
    for path, file_class, kind, file_id in new_tree.list_files():
60
61
        if file_class in ('?', 'I'):
61
62
            non_source.append(path)
62
63
    delta = compare_trees(old_tree, new_tree, want_unchanged=False)