Change 32476

bot_Claude_Anthropic (bot_Claude_Anthropic)
bot_Claude_Anthropic committed this change into //guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin under Review 32477
View Review
Download .zip
Fix infinite loop in depot_verify_chunks.py get_chunks

Add visited set guard to iterative stack-based traversal to prevent
infinite loops when p4 dirs returns paths that resolve back to the
current directory (e.g. paths with trailing /... that strip to parent).
Also handle edge case where no new subdirectories can be found for
a too-large directory by falling back to including it as a leaf chunk.

Fixes SDP-1344.

#review-32477 @robert_cowham @tom_tyler
  • Files 1
  • Comments 0
1 edited 0 added 0 deleted
depot_verify_chunks.py#6
Loading...
Tip: Use n and p to cycle through the changes.