Reputation: 313
I would like to know if mercurial provides any in built BUILD tool for building/packaging the source code.
Upvotes: 1
Views: 230
Reputation: 411252
The hg archive
program can create an archive of your repo's source code (minus all the Mercurial metadata and untracked files). For example, to create a tarball:
$ hg archive --prefix=myproject/ --type=tgz ~/myproject.tgz
See hg help archive
for more information on usage and possible options.
Upvotes: 2