bugmonotone - Bugs: bug #8538, should be able to key merge tool...


You are not allowed to post comments on this tracker with your current authentication level.

bug #8538: should be able to key merge tool off of attrs

Submitted by:  Nathaniel Smith <njs>
Submitted on:  Sun 11 Apr 2004 06:53:05 AM UTC  
Category:  hook functions Severity:  3 - Normal
Item Group:  feature request Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
mtn version --full: 

Wed 26 Apr 2006 07:51:33 AM UTC, comment #1:

Maybe the merge hooks should just get passed a table of attrs that apply.

Nathaniel Smith <njs>
Project Member
Sun 11 Apr 2004 06:53:05 AM UTC, original submission:

This is to facilitate changelog mergers, etc.

The easy thing would be to pass the merge2 and merge3 hooks the filename of the file they are merging, so they could choose to e.g. do something special if it ends in "ChangeLog".

It's not quite clear that this is the best way to do things, though, because filenames are not necessarily consistent forms of metadata. Cleaner, I think, would be to make it possible to add a line like
changelog true ChangeLog
to .mt-attrs, and have this somehow specify that ChangeLog should use the changelog merger. I'm not sure how to make this work, though.

Nathaniel Smith <njs>
Project Member


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.


Please enter the title of George Orwell's famous dystopian book (it's a date):



Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
Wed 26 Apr 2006 07:51:33 AM UTC njs StatusFixed => None
    Open/ClosedClosed => Open
    Summarymerging should be parametrizable by filename or .mt-attrs => should be able to key merge tool off of attrs
Wed 26 Apr 2006 05:35:34 AM UTC tbrownaw StatusNone => Fixed
    Open/ClosedOpen => Closed

Back to the top

Powered by Savane 3.3