Package org.tmatesoft.hg.repo.ext

Examples of org.tmatesoft.hg.repo.ext.Rebase


    HgExtensionsManager em = hgRepo.getExtensions();
    if (!em.isEnabled(HgExt.Rebase)) {
      System.out.println("Rebase is not enabled");
      return;
    }
    Rebase re = em.getRebaseExtension();
    if (!re.refresh().isRebaseInProgress()) {
      System.out.println("No rebase is in progress");
      return;
    }
    System.out.printf("%s %s %s\n", re.getWorkingDirParent().shortNotation(), re.getTarget().shortNotation(), re.getExternalParent().shortNotation());
    System.out.printf("collapse:%b, keep:%b, keepbranches:%b\n", re.isCollapse(), re.isKeepOriginalRevisions(), re.isKeepBranchNames());
  }
View Full Code Here

TOP

Related Classes of org.tmatesoft.hg.repo.ext.Rebase

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.