Am 22.02.2009 um 00:22 schrieb Wesley Leggette:
> > > > >>> 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. Yep, go ahead with that solution. For checking if a feature is available in Mercurial, there's a method in MercurialUtilities (which desperately needs to be refactored) that calls hg help to determine if a command is available. It doesn't check for options so far, so probably it would have to be enhanced. Thanks, Wesley, for tackling this :). Bastian > > > 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 -~----------~----~----~----~------~----~------~--~---
