bin/make.exe
author |
Jan Vrany <jan.vrany@fit.cvut.cz> |
|
Fri, 06 Jul 2018 16:35:55 +0100 |
changeset 249 |
20b718d60bba |
parent 23 |
7dad21b22558
|
permissions |
-rw-r--r-- |
Rakefiles: automagically checkout revisions for given branch
To simplify creation and management development branches, the
`checkout` and `update` tasks selects the revision to checkout
as follows: given a package, it (in that order):
* if rbspec-file specifies `:revision`, then checkout or update
to that one, else
* if there's a bookmark with the same name as rakefile's
active bookmark or branch, If so, checkout or update to
that one, else
* if there are multiple heads then, then check out bookmark
`master`, else
* if there's only one head checkout that head.
This allows one to create a development branch just by branching
rakefiles and then using bookmarks whenever one needs to use specific
branch of a package.
Note, that previously it was necessary not only to bookmark the package
but also update rbspec-file. So updating rbspec-file is no longer
necessary.
23
|
1 |
(binary:application/x-msdos-program) |