[Mono-list] newline and cvs

Paolo Molaro lupus@ximian.com
Mon, 4 Mar 2002 19:54:04 +0100


On 03/03/02 Daniel Stodden wrote:
> > > This makes the
> > > cvs history useless and reviewing patches almost impossible.
> 
> yes. but fixing them once (and forever) in a single commit
> should be painless.

No, it's not painless, it destroys the history of the files.
We would need a script that regenerates all the diffs with correct
dates, tags etc and then replacing the files on the cvs server.
It's doable, but complex and time consuming.

> > ... not completely useless.  You can still get useful results from cvs if you
> > use the `-b' (`--ignore-space-change') option to diff, e.g. `cvs diff -b' .
> 
> i'd rather suggest enforcing server-side recoding on commit:
> see the texinfo: cvs/administrative files/commitinfo

I would prefer if people could take the time to review their own diffs before
committing; this could result in better code, too:-)

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better