Examples of rev()


Examples of com.aragost.javahg.internals.ExtraLogCommand.rev()

     * @return Mercurial's extra dictionary
     */
    public synchronized Extra getExtra() {
        if (this.extra == null) {
            ExtraLogCommand cmd = new ExtraLogCommand(getRepository());
            cmd.rev(getNode());
            this.extra = new Extra(cmd.execute());
        }
        return this.extra;
    }

View Full Code Here

Examples of com.aragost.javahg.internals.GenericLogCommand.rev()

     * @param revs
     * @return Map mapping a {@link Changeset} to a {@link Phase}
     */
    public Map<Changeset, Phase> phases(String... revs) {
        GenericLogCommand cmd = new GenericLogCommand(this).template("{node} {phase}\\0");
        cmd.rev(revs);
        HgInputStream stream = cmd.stream();
        Map<Changeset, Phase> result = Maps.newHashMap();
        try {
            while (!stream.isEof()) {
                String node = stream.textUpTo(' ');
View Full Code Here

Examples of com.aragost.javahg.internals.GenericLogCommand.rev()

    /**
     * Return tags that is pointing the this changeset
     */
    public List<String> tags() {
        GenericLogCommand cmd = new GenericLogCommand(getRepository()).style("tags");
        cmd.rev(getNode());
        HgInputStream stream = cmd.stream();
        List<String> result = Lists.newArrayList();
        try {
            while (!stream.isEof()) {
                String tag = stream.textUpTo(0);
View Full Code Here

Examples of com.aragost.javahg.internals.GenericLogCommand.rev()

     * @return Mercurial's extra dictionary
     */
    public synchronized Extra getExtra() {
        if (this.extra == null) {
            GenericLogCommand cmd = new GenericLogCommand(getRepository()).style("extras");
            cmd.rev(getNode());
            this.extra = new Extra(cmd.stream());
        }
        return this.extra;
    }

View Full Code Here

Examples of com.aragost.javahg.internals.GenericLogCommand.rev()

     * @param revs
     * @return Map mapping a {@link Changeset} to a {@link Phase}
     */
    public Map<Changeset, Phase> phases(String... revs) {
        GenericLogCommand cmd = new GenericLogCommand(this).template("{node} {phase}\\0");
        cmd.rev(revs);
        HgInputStream stream = cmd.stream();
        Map<Changeset, Phase> result = Maps.newHashMap();
        try {
            while (!stream.isEof()) {
                String node = stream.textUpTo(' ');
View Full Code Here

Examples of com.aragost.javahg.internals.GenericLogCommand.rev()

    /**
     * Return tags that is pointing the this changeset
     */
    public List<String> tags() {
        GenericLogCommand cmd = new GenericLogCommand(getRepository()).style("tags");
        cmd.rev(getNode());
        HgInputStream stream = cmd.stream();
        List<String> result = Lists.newArrayList();
        try {
            while (!stream.isEof()) {
                String tag = stream.textUpTo(0);
View Full Code Here

Examples of com.aragost.javahg.internals.GenericLogCommand.rev()

     * @return Mercurial's extra dictionary
     */
    public synchronized Extra getExtra() {
        if (this.extra == null) {
            GenericLogCommand cmd = new GenericLogCommand(getRepository()).style("extras");
            cmd.rev(getNode());
            this.extra = new Extra(cmd.stream());
        }
        return this.extra;
    }

View Full Code Here

Examples of com.aragost.javahg.internals.GenericLogCommand.rev()

     * @param revs
     * @return Map mapping a {@link Changeset} to a {@link Phase}
     */
    public Map<Changeset, Phase> phases(String... revs) {
        GenericLogCommand cmd = new GenericLogCommand(this).template("{node} {phase}\\0");
        cmd.rev(revs);
        HgInputStream stream = cmd.stream();
        Map<Changeset, Phase> result = Maps.newHashMap();
        try {
            while (!stream.isEof()) {
              // $ hg log --debug --template "{node} {phase}" --rev 5b80e11a7c32121b5fd926b06056bb773eff050f
View Full Code Here

Examples of com.aragost.javahg.internals.GenericLogCommand.rev()

    /**
     * Return tags that is pointing the this changeset
     */
    public List<String> tags() {
        GenericLogCommand cmd = new GenericLogCommand(getRepository()).style("tags");
        cmd.rev(getNode());
        HgInputStream stream = cmd.stream();
        List<String> result = Lists.newArrayList();
        try {
            while (!stream.isEof()) {
                String tag = stream.textUpTo(0);
View Full Code Here

Examples of com.aragost.javahg.internals.GenericLogCommand.rev()

     * @return Mercurial's extra dictionary
     */
    public synchronized Extra getExtra() {
        if (this.extra == null) {
            GenericLogCommand cmd = new GenericLogCommand(getRepository()).style("extras");
            cmd.rev(getNode());
            this.extra = new Extra(cmd.stream());
        }
        return this.extra;
    }

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.