1 example for hg
# pull the Mercurial source
hg clone http://selenic.com/repo/hello
# add a file to the repository
hg add new_file.txt
# commit the changes
hg commit -m 'commit message'
# push the changes back to the servec
hg push
# pull the Mercurial source
hg clone http://selenic.com/repo/hello
# add a file to the repository
hg add new_file.txt
# commit the changes
hg commit -m 'commit message'
# push the changes back to the servec
hg push