Usage:
axp tree fork
[options] [archive/]version
Infoline:
Options:
-h, --help | display this help message and exit |
-R, --revision REV | fetch REV first as tmp tree or new DIR |
-d, --dir DIR | cd to DIR first |
--test | do not actually perform commands |
-v, --verbose | be more verbose |
-q, --quiet | be quiet |
-c, --copy DIR | don't fork in-place, copy to DIR first |
This command works on the existing tree. It creates a new branch specified by [archive/]version argument from the current tree revision. All possible existing changes are preserved (but not committed). If copy-DIR is not given (or it is empty or '.') then this command works in-place. This effectivelly does "tag -S", "join-branch" and "set-tree-version". Otherwise, if copy-DIR is given, then the current tree is left as is, it is copied to the new DIR together with all precious files, and the work (described above) is done on this new DIR. Example: cd my-arch-projects/archway axp fork -c ../archway-mage archway--merge-gui--0