2

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.

mforbes
  • 7,062
  • 3
  • 16
  • 21
Nsukami _
  • 777
  • 1
  • 11
  • 15

1 Answers1

1

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>
Lazy Badger
  • 94,711
  • 9
  • 78
  • 110
  • Is there a way to know if the server is a publishing one? – Nsukami _ May 28 '20 at 08:24
  • @Nsukami_ - read about phases. In short - if you push any local changeset (in "drart" phase) to any remote and after it this changeset become "public" - you have publishing server on remote (by default all repositories are publishing) – Lazy Badger May 28 '20 at 22:07