[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] [newbie] Is it possible to put in a source file the
From: |
Tom Lord |
Subject: |
Re: [Gnu-arch-users] [newbie] Is it possible to put in a source file the date of last tree commit? |
Date: |
Tue, 3 Feb 2004 15:00:57 -0800 (PST) |
> From: Robert Collins <address@hidden>
> > I would like, when doing a commit, to automatically put the commit date
> > and time in a source file of my project. I would like something like
> > $Date$ tag of CVS, but for the commit of the whole tree and not for the
> > file containing the $Date$ tag in CVS. In other words, the file
> > containing the hypothetical $arch-date$ tag would be modified and
> > updated at each commit.
> >
> > Is it possible to do that with GNU Arch? If yes, how?
> No. The design to do so has been specced, but so far no one has
> implemented it. It's ~ a day for a new-to-the-code programmer, 2-4 hours
> for someone that knows it. Its (as cduffy says) arguably bad though,
> because you'll introduce tree wide deltas to every commit, without any
> gain:
Um... and with actual (severe) lossage. People sometimes actually do
merging, strangely enough.
One could make in-file keyword-expansions tree-local: but with rather
more work than you suggest and at signficant performance costs.
-t
- Re: [Gnu-arch-users] [newbie] Is it possible to put in a source file the date of last tree commit?, (continued)
- Re: [Gnu-arch-users] [newbie] Is it possible to put in a source file the date of last tree commit?, Brian May, 2004/02/03
- Re: [Gnu-arch-users] [newbie] Is it possible to put in a source file the date of last tree commit?, Charles Duffy, 2004/02/03
- Re: [Gnu-arch-users] [newbie] Is it possible to put in a source file the date of last tree commit?, Brian May, 2004/02/03
- Re: [Gnu-arch-users] [newbie] Is it possible to put in a source file the date of last tree commit?, Charles Duffy, 2004/02/03
- Re: [Gnu-arch-users] [newbie] Is it possible to put in a source file the date of last tree commit?, Jan Hudec, 2004/02/04
Re: [Gnu-arch-users] [newbie] Is it possible to put in a source file the date of last tree commit?, Robert Collins, 2004/02/03
Re: [Gnu-arch-users] [newbie] Is it possible to put in a source file the date of last tree commit?,
Tom Lord <=
Re: [Gnu-arch-users] [newbie] Is it possible to put in a source file the date of last tree commit?, Jan Hudec, 2004/02/04