doc/hg.1.txt
changeset 595 c2c2c6d617bd
parent 588 0c3bae18403b
child 605 8e82fd763be2
equal deleted inserted replaced
594:0a2ffc5c906b 595:c2c2c6d617bd
   325     Show the tip revision.
   325     Show the tip revision.
   326 
   326 
   327 undo::
   327 undo::
   328     Undo the last commit or pull transaction.
   328     Undo the last commit or pull transaction.
   329 
   329 
       
   330     Roll back the last pull or commit transaction on the
       
   331     repository, restoring the project to its earlier state.
       
   332 
       
   333     This command should be used with care. There is only one level of
       
   334     undo and there is no redo.
       
   335 
       
   336     This command is not intended for use on public repositories. Once
       
   337     a change is visible for pull by other users, undoing it locally is
       
   338     ineffective.
       
   339 
   330 update [-m -C] [revision]::
   340 update [-m -C] [revision]::
   331     Update the working directory to the specified revision.
   341     Update the working directory to the specified revision.
   332 
   342 
   333     By default, update will refuse to run if doing so would require
   343     By default, update will refuse to run if doing so would require
   334     merging or discarding local changes.
   344     merging or discarding local changes.