Skip to content
Snippets Groups Projects
  • Bryan O'Sullivan's avatar
    91f3ac205816
    revlog: ancestors(*revs) becomes ancestors(revs) (API) · 91f3ac205816
    Bryan O'Sullivan authored
    Accepting a variable number of arguments as the old API did is
    deeply ugly, particularly as it means the API can't be extended
    with new arguments.  Partly as a result, we have at least three
    different implementations of the same ancestors algorithm (!?).
    
    Most callers were forced to call ancestors(*somelist), adding to
    both inefficiency and ugliness.
    91f3ac205816
    History
    revlog: ancestors(*revs) becomes ancestors(revs) (API)
    Bryan O'Sullivan authored
    Accepting a variable number of arguments as the old API did is
    deeply ugly, particularly as it means the API can't be extended
    with new arguments.  Partly as a result, we have at least three
    different implementations of the same ancestors algorithm (!?).
    
    Most callers were forced to call ancestors(*somelist), adding to
    both inefficiency and ugliness.