Entry tags:
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.
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.

no subject
no subject
no subject
/hates mq.
//doesn't do dw dev, so his opinion doesn't count
no subject
no subject
no subject
no subject
Ooooh. Interesting.....
huh.
Okay.
no subject
Also, the real alternative to named branches in Mercurial is cloning multiple copies of a repository, and pushing and pulling changes between them.
no subject
no subject
no subject
I was curious if it would be possible to update Mercurial without upgrading the whole system, but if not, it's no big deal.
no subject
And indeed, that's the latest change right now. I don't think there are any problems associated with having 3 heads, so nobody actually needs to force an update.
As for upgrading Mercurial, I could compile from source; that should work. But then the Dreamhack box wouldn't be the ideal 'supported installation', I suspect.
no subject
hg headsandhg parentscommands. I apologise, and humbly eat my words.(for those who aren't aware;
hg headsshows the latest revisions for each open branch in the repository, whilehg parentsshows the revision that the working copy is based on. I thought that the former did what the latter does. Ooooops.)Sorry 'bout that!