~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/properties.py

  • Committer: Ian Clatworthy
  • Date: 2008-05-13 01:43:22 UTC
  • mto: (3515.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 3516.
  • Revision ID: ian.clatworthy@canonical.com-20080513014322-f1fwqv03wer13ss5
rename .bzrproperties to fileproperties

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
"""Properties to associate with files based on file glob patterns.
18
18
 
19
19
Patterns and the properties for each are defined in ini file format in
20
 
BZR_HOME/.bzrproperties. For example::
 
20
BZR_HOME/fileproperties. For example::
21
21
 
22
22
    [*.txt]
23
23
    text = True
25
25
    [*.pdf]
26
26
    text = False
27
27
 
28
 
Patterns use the same conventions as .bzrignore, namely:
 
28
Patterns use the same conventions as BZR_HOME/ignore, namely:
29
29
 
30
30
 * *.xyz match any file ending in .xyz
31
31
 * foo/ matches all files in foo directories
72
72
 
73
73
def properties_filename():
74
74
    """Return per-user properties file filename."""
75
 
    return osutils.pathjoin(config.config_dir(), '.bzrproperties')
 
75
    return osutils.pathjoin(config.config_dir(), 'fileproperties')
76
76
 
77
77
 
78
78
# The object providing per-user properties