~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Michael Ellerman
  • Date: 2006-08-08 06:15:43 UTC
  • mto: This revision was merged to the branch mainline in revision 427.
  • Revision ID: michael@ellerman.id.au-20060808061543-f0b62ef08b321b05
Convert from DEFAULT_IGNORES to bzrlib.ignores.add_runtime_ignores().
We also remove the ignore of ".bzr-shelf", it was just for back-compat
with older version and hopefully everyone has updated by now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
from bzrlib import DEFAULT_IGNORE
10
10
from bzrlib.help import command_usage
11
11
 
12
 
DEFAULT_IGNORE.append('./.shelf')
13
 
DEFAULT_IGNORE.append('./.bzr-shelf*')
 
12
bzrlib.ignores.add_runtime_ignores(['./.shelf'])
14
13
 
15
14
class cmd_shelve(bzrlib.commands.Command):
16
15
    """Temporarily set aside some changes from the current tree.