Re: Reindenting / Reformating (whitespace)

Larry McVoy <[email protected]>
Newsgroups gmane.comp.version-control.bitkeeper.user
Message-ID <[email protected]>
On Sun, Aug 29, 2004 at 06:12:37AM -0700, Eric Wing wrote:
> I have files in my repository that I would like to
> reindent (convert spaces to tabs or vice-versa).
> However, Bitkeeper seems to ignore my changes to
> whitespace formating. Is there a way I can force
> Bitkeeper to recognize these changes?

That sounds very strange, BK doesn't ignore whitespace changes, that would
be a bug.  And too an obvious a bug to have existed this long.  Can you 
construct a small test case which demonstrates this problem?

> I'm also having the same problem with newlines and
> carrage returns. Something got really messed up in
> some of my files, and some of the actually have
> multiple ^M characters on each line which is messing
> up my VC7.1 compiler. I would like to strip all of
> these, but everytime I do, Bitkeeper also ignores my
> changes. 

That one I can believe because BK stores text files with \n line terminations
only.  The diff we use ignores \r\n vs \n line endings for text files.
If you can send me one of the s.files I'll try and see what I can do to fix
it and then tell you how I did it.
-- 
---
Larry McVoy                lm at bitmover.com           http://www.bitkeeper.com
_______________________________________________
Bitkeeper-users mailing list
[email protected]
http://bitmover.com/mailman/listinfo/bitkeeper-users
To unsubscribe from this list, go to the above URL, follow instruction at the bottom of the web page.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.