Comparing version 0.2.2 to 0.2.3
@@ -45,3 +45,3 @@ var exec = require("child_process").exec; | ||
}); | ||
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) { | ||
@@ -48,0 +48,0 @@ error("mercurial", "fetching log", stderr, cb); |
@@ -45,6 +45,6 @@ var ALL = {}; | ||
vizion.revertTo = function(argv, cb) { | ||
var rev = (argv.revision) ? argv.revision : false; | ||
var revision = (argv.revision) ? argv.revision : false; | ||
var _folder = (argv.folder != undefined) ? argv.folder : '.'; | ||
if (!rev) | ||
if (!revision) | ||
return cb({msg: 'Cannot revert to an invalid commit revision', path: _folder}); | ||
@@ -54,3 +54,3 @@ | ||
if (ALL[type]) | ||
return ALL[type].revert({folder: folder, revision: rev}, cb); | ||
return ALL[type].revert({folder: folder, revision: revision}, cb); | ||
else | ||
@@ -57,0 +57,0 @@ return cb('Error vizion::analyze() for given folder: '+folder); |
{ | ||
"name": "vizion", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=0.10" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60114