xxx does not appear to be an hg repository after push finishes

回眸只為那壹抹淺笑 提交于 2019-12-11 05:16:02

问题


Just several days ago, when I push to a hg repository, something like 'xxx does not appear to be an hg repository' appears after push finishes. The output looks like this:

pushing to http://xxx/scm/hg/jewelry
searching for changes    
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 1 changes to 1 files
abort: 'http://xxx/scm/hg/jewelry' does not appear to be an hg repository:
---%<--- (no content-type)

---%<---
!

The push is actually finished, so this can't be a big deal, except that it's really annoying. So did anyone come across this?

BTW, the hg version on client side is 2.1 & server is 2.3. But this does not seem to be a version problem because it just came out from nowhere several days ago.


回答1:


I'm not certain but it looks like someone has installed a hook on the server to run something after the push and their hook is broken? Do you see any extra detail if you add --debug to the push? Any chance someone recently added a server side changegroup hook? Perhaps 'notify' to send out emails?



来源:https://stackoverflow.com/questions/12493768/xxx-does-not-appear-to-be-an-hg-repository-after-push-finishes

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!