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 27, 2005, at 10:19 PM, Zacharias J. Beckman 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 (no disconnected tarball of source should ever be produced without an associated tag or version inventory -- or, if using a real revision control system like Subversion or Perforce, the repository revision #).


In any case, it is easy to fix:

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

That'll eliminate the silly $Id: ..$ noise from all headers, c source and objective-c source. Substitute "Revision" for "Id" to remove that instead.

b.bum




_______________________________________________ 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>)



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.