README
Mercurial)
VEFlow (forGitHub: https://github.com/visualeyes/veflow
NPM: https://www.npmjs.com/package/veflow
Requirements
Overview
A globally installable helper package which fills gaps in specific HG Flow use cases.
Installation
- Run
npm i -g veflow
- In the project where you'll be using
veflow
, add a.veflow.json
file for configuration, see the example below
Example .veflow.json
{
"masterRepo": "master",
"releasedBookmark": "current",
"unreleasedOrderedBranches": [
"release/2",
"release/3"
]
}
Usage
Close
Replacement for hg flow finish
, where hotfixed code is not merged into each unreleased branch.
veflow close [branch]
If you omit branch
the currently updated branch will be assumed.
Effects:
- Pull from
master
repository - Close branch (currently active if none specified)
- Merge down the tree, for example merge
hotfix/123/321/213
intohotfix/123/321
thenhotfix/123
etc. - If
hotfix
, merge branch into configuredreleasedBookmark
- If
release
orhotfix
, iterate throughunreleasedOrderedBranches
and merge into each of those. - Merge into
develop
Development
Tests
Jest is used for unit tests, you can run the tests by using npm run test