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 Valued Contributor

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 Acclaimed Contributor

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.

Highlighted
Valued Contributor Valued Contributor

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