[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: Olaf Hering <olh_at_suse.de>
Date: 2006-05-28 09:01:19 CEST

 On Wed, May 24, Mark Phippard 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.

'^--- /dev/null' means it was an add
'^+++ /dev/null' means it was a delete.
subversion is broken in this respect, there is a bug open for that.
Relying on the timestamp is very likely the wrong approach.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun May 28 09:01:55 2006

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