clearcase - Snapshot view config spec load rules based on labels -


i'm trying create snapshot view via perl script working fine. trying write config spec loads based on label view. problem i'm facing root directory doesnot have label. below config spec falling. can't add main/latest because need files label.

element * checkedout load \vobname element * labelname-nocheckout element * -none  

try adding rule just root directory /vobname:

element * checkedout element /vobname /main/latest element * labelname-nocheckout element * -none  load /vobname 

a few comments:

  • the load rule (load /vobname) can set @ end of config spec
  • you don't need use \, on windows. '/' fine
  • the order of selection rule important, why element /vobname /main/latest placed first.
  • the selection rule element /vobname /main/latest only folder /vobname (not of sub-folder elements)
  • this assumes element under /vobname has label set on 1 of versions.

Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -