hg serve broken in crew

Giorgos Keramidas keramida at ceid.upatras.gr
Tue Jul 1 03:17:02 CDT 2008


On Tue, 01 Jul 2008 06:56:57 +0200, Dirkjan Ochtman <dirkjan at ochtman.nl> wrote:
> Giorgos Keramidas wrote:
>> AssertionError: Content-length header sent, but more bytes than specified are being written.
>
> Yeah, I know about this. Not sure why this didn't show up during my
> testing, but will have to investigate a little more. Sorry about this!

Thanks :)

I'm trying to pinpoint the change which started this, but I also have an
interesting update for my local cvs20hg installation to fix:

% keramida at kobe:/home/keramida/hg/emacs/gnu$ cvs20hg /home/emacs emacs .
% Checking out working dir
% no interrupted transaction available
% 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
% Traceback (most recent call last):
%   File "/usr/local/bin/cvs20hg", line 18, in <module>
%     cvstohg.sync()
%   File "/usr/local/lib/python2.5/site-packages/cvstohg/cvs20hg.py", line 119, in sync
%     self._init()
%   File "/usr/local/lib/python2.5/site-packages/cvstohg/cvs20hg.py", line 64, in _init
%     files = [os.path.join(self.module, f[1]) for f in self.hgrepo.walk(tip)]
%   File "/usr/local/lib/python2.5/site-packages/mercurial/localrepo.py", line 963, in walk
%     for src, fn, st in self.dirstate.walk(match, True, False):
%   File "/usr/local/lib/python2.5/site-packages/mercurial/dirstate.py", line 496, in walk
%     files = match.files()
% AttributeError: 'str' object has no attribute 'files'
% keramida at kobe:/home/keramida/hg/emacs/gnu$

If you push a fix for the hg serve traceback while I am fixing cvs20hg,
please let me know.



More information about the Mercurial-devel mailing list