I managed to build a PoC integrated diff using two hooks in bzr:

* First one (called showdiff_modifychanges in the patch) allows to
modify the changes iterator just before it's used in diff.py:_show_diff,
so that you can add the files that just have a metadata difference

* Second one (called showdiff_extrachanges in the patch), also in
diff.py:_show_diff, allows for each file in the iterator to append to
the properties changetext (prop_str) a string describing metadata
change, if any

See patch for details. I'd welcome review from bzr developers to confirm
it is the best place to hook for the desired result.

** Attachment added: "bzr.diff"
   http://launchpadlibrarian.net/27492053/bzr.diff

** Also affects: bzr (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: bzr (Ubuntu)
   Importance: Undecided => Wishlist

-- 
Integrated permissions/ownership diff output for etckeeper/bzr
https://bugs.launchpad.net/bugs/322327
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to