Package com.aragost.javahg.merge

Examples of com.aragost.javahg.merge.BackoutConflictResolvingContext


     *
     * @return Merge context
     */
    public BackoutConflictResolvingContext execute() {
        try {
            BackoutConflictResolvingContext result = new BackoutConflictResolvingContext(this, merge);
            result.processStream(launchStream("-y", "--tool", "internal:fail"),
                    false);
            return result;
        } catch (IOException e) {
            throw new RuntimeIOException(e);
        }
View Full Code Here


        commitCmd.execute();

        BackoutCommand command = BackoutCommand.on(repo)
                .rev(backoutCs.getNode()).merge().message("BackoutMerge")
                .user("user");
        BackoutConflictResolvingContext ctx;

        ctx = command.execute();

        Assert.assertEquals(2, ctx.getMergeConflicts().size());
    }
View Full Code Here

        writeFile("b", "foo");
        commitCmd.execute();

        BackoutCommand command = BackoutCommand.on(repo)
                .rev(backoutCs.getNode()).message("BackoutMerge").user("user");
        BackoutConflictResolvingContext ctx;

        ctx = command.execute();

        Assert.assertEquals(2, ctx.getMergeConflicts().size());
    }
View Full Code Here

TOP

Related Classes of com.aragost.javahg.merge.BackoutConflictResolvingContext

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.