Skip to content

Commit

Permalink
Merge pull request #5 from josser/master
Browse files Browse the repository at this point in the history
Added explicit template for hg log
  • Loading branch information
jshkurti committed Dec 19, 2014
2 parents a0f6528 + 5fff1ee commit aefcc36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/hg.js
Expand Up @@ -42,7 +42,7 @@ module.exports.parse = function parseHg(folder, cb) {
checkReturn(data, cb);
}
});
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 hg log --limit 1", function(err, stdout, stderr) {
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 hg log --limit 1 --template 'changeset: {rev}:{node|short}\nsummary: {desc}'", function(err, stdout, stderr) {
if(err !== null) {
error("mercurial", "fetching log", stderr, cb);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "vizion",
"version": "0.2.2",
"version": "0.2.3",
"engines": {
"node": ">=0.10"
},
Expand Down

0 comments on commit aefcc36

Please sign in to comment.