forked from tkn-tub/ns3-gym
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mercurial.txt
45 lines (34 loc) · 1.18 KB
/
mercurial.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Introduction
------------
ns-3 uses the Mercurial software revision control system which
is a replacement for tools liks cvs or subversion. Thus, to get
access to the development versions of ns-3, you need to install
mercurial first. See http://www.selenic.com/mercurial/wiki/
Mercurial cheat sheet
---------------------
Look at our project history and source code:
-------------------------------------------
http://code.nsnam.org/ns-3-dev
clone this repository:
---------------------
hg clone http://code.nsnam.org/ns-3-dev
commit locally:
--------------
hg status
hg add <new files, if any>
hg ci -m "message"
pull development tree changes to your local repository:
------------------------------------------------------
hg ci -m "my local changes are recorded"
hg pull http://code.nsnam.org/ns-3-dev
hg update (apply the changes) OR
hg merge (if you've made local changes)
view the change log:
-------------------
hg log <file>
push upwards (developers access only):
--------------------------------------
To the main repository:
hg push ssh://[email protected]/repos/ns-3-dev
To your private repository:
hg push ssh://[email protected]//home/username/repositories/username/repository