Re: Enormous .xib diffs between IB minor versions
Re: Enormous .xib diffs between IB minor versions
- Subject: Re: Enormous .xib diffs between IB minor versions
- From: Kevin Cathey <email@hidden>
- Date: Wed, 14 Apr 2010 10:41:35 -0700
> Alternatively, I guess you might be able to write your own
> utility that works out better diffs for these files than, well,
> diff does. I think you'll find yourself with a lot of new
> friends if you do that. Doesn't sound like a lot of fun, but
> maybe that's what it takes.
If you use opendiff to diff your XIB files, it will diff the ibtool output of the files, which is a much easier way to see what has changed since ibtool outputs in very readable XML. Writing your own diffing tool will be fragile.
Kevin
On 14 Apr 2010, at 10:23, Paul Sanders wrote:
>> I maintain an open source project that receives patches from
>> various people, not all of whom have exactly the same version
>> of Xcode installed. I find that, if someone makes even minor
>> changes to a .xib file using a different version of IB than
>> the one that last saved the file, enormous diffs will result,
>> making the patches very hard to read.
>
> With no better solution in sight, can you go over to a locking
> model for version control of your xibs? That won't work with
> patches, of course. You'd have to give the relevant people
> direct access to your repository, which is probably a very scary
> thought.
>
> Alternatively, I guess you might be able to write your own
> utility that works out better diffs for these files than, well,
> diff does. I think you'll find yourself with a lot of new
> friends if you do that. Doesn't sound like a lot of fun, but
> maybe that's what it takes.
>
> Paul Sanders.
>
>
>
_______________________________________________
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