util.mercurial

Small utility for figuring out the revision hash and repository id.

local hg = require "util.mercurial";
 
local commit_id, repository_id = hg.check_id("/usr/src/prosody");
 
print("Repository is on revision "..commit_id);
 
doc/developers/util/mercurial.txt · Last modified: 2015/12/22 18:09 by Kim Alvefur