Get a file from the tip

Pierre-Yves David pierre-yves.david at logilab.fr
Wed Nov 21 09:51:41 CST 2012


On Wed, Nov 21, 2012 at 07:09:09AM -0800, v wrote:
> Pierre-Yves David wrote
> > What function are you wrapping, what are it's argument ?
> 
> changelog.read(self, node)
> 
> I guess if I could somehow access access self from the wrapper that might
> help, but I can't find any way to do that either.

Ha! you are far too low level to acces any high level API here. And actually
you won't have access to file content from changelog. You need to hook
elsewhere.

-- 
Pierre-Yves David

http://www.logilab.fr/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20121121/fac460da/attachment.pgp>


More information about the Mercurial-devel mailing list