On Mercurial API
Steve Borho
steve at borho.org
Wed Aug 1 23:57:51 CDT 2007
On Tuesday 31 July 2007, Steve Borho wrote:
<snip>
> File "/home/steve/lib/python/hgext/mq.py", line 2066, in commit
> return super(mqrepo, self).commit(*args, **opts)
> File "/home/steve/lib/python/mercurial/localrepo.py", line 796, in commit
> lines = [line.rstrip() for line in text.rstrip().splitlines()]
> AttributeError: rstrip
For what it's worth, this was an upstream problem. The string I was passing
in to the faked stdin was a QString, which has no rstrip attribute.
I've checked in a working version of the commands.dispatch() code and it does
indeed improve the responsiveness of Qct when you run it as an extension,
especially on Windows. It's up on qct.sourceforge.net if other people would
like to give it a try.
--
Steve Borho (steve at borho.org)
http://www.borho.org/~steve/steve.asc
Key fingerprint = 2D08 E7CF B624 624C DE1F E2E4 B0C2 5292 F2C6 2C8C
More information about the Mercurial-devel
mailing list