Re: How to update depot INDEX file using command instead of doing it manually (44 Views)
Reply
Valued Contributor
Avinash Agarkar
Posts: 222
Registered: ‎10-26-2006
Message 1 of 3 (88 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
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,879
Registered: ‎03-06-2006
Message 2 of 3 (76 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.

Please use plain text.
Valued Contributor
Avinash Agarkar
Posts: 222
Registered: ‎10-26-2006
Message 3 of 3 (44 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
Please use plain text.
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