mercurial hg - pushing to a cloned repositor via APACHE errors with "repository is unrelated"
Posted
by Ash
on Stack Overflow
See other posts from Stack Overflow
or by Ash
Published on 2010-06-10T15:46:13Z
Indexed on
2010/06/10
18:32 UTC
Read the original article
Hit count: 279
Two scenarios, one work one doesn't when they both should:
-
Scenario #1: (DOES NOT work via apache)
- 2 repos on Server SERVER: Repo "A", Repo "B" cloned from repo A via http://SERVER/HG/A
- On client:
Repo A cloned from http://SERVER/HG/A
Repo B cloned from http://SERVER/HG/B
- Scenario #2: (works via file system)
- On Server SERVER: Repo "A", Repo "B" cloned from E:/HG/A
- On client:
Repo A cloned from E:/HG/A
Repo B cloned from E:/HG/B
Added a file to repo B from client and commited & pushed it up to E:/HG/B ...WORKS
Conclusion:...Something in the apache configuration or in the integration between apache & mercurial is making the repo "unrelated".... Any ideas??? Why do I need to force in the first scenario but do not have to in the second?? ...and i tried both scenarios via tortoisehg as well as command line.
© Stack Overflow or respective owner