populating the push dialog

0 views
Skip to first unread message

Jonathan Lundell

unread,
Apr 2, 2010, 11:17:16 AM4/2/10
to murk...@googlegroups.com
I created a local repository, wrote some stuff, created a home for it on Google Code, and pushed the stuff to GCode.

To do so, I had to create an entry in the local repository's .hg/hgrc with the GCode password, and it worked OK.

When I make a local change and try to push it to GCode, the push dialog comes up empty, both as-shown and in its drop-down. If I manually enter the GCode URL, it works OK.

So: how does that dialog get populated?

Also: if I keep my hgrc in my home directory instead of a local repository, how is a given section in hgrc associated with a repository? By the URL? Does the section name figure at all? Am I making any sense?

Jens Alfke

unread,
Apr 2, 2010, 12:45:21 PM4/2/10
to murk...@googlegroups.com

On Apr 2, 2010, at 8:17 AM, Jonathan Lundell wrote:

> When I make a local change and try to push it to GCode, the push
> dialog comes up empty, both as-shown and in its drop-down. If I
> manually enter the GCode URL, it works OK.
> So: how does that dialog get populated?

The [paths] section in the hgrc file.
The relevant line is RepoController_Actions.m:558, if you're curious.

—Jens

Jonathan Lundell

unread,
Apr 2, 2010, 1:00:49 PM4/2/10
to murk...@googlegroups.com

Perfect; thanks.

FWIW, when I first entered it there, I left off the scheme, and Murky (I guess?) added http://, even though only https is listed in [auth] for that URL.

I'll go R some more of TFM.

Reply all
Reply to author
Forward
0 new messages