Mattias EngdegÃ¥rd wrote:
> firstname.lastname@example.org (Heikki Orsila) writes:
>> pmr.1 | 16 ++++++++++++++--
>> pmr.c | 15 +++++++++++++--
>> 2 files changed, 27 insertions(+), 4 deletions(-)
> I wanted this information (added and removed lines) as well, so I wrote
> a script to calculate it as a post-commit hook and save the information
> in a revprop.
FWIW, ViewVC provides a similar script (svndbadmin), but instead drops the
calculated results into a MySQL Bonsai-like database.
Ideally, the Subversion repository would house this type of contextual diff
information so that, for example, we could transmitting full binary diff
streams across the wire when running the links the 'svn blame'. But it
doesn't. The primary storage format in Subversion's repository is a binary
diff that is line-ignorant, and therein lies the primary reason why
Subversion, unlike CVS, ain't so snappy about reporting line-change info.
C. Michael Pilato <email@example.com>
CollabNet <> www.collab.net <> Distributed Development On Demand
Received on Wed Sep 5 21:27:18 2007