[Top][All Lists]

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

Re: Commit across multiple directories causes this behavior

From: Larry Jones
Subject: Re: Commit across multiple directories causes this behavior
Date: Tue, 20 Apr 2004 16:54:22 -0400 (EDT)

Mala T writes:
> MIME-Version: 1.0

Please do not send MIME and/or HTML encrypted messages to the list.
Plain text only, PLEASE!

> I have a script that generates a task number for each commit and adds
> it to the log message. This is for release and deployment purposes.
> I see the following behavior: When someone commits files in multiple
> directories with the same commit command, then it is generating one task
> number for each directory.

That is the expected behavior -- the commit support files all take a
directory specification and thus are invoked for each directory involved
in a commit.  You might want to take a look at the comit_prep and
log_accum scripts in the contrib directory for some ideas about how to
do things just once per commit instead of once per directory.

-Larry Jones

It's either spectacular, unbelievable success, or crushing, hopeless
defeat!  There is no middle ground! -- Calvin

reply via email to

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