Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

None of my files pushed are showing up on the remote server, even though it said the push was an success. I'm stumped. Can anyone give me a hand?

share|improve this question

closed as not a real question by Ward, Wesley, Scott Pack, voretaq7 Jul 18 '12 at 22:32

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

We'd love to help! If you would only provide some useful information... – Wesley Feb 27 '12 at 4:09

I just spent 1 hour wasting my time to find out that I need to do hg update on the server. There's a hook that belongs in your hgrc. For me, it was in the cgi-bin/hgweb.config


changegroup = hg update
share|improve this answer
Do you need a current working copy on the server? Leaving it naked with no working copy whatsoever should work just fine if it's just a push/pull target. – Shane Madden Feb 27 '12 at 1:04
I don't understand the question. What do you mean by "working copy"? I'm assuming you mean a work copy of mercurial? Well, I use its web to easily look at things with its GUI. – Doug Feb 27 '12 at 1:19
You need to understand the difference between a "bare" repository and a repository that contains a "working copy". Pushing and pulling do not update the working copy of a repository. – daff Feb 27 '12 at 1:53

Apparently your remote repository is not bare, but contains a working copy. Pushing and pulling do not update the working copy. This is what you are seeing.

The bigger question is: why do you need your remote repository to contain a working copy in the first place? This is usually neither desired, nor useful. What is your workflow here? I suspect you may want to read this article on publishing Mercurial repositories carefully:

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.