Skip to content

Commit

Permalink
fix(svn): Fix repo-update with svn repos
Browse files Browse the repository at this point in the history
  • Loading branch information
dpogue committed Nov 1, 2024
1 parent 135066d commit aa2de5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/remote-update.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module.exports = function * (_argv) {
}

const remote = argv.remote;
const repos = flagutil.computeReposFromFlag(argv.r, true);
const repos = flagutil.computeReposFromFlag(argv.r, { includeSvn: true });

// ensure that any missing repos are cloned
// yield require('./repo-clone').cloneRepos(repos, true, depth);
Expand Down
2 changes: 1 addition & 1 deletion src/repo-update.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ module.exports = function * (_argv) {
const depth = argv.depth ? argv.depth : null;

const branches = Array.isArray(argv.b) ? argv.b : [argv.b];
const repos = flagutil.computeReposFromFlag(argv.r, true);
const repos = flagutil.computeReposFromFlag(argv.r, { includeSvn: true });
apputil.prefixLength = Math.max.apply(null,
[apputil.prefixLength].concat(
repos.map(function (r) { return r.repoName.length + 2; }))
Expand Down

0 comments on commit aa2de5d

Please sign in to comment.