gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [Gnu-arch-users] --date


From: Andrew Suffield
Subject: Re: [Gnu-arch-users] --date
Date: Thu, 18 Dec 2003 07:26:24 +0000
User-agent: Mutt/1.5.4i

On Wed, Dec 17, 2003 at 11:54:35PM -0600, Charles Duffy wrote:
> On Wed, 2003-12-17 at 23:34, Dustin Sallings wrote:
> >     There once (before my time) was a patch that added a --date flag to 
> > specify the commit date of a patch.  Does anyone know where this patch 
> > used to live?
> > 
> >     I'm using cscvs to import code from many years ago and I'd like to 
> > maintain an accurate chronology.
> 
> One alternative approach, btw, which just occurred to me:
> 
> cscvs could support the use of an LD_PRELOAD such as libfaketime to make
> the system time appear to tla to be that at which a commit is supposed
> to occur.


> This still leaves us without a good way of changing my-id for just one
> invocation (without any chance of leaving it in a bad state after an
> unexpected exit) -- but perhaps the same approach could be applied there
> as well.

You can play this game with a lot of syscalls, but experience (ancient
history of libtricks and fakeroot) says that you stay away from
open(); that's the point at which it starts becoming fiendishly
difficult to get right.

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ |
 `. `'                          |
   `-             -><-          |

Attachment: signature.asc
Description: Digital signature


reply via email to

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