graphs and the smart server

Martin Pool mbp at sourcefrog.net
Mon May 7 08:57:25 BST 2007


On 5/7/07, Robert Collins <robertc at robertcollins.net> wrote:
> I propose that we add a __iter__ method to Graph which will allow Graph
> to be used as the input to various repository methods; then with an
> InterRepository specialisation for to/from RemoteRepository, we can
> transparently kick in this remote negotiation logic.

OK - what would that iterate?  Can you give some pseudocode for how it
would be used?

> Current prototype/demo code is in two parts:
> remote graph: sftp://bazaar.launchpad.net/~bzr/bzr/remotegraph
> 'netsim' plugin: http://bazaar.launchpad.net/~lifeless/+junk/bzr-netsim

That sounds interesting - when posting things like this you might get
better reviews/conversations if you explained more about what the
components are.  It looks like netsim measures how many roundtrips and
bytes would be required to send the graph through this mechanism?

-- 
Martin



More information about the bazaar mailing list