Can changes made by strip be reflected in the public repo?

Viewed 6582

Let's say I have this:

hg clone public_repo my_repo
touch a b c d
hg add .
hg commit -m a a
hg commit -m b b
hg commit -m c c
hg commit -m d d
hg push
# let's say revX is the revision that added a 
hg strip revX

In my repository's history, the commits are gone. However, if I try to do a push after the strip, it tells me no changes found. Can the strip be applied to the public repo?

EDIT: the question is just hypothetical :). I am not in this situation, I just thought it would be interesting to find out how this works.

5 Answers
Related