hg-git: push -d default seems not to work.

Uwe Brauer oub at mat.ucm.es
Fri May 12 15:21:16 UTC 2017


    > On Thu, 11 May 2017 16:34:18 -0400, Uwe Brauer <oub at mat.ucm.es> wrote:


    > If you are just trying to continue the feature branch (unbroken) after
    > you have rebased and pushed, you *could* just `hg update --hidden 2`
    > and start committing again. That too would create an unstable commit
    > though. (There's nothing scary about unstable commits. It just means
    > if you `hg evolve`, it will automatically rebase the unstable commit.
    > In this case, if you committed to top of 2, `hg evolve` would rebase
    > it onto 4 (since 2 was succeeded by 4 in the original rebase). That
    > may sound like exactly what you want. But it's not because if you
    > pulled stuff from upstream, it's not rebased onto that upstream
    > stuff.)

You are right, of course. But you said I *could* use

hg update --hidden 2

what is the difference to

hg touch -hidden 2


What other command exist to checkout rev 2?

Thanks again.




More information about the Mercurial mailing list