Tutorial - examining repository history

At this point, we have followed TutorialClone to clone a ["Repository"]; our local copy is called my-hello.

Let's take a look at the history of this repository. To do this, we use the log command. This prints a summary of every event that has occurred in the ["Repository"], going backwards in time from the most recent.

$ hg history
changeset:   1:c63c46a15671
tag:         tip
user:        mpm@selenic.com
date:        Fri Aug 26 00:59:48 2005 -0700
summary:     Add a makefile

changeset:   0:76f01e715b70
user:        mpm@selenic.com
date:        Fri Aug 26 00:59:12 2005 -0700
summary:     Create a standard "hello, world" program

These lines of output bear some describing.

We can get more detailed history information by asking for verbose output:

changeset:   1:c63c46a156714c38b03301aed99cf40630985545
tag:         tip
user:        mpm@selenic.com
date:        Fri Aug 26 00:59:48 2005 -0700
files:       Makefile
description:
Add a makefile

...

Verbose output contains a few more fields than the default output.

Now that we have some slight idea of what has happened, let's jump in and make some changes! Onwards, to TutorialFirstChange!