[PATCH] commands: use repo.ui rather than ui when expanding the path

Matt Mackall mpm at selenic.com
Wed Jul 15 22:53:30 UTC 2009


On Fri, 2009-07-10 at 14:06 +0200, Dan Villiom Podlaski Christiansen
wrote:
> # HG changeset patch
> # User Dan Villiom Podlaski Christiansen <danchr at gmail.com>
> # Date 1247226048 -7200
> # Node ID 675cedfd78fca2123d725dd0cf6bcbad1e7c27b2
> # Parent  d7881cd9bed6714ce8faabdf59003f0b85cef74a
> commands: use repo.ui rather than ui when expanding the path.
> 
> This allows sessions accessing more than one repository to reuse the
> UI instance.

Can you give an example of when this matters?

-- 
http://selenic.com : development and support for Mercurial and Linux





More information about the Mercurial-devel mailing list