You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Greg Rundlett <gr...@oasis-open.org> on 2006/11/02 00:42:27 UTC

Issue #1256 Preserving timestamps

Hi all,

There is an issue #1256 relating to preserving timestamps [1] which has
been around for a long time, and has even had various patches proposed.
 It is my understanding that Subversion currently lacks support for
preserving original timestamps of files imported into a project.

This issue is marked as on the roadmap for the next release with the
status 'NEW' [2]

I'm wondering if anyone is actually working on it, and whether the
solution will take care of my use case:

I simply want to be able to import an existing filesytem tree (e.g.
website files) that might have timestamps from a year ago such that when
I do an svn checkout, I receive any *unmodified since import* files with
the same mtime as the files that originally went into the project (in
other words these files are still one year old).  I would want to
correctly show that files *modified since import* show the checkout
timestamp.  That way scripts, file managers or search tools etc. that
are looking for 'new' files don't get the wrong impression about when
these files were last modified.

Maybe svn already does what I want and I've misread all the docs.

[1] http://subversion.tigris.org/issues/show_bug.cgi?id=1256
[2]
http://subversion.tigris.org/issues/buglist.cgi?component=subversion&issue_status=NEW&issue_status=STARTED&issue_status=REOPENED&target_milestone=1.5&target_milestone=1.5-consider

Thanks,

-- 
Gregory S. Rundlett
Manager, Technology Services
OASIS "Advancing E-Business Standards Since 1993"
http://www.oasis-open.org
+1 (978) 667-5115 x 205

Register for OASIS Adoption Forum:
"Managing Secure Interactions in Sector Applications"
27-29 Nov 2006, London
www.oasis-open.org/events/adoptionforum

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Issue #1256 Preserving timestamps

Posted by Lieven Govaerts <sv...@mobsol.be>.
Greg Rundlett wrote:
> Hi all,
>
> There is an issue #1256 relating to preserving timestamps [1] which has
> been around for a long time, and has even had various patches proposed.
>  It is my understanding that Subversion currently lacks support for
> preserving original timestamps of files imported into a project.
>
> This issue is marked as on the roadmap for the next release with the
> status 'NEW' [2]
>
> I'm wondering if anyone is actually working on it, and whether the
> solution will take care of my use case:
>
> I simply want to be able to import an existing filesytem tree (e.g.
> website files) that might have timestamps from a year ago such that when
> I do an svn checkout, I receive any *unmodified since import* files with
> the same mtime as the files that originally went into the project (in
> other words these files are still one year old).  I would want to
> correctly show that files *modified since import* show the checkout
> timestamp.  That way scripts, file managers or search tools etc. that
> are looking for 'new' files don't get the wrong impression about when
> these files were last modified.
>
> Maybe svn already does what I want and I've misread all the docs.
>
> [1] http://subversion.tigris.org/issues/show_bug.cgi?id=1256
> [2]
> http://subversion.tigris.org/issues/buglist.cgi?component=subversion&issue_status=NEW&issue_status=STARTED&issue_status=REOPENED&target_milestone=1.5&target_milestone=1.5-consider
>
> Thanks,
>
>   
This has come up on the dev list a few weeks ago, it seems that Erik has
plans to start implementing it:
http://svn.haxx.se/dev/archive-2006-09/0492.shtml
http://svn.haxx.se/dev/archive-2006-10/0193.shtml (thread is split up in
the archive)

Check if the proposal in the thread covers your use case, if it doesn't
add it as a reply to that thread.

Note 1: from reading the thread it doesn't look like this is a simple
feature, so don't expect this anytime soon.
Note 2: The fact that the target milestone of the issue is 1.5 doesn't
mean anyone is actively working on it and definitely doesn't mean it's
on the roadmap for 1.5! Look at the history of the ticket and you'll
notice that it has been moved since 1.2, waiting for a decent design
discussion.

hth,

Lieven.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Issue #1256 Preserving timestamps

Posted by Oliver Betz <li...@gmx.net>.
Greg Rundlett wrote:

[...]

> I simply want to be able to import an existing filesytem tree (e.g.
> website files) that might have timestamps from a year ago such that when
> I do an svn checkout, I receive any *unmodified since import* files with
> the same mtime as the files that originally went into the project (in
> other words these files are still one year old).

This can be done with the Perl script I posted 2006-10-27 in the 
thread "Re: File date/time".

>  I would want to
> correctly show that files *modified since import* show the checkout
> timestamp.  That way scripts, file managers or search tools etc. that

You can make the initial checkout with "use-commit-times" and later 
without. Not exactly what you described, but maybe what you want.

Oliver
-- 
Oliver Betz, Muenchen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org