~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to clean_tree.py

  • Committer: abentley
  • Date: 2005-10-16 00:01:58 UTC
  • Revision ID: abentley@lappy-20051016000158-7e35573ad3792faa
Added .tmp to --detrius

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
def is_detrius(subp):
22
22
    return subp.endswith('.THIS') or subp.endswith('.BASE') or\
23
 
        subp.endswith('.OTHER') or subp.endswith('~')
 
23
        subp.endswith('.OTHER') or subp.endswith('~') or subp.endswith('.tmp')
24
24
 
25
25
def iter_deletables(tree, unknowns=True, ignored=False, detrius=False):
26
26
    """Iterate through files that may be deleted"""