[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: Daniel Rall <dlr_at_collab.net>
Date: 2006-05-25 22:34:54 CEST

On Wed, 24 May 2006, Ben Reser wrote:

> On 5/24/06, Mark Phippard <markp@softlanding.com> wrote:
> >It might be specific to the patches that they produce from Eclipse, but
> >the reason it works is that if you do an Add, then the old revision has a
> >date of 0 (1/1/1970). And if you are doing a Delete, the new revision has
> >a date of 0. So they are looking for the zero dates, and if neither of
> >them are zero they consider it a modfication.
>
> After some digging this is a CVS thing:
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ dspam_train.1 24 Jan 2006 15:43:12 -0000 1.1
>
> That's how CVS shows adds. Note that they include the revision number
> after the date so even CVS isn't strictly following the GNU docs I
> linked to.
>
> Eclipse needs to just be smart and realize that not everyone uses the
> same exact format here.

+1

-- 
Daniel Rall

  • application/pgp-signature attachment: stored
Received on Thu May 25 22:37:52 2006

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

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