开发者

How to I combine ClearCase config spec element selections

开发者 https://www.devze.com 2023-02-19 11:11 出处:网络
Is it possible to combine the following two configspec lines in one? Original configspec: element .../test_dir_A/... .../my_branch/LATEST

Is it possible to combine the following two configspec lines in one?

Original configspec:

element .../test_dir_A/... .../my_branch/LATEST
element .../test_dir_B/... .../m开发者_如何学编程y_branch/LATEST

To something like

element .../[test_dir_A or test_dir_B]/... .../my_branch/LATEST

Thanks!


Regex in general aren't supported for config spec path.

The man page about config_spec confirms the use of pattern, so maybe something like:

element .../test_dir*/... .../my_branch/LATEST

could work (even though it wouldn't be restrict to just A or B)

The wildcard man page lists all the possibilities:

element .../test_dir_[AB]/... .../my_branch/LATEST

should be what you want.

[xyz]   

Matches any of the listed characters.

0

精彩评论

暂无评论...
验证码 换一张
取 消