summaryrefslogtreecommitdiff
path: root/Version_Control
diff options
context:
space:
mode:
authorPrimal Pappachan2012-01-31 16:33:30 +0530
committerPrimal Pappachan2012-01-31 16:33:30 +0530
commita032a26f1b69d1481dcd23889ade28684f98273b (patch)
tree19ae64e265d8c640c50ec08a6d6164775287058a /Version_Control
parent1275643bdd714665c2f59ded9503a0d90193c732 (diff)
downloadsdes-stscripts-a032a26f1b69d1481dcd23889ade28684f98273b.tar.gz
sdes-stscripts-a032a26f1b69d1481dcd23889ade28684f98273b.tar.bz2
sdes-stscripts-a032a26f1b69d1481dcd23889ade28684f98273b.zip
Formatted code
Diffstat (limited to 'Version_Control')
-rw-r--r--Version_Control/vcs4/vcs4.rst41
1 files changed, 20 insertions, 21 deletions
diff --git a/Version_Control/vcs4/vcs4.rst b/Version_Control/vcs4/vcs4.rst
index 34018c1..25538b7 100644
--- a/Version_Control/vcs4/vcs4.rst
+++ b/Version_Control/vcs4/vcs4.rst
@@ -62,8 +62,8 @@ used to clone or replicate an existing repository.
.. L15
-``$hg clone SOURCE [DEST]
-$ hg clone book book-repo``
+``$hg clone SOURCE [DEST]``
+``$ hg clone book book-repo``
.. R15
@@ -90,8 +90,8 @@ the repository, we say
.. L17
-``$cd ../book-repo
-$hg serve``
+``$cd ../book-repo``
+``$hg serve``
.. R17
@@ -122,9 +122,9 @@ in .hg/hgrc
.. L20
-``[web]
-push_ssl=False
-allow_push=*``
+``[web]``
+``push_ssl=False``
+``allow_push=*``
.. R20
@@ -238,11 +238,11 @@ With simultaneous changes, following things happen
.. L32
-``$ hg push
-pushing to http://192.168.1.101:8000
-searching for changes
-abort: push creates new remote heads!
-(did you forget to merge? use push -f to force)``
+``$ hg push``
+``pushing to http://192.168.1.101:8000``
+``searching for changes``
+``abort: push creates new remote heads!``
+``(did you forget to merge? use push -f to force)``
.. R32
@@ -260,9 +260,8 @@ repository after the last pull and merge them with the changes.
.. L34
-``$ hg pull
-
-$ hg merge``
+``$ hg pull``
+``$ hg merge``
.. R34
@@ -318,10 +317,10 @@ Let's say both of us edit the same part of the same file.
.. L39
-``$ hg commit
-$ hg push
-$ hg pull
-$ hg merge``
+``$ hg commit``
+``$ hg push``
+``$ hg pull``
+``$ hg merge``
.. R39
@@ -348,8 +347,8 @@ You will now need to commit your changes, just like the simple merge that we per
.. L41
-``$ hg commit -m "Merge heads."
-$ hg push``
+``$ hg commit -m "Merge heads."``
+``$ hg push``
.. R41