You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Nathan Bates <na...@yahoo.com> on 2007/05/11 05:00:37 UTC
svn import/commit doesn't preserve file timestamp
We have a very strong need for a file's timestamp
to be preserved in svn's repository.
For example, we have old src files and design docs,
but when they were imported, the files
received the current time, which caused
us to think they were updated by a developer.
We had to stay with CVS because of this deficiency.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: svn import/commit doesn't preserve file timestamp
Posted by Oliver Betz <li...@gmx.net>.
Ryan Schmidt wrote:
[preserve file's timestamp]
>I believe there is a script floating around that provides a
>workaround. I think it imports each file as a separate revision and
>then sets that revision's svn:date property? I'm not sure because
I posted a Perl script doing this, it should be in the archives
(svn.haxx.se/users/archive-2006-10/1345.shtml). But it's intended only
for the initial import. During normal work I'm using the commit time.
>I've never used it, and I can't remember what it's called, but I'm
>sure someone else will remember it and chime in.
...although a bit late.
Oliver
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: svn import/commit doesn't preserve file timestamp
Posted by Ryan Schmidt <su...@ryandesign.com>.
On May 11, 2007, at 00:00, Nathan Bates wrote:
> We have a very strong need for a file's timestamp
> to be preserved in svn's repository.
>
> For example, we have old src files and design docs,
> but when they were imported, the files
> received the current time, which caused
> us to think they were updated by a developer.
>
> We had to stay with CVS because of this deficiency.
You are correct. Subversion does not preserve timestamps on import or
commit. The Subversion developers are aware of this and I don't
believe it's a high priority for them to offer the ability to
preserve this information, much as I would also like for them to do
so. There are just several other features which are important to more
people, and developer resources are limited.
I believe there is a script floating around that provides a
workaround. I think it imports each file as a separate revision and
then sets that revision's svn:date property? I'm not sure because
I've never used it, and I can't remember what it's called, but I'm
sure someone else will remember it and chime in.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org