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

Re: Problem with format of svn diff output

From: Alan Barrett <apb_at_cequrux.com>
Date: 2006-05-24 16:02:20 CEST

On Tue, 23 May 2006, Mark Phippard wrote:
> The problem is that their diff file parser is looking for a date/time
> value on the lines of the patch where it lists the filename.

That's just wrong. The "+++" and "---" lines can contain arbitrary
strings, and are not even guaranteed to be file names (see the "--label"
option in gnu diff), but by convention the first word after the +++
or --- will be a file name. If the diff parser knows something about
the diff generator (e.g., if it knows that it comes from "svn diff")
then it can make more assumptions (e.g. it could expect to see revision
numbers).

--apb (Alan Barrett)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 24 16:06:40 2006

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