Re: normalizing files and old revisions

2003-09-04 Thread Andreas Klauer
On Wednesday 03 September 2003 17:39, Paul Sander wrote: > The rinfo program will parse the RCS files and provide info about each > revision. If you need something it doesn't give then it's easy enough to > add it. Well, my problem with rinfo is: I'm no C programmer. I'd have to learn C first be

Re: normalizing files and old revisions

2003-09-04 Thread Paul Sander
The rinfo program will parse the RCS files and provide info about each revision. If you need something it doesn't give then it's easy enough to add it. Once you have mapped out the structure of the RCS files, you should be able to simply use the co program with appropriate -k options to get what

Re: normalizing files and old revisions

2003-09-03 Thread Andreas Klauer
On Monday 01 September 2003 19:30, Mike Castle wrote: > Andreas Klauer <[EMAIL PROTECTED]> wrote: > -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.

Re: normalizing files and old revisions

2003-09-03 Thread Max Bowsher
Andreas Klauer wrote: > On Sunday 31 August 2003 20:47, Max Bowsher wrote: >> Andreas Klauer wrote: >>> Any hints on how to do this? >> >> Write a script that walks an RCS file, and for each revision, generates the >> fulltext from the stored diffs, pipes the fulltext through your filter, >> diffs

Re: normalizing files and old revisions

2003-09-03 Thread Mike Castle
Sorry if this is a duplicate. My sendmail update didn't go as smooth as I'd thought. :-/ In article <[EMAIL PROTECTED]>, Andreas Klauer <[EMAIL PROTECTED]> wrote: >The repository already contains files which use tabs, CRLF, et cetera. >Corresponding diffs to old revisions already contain loads

Re: normalizing files and old revisions

2003-09-02 Thread Mike Castle
In article <[EMAIL PROTECTED]>, Andreas Klauer <[EMAIL PROTECTED]> 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

Re: normalizing files and old revisions

2003-09-02 Thread Andreas Klauer
On Sunday 31 August 2003 20:47, Max Bowsher wrote: > Andreas Klauer wrote: > > Any hints on how to do this? > > Write a script that walks an RCS file, and for each revision, generates the > fulltext from the stored diffs, pipes the fulltext through your filter, > diffs it against the previous revis

Re: normalizing files and old revisions

2003-08-31 Thread Max Bowsher
Andreas Klauer wrote: > Hello, > > in order to get rid of whitespace problems (tabs<->spaces, trailing spaces, > CRLF(\r\n)<->LF(\n) linefeeds) I want to add a filter to CVSROOT/commitinfo, > which normalizes (modifies) the corresponding files before they are commited. > Can anyone confirm that th

normalizing files and old revisions

2003-08-31 Thread Andreas Klauer
Hello, in order to get rid of whitespace problems (tabs<->spaces, trailing spaces, CRLF(\r\n)<->LF(\n) linefeeds) I want to add a filter to CVSROOT/commitinfo, which normalizes (modifies) the corresponding files before they are commited. Can anyone confirm that this is the way to go? I got thi