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

Re: saving time stamps - Question

From: P.Marek <pmarek_at_cpan.org>
Date: 2003-05-21 17:03:35 CEST

Hello everybody,

I finally made it so include the mtime in the item->wcprop_changes array
(svn_client/commit_util.c, do_item_commit()).

But that doesn't work as a few lines after my change the file .svn/wcprops/ is
synced with the repository; as I include the property currently only in the
item->wcprop_changes, it isn't written into the repository. (there's another
problem: I had to create the property-files with len 0 to avoid an error
while transmitting in svn_io_copy_file()).

So, where's the best place and what's the best strategy to set this property?
I assume writing an (empty) property on update/checkout is the easiest
solution; is there a better one?
I also think that simply overwriting that value isn't good; if the user wants
to set another file-time he should be able to. But that could possibly be
done by using "touch" ... Hm.

Any ideas? Help please??

Thanks a lot!

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 21 17:04:46 2003

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.