Package org.tmatesoft.hg.internal

Examples of org.tmatesoft.hg.internal.RevlogDelegate


    final RevisionInspector revisionInsp = Adaptable.Factory.getAdapter(inspector, RevisionInspector.class, null);
    final ParentInspector parentInsp = Adaptable.Factory.getAdapter(inspector, ParentInspector.class, null);
    final LinkRevisionInspector linkRevInspector = Adaptable.Factory.getAdapter(inspector, LinkRevisionInspector.class, null);
   
    // instantiate implementors in reverse order
    RevlogDelegate head = parentInsp == null ? null : new ParentDelegate(parentInsp, null, _start, end);
    if (revisionInsp != null) {
      head = new RevisionDelegate(revisionInsp, head);
    }
    if (linkRevInspector != null) {
      head = new LinkRevDelegate(linkRevInspector, head);
    }
    // first to get notified is created last

    assert head != null; // we know all subclasses of Revlog.Inspector
    head.walk(getRepo(), content, _start, end);
  }
View Full Code Here

TOP

Related Classes of org.tmatesoft.hg.internal.RevlogDelegate

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.