How to update depot INDEX file using command instead of doing it manually (181 Views)
Reply
Valued Contributor
Posts: 225
Registered: ‎10-26-2006
Message 1 of 3 (181 Views)

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
Acclaimed Contributor
Posts: 25,523
Registered: ‎03-06-2006
Message 2 of 3 (169 Views)

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
Posts: 225
Registered: ‎10-26-2006
Message 3 of 3 (137 Views)

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
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.