class documentation

class ObjectStoreGraphWalker(object):

View In Hierarchy

Graph walker that finds what commits are missing from an object store.

Method __init__ Create a new instance.
Method ack Ack that a revision and its ancestors are present in the source.
Method next Iterate over ancestors of heads in the target.
Instance Variable get_parents Function to retrieve parents in the local repo
Instance Variable heads Revisions without descendants in the local repo
Instance Variable parents Undocumented
Instance Variable shallow Undocumented
def __init__(self, local_heads, get_parents, shallow=None):

Create a new instance.

Parameters
local_headsHeads to start search with
get_parentsFunction for finding the parents of a SHA1.
shallowUndocumented
def ack(self, sha):

Ack that a revision and its ancestors are present in the source.

def next(self):

Iterate over ancestors of heads in the target.

get_parents =

Function to retrieve parents in the local repo

heads =

Revisions without descendants in the local repo

parents: dict =

Undocumented

shallow =

Undocumented