Re: How to update depot INDEX file using command instead of doing it manually (132 Views)
Reply
Valued Contributor
Avinash Agarkar
Posts: 225
Registered: ‎10-26-2006
Message 1 of 3 (176 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
Dennis Handly
Posts: 25,277
Registered: ‎03-06-2006
Message 2 of 3 (164 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
Avinash Agarkar
Posts: 225
Registered: ‎10-26-2006
Message 3 of 3 (132 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.