2007-03-30 15:39:02 -07:00
|
|
|
ns-3 uses the Mercurial software revision control system
|
|
|
|
|
|
2007-02-14 22:04:38 -08:00
|
|
|
Mercurial cheat sheet
|
2006-08-21 15:22:28 +02:00
|
|
|
|
2007-02-14 22:04:38 -08:00
|
|
|
clone this repository:
|
|
|
|
|
----------------------
|
|
|
|
|
hg clone http://code.nsnam.org/ns-3-dev
|
2006-08-26 14:20:18 -07:00
|
|
|
|
2007-02-14 22:04:38 -08:00
|
|
|
pull development tree changes to your local repository:
|
|
|
|
|
------------------------------------------------------
|
|
|
|
|
hg pull http://code.nsnam.org/ns-3-dev
|
|
|
|
|
hg update (apply the changes) OR
|
|
|
|
|
hg merge (if you've made local changes)
|
2007-02-02 14:41:28 -05:00
|
|
|
|
2007-02-14 22:04:38 -08:00
|
|
|
commit locally:
|
|
|
|
|
--------------
|
|
|
|
|
hg status
|
|
|
|
|
hg add <new files, if any>
|
|
|
|
|
hg ci -m "message"
|
|
|
|
|
|
|
|
|
|
push upwards (developers access only):
|
|
|
|
|
--------------------------------------
|
|
|
|
|
hg push ssh://code@code.nsnam.org//home/code/repos/ns-3-dev
|
|
|
|
|
|
|
|
|
|
view the change log:
|
|
|
|
|
--------------
|
|
|
|
|
hg log <file>
|
|
|
|
|
|
|
|
|
|
doing a scons make clean:
|
|
|
|
|
------------------------
|
|
|
|
|
scons -c
|
2007-02-21 01:37:00 -08:00
|
|
|
|