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

Re: ignore pdf "created" date

From: Greg Thomas <thomasgd_at_omc.bt.co.uk>
Date: 2007-06-29 17:58:50 CEST

On Fri, 29 Jun 2007 11:38:38 -0400, "Jan-H. Jagla" <jhjagla@gams.com>
wrote:

>We have pdf files which are automatically created but very often are not
>changed at all. However, the pdf file property "created" gets a new
>date, so the whole binary file shows up as modified and thus will have
>to be committed back into the repo.

My first answer is no; the file has changed and you can't expect svn
to magically know that the bit of the file that has changed is of no
use to you. You should really change you automatic generation of PDF
files so that they are not re-generated if there is no need; e.g.
using a make file. This is analogous to a compiled program; you only
recompile the .c to the .o if the .c file has actually changed.

My second answer begins "however". However, there was some talk of
custom svn keywords. I forget what happened to those, but if it were
possible to create a custom svn keyword such that it looked like the
binary form of the PDF created property, then it may be possible, in
much the same way that svn does not consider a manual change to the
$LastChangedDate keyword a committable change.

Greg

-- 
This post represents the views of the author and does
not necessarily accurately represent the views of BT.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 29 17:59:04 2007

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.