Package org.tmatesoft.hg.repo.ext

Examples of org.tmatesoft.hg.repo.ext.MqManager.refresh()


  public void testMqManager() throws Exception {
    HgRepository repo = Configuration.get().find("test-mq");
    HgExtensionsManager extManager = repo.getExtensions();
    assertTrue(extManager.isEnabled(HgExt.MQ));
    MqManager mqManager = extManager.getMQ();
    mqManager.refresh();
    OutputParser.Stub output = new OutputParser.Stub();
    ExecHelper eh = new ExecHelper(output, repo.getWorkingDir());
    // `hg qseries`
    eh.run("hg", "qseries");
    LinkedList<PatchRecord> allKnownPatches = new LinkedList<PatchRecord>(mqManager.getAllKnownPatches());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.