Skip to content

Commit

Permalink
honor config.target
Browse files Browse the repository at this point in the history
  • Loading branch information
drewfish committed May 13, 2012
1 parent 0b5a0ef commit 7607946
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/scm-svn.js
Expand Up @@ -46,7 +46,7 @@ SCMSvn.prototype.init = function(target, cb) {

SCMSvn.prototype.getCurrentChangeID = function(cb) {
var me = this;
libprocess.exec('svn info', function(error, stdout, stderr) {
libprocess.exec('svn info ' + me.target, function(error, stdout, stderr) {
var info;
if (error) {
cb(error);
Expand All @@ -63,7 +63,7 @@ SCMSvn.prototype.listChanges = function(fromChange, toChange, cb) {
cmd, log;
fromChange = parseInt(fromChange, 10);
// reverse order, so that changelog "reads up"
cmd = 'svn log -r ' + toChange + ':' + (fromChange + 1);
cmd = 'svn log -r ' + toChange + ':' + (fromChange + 1) + ' ' + me.target;
libprocess.exec(cmd, function(error, stdout, stderr) {
if (error) {
cb(error);
Expand Down

0 comments on commit 7607946

Please sign in to comment.