Package: hg-buildpackage
Version: 1.0.4.0
Severity: wishlist

--- Please enter the report below this line. ---
It's perhaps worth noting in the documentation that the *.orig.tar.gz
file will be rebuilt from the upstream repository. That leads to
different path names of the upstream directory in the new *.orig.tar.gz
and thus a slightly different size of the resulting tarball. When
uploading just a new revision while the old *.orig.tar.gz is already in
the archives the user is likely to get a warning along the lines of:

Rejected: md5sum for 
/srv/ftp.debian.org/ftp/pool/main/p/python-babel/python-babel_0.9.1.orig.tar.gz 
doesn't match python-babel_0.9.1-5.dsc.
Rejected: size for 
/srv/ftp.debian.org/ftp/pool/main/p/python-babel/python-babel_0.9.1.orig.tar.gz 
doesn't match python-babel_0.9.1-5.dsc.
Rejected: 'dpkg-source -x' failed for python-babel_0.9.1-5.dsc [return code: 
6400].
 [dpkg-source output:] dpkg-source: error: file python-babel_0.9.1.orig.tar.gz 
has size 1591247 instead of expected 1554259

It seems to be best to copy the old *.orig.tar.gz tarball into the build
directory (the parent directory relative to the Mercurial repository) so
that hg-buildpackage won't rebuild the orig tarball but use the existing
one.

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.22

Debian Release: lenny/sid
  900 unstable        ftp.de.debian.org 
  500 lenny           www.vollstreckernet.de 

--- Package information. ---
Depends           (Version) | Installed
===========================-+-===========
dctrl-tools                 | 2.12
devscripts                  | 2.10.13
dpkg-dev                    | 1.14.15
hg-load-dirs     (>= 1.1.4) | 1.1.4
libc6            (>= 2.7-1) | 2.7-6
libgmp3c2                   | 2:4.2.2+dfsg-1
mercurial        (>= 0.9.4) | 0.9.5-2




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to