Skip to content

Commit

Permalink
smarter DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed Feb 12, 2024
1 parent 3b771a2 commit 2cf6aa9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/src/sync-repos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ export default async function() {
const monorepoDir = process.cwd()
const gitSubrepoBin = joinPaths(monorepoDir, 'scripts/bin/git-subrepo.sh') // TODO: DRY

// Try...
await execLive([gitSubrepoBin, 'fetch', '--all'])

console.log('TEST!!!...')
await execLive('git rev-list --reverse --ancestry-path --topo-order 290b11a7f965b5211ce9caf9df451fdf6fe1791e..HEAD')
// // Try...
// await execLive([gitSubrepoBin, 'fetch', '--all'])
//
// console.log('TEST!!!...')
// await execLive('git rev-list --reverse --ancestry-path --topo-order 290b11a7f965b5211ce9caf9df451fdf6fe1791e..HEAD')

// Push to subrepos. Will fail if our copies are not up-to-date
await execLive([gitSubrepoBin, 'push', '--all', '--debug'])
await execLive([gitSubrepoBin, 'push', '--all', '--DEBUG'])

// Push the git-subrepo meta-file updates back to our remote
await execLive(['git', 'push'])
Expand Down

0 comments on commit 2cf6aa9

Please sign in to comment.