1
votes

I am looking for small help,

Consider I have two views "master_code_view" and "testing_may_rel_view"

I have copied all my code in master_code_view and using config spec able to locate the same code in my second view too.
Every 2 months, I need to add new files and directories in "master_code_view" whereas I am unable to find those files and directories in "testing_may_rel_view".

How to replicate only those new files and also it shouldn't affect other files in "testing_may_rel_view"?

My config Spec:

element * CHECKEDOUT
element * .../testing/LATEST
element * REL_TESTING_JUNE -mkbranch testing
element * /main/LATEST -mkbranch testing
1

1 Answers

0
votes

If you need the testing branch just for visualization (of a certain state of the master branch), then you can simply

  • add a new tag (REL_TESTING_JULY) in the master branch after importing your new files (label the new files and directory only)
  • update the config spec of your second view testing_may_rel_view in order to see that label.

As in:

element * CHECKEDOUT
element * .../testing/LATEST
element * REL_TESTING_JULY -mkbranch testing
element * REL_TESTING_JUNE -mkbranch testing
element * /main/LATEST -mkbranch testing

If you do some development in testing, then I would recommend merging master to testing.