[PATCH 4 of 4] subrepo: fix hgrc paths section during subrepo pulling
Benoit Boissinot
benoit.boissinot at ens-lyon.org
Sat Mar 13 09:37:18 CST 2010
On Fri, Mar 12, 2010 at 01:47:57AM +0100, Edouard Gomez wrote:
> # HG changeset patch
> # User Edouard Gomez <ed.gomez at free.fr>
> # Date 1268353415 -3600
> # Node ID eb43e05100d4945e4677e9ec8e5cfbbe59f9968b
> # Parent 3b1ab4933c540cd909f0e0b5823a5972e42b653f
> subrepo: fix hgrc paths section during subrepo pulling
>
> There are two bugs in current subrepo ctor:
> - hgrc paths were using parent repo (ctx._repo) instead of self._repo
> - it was joined with local extract path, not its source repo path
>
> Fixed both bugs using _abssource on self once it is fully initialized.
> It gets the job done perfectly for pull and push urls.
Re-edited, fixed un-sync with ui (ui wouldn't have the same value as
hgrc).
Thanks!
Benoit
--
:wq
More information about the Mercurial-devel
mailing list