Implemented auto-population in user/password fields for all configuration
wizard main page sub-classes (pull wizard, push wizard, and transplate
wizard). The fields now use the repo location manager to look up user names
and passwords, as well as to find defaults.

All of this code is separable from the issue of HgPathsClient. Here I would
still either like to use ini4j or a clean implementation of ini reader or
know the preferred way to deal with things if "hg paths" does not have the
"--show-passwords" option:

    1. How should I detect if the option is not present?
    2. Should I keep an implementation of ini file reader to read passwords
       even when --show-passwords is not available? Or should password
       reading from .hg/hgrc not work if the option is unavailable.

Note that I've re-ordered the .hg/hgrc and repositories.txt lookups in repo
location manager so repositories.txt overrides values in .hg/hgrc. This
makes not reading passwords from .hg/hgrc less problematic because the user
can still enter them in and have them be remembered.

Can pull from: http://hg.cleversafe.org/mercurialeclipse/


Wesley








On 2/21/09 17:22, "Wesley Leggette" <[email protected]> wrote:

> 
> 
> 
>>> I would be willing to write a clean ini file reader or to add an
>>> option in
>>> hg paths.
>> 
>> I think the latter is preferable, as it enhances Mercurial as a whole,
>> not only MercurialEclipse.
>> 
> 
> Regarding this, I'm implementing a "--show-passwords" option to "hg paths",
> but obviously this option would not be available in a mercurial release for
> some time. How do you guys deal with such issues?
> 
> I would be inclined to implement it such that the path client attempts to use
> --show-passwords, and if that fails it attempts to read the .hg/hgrc file
> directly. That would of course require keeping the ini reader in there for
> some time. If that were the case perhaps it's best just the read the file
> directly.
> 
> Wesley
> 
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MercurialEclipse" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mercurialeclipse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to