Skip to content

Instantly share code, notes, and snippets.

@strangnet
Last active December 16, 2015 00:19
Show Gist options
  • Save strangnet/5347062 to your computer and use it in GitHub Desktop.
Save strangnet/5347062 to your computer and use it in GitHub Desktop.
Getting ready for hgflow
# Enter your directory of choice
cd ~/src/
# clone hgflow
hg clone ssh://hg@bitbucket.org/strang/hgflow
# edit your ~/.hgrc by adding
[extensions]
hgflow=~/src/hgflow/src/hgflow.py
# To make sure SourceTree uses the same hgflow
ln -sf ~/src/hgflow/src/hgflow.py ~/Library/Application Support/SourceTree/userhg_local/hgext/hgflow.py
# init the dir if it's not already under source control
hg init
# should list the current branches
hg flow
# if not, hgflow must be initialized
hg flow init
# leave the settings as default
# read the manual https://bitbucket.org/yinwm/hgflow/wiki/UserManual
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment