[issue2423] command.log throws errors when you don't give it certain (optional) args

LegNeato bugs at mercurial.selenic.com
Tue Oct 5 21:08:38 UTC 2010


New submission from LegNeato <clegnitto at mozilla.com>:

Using code like this:

from mercurial import ui, hg, commands

myui = ui.ui()
myrepo = hg.repository(myui, where)
test = commands.log(myui, myrepo, myrepo.path + '../browser/config/version.txt')

Throws an error unless 'date' is set. If you set date to None, another error
is thrown. Attached is a patch that fixes it.

The patch is against trunk.

----------
files: command_log.patch
messages: 13848
nosy: LegNeato
priority: bug
status: unread
title: command.log throws errors when you don't give it certain (optional) args

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2423>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: command_log.patch
Type: application/octet-stream
Size: 2279 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20101005/437bab4e/attachment.obj>


More information about the Mercurial-devel mailing list