~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to __init__.py

Match file names, not paths, and tweak docs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
__doc__ = """Merge hook for GNU-format ChangeLog files
18
18
 
19
 
To enable this plugin, add a section to your branch.conf or location.conf
 
19
To enable this plugin, add a section to your location.conf
20
20
like::
21
21
 
22
22
    [/home/user/proj]
23
23
    changelog_merge_files = ChangeLog
24
24
 
25
 
The changelog_merge_files config option takes a list of file paths, separated
26
 
by commas.
 
25
Or add an entry to your branch.conf like::
 
26
 
 
27
    changelog_merge_files = ChangeLog
 
28
 
 
29
The changelog_merge_files config option takes a list of file names (not paths),
 
30
separated by commas.  (This is unlike the news_merge plugin, which matches
 
31
paths.)  e.g. the above config examples would match both
 
32
``src/foolib/ChangeLog`` and ``docs/ChangeLog``.
27
33
 
28
34
The algorithm this implements is very simple: it emits all the entries in OTHER
29
35
that are new compared to the common base version, followed by all the entries