Staging
v0.5.1
https://github.com/python/cpython
Revision 9f004634a2bf50c782e223e2eb386ffa769b901c authored by Yasser A on 30 November 2020, 09:53:11 UTC, committed by GitHub on 30 November 2020, 09:53:11 UTC
1 parent 9654592
Raw File
Tip revision: 9f004634a2bf50c782e223e2eb386ffa769b901c authored by Yasser A on 30 November 2020, 09:53:11 UTC
bpo-42451: Indicate that PyTuple_GetItem does not support negative indices (GH-23529)
Tip revision: 9f00463
checkout.yml
parameters:
  depth: 3

steps:
- checkout: none

- script: git clone --progress -v --depth ${{ parameters.depth }} --branch $(SourceTag) --single-branch https://github.com/$(GitRemote)/cpython.git .
  displayName: 'git clone ($(GitRemote)/$(SourceTag))'
  condition: and(succeeded(), and(variables['GitRemote'], variables['SourceTag']))

- script: git clone --progress -v --depth ${{ parameters.depth }} --branch $(SourceTag) --single-branch $(Build.Repository.Uri) .
  displayName: 'git clone (<default>/$(SourceTag))'
  condition: and(succeeded(), and(not(variables['GitRemote']), variables['SourceTag']))

- script: git clone --progress -v --depth ${{ parameters.depth }} --branch $(Build.SourceBranchName) --single-branch https://github.com/$(GitRemote)/cpython.git .
  displayName: 'git clone ($(GitRemote)/<default>)'
  condition: and(succeeded(), and(variables['GitRemote'], not(variables['SourceTag'])))

- script: git clone --progress -v --depth ${{ parameters.depth }} --branch $(Build.SourceBranchName) --single-branch $(Build.Repository.Uri) .
  displayName: 'git clone'
  condition: and(succeeded(), and(not(variables['GitRemote']), not(variables['SourceTag'])))
back to top