[Top][All Lists]

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

[Gnu-arch-users] Making tla commit update the revlib

From: Cameron Patrick
Subject: [Gnu-arch-users] Making tla commit update the revlib
Date: Fri, 24 Sep 2004 02:01:23 +0800
User-agent: Mutt/1.5.6+20040803i

At the moment, when you commit a revision, it is uploaded to the
server and then lost forever.  Then, next time you commit or run tla
changes or whatever, it needs to be fetched from the archive, which can
can take a while if the archive lives on a remote server.  Ideally,
the committed revision would be added to the revision library as part
of the commit process.

I looked into what would be needed to implement this, but caught on a
snag: there seems to be just one function, arch_library_add() that's
responsible for adding a revision to a library.  It takes care of
fetching revisions, building and patching ancestors and other stuff

What I'd like to do is to split up arch_library_add() into a bunch of
smaller functions.  It's close to 2am in the morning here and I'm not
thinking clearly enough to come up with ideas of what the smaller
functions should be.  It is also a large enough change (to a programme
that I'm not at all familiar with) that I want to seek advice from the
people on this list on the best way to proceed.


reply via email to

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