You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Marko Käning <mk...@mch.osram.de> on 2005/07/26 11:43:56 UTC

Importing and adding files with actual time stamp?

Hi,

is it possible to force subversion to use a files time stamp during import 
and add? I would like to preserve the date and time of the file somehow. 
This had been a problem in CVS, but perhaps it can be done in subversion?

If so, is there also a way to check out a file recovering its original 
time stamp?

Marko

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

Re: Importing and adding files with actual time stamp?

Posted by Oliver Betz <li...@gmx.net>.
Marko Käning <mk...@mch.osram.de> wrote:

> > (BTF: I wouldn't use UTF8 in mails unless unavoidable)
> sorry, that's the default of my new SuSE 9.3...

my mail client doesn't understand UTF-8, and there might be many 
others. Maybe you can write "oe"?

> > Why do you need the original timestamps?
> I want to *abuse* subversion for more than only source code tracking. I 
> actually used CVS since a couple of years to keep track of all my files 
> (source code, binary data, text files, whatever). Since I also save 
> measurement data in my repository (and time stamps do matter for them) I'd 
> like to have this feature.

well, in this case, using commit times and "initially one commit per 
file" doesn't help.

Oliver

P.S.: sorry if my forwarded mail arrived crippled in the list.
-- 
Oliver Betz, Muenchen


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


Re: Importing and adding files with actual time stamp?

Posted by Marko Käning <mk...@mch.osram.de>.
On Tue, 26 Jul 2005, Oliver Betz wrote:

> (BTF: I wouldn't use UTF8 in mails unless unavoidable)
sorry, that's the default of my new SuSE 9.3...

> Why do you need the original timestamps?
I want to *abuse* subversion for more than only source code tracking. I 
actually used CVS since a couple of years to keep track of all my files 
(source code, binary data, text files, whatever). Since I also save 
measurement data in my repository (and time stamps do matter for them) I'd 
like to have this feature.

Marko

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

Re: Importing and adding files with actual time stamp?

Posted by Marko Kaening <mk...@mch.osram.de>.
On Thu, 8 Sep 2005, Ph. Marek wrote:

> The last discussion I know of (started 
> http://svn.haxx.se/dev/archive-2005-08/0602.shtml) just ended without a 
> yes/no answer.
That post describes exactly also my dilemma. SVN is quite nice, but I 
would be much happier if timestamps would be kept by default!

I hope that this problem really gets to the developers. Would be great to 
have that feature! 

Marko


(Just to be fair: CVS doesn't keep the timestamps either. 
 But: Though that's no excuse not to fix this design flaw.)

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

Re: Importing and adding files with actual time stamp?

Posted by "Ph. Marek" <ph...@bmlv.gv.at>.
On Thursday 08 September 2005 14:06, Marko Kaening wrote:
> Is this patch being planned to become incorporated into subversion by
> default at some time?
>
> Marko
The last discussion I know of (started 
http://svn.haxx.se/dev/archive-2005-08/0602.shtml) just ended without a 
yes/no answer.


Regards,

Phil

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

Re: Importing and adding files with actual time stamp?

Posted by Marko Kaening <mk...@mch.osram.de>.
On Tue, 26 Jul 2005, Ph. Marek wrote:

> On Tuesday 26 July 2005 13:43, Marko Käning wrote:
> > is it possible to force subversion to use a files time stamp during import
> > and add? I would like to preserve the date and time of the file somehow.
> > This had been a problem in CVS, but perhaps it can be done in subversion?
> >
> > If so, is there also a way to check out a file recovering its original
> > time stamp?
> You need the meta-data patches/branch for that.
> 
> See http://svn.collab.net/viewcvs/svn/branches/meta-data-versioning/ for
> the branch; see 
> http://marc.theaimsgroup.com/?l=subversion-dev&m=111459962412224&w=2 for
> patches against 1.2.0rc2 (which apply with a small fuzz also against the
> released version).

Is this patch being planned to become incorporated into subversion by 
default at some time?

Marko

Re: Importing and adding files with actual time stamp?

Posted by Marko Käning <mk...@mch.osram.de>.
On Tue, 26 Jul 2005, Ph. Marek wrote:

> You need the meta-data patches/branch for that.

I see. Is this patch going to be incorporated in subversion in the nearer 
future?

Marko

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

Re: Importing and adding files with actual time stamp?

Posted by "Ph. Marek" <ph...@bmlv.gv.at>.
On Tuesday 26 July 2005 13:43, Marko Käning wrote:
> Hi,
>
> is it possible to force subversion to use a files time stamp during import
> and add? I would like to preserve the date and time of the file somehow.
> This had been a problem in CVS, but perhaps it can be done in subversion?
>
> If so, is there also a way to check out a file recovering its original
> time stamp?
You need the meta-data patches/branch for that.

See http://svn.collab.net/viewcvs/svn/branches/meta-data-versioning/ for
the branch; see 
http://marc.theaimsgroup.com/?l=subversion-dev&m=111459962412224&w=2 for
patches against 1.2.0rc2 (which apply with a small fuzz also against the
released version).


Regards,

Phil

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