~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Aaron Bentley
  • Date: 2006-07-24 15:18:40 UTC
  • Revision ID: abentley@panoramicfeedback.com-20060724151840-cf9270c1afbdfa27
Add runtime ignores for shelf

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
import sys
11
11
import os.path
12
12
 
13
 
from bzrlib import DEFAULT_IGNORE
14
13
import bzrlib.builtins
15
14
import bzrlib.branch
16
15
import bzrlib.commands
17
16
from bzrlib.commands import get_cmd_object
18
17
from bzrlib.errors import BzrCommandError
19
18
from bzrlib.help import command_usage
 
19
import bzrlib.ignores
20
20
from bzrlib.option import Option
21
21
sys.path.insert(0, os.path.realpath(os.path.join(os.path.dirname(__file__), 
22
22
                                                 "external")))
23
23
 
24
 
 
25
 
DEFAULT_IGNORE.append('./.shelf')
26
 
DEFAULT_IGNORE.append('./.bzr-shelf*')
 
24
bzrlib.ignores.add_runtime_ignores(['./.shelf', './.bzr-shelf*'])
27
25
 
28
26
 
29
27
class cmd_clean_tree(bzrlib.commands.Command):