Put these lines in the Mercurial config file: We recommend using the global config file unless you really know what you are doing. Note that if you need a different mercurial config for another project, you can also use a per-clone config file. On Windows systems, the global config file is Mercurial.ini in your home directory.On Unix-like systems, the global config file is ~/.hgrc.To do so, edit (or create) your mercurial config file. # 'hg pull -u' is the same as 'hg pull & hg update'.īefore using Mercurial to make Eigen changes/patches, please make sure that you have configured it as described in this section. # your working directory to the latest revision. $ hg pull -u # hg pull brings the changes into your store, and -u updates Or if you have a write access to the repository you have two options:Īfter that, to update your checkout (get the new changes made to the repository): If you want a graphical user interface, install Tortoise-Hg, but below in this page we will only be referring to the command-line interface.īelow in this page we explain some usual commands, but Mercurial has lots of documentation available on the Web: If you are using Unix/Linux, just install Mercurial from your package manager.If you are using Windows or Mac, download it from.Installing Mercurial and finding documentation 5 Search and replace on whole directory.3.4 Splitting a patch into smaller patches.3.3 Pushing many local commits as a single one.3.1 Porting a changeset to another branch.2.10 Merge changes from another repository.2.9 Pushing the local changes to the central repository. ![]() 1 Installing Mercurial and finding documentation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |