cloning via webserver (server: windows 2003 64-bit server; client: same or linux)

rollin rollinforall at gmail.com
Tue Jan 25 18:34:36 CST 2011


Hi,
I'm running hg 1.7.3 and tortoisehg 1.1.8.  I've created two kinds of
repositories on the windows 2003 server: (1) with working directories and
(2) without working directories (i.e., like a central repository).  I've
modified the configuration file of the webserver for both repositories via
totortoise such that max files is 100000 and max changes is 100000.

When I start the websever (via tortoisehg) on the repository with working
directories, I can successfully clone via the hg command line from a linux
node and the same windows server (but to a different folder).  The command
is like:
  linux$ hg clone http:://xxx.yyy.com:8000/ battest

When I start the webserver on the repository without working directories, I
get an error attempting to clone (via same command as above) on either the
windows or linux systems -- "abort: consistency error in delta!".

If I add the options -v --traceback, I get the following output (from either
linux or windows):
D:\roy>hg clone http://usctap3488.merck.com:8000/ battest -v --traceback
requesting all changes
adding changesets
adding manifests
adding file changes
transaction abort!
rollback completed
Traceback (most recent call last):
  File "mercurial\dispatch.pyc", line 58, in _runcatch
  File "mercurial\dispatch.pyc", line 590, in _dispatch
  File "mercurial\dispatch.pyc", line 401, in runcommand
  File "mercurial\dispatch.pyc", line 641, in _runcommand
  File "mercurial\dispatch.pyc", line 595, in checkargs
  File "mercurial\dispatch.pyc", line 588, in <lambda>
  File "mercurial\util.pyc", line 426, in check
  File "mercurial\commands.pyc", line 736, in clone
  File "mercurial\hg.pyc", line 337, in clone
  File "mercurial\localrepo.pyc", line 1886, in clone
  File "mercurial\localrepo.pyc", line 1295, in pull
  File "mercurial\localrepo.pyc", line 1739, in addchangegroup
  File "mercurial\revlog.pyc", line 1336, in addgroup
  File "mercurial\changegroup.pyc", line 174, in parsechunk
  File "mercurial\changegroup.pyc", line 141, in read
  File "mercurial\util.pyc", line 988, in read
  File "mercurial\util.pyc", line 966, in splitbig
  File "mercurial\httprepo.pyc", line 18, in zgenerator
  File "mercurial\util.pyc", line 1020, in filechunkiter
  File "mercurial\keepalive.pyc", line 427, in read
  File "httplib.pyc", line 522, in read
  File "mercurial\keepalive.pyc", line 440, in _read_chunked
  File "socket.pyc", line 427, in readline
error: [Errno 10054] An existing connection was forcibly closed by the
remote ho
st
abort: An existing connection was forcibly closed by the remote host

But, if I add --debug to the original command line, i.e.,
   D:\roy>hg clone http://usctap3488.merck.com:8000/ battest --debug
it works without error.

The repository has around 1500 files and is about 18MB.  My real interest is
to clone from the linux box but I was curious if the error was unique to
linux; hence, I included the testing on windows as well.  It doesn't appear
to be platform dependent.  Also, when I cloned a much smaller repository
without working directories, it worked without error.

cheers, roy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20110125/7c84d563/attachment.htm>


More information about the Mercurial mailing list