author | tomh@ubuntu |
Wed, 21 Feb 2007 01:37:00 -0800 | |
changeset 314 | 2a105293177d |
parent 263 | 618a886c7130 |
child 421 | 56928998e05c |
permissions | -rw-r--r-- |
263
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
1 |
Mercurial cheat sheet |
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
2 |
|
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
3 |
clone this repository: |
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
4 |
---------------------- |
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
5 |
hg clone http://code.nsnam.org/ns-3-dev |
3
bb3d6a584b09
This is an important bugfix for Bilbo The Hobbit
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
1
diff
changeset
|
6 |
|
263
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
7 |
pull development tree changes to your local repository: |
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
8 |
------------------------------------------------------ |
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
9 |
hg pull http://code.nsnam.org/ns-3-dev |
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
10 |
hg update (apply the changes) OR |
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
11 |
hg merge (if you've made local changes) |
7 | 12 |
|
263
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
13 |
commit locally: |
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
14 |
-------------- |
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
15 |
hg status |
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
16 |
hg add <new files, if any> |
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
17 |
hg ci -m "message" |
217 | 18 |
|
263
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
19 |
push upwards (developers access only): |
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
20 |
-------------------------------------- |
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
21 |
hg push ssh://code@code.nsnam.org//home/code/repos/ns-3-dev |
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
22 |
|
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
23 |
view the change log: |
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
24 |
-------------- |
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
25 |
hg log <file> |
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
26 |
|
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
27 |
doing a scons make clean: |
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
28 |
------------------------ |
618a886c7130
Test of commit access with Mercurial cheat sheet
Tom Henderson <tomh@tomh.org>
parents:
217
diff
changeset
|
29 |
scons -c |
314 | 30 |