In Mercurial, when Peter "hg clone" me, and I commit and he pull and update, he gets my version, but
- by Jian Lin
That is, in Mercurial, if Peter cloned from me by
hg clone c:\mycode
into his e:\code
let's say there is a file code.txt and it contains the text the code is 7
Now, when I change it to the code is 11 and hg commit, then he can get my code using hg pull and hg update. Now his version says the code is 11
But if I decide the change was wrong…