Add option to rewrite dates of merged entries to today's date

Bug #728138 reported by Andrew Bennetts
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr-changelog-merge
Confirmed
Medium
Unassigned

Bug Description

Hi,

I'm finding this plugin helpful for merging one Emacs branch to another. Thanks!
As well as putting the merged entries at the head of the destination, it would be great if there was an option to
rewrite the dates of the merged entries to today's (UTC) date.

Eg, if there are two entries to be merged, and they look like:

2011-02-07 Some One <email address hidden>

   * do something

2011-02-01 Some Body <email address hidden>

   * do something

and if today's date is 2011-02-21, then they should be merged to the top of the destination ChangeLog as:

2011-02-21 Some One <email address hidden>

   * do something

2011-02-21 Some Body <email address hidden>

   * do something

Is that feasible?

Revision history for this message
Andrew Bennetts (spiv) wrote :

That sounds useful. Is this the sort of option you'd like to set once in a configuration file? Or would you rather a command line option?

(A command line option is harder, off the top of my head at least 'merge', 'remerge' and 'update' all perform merges, and perhaps there are other commands from plugins that do too. But if that approach suits your use case better let's see if we can find a satisfactory way to do that.)

Changed in bzr-changelog-merge:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Glenn Morris (rgm+lp) wrote :

A configuration file option (like the existing changelog_merge_files) would be just fine, thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.