Extract a function generate_edits().
commit068d102478dc6e0e0c1031ae94e339f487b9722d
authormhagger <mhagger@be7e6eca-30d4-0310-a8e5-ac0d63af7087>
Thu, 27 May 2010 04:51:21 +0000 (27 04:51 +0000)
committermhagger <mhagger@be7e6eca-30d4-0310-a8e5-ac0d63af7087>
Thu, 27 May 2010 04:51:21 +0000 (27 04:51 +0000)
tree9d9e7783a890cb0e4cabb30da517d30b384f6eba
parent05b376b95c618cba88e78c94e43e4e79742b70d8
Extract a function generate_edits().

Separate the generate_edits() function, which parses an RCS diff, from
generate_blocks(), which computes fills in the 'c'opy blocks.

(One benefit is that generate_edits() doesn't need to know the number
of lines in the reference revision, and so can be used without that
information.)

git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5125 be7e6eca-30d4-0310-a8e5-ac0d63af7087
cvs2svn_lib/rcs_stream.py