Package org.tmatesoft.hg.internal

Examples of org.tmatesoft.hg.internal.ChangesetParser


      private ChangesetParser csetBuilder;

      public void changelogStart() {
        emptyChangelog = true;
        revisionIndex = 0;
        csetBuilder = new ChangesetParser(hgRepo, new HgChangelog.RawCsetFactory(true));
      }

      public void changelogEnd() {
        if (emptyChangelog) {
          throw new IllegalStateException("No changelog group in the bundle"); // XXX perhaps, just be silent and/or log?
View Full Code Here


    private final Lifecycle inspectorLifecycle;

    public RawCsetParser(SessionContext.Source sessionContext, HgChangelog.Inspector delegate) {
      assert delegate != null;
      inspector = delegate;
      csetBuilder = new ChangesetParser(sessionContext, new RawCsetFactory(true));
      inspectorLifecycle = Adaptable.Factory.getAdapter(delegate, Lifecycle.class, null);
      if (inspectorLifecycle == null) {
        ProgressSupport ph = Adaptable.Factory.getAdapter(delegate, ProgressSupport.class, null);
        CancelSupport cs = Adaptable.Factory.getAdapter(delegate, CancelSupport.class, null);
        if (cs != null || ph != null) {
View Full Code Here

TOP

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

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.