~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/ignores.py

  • Committer: Jelmer Vernooij
  • Date: 2008-07-08 16:34:56 UTC
  • mto: This revision was merged to the branch mainline in revision 3533.
  • Revision ID: jelmer@samba.org-20080708163456-xb2f4tg7kn0cjhdc
use constant for ignore file filename.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
import errno
20
20
 
 
21
import bzrlib
21
22
from bzrlib import (
22
23
    atomicfile,
23
24
    config,
214
215
    :param tree: Tree to retrieve the ignore list from.
215
216
    :return: 
216
217
    """
217
 
    ifn = tree.abspath('.bzrignore')
 
218
    ifn = tree.abspath(bzrlib.IGNORE_FILENAME)
218
219
    if tree.has_filename(ifn):
219
220
        f = open(ifn, 'rt')
220
221
        try: