• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Better diff tool?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Better diff tool?


  • Subject: Re: Better diff tool?
  • From: Grant Jacobs <email@hidden>
  • Date: Fri, 29 Apr 2005 09:46:26 +1200


Can anyone tell me if this is also the case under subversion? (as opposed to CVS)


Grant


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

-- ------------------------------------------------------------------- Grant Jacobs Ph.D. BioinfoTools ph. +64 3 478 0095 (office, after 10am) PO Box 6129, or +64 27 601 5917 (mobile) Dunedin, email@hidden NEW ZEALAND. Bioinformatics tools: deriving knowledge from biological data Bioinformatics tools - software development - consulting - training Check out the website for more details: http://www.bioinfotools.com

The information contained in this mail message is  confidential and
may be legally privileged.  Readers of this message who are not the
intended recipient are hereby notified that any use, dissemination,
distribution or reproduction of this message is prohibited.  If you
have received this message in error please notify the sender immed-
iately and destroy the original message.  This applies also to  any
attached documents.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Rez -> SysError 0?
  • Next by Date: nibtool dictionaries
  • Previous by thread: Re: Better diff tool?
  • Next by thread: XCode 2 availability
  • Index(es):
    • Date
    • Thread