Mercurial is (as probably all decentralized version control systems) specialized in support multi-branch development. Here you have basically 2 options: Separate branches physically by just cloning a branch to a different folder and then working on it there, or using the hg branch $name command to create a new branch right within the same repository and give it a name (hence "named branch").
Archive for [<Tag: mercurial>]
-
I <3 Named Branches in Mercurial
-
Mercurial 1.1 is out
Finally. Mercurial 1.1 is out with a tons of great new features and fixes and finally without deprecation warnings if you're using Python 2.6 ;-) Also most of the extensions got some new features like the pager-extension finally having an option to use it only on a subset of the available commands using the attend-flag in the configuration:
[pager] attend = diff,log
On the web-front there are some new and improved themes as well as improved WSGI support, which I really have to give a try again after all these months with git ;-) In general, this release looks really great and it (as well as bitbucket.org) will probably make me want to use Mercurial a little bit more again in the future.
-
MercurialRecipe
Primary link: pypi.python.org
A couple of months ago I wrote a small zc.buildout-recipe to allow the integration of data from some git repository into your workspace. Now I needed mostly the same functionality but for a Mercurial repository. Luckily, Tim Molendijk created a small recipe just for that available in the PyPI. Since the README isn't really included there, you probably also want to take a look at the project's repository on Bitbucket.
To use it, simply configure a part like this:
[django.piston] recipe = mercurialrecipe repository = http://bitbucket.org/jespern/django-piston/
As with my git-recipe it supports the newest option (globally and locally) to prevent the repository from getting pulled every time you update the environment and it sets the location-part-variable so that you can access the data you just pulled.
Really nice stuff. Thanks Tim.
-
Git and Mercurial branchname in PS1
Primary link: vc.gerg.ca
If you're working with version control systems like Mercurial, Git or SVN (if you must) and there with multiple branches, it's sometimes really hard to keep track of what branch you're currently in. There are a couple of utilities out there that help you integrate that information in your shell's prompt, but most of them are limited to just one versioning system. Gred Ward's vcprompt is different in this regard since it supports Git, Mercurial and some other system I don't want to name here ;-) And it is really fast :D
[via www.mahner.org]
-
Sexy new Mercurial-site project
Seems like there is finally getting some movement into the whole "get Mercurial a new website" project with a repo (incl. forks) being created on bitbucket.org. I don't really know how official that whole thing is but at least mercurial-scm.org looks way more sexy than the "classic" MoinMoin-based site. From what it looks like right now, the whole project still seems to be in its early stages content-wise but it's definitely a very important step into the right direction.
Over the years, even Git got a very flashy intro-page and Mercurial and the community-size/popularity seemed to have stagnated size-wise thanks to the missing "marketing". I really hope that the folks behind this new site will help push Mercurial quite a lot :D