I have a repo on the server named "Gold" that exists as my production repo, a repo named "Silver" on the server that acts as a dev repo, and then obviously one or more repos on my local client. Strangely enough, when I push a changeset from my local dev machine to Gold, Silver also somehow gets the changeset. We are running Mercurial on Windows Server 2008R2 on IIS7.5.
Example:
Server (create Gold on server)
- mkdir Gold
- cd ./Gold
- hg init
Client (clone Gold to client)
- hg clone http://server/Gold Dev
- cd Dev
- echo "Foo" > bar.txt
- hg ci -Am "added file bar.txt"
- hg push
At this point the client and server are in synch, each with one changeset.
Server (clone Gold into Silver - a new dev repo - on server)
- cd ..
- hg clone ./Gold Silver
Client (commit & push change to Gold - not touching Silver)
- echo "Fizz" > buzz.txt
- hg ci -Am "added file buzz.txt"
- hg push
Now I would expect Gold to have two changesets and Silver to have one. In our environment here, Gold & Silver both somehow have both changesets! Any change we push to Gold automatically shows up in Silver. This seems incredibly unexpected to me - has anyone run into this before?