[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: pluggable diff program requirements? (was: Re: Any problems w/ very large (10-100MB) binary files?)

From: <kfogel_at_collab.net>
Date: 2004-11-15 23:14:15 CET

"Karan, Cem \(Civ, ARL/CISD\)" <CKaran@arl.army.mil> writes:
> Thats the ideal, but I'm thinking of the cases where the type of the
> file affects what kind of diff program you want to use. E.g. 'wordDiff'
> versus 'pdfDiff'. If there are plans to put together a dictionary (MIME
> or file-type to program mappings) within the repositories, then using a
> simple 'diff' compatible form is best. However, if subversion is always
> going to be ignorant of the mappings of file type->diff program, then it
> means I need to write a mapper of my own. The mapper is easy; the
> problem is where to store the mapping dictionary. Ideally, it would be
> stored within the repository (probably as some sort of property), but I
> don't want this to conflict with what people are already planning on
> doing. THAT is what I'm REALLY worried about.

I don't think there's been enough planning yet for you to be able to
anticipate conflicts. Just go with the simplest, most obvious thing
for now. Whatever mechanism Subversion eventually uses, it will
surely be straightforward for you to make the appropriate tweaks to
your wrapper/mapper.

-Karl

> > -----Original Message-----
> > From: kfogel@newton.ch.collab.net
> > [mailto:kfogel@newton.ch.collab.net] On Behalf Of kfogel@collab.net
> > Sent: Monday, November 15, 2004 11:24 AM
> > To: Karan, Cem (Civ, ARL/CISD)
> > Cc: Matthew England; users@subversion.tigris.org
> > Subject: Re: pluggable diff program requirements? (was: Re:
> > Any problems w/ very large (10-100MB) binary files?)
> >
> >
> > "Karan, Cem \(Civ, ARL/CISD\)" <CKaran@arl.army.mil> writes:
> > > If you look on http://subversion.tigris.org/roadmap.html,
> > you'll see
> > > that pluggable client-side diff programs are part of the
> > future plan;
> > > that will solve problems when that comes about. Are there any
> > > developers monitoring this right now? Where can we get in on the
> > > requirements phase of this? (I'm scratching my own itch in
> > developing
> > > an OS X diff program right now, and I'd like to make it compatible
> > > with subversion before I get too much further ahead)
> >
> > Well, I wouldn't think compatibility will be a huge problem.
> > It's not like Subversion is completely without pluggable diff
> > program support right now -- just make your program take
> > arguments the way, say, GNU diff does, and you can use it
> > with the --diff-cmd option with SVN.
> >
> > -Karl
> >
> >

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 15 23:14:09 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.