[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: Ben Reser <ben_at_reser.org>
Date: 2006-05-24 20:32:27 CEST

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.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 24 20:33:03 2006

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