I’m trying to configure my ClearCase dynamic view so that it only selects versions as they existed at a specific build date. I want to ensure that my view reflects the exact state of the repository at that point in time.
How can I modify my config spec to achieve this? Any help would be appreciated!
To include feature branches that originate from the main branch, you need to reference those branches explicitly while maintaining the -time restriction. Here’s how you can modify your config spec:
element * CHECKEDOUT
element * /main/LATEST -time "31-Jan-2025 12:00:00"
element * /main/feature_branch/LATEST -time "31-Jan-2025 12:00:00"
element * /main/0
This setup ensures that you’re pulling in versions from both main and the feature_branch as they existed at the specified timestamp. If you have multiple feature branches off main, just duplicate the third line for each branch.