[PATCH stable] log: fix missing diff output for hg log -p in sub directory

Martin Geisler mg at lazybytes.net
Sun Jul 4 07:16:56 CDT 2010


Yuya Nishihara <yuya at tcha.org> writes:

> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1278082146 -32400
> # Branch stable
> # Node ID 33bb2fe4b0f39698f0b55b86e8cac8a8ff635cb1
> # Parent  239f3210c970615dc1d5f861a92b61b4662a71a5
> log: fix missing diff output for hg log -p in sub directory
>
> prep(ctx, fns) receives paths relative to repository root, not cwd.

Thanks -- pushed as fbab0875fd09! This also fixes

  % hg -R repo log -p repo/file

so I've added a test for that case as well.

-- 
Martin Geisler

Mercurial links: http://mercurial.ch/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100704/71d76ea1/attachment.pgp>


More information about the Mercurial-devel mailing list