info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Importing and preserving date/time stamp


From: Ed J
Subject: Importing and preserving date/time stamp
Date: Wed, 1 Jun 2005 10:50:34 -0700

I need to find a way to preserve timestamps of files added to a repository.
I'm using TortoiseCVS on a Windows machine, connected to a Linux CVS server
using the :ext: protocol.

When I use TortoiseCVS to "Add Contents", "Commit" and later "Checkout"
elsewhere, the checked out files have dates that represent the time the
files were added to the repository, not the original timestamp of the file.
I need to preserve timestamps of files so that a checkout will show me the
date of the original file prior to its addition to the repository.

>From what I've read, I think I could use a "cvs import -d" command line to
preserve the dates, but I don't know how to accomplish this with
TortoiseCVS.

I have root access to the CVS server, so I could do an import on the server
itself.  Unfortunately, the project contains Windows-based text files, so
they have the wrong newline convention.  If I simply FTP the project files
to the CVS server and import from there, I think it would screw up the
newlines.

How do I preserve dates/time?  Any advice would be appreciated.

Ed Jubenville




reply via email to

[Prev in Thread] Current Thread [Next in Thread]