When do Mercurial bookmarks slide in / out implicitly?

It is not enough to explicitly press / pull out a separate bookmark when the bookmarks are copied / updated from repo to repo?

In my testing with two local repositories, I was not able to infer consistent behavior. Sometimes push / pull from A to B or B to A copies / updates bookmarks, sometimes it is not. In some cases, the bookmark is copied even if the bookmark with this name is not yet in the dest registry. In other cases, the bookmark is not copied, although dest has a bookmark of this name, but indicates a different set of changes. This does not provide the explanation given at https://www.mercurial-scm.org/wiki/Bookmarks .

When does @ rename?

+4
source share
1 answer

Explanation given in ...

Condition shorter than pure English, AFAICS

  • When you clone a repository
  • With both local and remote repositories
0
source

Source: https://habr.com/ru/post/1401897/


All Articles