Find revisions associated to a given file

Dustin Sallings dustin at spy.net
Mon Jul 9 09:05:01 UTC 2007


On Jul 9, 2007, at 1:39, Mathieu Clabaut wrote:

>  Imagine I've a mercurial repo and a file that once was  part of a  
> revision of this repo. Is there a (hopefully simple) mean to  
> retrive the revision(s) associated to this file ?

	I don't know exactly what your goal is, but ``hg log [filename]''  
will itemize all of the changesets that touched the file at that  
path.  You can then use ``hg update'' or ``hg cat'' to see what  
things looked like on those revisions.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20070709/4c4e0200/attachment-0001.html>


More information about the Mercurial mailing list