getting changecontext of a file and using commands.log

Alexander Solovyov piranha at piranha.org.ua
Mon Aug 3 07:54:51 CDT 2009


On Mon, Aug 3, 2009 at 3:50 PM, Greg Ward<greg-hg at gerg.ca> wrote:
> On Fri, Jul 31, 2009 at 9:12 PM, scrappy doo<shadowcwal at yahoo.com> wrote:
>> 1)Given a filename, is there an easy way to get all of its changecontexts in
>> the repository?
>
> I don't know the answer, but I know how to find the answer: Read The
> Fine Source Code.  Specifically, start in mercurial/commands.py, look
> for log(), and see what it does when you pass a filename on the
> command line.

Oh, I have already replied to him, but forgot to Cc the mailing list.

-- 
Alexander



More information about the Mercurial-devel mailing list