Kurt Van den Branden
Kurt Van den Branden

Reputation: 12973

Hg Push: does not appear to be an hg repository

Similar to this question, I have problems pushing to a Mercurial repository. In my case, pushing is just not possible, while everything else works. The error log:

hg push http://myrepo/hg/repo
pushing to http://myrepo/hg/repo
searching for changes
'http://myrepo/hg/repo' does not appear to be an hg repository:

The push is not executed, nor are any hooks installed. No network errors. Everything else works fine. (clone, pull, incoming, outgoing...)

Upvotes: 0

Views: 3829

Answers (1)

Kurt Van den Branden
Kurt Van den Branden

Reputation: 12973

Apparently, the repository got stuck in a certain state, not allowing pushes. Running the following command on the remote repository fixed the issue:

hg recover 

Upvotes: 1

Related Questions