Version Management
The tool that is used to manage the development of the MCTDH-X software is Mercurial, in terminal, hg. It is available on most Unix-based systems and facilitates the contribution of multiple developers to a project. Mercurial is a distributed version management system, i.e., each user of it has the the full version history available locally. The basic operations are collected in the following list:
- making a full copy of a repository with hg clone <repository location>
- creating branches with hg branch <branch name>.
- showing a summary of the changes with respect to the last revision by hg status
- adding and removing files by hg add <files> and hg remove <files>
- add all new files and remove all missing files with hg addremove
- showing the history of commit messages for all revisions by hg log
- add a version number to your revision with hg tag <version label>. The structure of the version label is explained below.
- commiting changes made to a revision of the repository as a new revision with hg commit -u <username>
- pushing or pulling the changes made in the present repository to another repository by hg push <repository location> or hg pull <repository location>.
- updating the repository after pulling/pushing a changeset by hg update
It is important to note here that the version management of the central repository is not open for all users. If you are interested in contributing, write an email to the developers at mctdhx@ultracold.org
to obtain an account for the software repository.
Subsections
Back to http://ultracold.org