After you have installed Mercurial clone the archive: hg clone -e "ssh -p 846 -i ~/.ssh/keys/academy" ssh://hg@fab.cba.mit.edu/academy.2012 academy.2012 put the keys in place: echo -e "\n[ui]\nssh = ssh -p 846 -i ~/.ssh/keys/academy" >> academy.2012/.hg/hgrc then name your archive as you wish, and go to the root directory: cd "archive name" specify your name in the hgrc file: open .hg (the hidden dir wil open then open the hgrc file in a text editor: LEAVE whats in there and add the following lines: username = Alex Schaub <alex@waag.org> [extensions] convert = fetch = [hooks] changegroup = hg update >&2 Now you are up and running next thing is to try to create a page in our directory which I already created |
These are the commands that I am typing to keep up-to-date my web page and the web page that other students are creating: mikael@mikael-laptop:~$ cd academy.2012/ mikael@mikael-laptop:~/academy.2012$ hg pull pulling from ssh://hg@fab.cba.mit.edu/academy.2012 searching for changes adding changesets adding manifests adding file changes added 195 changesets with 1279 changes to 1111 files 1097 files updated, 0 files merged, 34 files removed, 0 files unresolved (run 'hg update' to get a working copy) mikael@mikael-laptop:~/academy.2012$ hg update 0 files updated, 0 files merged, 0 files removed, 0 files unresolved mikael@mikael-laptop:~/academy.2012$ hg add ajout de Web/students/le_bigot.mikael/photos/IMAG0066.jpg ajout de Web/students/le_bigot.mikael/photos/IMAG0067.jpg ajout de Web/students/le_bigot.mikael/photos/IMAG0068.jpg ajout de Web/students/le_bigot.mikael/photos/IMAG0069.jpg ajout de Web/students/le_bigot.mikael/photos/IMAG0070.jpg ajout de Web/students/le_bigot.mikael/photos/IMAG0071.jpg ajout de Web/students/le_bigot.mikael/photos/beginning-of-cuts.jpg ajout de Web/students/le_bigot.mikael/photos/burn.jpg ajout de Web/students/le_bigot.mikael/photos/capture-carreetrectangleplusieurcopies.png - Inkscape.png ajout de Web/students/le_bigot.mikael/photos/capture-plaqueetencochegrip.png - inkscape.png ajout de Web/students/le_bigot.mikael/photos/carreetrectangleplusieurcopies.png ajout de Web/students/le_bigot.mikael/photos/carreetrectangleplusieurcopies.svg ajout de Web/students/le_bigot.mikael/photos/cuts2.jpg ajout de Web/students/le_bigot.mikael/photos/etatbrut.jpg ajout de Web/students/le_bigot.mikael/photos/etatconstruit.jpg ajout de Web/students/le_bigot.mikael/photos/grindwithinkscape.png ajout de Web/students/le_bigot.mikael/photos/lasercutter.jpg ajout de Web/students/le_bigot.mikael/photos/plaqueetencoche.jpeg ajout de Web/students/le_bigot.mikael/photos/plaqueetencoche.png ajout de Web/students/le_bigot.mikael/photos/plaqueetencochegrip.png ajout de Web/students/le_bigot.mikael/photos/plaqueetencochegrip.svg ajout de Web/students/le_bigot.mikael/photos/puzzlenotcompletedcut.jpg ajout de Web/students/le_bigot.mikael/photos/shelf.jpg ajout de Web/students/le_bigot.mikael/photos/shelfwithobject.jpg ajout de Web/students/le_bigot.mikael/puzzle_test.html mikael@mikael-laptop:~/academy.2012$ hg commit -m "mikael" mikael@mikael-laptop:~/academy.2012$ hg push pushing to ssh://hg@fab.cba.mit.edu/academy.2012 searching for changes remote: adding changesets remote: adding manifests remote: adding file changes remote: added 1 changesets with 26 changes to 26 files remote: 26 files updated, 0 files merged, 0 files removed, 0 files unresolved mikael@mikael-laptop:~/academy.2012$ |