You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "C. Michael Pilato" <cm...@collab.net> on 2008/03/12 20:58:05 UTC

[PATCH] Teach mailer.py to show top-level mergeinfo diffs.

Make mailer.py provide mergeinfo change information for the longest
common directory of the paths modified.

        # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
        #                                                       #
        #   This has not been reviewed with an eye on general   #
        #   inclusion in Subversion's mailer.py.  It's just     #
        #   what I plopped on svn.collab.net.  Just sharing     #
        #   in case someone else wants to run with this.        #
        #                                                       #
        # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

* tools/hook-scripts/mailer/mailer.py
   (generate_content): Fetch the old and new mergeinfo property values
     for the longest-common-directory of the changed paths, and pass
     the results via the data dictionary.
   (TextCommitRenderer.render): Call self._render_mergeinfo_diff().
   (TextCommitRenderer._render_mergeinfo_diff): Use the new data
     dictionary members to generate a textual description of mergeinfo
     changes.

-- 
C. Michael Pilato <cm...@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand