Skip to content

Commit

Permalink
remove some debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed Feb 12, 2024
1 parent 975e462 commit 872a758
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions scripts/src/sync-repos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,6 @@ 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!!!0...')
await execLive('git -v')

console.log('TEST!!!1...')
await execLive('git status')

console.log('TEST!!!2...')
await execLive('git show --stat 9dcb198e6428b5b1b8a98afee319e95e09c328b1')

console.log('TEST!!!3...')
await execLive('git show --stat HEAD')

console.log('TEST!!!4...')
await execLive('git diff 9dcb198e6428b5b1b8a98afee319e95e09c328b1..HEAD')

console.log('TEST!!!5...')
await execLive('git rev-list --reverse --ancestry-path --topo-order 9dcb198e6428b5b1b8a98afee319e95e09c328b1..HEAD')

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

Expand Down

0 comments on commit 872a758

Please sign in to comment.