publishingnomad.blogg.se

Mercurial windows hook
Mercurial windows hook






  1. #Mercurial windows hook install
  2. #Mercurial windows hook update
  3. #Mercurial windows hook archive

In Windows Explorer, right click on the directory you want toīecome the clone of the archive, and select TortoiseHg->Clone.

mercurial windows hook

Open Pageant, select "Add key" and give it the academy.ppk file. Run the program Pageant, which will pop up in your task bar. Find the directory where TortoiseHg was installed, probably inĬ:\Program Files. Run puttygen.exe and select File->Load Private Key to convert to a Next, we need to convert the OpenSSH version 2 keys to a Download the two key files academy (private key) and academy.pub This tutorial is very well documented, both for Windows and Mac:

#Mercurial windows hook update

To setup the config file with host and port:Įcho -en "host \nport 846" > ~/.ssh/configĮcho -en "\n\n\nusername = First Last \nssh = ssh -i ~/.ssh/academy -C\n\n\nconvert =\nfetch =\n\n\n\nchangegroup = hg update >&2" > ~/Desktop/Archive/.hg/hgrc In addition there are a couple of lines of code to run in the terminal which makes life so much easier:

mercurial windows hook

~/Documents/FabAcademy/academy.2013$ hg updateĪnd also Work in process. ~/Documents/FabAcademy/academy.2013$ hg pull

  • To get all changes from another repository into the current one.
  • If it asks for a password, then it can’t find the key or the key file permissions make it not look like a key (see step 3) if it says something about port 22, then it can't find the config file (see step 4)
  • Eddie (Manchester) - Need to include sudo before hg command (bas: no, don't use sudo).
  • ~/Documents/FabAcademy2013/academy.2013$ hg pull Ssh = ssh -p 846 -i ~/.ssh/keys/academy -C hg directory is in the fabClassArchive directory, and is a text file with unix line endings and no.
  • append the following your archive's personal configuration file.
  • Bas (Reykajvik) - Don't include sudo before hg!.
  • Eddie (Manchester) - Need to include sudo before hg.
  • ~/Documents/FabAcademy2014$ hg clone -e "ssh -p 846 -i ~/.ssh/keys/academy" academy.2014
  • ssh_path is the ssh application, including the path, if necessary.
  • #Mercurial windows hook archive

    note that local_archive_name will be a directory with the archive inside it.go to where you want the archive to be in your filesystem, and clone the archive.Step 4: set the port that ssh uses to access, by appending the following lines to ~/.ssh/keys/config (you might have to create ~/.ssh/keys/config, which is a text file with unix line endings and no. ~/.ssh/keys$ chmod go-rw-r-r- academy.pub sudo chmod go-rw ~/.ssh/keys/academy) your private key permissions could be rw-, and your public key and config file permissions could be rw-r-r. Set permissions for your private key so that only the user has read/write access (i.e. Open the directory where the key files where downloaded to and move them to. ssh directory create another directory called keys download the (academy and academy.pub) files and place them in the keys directory (you will have to either enable hidden folders, or do this all through the terminal)

    mercurial windows hook

    ssh in the home directory, then within the new.

    mercurial windows hook

    Put key files (academy and academy.pub) somewhere, probably in ~/.ssh/keys/ (you might want to create this keys directory) note that directories that start with a "." may be automatically hidden by your filesystem, you can see them by typing ls -a example: use the terminal and create a folder called.

    #Mercurial windows hook install

    Sudo apt-get install mercurial tortoisehg tortoisehg-nautilus

  • 1.3 Step 3: Permissions for the private keyĭownload the academy and academy.pub files to your.







  • Mercurial windows hook