monotone

Issue 8: should be able to key merge tool off of attrs

Reported by Unknown User, Apr 11, 2004

(This entry was imported from the savannah tracker, original 
location: https://savannah.nongnu.org/bugs/index.php?8538)

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.

Created: 20 years 1 month ago by Unknown User

Updated: 18 years 21 days ago

Status: New

Labels:
Type:Feature Request
Component:Hook Functions
Priority:Medium

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status