On Thursday 14 October 2004 18:39, wies@wiessoft.de wrote:
> i found your posts on tigris.org when i looked for a svn option like
> cvs -M to preserve the original file date. Unfortunately there is no
> solution to this problem - using commit dates is not realy useful
> when importing existing (old) projects into subversion.
>
> Did you improve/finish your patch? Do you have a diff against current
> svn 1.1.0? Would you share this patch with me?
>
> I have just started testing subversion and this timestamp issue is
> IMHO a design flaw. Not the svn developers should decide how timestamps
> are handled but the user.
I've done a try with 1.1.0; the patch merged mostly as-is, but it doesn't
work.
I've had a quick look into the source, but it seems that the setting of the
commit-date gets in the way.
So there is currently no available patch.
Question to the list: Has possibly someone ported my old patch to the current
tree ? (that is, 1.1.0 or 1.1.1?)
I propose the following behaviour:
- on export the svn:text-time or, if not available, commit-time is taken as
mtime of the file.
- on commit the svn:text-time is updated, if the file currently has a property
svn:text-time.
- for update and add a command-line-parameter like '--save-file-time' tells
svn to apply resp. save the files' mtime.
If this option can be saved in some kind of ~/.svnrc (like ~/.cvsrc) it would
be heaven ... :-)
I won't be able to start my work on this for the next time - maybe in
november. So please, can someone beat me to it ? :-)
As far as I've looked it's much easier than with 0.24, as the funtions for
querying and setting the mtime are already in apr.
> regards
> Thomas Wies
Regards,
Phil
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 15 10:45:00 2004