Release engineering on named branches?

Michael Sperber sperber at informatik.uni-tuebingen.de
Wed Aug 15 06:00:43 CDT 2007


Gábor Farkas <gabor at nekomancer.net> writes:

> Michael Sperber wrote:
>>
>> I used to do this in Subversion by creating a (short) branch at whose
>> end I'd check in the generated files.  Naively, I was thinking I could
>> just use named branches in Mercurial.  This doesn't seem to be a good
>> idea, as I can seem to be able to push branches as is (i.e. recreate the
>> branch, including its parent on the remote repo---when I tried to push
>> the branch, the parent would be lost), and I Mercurial expects me to
>> merge them at some point (right?), which I have no intention of doing.
>
> could you maybe show an example of the problem?
>
> i've just tried, and mercurial allows me to push a repository that has
> multiple branches. i had to use "hg push -f", but it worked.

It did work, but the branch no longer had the same parent: It was
re-based on top of the current tip of the repository I pushed to.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla


More information about the Mercurial mailing list