contrib/docker/debian-jessie
author Jun Wu <quark@fb.com>
Sun, 02 Apr 2017 18:57:03 -0700
changeset 31801 d22f29abeb42
parent 24973 4c4d0012db4f
child 32148 e02bae37af30
permissions -rw-r--r--
revlog: use raw revision for rawsize When writing the revlog-ng index, the third field is len(rawtext). See revlog._addrevision: textlen = len(rawtext) .... e = (offset_type(offset, flags), l, textlen, base, link, p1r, p2r, node) self.index.insert(-1, e) Therefore, revlog.index[rev][2] returned by revlog.rawsize should be len(rawtext), where "rawtext" is revlog.revision(raw=True). Unfortunately it's hard to add a test for this code path because "if l >= 0" catches most cases.

FROM debian:jessie
RUN apt-get update && apt-get install -y \
  build-essential \
  debhelper \
  dh-python \
  devscripts \
  python \
  python-all-dev \
  python-docutils \
  zip \
  unzip