/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: John Arbash Meinel
  • Date: 2006-07-07 20:29:48 UTC
  • mto: This revision was merged to the branch mainline in revision 1871.
  • Revision ID: john@arbash-meinel.com-20060707202948-835b9b7031034d04
Creating a helper function for getting the user ignore filename

Show diffs side-by-side

added added

removed removed

Lines of Context:
1087
1087
                    continue
1088
1088
                ignore_globs.append(line)
1089
1089
 
1090
 
        global_ignore_filename = pathjoin(config.config_dir(), 'ignore')
 
1090
        user_ignore_filename = config.user_ignore_config_filename()
1091
1091
        try:
1092
 
            f = open(global_ignore_filename, 'rb')
 
1092
            f = open(user_ignore_filename, 'rb')
1093
1093
        except (IOError, OSError), e:
1094
1094
            if e.errno not in (errno.ENOENT, errno.EPERM):
1095
1095
                raise