I’m trying to find out Mercurial advantages and i’ve read something about commiting between developers without influence on main branch.
I know i have to commit to my local repo, and then what? I don’t like to push it to server (then everyone will see it right?), but just to one concrete user. I’d like him to fix something for me and send me back his changeset. Then later I’ll push everything to server.
How can i do that? How should i do that in mercurial?
Run
hg serveon your system. It will print something like:Assuming the other developer also has a clone of the server project, he can run:
to get your updates.
Later you can reverse the process to get his changes back to you.