To be able to push your branches to remote repository you have to configure TortoiseHg to allow new branches.
Tortoisehg bugs how to#
How to do it with Tortoise HG 2.0 Configuration
Hg merge ticket-17 // merging branch ‘ticket-17’ to default lineĪnd that’s all.
Tortoisehg bugs update#
Hg update default // switching to default line Hg commit –m “my commit message” // committing to the branch Hg branch ticket-17 // creating branch ‘ticket-17’ Here is the algorithm, to get you on the track. I’ll describe a small workflow (with pictures, so you don’t get bored) describing how you can manage multiple work items at the same time. One of the options is use** Mercurial named branches**. You want to do something experimental, a crazy idea to try and then throw it to recycle bin.You can share your unfinished work or ask an advice/review on it from your teammates.Multiple work items are useful when you have to quickly fix a bug in ‘default’ line when keep working on another feature.A piece of work (issue/ticket/feature/bug) you’re tackling currently can take multiple days to implement.Let’s formulate the problem: have ability to manage few work items simultaneously. Mostly because your PC is not as reliable as our servers and also work you do isn’t visible to other team members. Or the developer wants just push it and go fix an annoying bug he just spotted in other area… What to do?įirst of all, don’t keep it local! You should not try keep your modifications local. And/or it’s keeping out other devs working in same source code area. Feature, being incomplete/not finished/full of bugs makes using some parts of the app awkward.
One of the devs was working on a feature and wanted to push it to remote repository. Oh, and it’s illustrated… The Story, a real one… Just one of the ways to manage multiple work items with Mercurial and TortoiseHg 2.0. They came with Subversion background and after looking how they are working with Mercurial I wanted to show them one of more flexible workflows. Disclaimer: I’ve wrote this guide for my teammates that started diving in Mercurial.