Mercurial topics workflow

259 Views Asked by At

What should be the correct workflow to deal with Mercurial topics please? Let's suppose another developer pushed topic t1, How do I:

  • retrieve a topic t1?
  • add my work on t1 topic,
  • push t1 topic?

Context:

I'm trying to collaborate with other developers. On Heptapod, you collaborate by sending merge requests. To send a merge request, you need to work using Mercurial topics.

One of the developers pushed a topic branch, I would like to retrieve this topic on my copy of the repository, add my work on this topic, then push the topic.

1

There are 1 best solutions below

2
On

What should be the correct workflow to deal with Mercurial topics please?

Use it, as designed, for pure local development

But with non-publishing server you'll have the usual workflow

hg push
...
hg pull
hg up <TOPIC-NAME>