I’m attempting to do development on a home Linux server, and I can’t get a simple use-case to work. Let me explain the scenario.
I have two directories, one in /var/www/codeigniter which is a clone of the BitBucket repo. The other directory, ~/wip/codeigniter is a clone of the repo at /var/www/codeigniter. What I want to do is simple, edit the welcome_message.php file in the working directory and push it to /var/www/codeigniter repo, but I’m having troubles doing it.
After I edit the file in the wip directory, I commit it. Then, I do hg push and it pushes it to the correct directory (/var/www/codeigniter). It even indicates that there is one change in one file… all of that seems to be correct. However, when I actually LOOK at the welcome_message.php file in /var/www/codeigniter, it hasn’t changed. I look at the change log in that repo, and it indicates that is HAS changed, and yet the reality is that it hasnt.
I thought originally it might be a permissions problem, so I changed /var/www/codeigniter and all of its sub-directories to 777 to see if that would at least get my changes to take effect, and it did not work.
I’m new to Merc and my Linux-fu hasn’t been used in a while, so I’m kind of stumped as to whats going on. Anyone have any ideas?