[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: normalizing files and old revisions
From: |
Mike Castle |
Subject: |
Re: normalizing files and old revisions |
Date: |
Mon, 01 Sep 2003 10:30:35 -0700 |
In article <address@hidden>,
Andreas Klauer <address@hidden> wrote:
>Now, to my main problem:
>The repository already contains files which use tabs, CRLF, et cetera.
>Corresponding diffs to old revisions already contain loads of unnecessary
>whitespace changes. I'd like to get rid of these diffs, to make comparisons
>between never revisions (which use filter) and older revisions (which didn't
>have the filter) possible without getting all this whitespace changes junk.
cvs diff --help
-w --ignore-all-space Ignore all white space.
-b --ignore-space-change Ignore changes in the amount of white space.
-B --ignore-blank-lines Ignore changes whose lines are all blank.
-I RE --ignore-matching-lines=RE Ignore changes whose lines all match RE.
Those options may use enough to accomplish your goals for the history.
One thing I strongly feel about history is, it should never lie. That's
how they were checked in. I may not like them, but I'll leave them be.
It's like removing old versions that checked in bugs. Just something you
don't do.
mrc
--
Mike Castle address@hidden www.netcom.com/~dalgoda/
We are all of us living in the shadow of Manhattan. -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc