Convert extension (from svn) - incredibly fast!

Paul Moore p.f.moore at gmail.com
Sat Apr 5 08:55:29 UTC 2008


On 05/04/2008, Bryan O'Sullivan <bos at serpentine.com> wrote:
> Paul Moore wrote:
>
>  > Is there a method for reading this, or should I just use Python's
>  > config parser with a path of (repo root + '.hg/hgrc')?
>
>
> There's a method for it.  Usually, if you want to figure out how a
>  particular thing is done, it helps to think of a place that probably
>  needs to do it, and see what happens there.  In the case of figuring out
>  the default place to look, you'd want to check commands.py for the
>  definition of the pull command, and you'll find what you need.

Ah, yes, pull. I couldn't think of what would use it, pull hadn't
occurred to me. Thanks,
Paul.



More information about the Mercurial mailing list