Manipulating files from different changesets

Imad A. Ferzli ferzli at eecg.toronto.edu
Sun May 20 22:12:17 UTC 2007


Hello list,

I am new to mercurial and still experimenting.

I have a question regarding viewing and manipulating files in different 
changesets of a repository. A specific example would be something like this:

The current head/tip of the repository looks like:

changeset:  5:53a46fa3a296
branch:    My_Branch 
tag:          tip
user:        ferzli
date:        Sun May 20 16:29:53 2007 -0400
summary:     Common trunk

A previous changeset is:

changeset:   1:b4e0de952359
user:        ferzli
date:        Fri May 18 16:56:53 2007 -0400
summary:     Added figs to rep

I would like to copy a file foo.txt from the earlier changest b4e0de952359
to the current working directory withouth the rest of the files from the 
earlier changest.
What's the way to do this?

Thanks




More information about the Mercurial mailing list