[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-commits-diffs] Revision 9052223ad4a3100afa76019de206d535900b97
From: |
monotone |
Subject: |
[Monotone-commits-diffs] Revision 9052223ad4a3100afa76019de206d535900b9761 |
Date: |
Wed, 16 Jan 2008 23:05:29 +0100 |
-----------------------------------------------------------------
Revision: 9052223ad4a3100afa76019de206d535900b9761
Ancestor: 874a0018219cd7d9d59e35bf2aae4954fd79a0d6
Author: address@hidden
Date: 2008-01-16T20:58:41
Branch: net.venge.monotone.experiment.encapsulation
Modified files:
cmd_netsync.cc enumerator.cc enumerator.hh netcmd.hh
netsync.cc
ChangeLog:
Getting rid of ambient project_t (2/n)
* enumerator.cc (revision_enumerator): Delete the unused constructor
that takes initial and terminal sets. Fold load_graphs() into the
other constructor. Add a project_t argument to that constructor;
save it in the object. Use project member variable instead of
db.get_project() in get_revision_certs().
* enumerator.hh (revision_enumerator): Update to match. Make all
member variables and most member functions private.
* netsync.cc (session): Add a project_t field, and add that to the
constructor arguments. Use that field instead of db.get_project().
Update construction of rev_enumerator.
(call_server, handle_new_connection, serve_connections)
(run_netsync_protocol): Take a project_t argument and pass it down
ultimately to the session constructor.
* netcmd.hh: Update prototype of run_netsync_protocol.
* cmd_netsync.cc: Update all calls to run_netsync_protocol.
txt9psDvL6oR0.txt
Description: Diff [874a0018219cd7d9d59e35bf2aae4954fd79a0d6] -> [9052223ad4a3100afa76019de206d535900b9761]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-commits-diffs] Revision 9052223ad4a3100afa76019de206d535900b9761,
monotone <=