info-cvs
[Top][All Lists]
Advanced

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

Re: Forcing Date/Time/Author


From: Mark D. Baushke
Subject: Re: Forcing Date/Time/Author
Date: Thu, 11 Aug 2005 09:44:27 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aaron Jackson <address@hidden> writes:

> Does anyone know if there is any way when you do
> a cvs import or commit to force the
> date/time/author to be something determined when
> you enter the command?

'cvs -H import' should mention the '-d' option for
date/time.

It isn't normally recommended as it will reduce
your ability to do time-based checkouts on the
basis of the repository contents.

There is no way to override the author of the
revision using a 'cvs import' command.

> Example: I want to commit a revision of
> something from a different system but I want to
> preserve that file's creation date and author in
> the cvs repository's history.

You might be able to bootstrap something
temporarily by creating RCS files with the
information you want as the ci command allows you
to specify the date using the -d[date] switch and
- -wlogin for the author.

However, this would not be something you should
try to do with an active CVS repository, but might
be using if converting from some other SCM system
into CVS for the first time.

        Good luck,
        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFC+4BqCg7APGsDnFERArLFAKChFlcshQIs2z6KCErTDDsO/x4RyQCcDcfR
n50tOslVN+PH/AvoPJl04pM=
=iqJN
-----END PGP SIGNATURE-----




reply via email to

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