Skip to content
Browse files

honor config.target

  • Loading branch information...
1 parent 0b5a0ef commit 7607946e354b7ff0155c9e1a05666e591ac947af drewfish committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/scm-svn.js
View
4 lib/scm-svn.js
@@ -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);
@@ -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);

0 comments on commit 7607946

Please sign in to comment.
Something went wrong with that request. Please try again.