[Top][All Lists]

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

Re: Question about convenient and automated committing

From: Hans Schwaebli
Subject: Re: Question about convenient and automated committing
Date: Thu, 16 Aug 2007 05:40:37 -0700 (PDT)

It would be more helpful to me if you tell me how to do it. Just believe me that it makes sense in that case.

Larry Jones <address@hidden> wrote:
Hans Schwaebli writes:
> Am I misunderstanding you or are you misunderstanding me?

Both, I think.

> There is a directory with subdirectories and files which has been
> previously checked in. Now imagine some random changes afterwards in
> this directory like:
> - subdirectories have been added
> - some subdirectories have been deleted, which have been previously checked in
> - some files have been modified
> - some files have been added
> - some files have been deleted, which have been previously checked in
> Assume I DON'T know what has been changed in this directory, or if
> anything at all has been changed. My skript runs at night, automatically
> and unattended. It is stupid. It does not know what has been changed.
> The requirement is that this nightly script commits every change in
> this directory, unattended, automatically, by force if there are any
> conflicts. Thats the requirement.

You can almost do that with CVS, but it would be a very bad idea. What
makes you think that all the new files should be added? Maybe they're
just scratch files, not important source code. How do you know that the
modified files are ready to be checked in? Maybe they're not finished
yet. Maybe they don't even compile! What if two people make
conflicting changes to a file -- which one is right?

Some intelligent entity needs to make those decisions, not a "stupid"

-Larry Jones

I don't need to improve! Everyone ELSE does! -- Calvin

Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.
reply via email to

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