Change 32478

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 32479
View Review
Download .zip
Fix depot_verify_chunks.py failing to subdivide when p4 dirs -D returns parent path

Validate p4 dirs -D results to only accept genuine one-level-deeper
children. For some depot structures, p4 dirs -D PATH/* returns the
parent path itself rather than subdirectories, causing the visited
guard to absorb all results and fall back to a single oversized leaf
chunk. When p4 dirs -D yields no valid children, retry without -D
to obtain the real subdirectories.

Fixes SDP-1344.

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