Class HgUtils.HgRevNoConsumer

  • All Implemented Interfaces:
    org.codehaus.plexus.util.cli.StreamConsumer
    Enclosing class:
    HgUtils

    private static class HgUtils.HgRevNoConsumer
    extends HgConsumer
    Get current (working) revision.

    Resolve revision to the last integer found in the command output.

    • Field Detail

      • revNo

        private int revNo
    • Constructor Detail

      • HgRevNoConsumer

        HgRevNoConsumer​(ScmLogger logger)
    • Method Detail

      • getCurrentRevisionNumber

        int getCurrentRevisionNumber()