Patches
Showing results for 
Search instead for 
Do you mean 

How to update depot INDEX file using command instead of doing it manually

Valued Contributor [Founder]

How to update depot INDEX file using command instead of doing it manually

Hi,

 

I want to update  product version in the INDEX file using command is there any way for that.

 

I searched manage_index command but that will work only for ignite index update not for depot.

 

Thanks,

Avinash

Great Power Comes With Great Responsibility
2 REPLIES
Acclaimed Contributor [Founder]

Re: How to update depot INDEX file using command instead of doing it manually

The proper way to update metadata files in a depot is to redo swpackage.  Not hand editing.

I'm not sure if swmodify will allow you to change that field.

Valued Contributor [Founder]

Re: How to update depot INDEX file using command instead of doing it manually

Thanks it works with below -

 

swmodify -a tag='Tag Name'\

                    -a revision=version number @  /depots_name

Great Power Comes With Great Responsibility