kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] dw_dev2010-07-19 10:59 am

Mercurial: closing named branches

I will shortly be pushing changesets that close the staging and production branches in the dw-free repository. The branch system hasn't been used effectively and causes problems whenever cloning a new copy of the repository, so I'm reverting to using the default branch for all development.

There shouldn't be any user facing changes from this, except for one change to bootstrap.pl. However, if you run into any difficulties please let me know immediately. Thanks!

ETA: my testing shows that you may have to manually do hg update -C tip after pulling in the dw-free changes, since the active branch has been switched. After that everything should work normally, although the branches will not appear to be closed until you update Mercurial to a version that supports branch closings.
sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (Default)

[personal profile] sophie 2010-07-31 09:02 pm (UTC)(link)
I do believe I confused the hg heads and hg parents commands. I apologise, and humbly eat my words.

(for those who aren't aware; hg heads shows the latest revisions for each open branch in the repository, while hg parents shows the revision that the working copy is based on. I thought that the former did what the latter does. Ooooops.)

Sorry 'bout that!
Edited 2010-07-31 21:04 (UTC)