2017 © Pedro Peláez
 

library mercurial-manager

PHP class to get info about mercurial (hg) repository

image

chub/mercurial-manager

PHP class to get info about mercurial (hg) repository

  • Tuesday, April 23, 2013
  • by Chub
  • Repository
  • 2 Watchers
  • 4 Stars
  • 723 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

MercurialManager

PHP class to get info about mercurial (hg) repository., (*1)

Installation

Add "chub/mercurial-manager": "dev-master" to require section of your composer.json and run php composer.phar update, (*2)

Usage

``` php <?php require_once 'vendor/autoload.php'; use ChubProduction\MercurialManager\MercurialManager;, (*3)

// Current directory $m = new MercurialManager(); // Tip revision node $node = $m->getNode();, (*4)

echo $node->getDate()->format('d.m.Y H:i:s'), "\n"; echo $node->getAuthor(); // Get modified files var_dump($node->getFiles('M')); ```, (*5)

The Versions

23/04 2013

dev-master

9999999-dev https://github.com/ChubV/MercurialManager

PHP class to get info about mercurial (hg) repository

  Sources   Download

The Requires

 

hg repository mercurial php