![]() ![]() I want to retrieve an old version of my project, what do I do? This will refuse to merge or overwrite local changes. If you're sure you want to update your working directory on a pull, you can also use hg pull -u. To update your working directory, run hg update. This keeps you from upsetting your work in progress, which may not be ready to merge with the new changes you've pulled and also allows you to manage merging more easily (see below about best practices). hg pull pulls all new changes from a remote repository into the local one but doesn't alter the working directory. There are two parts to Mercurial: the repository and the working directory. I did an hg pull and my working directory is empty! If you do not trust the network you are using do not change this. There's a reason for requiring SSL, however. If you are on a private network and you know that all HTTP clients are trustworthy, you can add That's because allowing anonymous, unauthenticated HTTP clients to push changes into your repository would be a huge security hole. I get an "ssl required" error message when trying to push changes Be careful to avoid paths managed by system package management, since package installations could conflict with it /usr/local/bin is usually a good choice. On the server, place a symlink to the hg binary somewhere on the ssh PATH run to show it. On the server, create a ~/.ssh/environment file that defines an appropriate PATH, and add PermitUserEnvironment yes to /etc/sshd_config. bashrc (or equivalent shell configuration file), noting that this may not always work for some versions of ssh and bash.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |