[Bug 4279] New: Unknown error from Hg server v2.8.2

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Thu Jun 12 12:17:41 CDT 2014


http://bz.selenic.com/show_bug.cgi?id=4279

          Priority: normal
            Bug ID: 4279
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Unknown error from Hg server v2.8.2
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: j.herzig at emax-se.de
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.8.2
         Component: Mercurial
           Product: Mercurial

TortoiseHg told me in log file to report this unknown error.

What I wanted to do: Make a push from a local TortoiseHg on our local Hg server
to an existing repository with over 350 commits which is round about 4GB in
total size.

I don't think that the error is in my local TortoiseHg but on the Hg server
(version 2.8.2 on a virtual Linux server) because the error log has a 'remote:
' on the relevant lines. The same happens if I do all this from a command line
without Tortoise GUI.

A verfication on both sides gives no result of an error. If I do a 'clone' of
the repository make some minor changes in a readme file, then commit and push,
everything is fine. If I then add my last changes from the mal functioning
local repository to the clean local clone, then commit and push, I get this
error.

Here is a manual translation of the first lines from german to english:
>>>
remote: Append the changesets
remote: Append the manifestos
remote: Append the file changes
remote: transaction aborted!
remote: Rollback completed
remote: ** Unknown Error - please click on Report:
remote: ** http://mercurial.selenic.com/wiki/BugTracker

<<< end of translation

This is the complete log file from TortoiseHg (sorry, partially in german):

% hg outgoing --template {node}^M --force
ssh://hg@192.168.131.21/H12_MB_FPGA_prj
comparing with ssh://hg@192.168.131.21/H12_MB_FPGA_prj
searching for changes
cd14fc6f0320402d98dcd6c2a9f1aa5e91bb0916
45ee090fdb8be5ca06635330927077bc87164d37
0699afc2077c984af31481f8d5d5b566f5578edd
4124e9c2783f1e90443a68e0e52764a823fccc9f
0f81ab4b4dc3bfcf4d86cc0924f24e1345ef8450
[command completed successfully Thu Jun 12 16:47:40 2014]
% hg push --rev 368 --force --new-branch
ssh://hg@192.168.131.21/H12_MB_FPGA_prj
pushing to ssh://hg@192.168.131.21/H12_MB_FPGA_prj
searching for changes
remote: Füge Änderungssätze hinzu
remote: Füge Manifeste hinzu
remote: Füge Dateiänderungen hinzu
remote: Transaktion abgebrochen!
remote: Zurückrollen abgeschlossen
remote: ** Unbekannter Fehler - bitte melden auf:
remote: ** http://mercurial.selenic.com/wiki/BugTracker
remote: ** Python 2.7.3 (default, Mar 14 2014, 11:57:14) [GCC 4.7.2]
remote: ** Mercurial Distributed SCM (Version 2.8.2)
remote: ** Erweiterungen geladen: 
remote: Traceback (most recent call last):
remote:   File "/usr/share/mercurial-server/hg-ssh", line 91, in <module>
remote:     dispatch.dispatch(request(['-R', repo, 'serve', '--stdio']))
remote:   File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line
69, in dispatch
remote:     ret = _runcatch(req)
remote:   File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line
133, in _runcatch
remote:     return _dispatch(req)
remote:   File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line
806, in _dispatch
remote:     cmdpats, cmdoptions)
remote:   File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line
585, in runcommand
remote:     ret = _runcommand(ui, options, cmd, d)
remote:   File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line
897, in _runcommand
remote:     return checkargs()
remote:   File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line
868, in checkargs
remote:     return cmdfunc()
remote:   File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line
803, in <lambda>
remote:     d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
remote:   File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 512,
in check
remote:     return func(*args, **kwargs)
remote:   File "/usr/lib/python2.7/dist-packages/mercurial/commands.py", line
5169, in serve
remote:     s.serve_forever()
remote:   File "/usr/lib/python2.7/dist-packages/mercurial/sshserver.py", line
94, in serve_forever
remote:     while self.serve_one():
remote:   File "/usr/lib/python2.7/dist-packages/mercurial/sshserver.py", line
112, in serve_one
remote:     rsp = wireproto.dispatch(self.repo, self, cmd)
remote:   File "/usr/lib/python2.7/dist-packages/mercurial/wireproto.py", line
353, in dispatch
remote:     return func(repo, proto, *args)
remote:   File "/usr/lib/python2.7/dist-packages/mercurial/wireproto.py", line
636, in unbundle
remote:     r = repo.addchangegroup(gen, 'serve', proto._client())
remote:   File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line
61, in wrapper
remote:     return orig(repo.unfiltered(), *args, **kwargs)
remote:   File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line
2179, in addchangegroup
remote:     pr, needfiles)
remote:   File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line
2279, in addchangegroupfiles
remote:     if not fl.addgroup(source, revmap, trp):
remote:   File "/usr/lib/python2.7/dist-packages/mercurial/revlog.py", line
1252, in addgroup
remote:     p1, p2, (baserev, delta), ifh, dfh)
remote:   File "/usr/lib/python2.7/dist-packages/mercurial/revlog.py", line
1170, in _addrevision
remote:     entry = self._io.packentry(e, self.node, self.version, curr)
remote:   File "/usr/lib/python2.7/dist-packages/mercurial/revlog.py", line
136, in packentry
remote:     return _pack(indexformatv0, *e2)
remote: struct.error: integer out of range for 'l' format code
abort: unexpected response: empty string
[command returned code 255 Thu Jun 12 16:48:12 2014]

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list