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 19:48, 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....?!

Version strings are a "feature" of many (most?) source control systems. You don't have to use them. CVS is built on RCS, and uses RCS version strings (if you ask for them, by putting the "template" string in your file). The man pages tell all (I think).


Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for General Semantics
--------
Some people have a mental horizon of radius zero, and
call it their point of view.
  -- David Hilbert
--------

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