How can I export and save the source of project with whole history and with all versions including branch version of the items?
Windows Machines
There are two commands which help here:
1. Exporting package from a broker
hexpenv –b <BrokerName> -usr <Username> -pw <Password> -en <ProjectName> -f <Anyfilename>
2. Importing package to a broker
himpenv –b <BrokerName1> -usr <Username> -pw <Password> -f <Filename.har>
All information for this commands can be found under http://support.ca.com:
Documentation
CA Harvest Software Change Manager Command Line Reference Guide R12.6
hexpenv- Command Export Page: 72
himpenv- Command Import Page: 79
Please use your login credentials from support.ca.com for the following links:
Product Page for Harvest: http://www.ca.com/us/support/ca-support-online/support-by-product/ca-harvest-software-change-manager.aspx