RE: Reindenting / Reformating (whitespace)
"Andy Chittenden" <[email protected]>
| Newsgroups | gmane.comp.version-control.bitkeeper.user |
|---|---|
| Message-ID | <89E85E0168AD994693B574C80EDB9C273F9156@uk-email.terastack.bluearc.com> |
> We can fool BK into taking any diffs we want like so: > > bk get -kp $FILE > ORIG > cp ORIG FIXED > vi FIXED > :%s/^V^M//g <- that's Control-V Control-M > :wq > diff ORIG FIXED > DIFFS > bk get -eg $FILE > bk delta -y'Fix \r' -DDIFFS $FILE > We've hit this end-of-line problem in the past and found the above to be cumbersome and non-intuitive: by that I mean, we'd have to work it out each time we encountered the problem. What we do is essentially: o fromdos the file o put an X at the front of everyline. o check that in with an appropriate comment (eg phase 1 of ^M removal) o remove the X at the front of everyline. o check that in with an appropriate comment (eg complete ^M removal) At least that way, we use bk facilities we're familiar with. -- Andy, BlueArc Engineering _______________________________________________ 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.