Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Better diff tool?




On Apr 28, 2005, at 7:48 PM, Markian Hlynka wrote:

I was really (really, really) disappointed with XCode's file difference tool. It's pretty basic. The big functional disappointment is that it can't ignore CVS file tags (e.g.: "$Revision: 1.6$") so every file is flagged as different.


Yeah. That is pretty bloody annoying, isn't it? I always strip those particular markers out of source because they are really terribly useless unless your software development process is otherwise utterly broken ...



Yep, that needed to be said. I believe that they are used to show off. See! I'm using code versioning.


In any case, it is easy to fix:

    perl -pi -e 's/\$Id:.*\$//' *.[hcm]


er... I'm confused. I use CVS, but I don't see any tags _within my files....?!

CVS doesn't add them. They are called keywords. Users can add them to the files if the want and if found then CVS will insert the data requested by the keyword at the time of checkin.


See the following for more information...
<http://www.gnu.org/software/cvs/manual/html_chapter/cvs_17.html#SEC77>

-Shawn

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Better diff tool? (From: "Zacharias J. Beckman" <email@hidden>)
 >Re: Better diff tool? (From: Bill Bumgarner <email@hidden>)
 >Re: Better diff tool? (From: Marco Scheurer <email@hidden>)
 >Re: Better diff tool? (From: Markian Hlynka <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.