Is there a way to push/pull hidden changesets?

James Cook falsifian at falsifian.org
Mon Aug 30 02:33:12 UTC 2021


I'm using the hg evolve extension, which leaves hidden changesets
behind when I rewrite history. Is there a way to copy those changesets
to another repository?

What I've tried:

hg push/pull seems to ignore them; indeed this is documented at
https://www.mercurial-scm.org/doc/evolution/user-guide.html . I have
tried using push --force and push -r <the hidden rev>, to no avail*.

Why I want this:

1. When I switch computers, I'd still like to be able to see the full
   history of my changes. So, I'd like to copy that history between my
   private clones.

2. I'd like to back up that history so that if one repo fails, it's not
   lost. Simply pushing copies to all my private clones would be a nice
   and simple way to accomplish that.

*push -r <hidden rev> causes hg to tell me "(use --hidden to access
hidden revisions)", but with --hidden the changeset is still not
pushed.

-- 
James


More information about the Mercurial mailing list