Find revisions associated to a given file

Dustin Sallings dustin at spy.net
Mon Jul 9 04:05:01 CDT 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://selenic.com/pipermail/mercurial/attachments/20070709/4c4e0200/attachment.htm 


More information about the Mercurial mailing list