0.9 coming soon!

Brendan Cully brendan at kublai.com
Wed May 3 14:36:03 CDT 2006


On Thursday, 27 April 2006 at 22:41, Vadim Gelfer wrote:
> On 4/26/06, Vincent Danjean <vdanjean.ml at free.fr> wrote:
> > submitted_upstream__hash_keys.patch is needed because using a non
> > existant key in a hash return an error instead of a 'false' value.
> 
> this is bug in tailor. tailor should be passing dict with empty string
> as value here. so patch not applied, sorry.

By the way, is there any clean way to determine which arguments must
be passed in? The current tailor code just does:

commands.pull(repo.ui, repo, "default", ssh=None, remotecmd=None,
              update=None, rev=None)

which will tend to break as hg picks up new options. I've been using
this hack in other places:

opts = dict([(f[1], f[2]) for f in commands.find(cmd)[1][1]])

commands.foo(...., **opts)

which also seems fairly gross.


More information about the Mercurial mailing list