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

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

Re: [Gnu-arch-users] hook questions


From: Robert Collins
Subject: Re: [Gnu-arch-users] hook questions
Date: Thu, 15 Jan 2004 10:25:58 +1100

On Thu, 2004-01-15 at 06:24, Dustin Sallings wrote:

>       This came from a discussion I was having with someone I'm trying to 
> get to convert to arch.  Basically, he's used to RCS tags to provide 
> version information in scripts and such, and I'm trying to point out 
> that files don't get versioned, entire projects do and that's the more 
> important component.  However, getting a pointer to the source of the 
> code into app builds or individual scripts is definitely useful.  A 
> hook that could, in the above example, replace

A lot more is needed to do that.

You need to 
*) lock the rev dir
*) call the hook with the new rev #
*) gen the changeset
*) call the precommit check hook
*) either cleanup cleanly, or
*) do the commit.

This is very different to tday, where the lock is deferred as late as
possible.

Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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