[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] cscvs cache -u while others are commiting large cha
Re: [Gnu-arch-users] cscvs cache -u while others are commiting large changesets in CVS
Mon, 03 May 2004 10:15:09 -0400
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030425
Charles Duffy wrote:
On Mon, 2004-05-03 at 08:56, Milan Cvetkovic wrote:
How does cscvs handle this scenario:
"cscvs cache -u" is invoked while another developer is commiting a
substatntial number of files with the same comment. Normally cscvs would
clasify all these changed files as a single transaction, but at the time
of cache update, not the whole "changeset" is checked in CVS yet.
The way the logic was initially designed, it will create a new changeset
for those files which are checked in so far -- and then later append to
that changeset when another "cache -u" is performed.
I am under the impression that this is the case. I am running a cron job
which runs "cscvs cache -u"; cscvs totla ...". On couple of ocassions I
noticed that tla and CVS are not in sync. Whn I dig a little bit deaper,
I figured that tla changeset has a little bit less files changed than
corresponding CSCVS changeset - I can only explain this if CSCVS
changeset was updated later with the full set.
Is there a way to tell "cscvs totla" not to apply the CSCVS changesets
later than a specified time?
However, this functionality hasn't been tested in a while. Writing a
test case (since Robert Collins has added a framework for them) to
validate this functionality would be greatly appreciated.