Skip to content

Instantly share code, notes, and snippets.

@kix
Created March 19, 2015 05:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kix/3b473723df4ef717dc67 to your computer and use it in GitHub Desktop.
Save kix/3b473723df4ef717dc67 to your computer and use it in GitHub Desktop.
Mercurial submodule cookbook
$ mkdir subrepos
$ cd subrepos
$ hg init
$ echo "wp-content/plugins/sphinx=ssh://hg@bitbucket.org/ivinco/wordpress-sphinx-search-plugin" > .hgsub
$ hg add .hgsub
$ hg clone ssh://hg@bitbucket.org/ivinco/wordpress-sphinx-search-plugin wp-content/plugins/sphinx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment