Re: [PATCH v1] Remove no-op revisions

Michael Haggerty <[email protected]> Sun, 21 Mar 2010 05:26:25 +0100
Newsgroups gmane.comp.version-control.subversion.cvs2svn.devel
Message-ID <[email protected]>
Jon Foster wrote:
> Michael Haggerty wrote:
>> All that being said, I can imagine accepting a patch to add
>> an option to omit zero-delta revisions, even though IMO the
>> cost-benefit ratio is pretty close to 1.
> [...]
> So.... what do I need to do to get this patch into cvs2svn?
> Is it just a matter of fixing the TODO, or is there more?

It just occurred to me...

Wouldn't everything be OK if your branch 1.1.2 were instead numbered
1.1.1?  Then it would be recognized as a vendor branch and could be
grafted onto trunk by the standard cvs2svn code, right?

If so (and assuming you don't already have 1.1.1 branches in the same
files), then why don't you run the equivalent of a global search and
replace over your RCS files before the conversion?

Of course you should implement this more carefully, namely deriving a
class from FilterSink then writing the output to an WriteRCSFileSink
(these classes are in contrib/rcs_file_filter.py).

Given that your needs are so specialized and would be of questionable
usefulness to other users, I think an improvised solution like this
would be better than permanently complicating the cvs2svn code and
documentation.

Michael

------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1667&dsMessageId=2462701

To unsubscribe from this discussion, e-mail: [[email protected]].