Package org.hivedb.teamcity.plugin.commands

Examples of org.hivedb.teamcity.plugin.commands.LogCommand


      new CloneCommand(configuration).run(false);
    }
    else {
      new FetchCommand(configuration).run();
    }
    LogCommand getLog = new LogCommand(configuration);
    Commit head = getLog.head();
    if (head == null) {
      log.warn("No current version!");
      return null;
    }
    log.warn("Version: " + head);
View Full Code Here


    VersionNumber to = new VersionNumber(toVersion);
    if (from.equals(to)) {
      return modifications;
    }
    GitConfiguration configuration = GitConfiguration.createServerConfiguration(root);
    LogCommand logCommand = new LogCommand(configuration);
    for (Commit commit : logCommand.between(from, to)) {
      log.info(commit);
      List<VcsChange> vcsChanged = new ArrayList<VcsChange>();
      for (NameAndStatus change : commit.getChanges()) {
        log.info(change);
        vcsChanged.add(createChange(change, fromVersion, toVersion));
View Full Code Here

TOP

Related Classes of org.hivedb.teamcity.plugin.commands.LogCommand

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.