Commits

Dan Villiom Podlaski Christiansen  committed cc28122 Draft

mention next & previous in the tutorial (also, test them)

  • Participants
  • Parent commits 8addce2

Comments (0)

Files changed (1)

File tests/test-tutorial.t

   o  7e82d3f3c2cb (public): Monthy Python Shopping list
   
 
+Quickly accessing other revisions
+---------------------------------
+
+You can easily update to the preceding changeset -- the parent --
+using 'previous', or to the following changeset -- a child -- using
+'next'.
+
+  $ hg log -G
+  o  75954b8cd933 (draft): bathroom stuff
+  |
+  o  a224f2a4fb9f (public): SPAM SPAM
+  |
+  o  41aff6a42b75 (public): adding fruit
+  |
+  o  dfd3a2d7691e (public): adding condiment
+  |
+  @  9ca060c80d74 (public): SPAM
+  |
+  o  7e82d3f3c2cb (public): Monthy Python Shopping list
+  
+  $ hg next
+  [2] adding condiment
+  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  $ hg previous
+  [1] SPAM
+  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  $ hg log -G
+  o  75954b8cd933 (draft): bathroom stuff
+  |
+  o  a224f2a4fb9f (public): SPAM SPAM
+  |
+  o  41aff6a42b75 (public): adding fruit
+  |
+  o  dfd3a2d7691e (public): adding condiment
+  |
+  @  9ca060c80d74 (public): SPAM
+  |
+  o  7e82d3f3c2cb (public): Monthy Python Shopping list
+  
+
+
 Rebasing unstable change after pull
 ----------------------------------------------