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

Submitter:  Nathaniel Smith <njs>
Submitted:  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>
Group 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>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-04-26 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
2006-04-26 tbrownaw StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code