Fri Jun 2 00:55:51 UTC 2023 I: starting to build git-remote-hg/bookworm/amd64 on jenkins on '2023-06-02 00:55' Fri Jun 2 00:55:51 UTC 2023 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/amd64_3/36/console.log Fri Jun 2 00:55:51 UTC 2023 I: Downloading source for bookworm/git-remote-hg=1.0.4~ds-1 --2023-06-02 00:55:52-- http://cdn-fastly.deb.debian.org/debian/pool/main/g/git-remote-hg/git-remote-hg_1.0.4%7eds-1.dsc Connecting to 78.137.99.97:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2099 (2.0K) [text/prs.lines.tag] Saving to: ‘git-remote-hg_1.0.4~ds-1.dsc’ 0K .. 100% 127M=0s 2023-06-02 00:55:52 (127 MB/s) - ‘git-remote-hg_1.0.4~ds-1.dsc’ saved [2099/2099] Fri Jun 2 00:55:52 UTC 2023 I: git-remote-hg_1.0.4~ds-1.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: git-remote-hg Binary: git-remote-hg Architecture: all Version: 1.0.4~ds-1 Maintainer: Debian QA Group Homepage: https://github.com/mnauw/git-remote-hg Standards-Version: 4.6.1 Vcs-Browser: https://salsa.debian.org/debian/git-remote-hg Vcs-Git: https://salsa.debian.org/debian/git-remote-hg.git Testsuite: autopkgtest Testsuite-Triggers: @builddeps@ Build-Depends: debhelper-compat (= 13), dh-sequence-python3 Build-Depends-Indep: asciidoc, git, mercurial (>= 5.8~), mercurial-git , python3, sharness , xmlto Package-List: git-remote-hg deb vcs optional arch=all Checksums-Sha1: b2493b665ba8831b2c3206213e179a0996c61ec2 51200 git-remote-hg_1.0.4~ds.orig.tar.xz c13dc3b40d3bd26bb97a51754236acfe5b86defc 5832 git-remote-hg_1.0.4~ds-1.debian.tar.xz Checksums-Sha256: bd9b0941738a1fbb52c79d33acb64fd21007618c5897b8a46fb544b43b945be8 51200 git-remote-hg_1.0.4~ds.orig.tar.xz 0f073b71b012814912c88e956beb5cde05a9a89d26ae4487d54648fc3750a018 5832 git-remote-hg_1.0.4~ds-1.debian.tar.xz Files: 4ca99192234044a51150433e428f4b6a 51200 git-remote-hg_1.0.4~ds.orig.tar.xz fed78c86ab45d7080ec516b9c38f073e 5832 git-remote-hg_1.0.4~ds-1.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEYQsotVz8/kXqG1Y7MRa6Xp/6aaMFAmORSUEACgkQMRa6Xp/6 aaOxmw//a6I817INtVY/r9BEqlPOKsuFj0kXtdN+6Eq5ylOJdvpbrEYgT3bg1MVk Hicptzt1BcN1qA21A//eAiH/BWBc/35rOUDa2l0l8MO1HMK4or/F3D4JUgEXWYXG 912zTHIHmgiFCLOL3sYOWO3aozCFeChlTmPId5Bo2nt8t/JQazvCqbe6AOu4W1XU Ea/Q6zSbOPmACRWcTmqPgTAEHwH2qKi3UqC1QIKOVZ0eetf2KrzGaMSqpmSDbJLs sIuHtMfcUtAT1O78/LkxfoLu/7gixJ7zhyGckdMWX7u3UdYiftNcrwMvcRduMCX0 JPrMN7zLhKsjw66/HREqA033lERdyC9Yndbz+cRG2MVWswwudesqG0BCVVWt+A/O McedOjDHPDYbE5as/ABChbMUmeo52ifR9cBjD4wqbMvZfqsvxaKywmanUpsxgkbI QDfhyQjfKRLLnCXsz6lB51HT2RQIJBlWYBGxLU1fxi1VUlXZZdGdYVDDht47Poge LUnDRfcwSOvpWBhZ2GC3jvifVt8bzrHJDdSEPspGKtZpkceBO6nfWhE+JFYSRXdq JhCdrl0j+XcCkg5pNMtqo0R71ZT0czSYldSfUA/03AZSnkBI5RvkVtikBSnNuOGN yIsE2rQKMnQ6dSqFVMS6xJxp/o49SsYq/ojnGp6P81Xe1Z+uSNY= =aoCJ -----END PGP SIGNATURE----- Fri Jun 2 00:55:52 UTC 2023 I: Checking whether the package is not for us Fri Jun 2 00:55:52 UTC 2023 I: Starting 1st build on remote node ionos1-amd64.debian.net. Fri Jun 2 00:55:52 UTC 2023 I: Preparing to do remote build '1' on ionos1-amd64.debian.net. Fri Jun 2 01:11:47 UTC 2023 I: Deleting $TMPDIR on ionos1-amd64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Thu Jun 1 12:55:55 -12 2023 I: pbuilder-time-stamp: 1685667355 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [git-remote-hg_1.0.4~ds-1.dsc] I: copying [./git-remote-hg_1.0.4~ds.orig.tar.xz] I: copying [./git-remote-hg_1.0.4~ds-1.debian.tar.xz] I: Extracting source gpgv: Signature made Wed Dec 7 14:17:37 2022 -12 gpgv: using RSA key 610B28B55CFCFE45EA1B563B3116BA5E9FFA69A3 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./git-remote-hg_1.0.4~ds-1.dsc: no acceptable signature found dpkg-source: info: extracting git-remote-hg in git-remote-hg-1.0.4~ds dpkg-source: info: unpacking git-remote-hg_1.0.4~ds.orig.tar.xz dpkg-source: info: unpacking git-remote-hg_1.0.4~ds-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 1001_testsuite_UTF-8.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/2383504/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='amd64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15 ' DISTRIBUTION='bookworm' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='7d472a427d31479a967daea4bed9e55c' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='2383504' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.XbU4jdWT/pbuilderrc_zV9q --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.XbU4jdWT/b1 --logfile b1/build.log git-remote-hg_1.0.4~ds-1.dsc' SUDO_GID='110' SUDO_UID='105' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://78.137.99.97:3128' I: uname -a Linux ionos1-amd64 5.10.0-23-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86_64 GNU/Linux I: ls -l /bin total 5632 -rwxr-xr-x 1 root root 1265648 Apr 23 09:23 bash -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash -rwxr-xr-x 1 root root 121904 Sep 20 2022 date -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd -rwxr-xr-x 1 root root 102200 Sep 20 2022 df -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir -rwxr-xr-x 1 root root 88656 Mar 22 22:02 dmesg lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep -rwxr-xr-x 1 root root 35664 Sep 20 2022 false -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount -rwxr-xr-x 1 root root 203152 Jan 24 02:43 grep -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd lrwxrwxrwx 1 root root 4 Apr 23 09:23 rbash -> bash -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir -rwxr-xr-x 1 root root 27560 Nov 2 2022 run-parts -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar -rwxr-xr-x 1 root root 14520 Nov 2 2022 tempfile -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch -rwxr-xr-x 1 root root 35664 Sep 20 2022 true -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir -rwxr-xr-x 1 root root 72024 Mar 22 22:02 wdctl lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew I: user script /srv/workspace/pbuilder/2383504/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), dh-sequence-python3, asciidoc, git, mercurial (>= 5.8~), mercurial-git, python3, sharness, xmlto dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19591 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-sequence-python3; however: Package dh-sequence-python3 is not installed. pbuilder-satisfydepends-dummy depends on asciidoc; however: Package asciidoc is not installed. pbuilder-satisfydepends-dummy depends on git; however: Package git is not installed. pbuilder-satisfydepends-dummy depends on mercurial (>= 5.8~); however: Package mercurial is not installed. pbuilder-satisfydepends-dummy depends on mercurial-git; however: Package mercurial-git is not installed. pbuilder-satisfydepends-dummy depends on python3; however: Package python3 is not installed. pbuilder-satisfydepends-dummy depends on sharness; however: Package sharness is not installed. pbuilder-satisfydepends-dummy depends on xmlto; however: Package xmlto is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: asciidoc{a} asciidoc-base{a} asciidoc-common{a} autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-python{a} dh-strip-nondeterminism{a} docbook-xml{a} docbook-xsl{a} dwz{a} file{a} gettext{a} gettext-base{a} git{a} git-man{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbrotli1{a} libcurl3-gnutls{a} libdebhelper-perl{a} libelf1{a} liberror-perl{a} libexpat1{a} libfile-stripnondeterminism-perl{a} libicu72{a} libldap-2.5-0{a} libmagic-mgc{a} libmagic1{a} libnghttp2-14{a} libpipeline1{a} libpsl5{a} libpython3-stdlib{a} libpython3.11-minimal{a} libpython3.11-stdlib{a} libreadline8{a} librtmp1{a} libsasl2-2{a} libsasl2-modules-db{a} libssh2-1{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} libxml2-utils{a} libxslt1.1{a} m4{a} man-db{a} media-types{a} mercurial{a} mercurial-common{a} mercurial-git{a} po-debconf{a} python3{a} python3-distutils{a} python3-dulwich{a} python3-lib2to3{a} python3-minimal{a} python3-six{a} python3-urllib3{a} python3.11{a} python3.11-minimal{a} readline-common{a} sensible-utils{a} sgml-base{a} sgml-data{a} sharness{a} ucf{a} xml-core{a} xmlto{a} xsltproc{a} The following packages are RECOMMENDED but will NOT be installed: asciidoc-dblatex ca-certificates curl dblatex fop less libarchive-cpio-perl libldap-common libltdl-dev libmail-sendmail-perl libpaper-utils libsasl2-modules lynx openssh-client publicsuffix python3-fastimport wget zip 0 packages upgraded, 76 newly installed, 0 to remove and 0 not upgraded. Need to get 41.2 MB of archives. After unpacking 188 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main amd64 libpython3.11-minimal amd64 3.11.2-6 [813 kB] Get: 2 http://deb.debian.org/debian bookworm/main amd64 libexpat1 amd64 2.5.0-1 [99.3 kB] Get: 3 http://deb.debian.org/debian bookworm/main amd64 python3.11-minimal amd64 3.11.2-6 [2064 kB] Get: 4 http://deb.debian.org/debian bookworm/main amd64 python3-minimal amd64 3.11.2-1+b1 [26.3 kB] Get: 5 http://deb.debian.org/debian bookworm/main amd64 media-types all 10.0.0 [26.1 kB] Get: 6 http://deb.debian.org/debian bookworm/main amd64 readline-common all 8.2-1.3 [69.0 kB] Get: 7 http://deb.debian.org/debian bookworm/main amd64 libreadline8 amd64 8.2-1.3 [166 kB] Get: 8 http://deb.debian.org/debian bookworm/main amd64 libpython3.11-stdlib amd64 3.11.2-6 [1796 kB] Get: 9 http://deb.debian.org/debian bookworm/main amd64 python3.11 amd64 3.11.2-6 [572 kB] Get: 10 http://deb.debian.org/debian bookworm/main amd64 libpython3-stdlib amd64 3.11.2-1+b1 [9312 B] Get: 11 http://deb.debian.org/debian bookworm/main amd64 python3 amd64 3.11.2-1+b1 [26.3 kB] Get: 12 http://deb.debian.org/debian bookworm/main amd64 sgml-base all 1.31 [15.4 kB] Get: 13 http://deb.debian.org/debian bookworm/main amd64 sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 14 http://deb.debian.org/debian bookworm/main amd64 libmagic-mgc amd64 1:5.44-3 [305 kB] Get: 15 http://deb.debian.org/debian bookworm/main amd64 libmagic1 amd64 1:5.44-3 [104 kB] Get: 16 http://deb.debian.org/debian bookworm/main amd64 file amd64 1:5.44-3 [42.5 kB] Get: 17 http://deb.debian.org/debian bookworm/main amd64 gettext-base amd64 0.21-12 [160 kB] Get: 18 http://deb.debian.org/debian bookworm/main amd64 libuchardet0 amd64 0.0.7-1 [67.8 kB] Get: 19 http://deb.debian.org/debian bookworm/main amd64 groff-base amd64 1.22.4-10 [916 kB] Get: 20 http://deb.debian.org/debian bookworm/main amd64 bsdextrautils amd64 2.38.1-5+b1 [86.6 kB] Get: 21 http://deb.debian.org/debian bookworm/main amd64 libpipeline1 amd64 1.5.7-1 [38.5 kB] Get: 22 http://deb.debian.org/debian bookworm/main amd64 man-db amd64 2.11.2-2 [1386 kB] Get: 23 http://deb.debian.org/debian bookworm/main amd64 ucf all 3.0043+nmu1 [55.2 kB] Get: 24 http://deb.debian.org/debian bookworm/main amd64 asciidoc-common all 10.2.0-1 [109 kB] Get: 25 http://deb.debian.org/debian bookworm/main amd64 xml-core all 0.18+nmu1 [23.8 kB] Get: 26 http://deb.debian.org/debian bookworm/main amd64 docbook-xsl all 1.79.2+dfsg-2 [1237 kB] Get: 27 http://deb.debian.org/debian bookworm/main amd64 libicu72 amd64 72.1-3 [9376 kB] Get: 28 http://deb.debian.org/debian bookworm/main amd64 libxml2 amd64 2.9.14+dfsg-1.2 [687 kB] Get: 29 http://deb.debian.org/debian bookworm/main amd64 libxml2-utils amd64 2.9.14+dfsg-1.2 [98.8 kB] Get: 30 http://deb.debian.org/debian bookworm/main amd64 libxslt1.1 amd64 1.1.35-1 [242 kB] Get: 31 http://deb.debian.org/debian bookworm/main amd64 xsltproc amd64 1.1.35-1 [126 kB] Get: 32 http://deb.debian.org/debian bookworm/main amd64 asciidoc-base all 10.2.0-1 [89.5 kB] Get: 33 http://deb.debian.org/debian bookworm/main amd64 asciidoc all 10.2.0-1 [10.5 kB] Get: 34 http://deb.debian.org/debian bookworm/main amd64 m4 amd64 1.4.19-3 [287 kB] Get: 35 http://deb.debian.org/debian bookworm/main amd64 autoconf all 2.71-3 [332 kB] Get: 36 http://deb.debian.org/debian bookworm/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get: 37 http://deb.debian.org/debian bookworm/main amd64 automake all 1:1.16.5-1.3 [823 kB] Get: 38 http://deb.debian.org/debian bookworm/main amd64 autopoint all 0.21-12 [495 kB] Get: 39 http://deb.debian.org/debian bookworm/main amd64 libdebhelper-perl all 13.11.4 [81.2 kB] Get: 40 http://deb.debian.org/debian bookworm/main amd64 libtool all 2.4.7-5 [517 kB] Get: 41 http://deb.debian.org/debian bookworm/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 42 http://deb.debian.org/debian bookworm/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 43 http://deb.debian.org/debian bookworm/main amd64 libsub-override-perl all 0.09-4 [9304 B] Get: 44 http://deb.debian.org/debian bookworm/main amd64 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 45 http://deb.debian.org/debian bookworm/main amd64 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 46 http://deb.debian.org/debian bookworm/main amd64 libelf1 amd64 0.188-2.1 [174 kB] Get: 47 http://deb.debian.org/debian bookworm/main amd64 dwz amd64 0.15-1 [109 kB] Get: 48 http://deb.debian.org/debian bookworm/main amd64 gettext amd64 0.21-12 [1300 kB] Get: 49 http://deb.debian.org/debian bookworm/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 50 http://deb.debian.org/debian bookworm/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 51 http://deb.debian.org/debian bookworm/main amd64 debhelper all 13.11.4 [942 kB] Get: 52 http://deb.debian.org/debian bookworm/main amd64 python3-lib2to3 all 3.11.2-3 [76.3 kB] Get: 53 http://deb.debian.org/debian bookworm/main amd64 python3-distutils all 3.11.2-3 [131 kB] Get: 54 http://deb.debian.org/debian bookworm/main amd64 dh-python all 5.20230130 [104 kB] Get: 55 http://deb.debian.org/debian bookworm/main amd64 sgml-data all 2.0.11+nmu1 [179 kB] Get: 56 http://deb.debian.org/debian bookworm/main amd64 docbook-xml all 4.5-12 [85.2 kB] Get: 57 http://deb.debian.org/debian bookworm/main amd64 libbrotli1 amd64 1.0.9-2+b6 [275 kB] Get: 58 http://deb.debian.org/debian bookworm/main amd64 libsasl2-modules-db amd64 2.1.28+dfsg-10 [20.3 kB] Get: 59 http://deb.debian.org/debian bookworm/main amd64 libsasl2-2 amd64 2.1.28+dfsg-10 [59.7 kB] Get: 60 http://deb.debian.org/debian bookworm/main amd64 libldap-2.5-0 amd64 2.5.13+dfsg-5 [183 kB] Get: 61 http://deb.debian.org/debian bookworm/main amd64 libnghttp2-14 amd64 1.52.0-1 [72.3 kB] Get: 62 http://deb.debian.org/debian bookworm/main amd64 libpsl5 amd64 0.21.2-1 [58.7 kB] Get: 63 http://deb.debian.org/debian bookworm/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2+b2 [60.8 kB] Get: 64 http://deb.debian.org/debian bookworm/main amd64 libssh2-1 amd64 1.10.0-3+b1 [179 kB] Get: 65 http://deb.debian.org/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10 [381 kB] Get: 66 http://deb.debian.org/debian bookworm/main amd64 liberror-perl all 0.17029-2 [29.0 kB] Get: 67 http://deb.debian.org/debian bookworm/main amd64 git-man all 1:2.39.2-1.1 [2049 kB] Get: 68 http://deb.debian.org/debian bookworm/main amd64 git amd64 1:2.39.2-1.1 [7171 kB] Get: 69 http://deb.debian.org/debian bookworm/main amd64 mercurial-common all 6.3.2-1 [2768 kB] Get: 70 http://deb.debian.org/debian bookworm/main amd64 mercurial amd64 6.3.2-1 [335 kB] Get: 71 http://deb.debian.org/debian bookworm/main amd64 python3-six all 1.16.0-4 [17.5 kB] Get: 72 http://deb.debian.org/debian bookworm/main amd64 python3-urllib3 all 1.26.12-1 [117 kB] Get: 73 http://deb.debian.org/debian bookworm/main amd64 python3-dulwich amd64 0.21.2-1+b1 [319 kB] Get: 74 http://deb.debian.org/debian bookworm/main amd64 mercurial-git all 1.0.1-1 [62.1 kB] Get: 75 http://deb.debian.org/debian bookworm/main amd64 sharness all 1.0.0-1.1 [28.6 kB] Get: 76 http://deb.debian.org/debian bookworm/main amd64 xmlto amd64 0.0.28-2.1 [33.6 kB] Fetched 41.2 MB in 2s (23.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19591 files and directories currently installed.) Preparing to unpack .../libpython3.11-minimal_3.11.2-6_amd64.deb ... Unpacking libpython3.11-minimal:amd64 (3.11.2-6) ... Selecting previously unselected package libexpat1:amd64. Preparing to unpack .../libexpat1_2.5.0-1_amd64.deb ... Unpacking libexpat1:amd64 (2.5.0-1) ... Selecting previously unselected package python3.11-minimal. Preparing to unpack .../python3.11-minimal_3.11.2-6_amd64.deb ... Unpacking python3.11-minimal (3.11.2-6) ... Setting up libpython3.11-minimal:amd64 (3.11.2-6) ... Setting up libexpat1:amd64 (2.5.0-1) ... Setting up python3.11-minimal (3.11.2-6) ... Selecting previously unselected package python3-minimal. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19907 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.11.2-1+b1_amd64.deb ... Unpacking python3-minimal (3.11.2-1+b1) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_10.0.0_all.deb ... Unpacking media-types (10.0.0) ... Selecting previously unselected package readline-common. Preparing to unpack .../2-readline-common_8.2-1.3_all.deb ... Unpacking readline-common (8.2-1.3) ... Selecting previously unselected package libreadline8:amd64. Preparing to unpack .../3-libreadline8_8.2-1.3_amd64.deb ... Unpacking libreadline8:amd64 (8.2-1.3) ... Selecting previously unselected package libpython3.11-stdlib:amd64. Preparing to unpack .../4-libpython3.11-stdlib_3.11.2-6_amd64.deb ... Unpacking libpython3.11-stdlib:amd64 (3.11.2-6) ... Selecting previously unselected package python3.11. Preparing to unpack .../5-python3.11_3.11.2-6_amd64.deb ... Unpacking python3.11 (3.11.2-6) ... Selecting previously unselected package libpython3-stdlib:amd64. Preparing to unpack .../6-libpython3-stdlib_3.11.2-1+b1_amd64.deb ... Unpacking libpython3-stdlib:amd64 (3.11.2-1+b1) ... Setting up python3-minimal (3.11.2-1+b1) ... Selecting previously unselected package python3. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20341 files and directories currently installed.) Preparing to unpack .../00-python3_3.11.2-1+b1_amd64.deb ... Unpacking python3 (3.11.2-1+b1) ... Selecting previously unselected package sgml-base. Preparing to unpack .../01-sgml-base_1.31_all.deb ... Unpacking sgml-base (1.31) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../02-sensible-utils_0.0.17+nmu1_all.deb ... Unpacking sensible-utils (0.0.17+nmu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../03-libmagic-mgc_1%3a5.44-3_amd64.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../04-libmagic1_1%3a5.44-3_amd64.deb ... Unpacking libmagic1:amd64 (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../05-file_1%3a5.44-3_amd64.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../06-gettext-base_0.21-12_amd64.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../07-libuchardet0_0.0.7-1_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../08-groff-base_1.22.4-10_amd64.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../09-bsdextrautils_2.38.1-5+b1_amd64.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../10-libpipeline1_1.5.7-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../11-man-db_2.11.2-2_amd64.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package ucf. Preparing to unpack .../12-ucf_3.0043+nmu1_all.deb ... Moving old data out of the way Unpacking ucf (3.0043+nmu1) ... Selecting previously unselected package asciidoc-common. Preparing to unpack .../13-asciidoc-common_10.2.0-1_all.deb ... Unpacking asciidoc-common (10.2.0-1) ... Selecting previously unselected package xml-core. Preparing to unpack .../14-xml-core_0.18+nmu1_all.deb ... Unpacking xml-core (0.18+nmu1) ... Selecting previously unselected package docbook-xsl. Preparing to unpack .../15-docbook-xsl_1.79.2+dfsg-2_all.deb ... Unpacking docbook-xsl (1.79.2+dfsg-2) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../16-libicu72_72.1-3_amd64.deb ... Unpacking libicu72:amd64 (72.1-3) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../17-libxml2_2.9.14+dfsg-1.2_amd64.deb ... Unpacking libxml2:amd64 (2.9.14+dfsg-1.2) ... Selecting previously unselected package libxml2-utils. Preparing to unpack .../18-libxml2-utils_2.9.14+dfsg-1.2_amd64.deb ... Unpacking libxml2-utils (2.9.14+dfsg-1.2) ... Selecting previously unselected package libxslt1.1:amd64. Preparing to unpack .../19-libxslt1.1_1.1.35-1_amd64.deb ... Unpacking libxslt1.1:amd64 (1.1.35-1) ... Selecting previously unselected package xsltproc. Preparing to unpack .../20-xsltproc_1.1.35-1_amd64.deb ... Unpacking xsltproc (1.1.35-1) ... Selecting previously unselected package asciidoc-base. Preparing to unpack .../21-asciidoc-base_10.2.0-1_all.deb ... Unpacking asciidoc-base (10.2.0-1) ... Selecting previously unselected package asciidoc. Preparing to unpack .../22-asciidoc_10.2.0-1_all.deb ... Unpacking asciidoc (10.2.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../23-m4_1.4.19-3_amd64.deb ... Unpacking m4 (1.4.19-3) ... Selecting previously unselected package autoconf. Preparing to unpack .../24-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../25-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../26-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../27-autopoint_0.21-12_all.deb ... Unpacking autopoint (0.21-12) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../28-libdebhelper-perl_13.11.4_all.deb ... Unpacking libdebhelper-perl (13.11.4) ... Selecting previously unselected package libtool. Preparing to unpack .../29-libtool_2.4.7-5_all.deb ... Unpacking libtool (2.4.7-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../30-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../31-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../32-libsub-override-perl_0.09-4_all.deb ... Unpacking libsub-override-perl (0.09-4) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../33-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../34-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:amd64. Preparing to unpack .../35-libelf1_0.188-2.1_amd64.deb ... Unpacking libelf1:amd64 (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../36-dwz_0.15-1_amd64.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package gettext. Preparing to unpack .../37-gettext_0.21-12_amd64.deb ... Unpacking gettext (0.21-12) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../38-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../39-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../40-debhelper_13.11.4_all.deb ... Unpacking debhelper (13.11.4) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../41-python3-lib2to3_3.11.2-3_all.deb ... Unpacking python3-lib2to3 (3.11.2-3) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../42-python3-distutils_3.11.2-3_all.deb ... Unpacking python3-distutils (3.11.2-3) ... Selecting previously unselected package dh-python. Preparing to unpack .../43-dh-python_5.20230130_all.deb ... Unpacking dh-python (5.20230130) ... Selecting previously unselected package sgml-data. Preparing to unpack .../44-sgml-data_2.0.11+nmu1_all.deb ... Unpacking sgml-data (2.0.11+nmu1) ... Selecting previously unselected package docbook-xml. Preparing to unpack .../45-docbook-xml_4.5-12_all.deb ... Unpacking docbook-xml (4.5-12) ... Selecting previously unselected package libbrotli1:amd64. Preparing to unpack .../46-libbrotli1_1.0.9-2+b6_amd64.deb ... Unpacking libbrotli1:amd64 (1.0.9-2+b6) ... Selecting previously unselected package libsasl2-modules-db:amd64. Preparing to unpack .../47-libsasl2-modules-db_2.1.28+dfsg-10_amd64.deb ... Unpacking libsasl2-modules-db:amd64 (2.1.28+dfsg-10) ... Selecting previously unselected package libsasl2-2:amd64. Preparing to unpack .../48-libsasl2-2_2.1.28+dfsg-10_amd64.deb ... Unpacking libsasl2-2:amd64 (2.1.28+dfsg-10) ... Selecting previously unselected package libldap-2.5-0:amd64. Preparing to unpack .../49-libldap-2.5-0_2.5.13+dfsg-5_amd64.deb ... Unpacking libldap-2.5-0:amd64 (2.5.13+dfsg-5) ... Selecting previously unselected package libnghttp2-14:amd64. Preparing to unpack .../50-libnghttp2-14_1.52.0-1_amd64.deb ... Unpacking libnghttp2-14:amd64 (1.52.0-1) ... Selecting previously unselected package libpsl5:amd64. Preparing to unpack .../51-libpsl5_0.21.2-1_amd64.deb ... Unpacking libpsl5:amd64 (0.21.2-1) ... Selecting previously unselected package librtmp1:amd64. Preparing to unpack .../52-librtmp1_2.4+20151223.gitfa8646d.1-2+b2_amd64.deb ... Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b2) ... Selecting previously unselected package libssh2-1:amd64. Preparing to unpack .../53-libssh2-1_1.10.0-3+b1_amd64.deb ... Unpacking libssh2-1:amd64 (1.10.0-3+b1) ... Selecting previously unselected package libcurl3-gnutls:amd64. Preparing to unpack .../54-libcurl3-gnutls_7.88.1-10_amd64.deb ... Unpacking libcurl3-gnutls:amd64 (7.88.1-10) ... Selecting previously unselected package liberror-perl. Preparing to unpack .../55-liberror-perl_0.17029-2_all.deb ... Unpacking liberror-perl (0.17029-2) ... Selecting previously unselected package git-man. Preparing to unpack .../56-git-man_1%3a2.39.2-1.1_all.deb ... Unpacking git-man (1:2.39.2-1.1) ... Selecting previously unselected package git. Preparing to unpack .../57-git_1%3a2.39.2-1.1_amd64.deb ... Unpacking git (1:2.39.2-1.1) ... Selecting previously unselected package mercurial-common. Preparing to unpack .../58-mercurial-common_6.3.2-1_all.deb ... Unpacking mercurial-common (6.3.2-1) ... Selecting previously unselected package mercurial. Preparing to unpack .../59-mercurial_6.3.2-1_amd64.deb ... Unpacking mercurial (6.3.2-1) ... Selecting previously unselected package python3-six. Preparing to unpack .../60-python3-six_1.16.0-4_all.deb ... Unpacking python3-six (1.16.0-4) ... Selecting previously unselected package python3-urllib3. Preparing to unpack .../61-python3-urllib3_1.26.12-1_all.deb ... Unpacking python3-urllib3 (1.26.12-1) ... Selecting previously unselected package python3-dulwich. Preparing to unpack .../62-python3-dulwich_0.21.2-1+b1_amd64.deb ... Unpacking python3-dulwich (0.21.2-1+b1) ... Selecting previously unselected package mercurial-git. Preparing to unpack .../63-mercurial-git_1.0.1-1_all.deb ... Unpacking mercurial-git (1.0.1-1) ... Selecting previously unselected package sharness. Preparing to unpack .../64-sharness_1.0.0-1.1_all.deb ... Unpacking sharness (1.0.0-1.1) ... Selecting previously unselected package xmlto. Preparing to unpack .../65-xmlto_0.0.28-2.1_amd64.deb ... Unpacking xmlto (0.0.28-2.1) ... Setting up media-types (10.0.0) ... Setting up libpipeline1:amd64 (1.5.7-1) ... Setting up libpsl5:amd64 (0.21.2-1) ... Setting up libicu72:amd64 (72.1-3) ... Setting up bsdextrautils (2.38.1-5+b1) ... Setting up libmagic-mgc (1:5.44-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.11.4) ... Setting up libbrotli1:amd64 (1.0.9-2+b6) ... Setting up libnghttp2-14:amd64 (1.52.0-1) ... Setting up libmagic1:amd64 (1:5.44-3) ... Setting up gettext-base (0.21-12) ... Setting up m4 (1.4.19-3) ... Setting up file (1:5.44-3) ... Setting up libsasl2-modules-db:amd64 (2.1.28+dfsg-10) ... Setting up liberror-perl (0.17029-2) ... Setting up autotools-dev (20220109.1) ... Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b2) ... Setting up autopoint (0.21-12) ... Setting up sharness (1.0.0-1.1) ... Setting up libsasl2-2:amd64 (2.1.28+dfsg-10) ... Setting up autoconf (2.71-3) ... Setting up sensible-utils (0.0.17+nmu1) ... Setting up libuchardet0:amd64 (0.0.7-1) ... Setting up libsub-override-perl (0.09-4) ... Setting up git-man (1:2.39.2-1.1) ... Setting up libssh2-1:amd64 (1.10.0-3+b1) ... Setting up sgml-base (1.31) ... Setting up libelf1:amd64 (0.188-2.1) ... Setting up readline-common (8.2-1.3) ... Setting up libxml2:amd64 (2.9.14+dfsg-1.2) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up gettext (0.21-12) ... Setting up libtool (2.4.7-5) ... Setting up libreadline8:amd64 (8.2-1.3) ... Setting up libldap-2.5-0:amd64 (2.5.13+dfsg-5) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up ucf (3.0043+nmu1) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.22.4-10) ... Setting up xml-core (0.18+nmu1) ... Setting up libxslt1.1:amd64 (1.1.35-1) ... Setting up libxml2-utils (2.9.14+dfsg-1.2) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libpython3.11-stdlib:amd64 (3.11.2-6) ... Setting up xsltproc (1.1.35-1) ... Setting up libcurl3-gnutls:amd64 (7.88.1-10) ... Setting up man-db (2.11.2-2) ... Not building database; man-db/auto-update is not 'true'. Setting up git (1:2.39.2-1.1) ... Setting up libpython3-stdlib:amd64 (3.11.2-1+b1) ... Setting up python3.11 (3.11.2-6) ... Setting up debhelper (13.11.4) ... Setting up python3 (3.11.2-1+b1) ... Setting up python3-six (1.16.0-4) ... Setting up asciidoc-common (10.2.0-1) ... Setting up python3-urllib3 (1.26.12-1) ... Setting up python3-dulwich (0.21.2-1+b1) ... Setting up python3-lib2to3 (3.11.2-3) ... Setting up python3-distutils (3.11.2-3) ... Setting up dh-python (5.20230130) ... Setting up mercurial-common (6.3.2-1) ... Setting up mercurial (6.3.2-1) ... Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version Setting up mercurial-git (1.0.1-1) ... mercurial-git extension is disabled by default. You can follow the instructions in /usr/share/doc/mercurial-git/README.Debian to enable it. Processing triggers for libc-bin (2.36-9) ... Processing triggers for sgml-base (1.31) ... Setting up docbook-xsl (1.79.2+dfsg-2) ... Setting up sgml-data (2.0.11+nmu1) ... Setting up asciidoc-base (10.2.0-1) ... Setting up asciidoc (10.2.0-1) ... Processing triggers for sgml-base (1.31) ... Setting up docbook-xml (4.5-12) ... Processing triggers for sgml-base (1.31) ... Setting up xmlto (0.0.28-2.1) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/git-remote-hg-1.0.4~ds/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../git-remote-hg_1.0.4~ds-1_source.changes dpkg-buildpackage: info: source package git-remote-hg dpkg-buildpackage: info: source version 1.0.4~ds-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Paul Wise dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_auto_clean make -j15 clean make[1]: Entering directory '/build/git-remote-hg-1.0.4~ds' rm -f doc/git-remote-hg.1 rm -f -r bin/ make[1]: Leaving directory '/build/git-remote-hg-1.0.4~ds' dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure dh_auto_build make -j15 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/git-remote-hg-1.0.4~ds' if [ -n "$PYTHON" ] && "$PYTHON" -c 'import mercurial' 2> /dev/null ; then \ : Use chosen Python version ; \ elif python3 -c 'import mercurial' 2> /dev/null ; then \ PYTHON=python3 ; \ elif python2 -c 'import mercurial' 2> /dev/null ; then \ PYTHON=python2 ; \ elif python -c 'import mercurial' 2> /dev/null ; then \ PYTHON=python ; \ else \ echo 'Python with Mercurial not available' >&2 ; \ exit 1 ; \ fi ; \ mkdir -p bin ; \ for s in git-remote-hg git-hg-helper ; do \ printf "%s\n" "#!/usr/bin/env $PYTHON" > "bin/$s" ; \ tail -n +2 "./$s" >> "bin/$s" ; \ chmod 755 "bin/$s" ; \ touch -r "./$s" "bin/$s" ; \ done a2x -d manpage -f manpage doc/git-remote-hg.txt make[1]: Leaving directory '/build/git-remote-hg-1.0.4~ds' dh_auto_test make -j15 test make[1]: Entering directory '/build/git-remote-hg-1.0.4~ds' make -C test make[2]: Entering directory '/build/git-remote-hg-1.0.4~ds/test' /bin/sh main.t --verbose /bin/sh main-push.t --verbose /bin/sh bidi.t --verbose /bin/sh helper.t --verbose expecting success: ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero ) expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && setup_repos && ( cd gitrepo && test_expect_code 2 git-hg-helper help 2> ../help ) # remotes should be in help output grep origin help expecting success: ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero ) expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && ( git init -q gitrepo && cd gitrepo && echo alpha > alpha && git add alpha && git commit -m "add älphà" && GIT_AUTHOR_NAME="tést èncödîng" && export GIT_AUTHOR_NAME && echo beta > beta && git add beta && git commit -m "add beta" && echo gamma > gamma && git add gamma && git commit -m "add gämmâ" && : TODO git config i18n.commitencoding latin-1 && echo delta > delta && git add delta && git commit -m "add déltà" ) && hg_clone gitrepo hgrepo && git_clone hgrepo gitrepo2 && hg_clone gitrepo2 hgrepo2 && HGENCODING=utf-8 hg_log hgrepo > expected && HGENCODING=utf-8 hg_log hgrepo2 > actual && test_cmp expected actual [master (root-commit) 79c6ce2] add älphà Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 alpha [master 68b42de] add beta Author: tést èncödîng 1 file changed, 1 insertion(+) create mode 100644 beta [master 8ee0762] add gämmâ Author: tést èncödîng 1 file changed, 1 insertion(+) create mode 100644 gamma [master 3b0b48f] add déltà Author: tést èncödîng 1 file changed, 1 insertion(+) create mode 100644 delta /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 1 - setup expecting success: test_when_finished "rm -rf gitrepo*" && git clone "hg::hgrepo" gitrepo && check gitrepo HEAD zero Cloning into 'gitrepo'... no changes found Cloning into 'gitrepo'... searching for changes adding changesets adding manifests adding file changes added 4 changesets with 4 changes to 4 files ok 1 - setup expecting success: test_when_finished "rm -rf gitrepo*" && git clone "hg::hgrepo" gitrepo && check gitrepo HEAD zero Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 883efc3462b6 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 883efc3462b6 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) ok 2 - cloning expecting success: test_when_finished "rm -rf gitrepo*" && ( cd hgrepo && hg branch next && echo next > content && hg commit -m next ) && git clone "hg::hgrepo" gitrepo && check gitrepo origin/branches/next next /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 7e0de2f0471a progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) marked working directory as branch next (branches are permanent and global, did you want a bookmark?) /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] origin ok 1 - subcommand help expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && setup_repos && ( cd hgrepo && pwd >../expected ) && ( cd gitrepo && git-hg-helper repo origin > ../actual ) && test_cmp expected actual ok 2 - cloning expecting success: test_when_finished "rm -rf gitrepo*" && ( cd hgrepo && hg branch next && echo next > content && hg commit -m next ) && git clone "hg::hgrepo" gitrepo && check gitrepo origin/branches/next next adding changesets adding manifests adding file changes added 4 changesets with 4 changes to 4 files new changesets 1e3e49d2cc8f:6674f1c866b5 progress revision walk 'bookmarks/master' (3/3) progress revision 0 'master' (0/4) Cloning into 'gitrepo'... marked working directory as branch next (branches are permanent and global, did you want a bookmark?) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways Cloning into 'gitrepo'... adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 1 files new changesets 883efc3462b6:376a89fe8148 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) progress revision 1 'next' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into 'gitrepo'... ok 3 - cloning with branches expecting success: test_when_finished "rm -rf gitrepo*" && ( cd hgrepo && hg checkout default && hg bookmark feature-a && echo feature-a > content && hg commit -m feature-a ) && git clone "hg::hgrepo" gitrepo && check gitrepo origin/feature-a feature-a searching for changes no changes found searching for changes adding changesets adding manifests adding file changes added 4 changesets with 4 changes to 4 files /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 1 files new changesets 7e0de2f0471a:2f2606b0397f 1 files updated, 0 files merged, 0 files removed, 0 files unresolved progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) progress revision 1 'next' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 3 - cloning with branches expecting success: test_when_finished "rm -rf gitrepo*" && ( cd hgrepo && hg checkout default && hg bookmark feature-a && echo feature-a > content && hg commit -m feature-a ) && git clone "hg::hgrepo" gitrepo && check gitrepo origin/feature-a feature-a progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) 1 files updated, 0 files merged, 0 files removed, 0 files unresolved Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 2 - subcommand repo - no local proxy expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && setup_repos && ( cd gitrepo && export gitdir=`git rev-parse --git-dir` # trick to normalize path ( cd $gitdir/hg/origin/clone && pwd ) >../expected && ( cd `git-hg-helper repo origin` && pwd ) > ../actual ) && test_cmp expected actual ok 1 - encoding expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && ( git init -q gitrepo && cd gitrepo && echo alpha > alpha && git add alpha && git commit -m "add alpha" && echo beta > beta && git add beta && git commit -m "add beta" mkdir foo && echo blah > foo/bar && git add foo && git commit -m "add foo" && git rm alpha && git commit -m "remove alpha" && git rm foo/bar && git commit -m "remove foo/bar" ) && hg_clone gitrepo hgrepo && git_clone hgrepo gitrepo2 && hg_clone gitrepo2 hgrepo2 && hg_log hgrepo > expected && hg_log hgrepo2 > actual && test_cmp expected actual [master (root-commit) 223a6f6] add alpha Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 alpha [master 862befc] add beta Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 beta [master 86bf00d] add foo Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 foo/bar rm 'alpha' Cloning into 'gitrepo'... [master 74dc957] remove alpha Author: A U Thor 1 file changed, 1 deletion(-) delete mode 100644 alpha rm 'foo/bar' [master ea36818] remove foo/bar Author: A U Thor 1 file changed, 1 deletion(-) delete mode 100644 foo/bar /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes adding remote bookmark feature-a added 3 changesets with 3 changes to 1 files (+1 heads) new changesets 883efc3462b6:1c40b2a45abe progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/2) progress revision 1 'next' (0/1) ok 4 - cloning with bookmarks expecting success: test_when_finished "rm -rf gitrepo*" && ( cd hgrepo && hg bookmark devel ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git checkout --quiet devel && echo devel > content && git commit -a -m devel && git push --quiet origin devel ) && check_bookmark hgrepo devel devel /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes adding remote bookmark feature-a added 3 changesets with 3 changes to 1 files (+1 heads) new changesets 7e0de2f0471a:1f051305431f progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/2) progress revision 1 'next' (0/1) Cloning into 'gitrepo'... ok 4 - cloning with bookmarks expecting success: test_when_finished "rm -rf gitrepo*" && ( cd hgrepo && hg bookmark devel ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git checkout --quiet devel && echo devel > content && git commit -a -m devel && git push --quiet origin devel ) && check_bookmark hgrepo devel devel Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found searching for changes adding changesets adding manifests adding file changes added 5 changesets with 3 changes to 3 files /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into 'gitrepo'... WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes adding remote bookmark devel adding remote bookmark feature-a added 3 changesets with 3 changes to 1 files (+1 heads) new changesets 883efc3462b6:1c40b2a45abe progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/2) progress revision 1 'next' (0/1) adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets db8fefdc2c0a progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) [devel 41cbea9] devel Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes adding remote bookmark devel adding remote bookmark feature-a added 3 changesets with 3 changes to 1 files (+1 heads) new changesets 7e0de2f0471a:1f051305431f progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/2) progress revision 1 'next' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways no changes found [devel efd3953] devel Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 3 - subcommand repo - with local proxy expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && setup_repos && ( cd gitrepo && git rev-parse HEAD > rev-HEAD && test -s rev-HEAD && git-hg-helper hg-rev `cat rev-HEAD` > hg-HEAD && git-hg-helper git-rev `cat hg-HEAD` > git-HEAD && test_cmp rev-HEAD git-HEAD ) adding changesets adding manifests adding file changes added 5 changesets with 3 changes to 3 files new changesets 362b656574c3:54f595cbdf1f progress revision walk 'bookmarks/master' (4/4) progress revision 0 'master' (0/5) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files ok 5 - update bookmark expecting success: test_when_finished "rm -rf gitrepo*" && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git checkout --quiet -b feature-b && echo feature-b > content && git commit -a -m feature-b && git push --quiet origin feature-b ) && check_bookmark hgrepo feature-b feature-b Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 5 - update bookmark expecting success: test_when_finished "rm -rf gitrepo*" && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git checkout --quiet -b feature-b && echo feature-b > content && git commit -a -m feature-b && git push --quiet origin feature-b ) && check_bookmark hgrepo feature-b feature-b WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways Cloning into 'gitrepo'... adding changesets adding manifests adding file changes /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding remote bookmark devel adding remote bookmark feature-a added 4 changesets with 4 changes to 1 files (+1 heads) new changesets 883efc3462b6:b5c9ce7599b9 progress revision walk 'bookmarks/master' (3/3) progress revision 0 'master' (0/3) progress revision 1 'next' (0/1) searching for changes no changes found searching for changes adding changesets adding manifests adding file changes added 5 changesets with 3 changes to 3 files [feature-b f26ee01] feature-b Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes adding remote bookmark devel adding remote bookmark feature-a added 4 changesets with 4 changes to 1 files (+1 heads) new changesets 7e0de2f0471a:706f1be240c3 progress revision walk 'bookmarks/master' (3/3) progress revision 0 'master' (0/3) progress revision 1 'next' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] [feature-b 155d014] feature-b Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 185cbb89a3de no changes found progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files ok 6 - new bookmark expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && touch content && hg add content && > ../expected && author_test alpha "" "H G Wells " && author_test beta "beta" "beta " && author_test gamma "gamma (comment)" "gamma " && author_test delta "" "Unknown " && author_test epsilon "epsilon" "epsilon " && author_test zeta "zeta " && author_test eta " eta " "eta " && author_test theta "theta < test@example.com >" "theta " && author_test iota "iota >test@example.com>" "iota " && author_test kappa "kappa < test example com>" "kappa " && author_test lambda "lambda@example.com" "Unknown " && author_test mu "mu.mu@example.com" "Unknown " ) && git clone "hg::hgrepo" gitrepo && git --git-dir=gitrepo/.git log --reverse --format="%an <%ae>" > actual && test_cmp expected actual /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 2 - file removal expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && ( git init -q gitrepo && cd gitrepo && git config receive.denyCurrentBranch ignore && echo alpha > alpha && git add alpha && git commit -m "add alpha" && git tag alpha && echo beta > beta && git add beta && git commit -m "add beta" && git tag -a -m "added tag beta" beta ) && hg_clone gitrepo hgrepo && git_clone hgrepo gitrepo2 && hg_clone gitrepo2 hgrepo2 && hg_log hgrepo > expected && hg_log hgrepo2 > actual && test_cmp expected actual [master (root-commit) 223a6f6] add alpha Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 alpha [master 862befc] add beta Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 beta ok 6 - new bookmark expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && touch content && hg add content && > ../expected && author_test alpha "" "H G Wells " && author_test beta "beta" "beta " && author_test gamma "gamma (comment)" "gamma " && author_test delta "" "Unknown " && author_test epsilon "epsilon" "epsilon " && author_test zeta "zeta " && author_test eta " eta " "eta " && author_test theta "theta < test@example.com >" "theta " && author_test iota "iota >test@example.com>" "iota " && author_test kappa "kappa < test example com>" "kappa " && author_test lambda "lambda@example.com" "Unknown " && author_test mu "mu.mu@example.com" "Unknown " ) && git clone "hg::hgrepo" gitrepo && git --git-dir=gitrepo/.git log --reverse --format="%an <%ae>" > actual && test_cmp expected actual /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 4 - subcommands hg-rev and git-rev expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero echo one > content && hg commit -m one && echo two > content && hg commit -m two && echo three > content && hg commit -m three ) && git clone hg::hgrepo gitrepo && ( cd hgrepo && hg strip -r 1 && echo four > content && hg commit -m four ) && ( cd gitrepo && git fetch origin && git reset --hard origin/master && git gc && git-hg-helper gc --check-hg origin > output && cat output && grep "hg marks" output && grep "git marks" output ) /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found searching for changes adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 2 files searching for changes searching for changes /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 2 files new changesets 362b656574c3:7cd99375c843 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] searching for changes no changes found searching for changes Cloning into 'gitrepo'... adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 2 files /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 4 changesets with 4 changes to 1 files new changesets 7117a160a4dd:b05411248e1a progress revision walk 'bookmarks/master' (3/3) progress revision 0 'master' (0/4) 1 files updated, 0 files merged, 0 files removed, 0 files unresolved saved backup bundle to /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/.hg/strip-backup/e70d1fecc379-0198b750-backup.hg ok 3 - git tags expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && ( git init -q gitrepo && cd gitrepo && echo alpha > alpha && git add alpha && git commit -q -m "add alpha" && git checkout -q -b not-master ) && ( hg_clone gitrepo hgrepo && cd hgrepo && hg -q co default && hg mv alpha beta && hg -q commit -m "rename alpha to beta" && hg branch gamma | grep -v "permanent and global" && hg -q commit -m "started branch gamma" ) && hg_push hgrepo gitrepo && hg_clone gitrepo hgrepo2 && : Back to the common revision && (cd hgrepo && hg checkout default) && # fetch does not affect phase, but pushing now does hg_log hgrepo | grep -v phase > expected && hg_log hgrepo2 | grep -v phase > actual && test_cmp expected actual /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into 'gitrepo'... searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files (+1 heads) new changesets 85ec4dc08f43 progress revision 4 'default' (0/1) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo + c9ffa64...5ed112f master -> origin/master (forced update) + c9ffa64...5ed112f branches/default -> origin/branches/default (forced update) /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] HEAD is now at 5ed112f four no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files searching for changes /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes added 12 changesets with 12 changes to 1 files new changesets 314cd1461dbb:6686ab41fb18 progress revision walk 'bookmarks/master' (11/11) progress revision 0 'master' (0/12) ok 7 - authors expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo one >> content && hg add content && hg commit -m one && echo two >> content && hg commit -m two ) && git clone "hg::hgrepo" gitrepo && ( cd hgrepo && hg strip 1 && echo three >> content && hg commit -m three && echo four >> content && hg commit -m four ) && ( cd gitrepo && git fetch && git log --format="%s" origin/master > ../actual ) && hg -R hgrepo log --template "{desc}\n" > expected && test_cmp actual expected /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Loading hg marks ... Loading git marks ... Performing garbage collection on git commits ... Computing marks intersection ... Including notes commits ... Trimmed hg marks from #5 down to #0 Trimmed git marks from #12 down to #2 Writing hg marks ... Writing git marks ... Loading hg marks ... Trimmed hg marks from #5 down to #0 Writing hg marks ... Loading git marks ... Trimmed git marks from #12 down to #2 Writing git marks ... ok 5 - subcommand gc expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && setup_repos && ( cd hgrepo && echo one > content && hg commit -m one ) && ( cd gitrepo && git fetch origin ) && hg log -R hgrepo > expected && # not inside gitrepo; test shared path handling GIT_DIR=gitrepo/.git git-hg-helper origin log > actual test_cmp expected actual Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 12 changesets with 12 changes to 1 files new changesets 5ddfd1447fed:95e8a7f45340 progress revision walk 'bookmarks/master' (11/11) progress revision 0 'master' (0/12) ok 7 - authors expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo one >> content && hg add content && hg commit -m one && echo two >> content && hg commit -m two ) && git clone "hg::hgrepo" gitrepo && ( cd hgrepo && hg strip 1 && echo three >> content && hg commit -m three && echo four >> content && hg commit -m four ) && ( cd gitrepo && git fetch && git log --format="%s" origin/master > ../actual ) && hg -R hgrepo log --template "{desc}\n" > expected && test_cmp actual expected Cloning into 'gitrepo'... Cloning into 'gitrepo'... marked working directory as branch gamma /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 9074245a1e3a progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 1 files new changesets 3a73416b3048:09b45b914e38 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] searching for changes adding changesets adding manifests adding file changes adding remote bookmark not-master added 2 changesets with 1 changes to 1 files new changesets 5889597089fe:3320583a8de0 1 local changesets published progress revision 1 'default' (0/1) progress revision 2 'gamma' (0/1) Cloning into 'gitrepo'... 1 files updated, 0 files merged, 0 files removed, 0 files unresolved saved backup bundle to /build/git-remote-hg-1.0.4~ds/test/trash directory.main/hgrepo/.hg/strip-backup/09b45b914e38-5f329c36-backup.hg /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets cec68b692591 progress revision 1 'default' (0/1) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo 55189f8..85988e0 master -> origin/master 55189f8..85988e0 branches/default -> origin/branches/default /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 1 files new changesets b7d387267bc8:396fca849059 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) searching for changes no changes found 1 files updated, 0 files merged, 0 files removed, 0 files unresolved saved backup bundle to /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/hgrepo/.hg/strip-backup/396fca849059-11dd5ec5-backup.hg searching for changes adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 2 files searching for changes adding changesets adding manifests adding file changes added 1 changesets with 0 changes to 0 files searching for changes searching for changes /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 6 - subcommand [some-repo] expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && setup_repo hg hgrepo && ( cd hgrepo && setup_repo hg sub_hg_a && setup_repo hg sub_hg_b && setup_repo git sub_git && echo "sub_hg_a = sub_hg_a" > .hgsub && echo "sub_hg_b = sub_hg_b" >> .hgsub && echo "sub_git = [git]sub_git" >> .hgsub && hg add .hgsub && hg commit -m substate ) git clone hg::hgrepo gitrepo && ( cd gitrepo && git-hg-helper sub update --force && test -f content_hgrepo && test -f sub_hg_a/content_sub_hg_a && test -f sub_hg_b/content_sub_hg_b && test -f sub_git/content_sub_git ) && check gitrepo HEAD substate && check gitrepo/sub_hg_a HEAD zero_sub_hg_a && check gitrepo/sub_hg_b HEAD zero_sub_hg_b && check gitrepo/sub_git HEAD zero_sub_git 0 files updated, 0 files merged, 0 files removed, 0 files unresolved /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways searching for changes adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 1 files (+1 heads) new changesets 06fbf92609db:88d47ec217e0 progress revision 2 'default' (0/2) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/hgrepo + 8671ccc...2fba772 master -> origin/master (forced update) + 8671ccc...2fba772 branches/default -> origin/branches/default (forced update) searching for changes adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 1 files (+1 heads) new changesets 0bf213469df9:6503462d1fac progress revision 2 'default' (0/2) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/hgrepo + 154b7bf...827ebed master -> origin/master (forced update) + 154b7bf...827ebed branches/default -> origin/branches/default (forced update) ok 8 - strip expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero && hg bookmark master && echo one > content && hg commit -m one ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && echo two > content && git commit -a -m two && git push ) && check_branch hgrepo default two ok 8 - strip expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero && hg bookmark master && echo one > content && hg commit -m one ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && echo two > content && git commit -a -m two && git push ) && check_branch hgrepo default two ok 4 - hg branch expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && ( git init -q gitrepo && cd gitrepo && echo alpha > alpha && git add alpha && git commit -m "add alpha" && git checkout -q -b not-master ) && ( hg_clone gitrepo hgrepo && cd hgrepo && hg co default && hg tag alpha ) && hg_push hgrepo gitrepo && # pushing a fetched tag is a problem ... { hg_clone gitrepo hgrepo2 || true ; } && # fetch does not affect phase, but pushing now does hg_log hgrepo | grep -v phase > expected && hg_log hgrepo2 | grep -v phase > actual && test_cmp expected actual [master (root-commit) 223a6f6] add alpha Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 alpha /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files searching for changes Cloning into 'gitrepo'... 0 files updated, 0 files merged, 0 files removed, 0 files unresolved Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes adding remote bookmark master added 2 changesets with 2 changes to 1 files new changesets 35ccabe53737:bd67cbd2fbe4 progress revision walk 'bookmarks/default' (1/1) progress revision 0 'default' (0/2) [default 20caddd] two Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_git/.git/ [master (root-commit) e9a16bb] zero_sub_git Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 content_sub_git /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes adding remote bookmark master added 2 changesets with 2 changes to 1 files new changesets d7e38e21b2e1:1f6862455b64 progress revision walk 'bookmarks/default' (1/1) progress revision 0 'default' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] [default 8206d11] two Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/hgrepo fffffff..20caddd default -> default searching for changes adding changesets adding manifests adding file changes adding remote bookmark not-master added 1 changesets with 1 changes to 1 files new changesets 16869bbe54be 1 local changesets published progress revision 1 'default' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways no changes found searching for changes adding changesets adding manifests adding file changes ok 9 - remote push with master bookmark expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && hg init hgrepo && ( git init gitrepo && cd gitrepo && git remote add origin "hg::../hgrepo" && echo one > content && git add content && git commit -a -m one && git push origin master ) && hg -R hgrepo log > actual && cat actual && test_cmp expected actual && check_branch hgrepo default one Cloning into 'gitrepo'... added 1 changesets with 1 changes to 1 files To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/hgrepo 953a06d..8206d11 default -> default /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/gitrepo/.git/ [master (root-commit) 64caca5] one Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 content searching for changes no changes found /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] searching for changes adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 2 files searching for changes searching for changes To hg::../hgrepo2 * [new branch] branches/default -> branches/default * [new branch] master -> master * [new branch] not-master -> not-master ! [rejected] alpha -> alpha (already exists) error: failed to push some refs to 'hg::../hgrepo2' adding changesets adding manifests adding file changes added 2 changesets with 3 changes to 3 files new changesets c9869686be84:c2686856482f hint: Updates were rejected because the tag already exists in the remote. progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) ok 9 - remote push with master bookmark expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && hg init hgrepo && ( git init gitrepo && cd gitrepo && git remote add origin "hg::../hgrepo" && echo one > content && git add content && git commit -a -m one && git push origin master ) && hg -R hgrepo log > actual && cat actual && test_cmp expected actual && check_branch hgrepo default one /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files To hg::../hgrepo * [new branch] master -> master Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.main/gitrepo/.git/ [master (root-commit) 64caca5] one Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 content /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into './sub_hg_a'... ok 5 - hg tags expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && ( git init -q gitrepo && cd gitrepo && echo alpha > alpha && git add alpha && git commit -m "add alpha" --date="2007-01-01 00:00:00 +0000" && echo beta > beta && git add beta && git commit -m "add beta" --date="2007-01-01 00:00:00 +0100" && echo gamma > gamma && git add gamma && git commit -m "add gamma" --date="2007-01-01 00:00:00 -0100" && echo delta > delta && git add delta && git commit -m "add delta" --date="2007-01-01 00:00:00 +0130" && echo epsilon > epsilon && git add epsilon && git commit -m "add epsilon" --date="2007-01-01 00:00:00 -0130" ) && hg_clone gitrepo hgrepo && git_clone hgrepo gitrepo2 && hg_clone gitrepo2 hgrepo2 && hg_log hgrepo > expected && hg_log hgrepo2 > actual && test_cmp expected actual [master (root-commit) a663549] add alpha Author: A U Thor Date: Mon Jan 1 00:00:00 2007 +0000 1 file changed, 1 insertion(+) create mode 100644 alpha [master ea3e397] add beta Author: A U Thor Date: Mon Jan 1 00:00:00 2007 +0100 1 file changed, 1 insertion(+) create mode 100644 beta changeset: 0:6e2126489d3d tag: tip user: A U Thor date: Mon Jan 01 00:00:00 2007 +0230 summary: one [master d7a1343] add gamma Author: A U Thor Date: Mon Jan 1 00:00:00 2007 -0100 1 file changed, 1 insertion(+) create mode 100644 gamma [master 79cd3e4] add delta Author: A U Thor Date: Mon Jan 1 00:00:00 2007 +0130 1 file changed, 1 insertion(+) create mode 100644 delta /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] [master f12dbdf] add epsilon Author: A U Thor Date: Mon Jan 1 00:00:00 2007 -0130 1 file changed, 1 insertion(+) create mode 100644 epsilon WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files To hg::../hgrepo * [new branch] master -> master /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 10 - remote push from master branch expecting success: test_when_finished "rm -rf gitrepo*" && ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero ) && git clone "hg::hgrepo" gitrepo && check gitrepo HEAD zero adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 5aa8df21efdd progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) Cloning into './sub_hg_b'... /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] changeset: 0:6e2126489d3d tag: tip user: A U Thor date: Mon Jan 01 00:00:00 2007 +0230 summary: one no changes found searching for changes adding changesets adding manifests adding file changes added 5 changesets with 5 changes to 5 files /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 10 - remote push from master branch expecting success: test_when_finished "rm -rf gitrepo*" && ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero ) && git clone "hg::hgrepo" gitrepo && check gitrepo HEAD zero adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 7278f4b5b0f8 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) Cloning into './sub_git'... done. ok 7 - subcommand sub initial update (hg and git subrepos) expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && setup_subrepos && git clone hg::hgrepo gitrepo && ( cd gitrepo && git-hg-helper sub --recursive update --force && test -f content_hgrepo && test -f sub_hg_a/content_sub_hg_a && test -f sub_hg_a/sub_hg_a_x/content_sub_hg_a_x && test -f sub_hg_b/content_sub_hg_b && test -f sub_hg_b/sub_git/content_sub_git ) && check gitrepo HEAD substate && check gitrepo/sub_hg_a HEAD substate_hg_a && check gitrepo/sub_hg_b HEAD substate_hg_b && check gitrepo/sub_hg_a/sub_hg_a_x HEAD zero_sub_hg_a_x && check gitrepo/sub_hg_b/sub_git HEAD zero_sub_git Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 5 changesets with 5 changes to 5 files new changesets 87c8f82b00d0:21e96c99dac4 adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets ceee16a4a9de progress revision walk 'bookmarks/master' (4/4) progress revision 0 'master' (0/5) progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) ok 11 - remote cloning expecting success: test_when_finished "rm -rf gitrepo*" && ( git clone "hg::hgrepo" gitrepo && mv gitrepo gitrepo2 && cd gitrepo2 && git fetch ) Cloning into 'gitrepo'... Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets ceee16a4a9de progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) adding changesets adding manifests adding file changes /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] added 1 changesets with 1 changes to 1 files new changesets 98302503cea9 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) searching for changes no changes found searching for changes adding changesets adding manifests adding file changes added 5 changesets with 5 changes to 5 files ok 11 - remote cloning expecting success: test_when_finished "rm -rf gitrepo*" && ( git clone "hg::hgrepo" gitrepo && mv gitrepo gitrepo2 && cd gitrepo2 && git fetch ) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 98302503cea9 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) ok 12 - moving remote clone expecting success: test_when_finished "rm -rf gitrepo*" && ( cd hgrepo && hg bookmark devel ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git checkout --quiet devel && echo devel > content && git commit -a -m devel && git push --quiet ) && check_bookmark hgrepo devel devel /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into 'gitrepo'... WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways no changes found ok 12 - moving remote clone expecting success: test_when_finished "rm -rf gitrepo*" && ( cd hgrepo && hg bookmark devel ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git checkout --quiet devel && echo devel > content && git commit -a -m devel && git push --quiet ) && check_bookmark hgrepo devel devel ok 6 - test timezones # passed all 6 test(s) 1..6 /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into 'gitrepo'... adding changesets adding manifests adding file changes adding remote bookmark devel added 1 changesets with 1 changes to 1 files new changesets ceee16a4a9de progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways [devel 4c9442e] devel Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) adding changesets adding manifests adding file changes adding remote bookmark devel added 1 changesets with 1 changes to 1 files new changesets 98302503cea9 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) [devel 1da2574] devel Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files ok 13 - remote update bookmark expecting success: test_when_finished "rm -rf gitrepo*" && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git checkout --quiet -b feature-b && echo feature-b > content && git commit -a -m feature-b && git push --quiet origin feature-b ) && check_bookmark hgrepo feature-b feature-b Cloning into 'gitrepo'... Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ [master (root-commit) e9a16bb] zero_sub_git Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 content_sub_git ok 13 - remote update bookmark expecting success: test_when_finished "rm -rf gitrepo*" && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git checkout --quiet -b feature-b && echo feature-b > content && git commit -a -m feature-b && git push --quiet origin feature-b ) && check_bookmark hgrepo feature-b feature-b Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes adding remote bookmark devel added 2 changesets with 2 changes to 1 files new changesets ceee16a4a9de:8a5fd19b8aca progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) [feature-b 54c6003] feature-b Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes adding remote bookmark devel added 2 changesets with 2 changes to 1 files new changesets 98302503cea9:0fd9201460c8 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] [feature-b ad7a326] feature-b Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files Cloning into 'gitrepo'... ok 14 - remote new bookmark expecting success: test_when_finished "rm -rf gitrepo*" && git clone "hg::hgrepo" gitrepo && ( cd hgrepo && hg checkout default && echo bump > content && hg commit -m bump ) && ( cd gitrepo && echo diverge > content && git commit -a -m diverged && check_push 1 <<-\EOF master:non-fast-forward EOF ) && check_branch hgrepo default bump Cloning into 'gitrepo'... ok 14 - remote new bookmark expecting success: test_when_finished "rm -rf gitrepo*" && git clone "hg::hgrepo" gitrepo && ( cd hgrepo && hg checkout default && echo bump > content && hg commit -m bump ) && ( cd gitrepo && echo diverge > content && git commit -a -m diverged && check_push 1 <<-\EOF master:non-fast-forward EOF ) && check_branch hgrepo default bump Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 2 changesets with 3 changes to 3 files new changesets 80a3a1dc5325:e201fc6b123e progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) adding changesets adding manifests adding file changes adding remote bookmark devel adding remote bookmark feature-b added 3 changesets with 3 changes to 1 files new changesets ceee16a4a9de:8f6df014e69a progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/3) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes adding remote bookmark devel adding remote bookmark feature-b added 3 changesets with 3 changes to 1 files new changesets 98302503cea9:87aa735e2171 progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/3) 1 files updated, 0 files merged, 0 files removed, 0 files unresolved (leaving bookmark devel) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into './sub_hg_a'... 1 files updated, 0 files merged, 0 files removed, 0 files unresolved (leaving bookmark devel) [master 1be8ba5] diverged Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] [master be12c87] diverged Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) adding changesets adding manifests adding file changes added 2 changesets with 3 changes to 3 files new changesets 6e5ca22115a1:7007c75ef77e progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) Cloning into './sub_hg_a/sub_hg_a_x'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 75486103d34f To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/hgrepo ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/hgrepo' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. ! [rejected] master -> master (non-fast-forward) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 7a6bdb138abf To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/hgrepo ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/hgrepo' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. ! [rejected] master -> master (non-fast-forward) adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 215f7fe4e656 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) ok 15 - remote push diverged expecting success: test_when_finished "rm -rf gitrepo*" && ( cd hgrepo && hg checkout tip^ && hg bookmark diverge ) && git clone "hg::hgrepo" gitrepo && ( cd hgrepo && echo "bump bookmark" > content && hg commit -m "bump bookmark" ) && ( cd gitrepo && git checkout --quiet diverge && echo diverge > content && git commit -a -m diverge && check_push 1 <<-\EOF diverge:non-fast-forward EOF ) && check_bookmark hgrepo diverge "bump bookmark" Cloning into './sub_hg_b'... 1 files updated, 0 files merged, 0 files removed, 0 files unresolved ok 15 - remote push diverged expecting success: test_when_finished "rm -rf gitrepo*" && ( cd hgrepo && hg checkout tip^ && hg bookmark diverge ) && git clone "hg::hgrepo" gitrepo && ( cd hgrepo && echo "bump bookmark" > content && hg commit -m "bump bookmark" ) && ( cd gitrepo && git checkout --quiet diverge && echo diverge > content && git commit -a -m diverge && check_push 1 <<-\EOF diverge:non-fast-forward EOF ) && check_bookmark hgrepo diverge "bump bookmark" /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 2 changesets with 3 changes to 3 files new changesets 54e8171ceb99:16bf063f8f29 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) 1 files updated, 0 files merged, 0 files removed, 0 files unresolved Cloning into 'gitrepo'... Cloning into './sub_hg_b/sub_git'... done. ok 8 - subcommand sub initial recursive update expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && test_sub_update /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into 'gitrepo'... adding changesets adding manifests adding file changes adding remote bookmark devel adding remote bookmark diverge adding remote bookmark feature-b added 4 changesets with 4 changes to 1 files new changesets ceee16a4a9de:75486103d34f progress revision walk 'bookmarks/master' (3/3) progress revision 0 'master' (0/4) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes adding remote bookmark devel adding remote bookmark diverge adding remote bookmark feature-b added 4 changesets with 4 changes to 1 files new changesets 98302503cea9:7a6bdb138abf progress revision walk 'bookmarks/master' (3/3) progress revision 0 'master' (0/4) created new head [diverge c1ed18d] diverge Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) created new head [diverge 5ea96dd] diverge Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] searching for changes adding changesets adding manifests adding file changes updating bookmark diverge added 1 changesets with 1 changes to 1 files (+1 heads) new changesets 63fad7002b72 To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/hgrepo ! [rejected] diverge -> diverge (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/hgrepo' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. ! [rejected] diverge -> diverge (non-fast-forward) ok 16 - remote update bookmark diverge expecting success: test_when_finished "rm -rf gitrepo*" && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git checkout --quiet -b feature-c HEAD^ && echo feature-c > content && git commit -a -m feature-c && git push --quiet origin feature-c ) && check_bookmark hgrepo feature-c feature-c Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways searching for changes adding changesets adding manifests adding file changes updating bookmark diverge added 1 changesets with 1 changes to 1 files (+1 heads) new changesets 5443f1d018c1 To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/hgrepo ! [rejected] diverge -> diverge (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/hgrepo' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. ! [rejected] diverge -> diverge (non-fast-forward) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes adding remote bookmark devel adding remote bookmark diverge adding remote bookmark feature-b added 5 changesets with 5 changes to 1 files (+1 heads) new changesets ceee16a4a9de:63fad7002b72 WARNING: Branch 'default' has more than one head, consider merging progress revision walk 'bookmarks/master' (4/4) progress revision 0 'master' (0/4) ok 16 - remote update bookmark diverge expecting success: test_when_finished "rm -rf gitrepo*" && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git checkout --quiet -b feature-c HEAD^ && echo feature-c > content && git commit -a -m feature-c && git push --quiet origin feature-c ) && check_bookmark hgrepo feature-c feature-c Cloning into 'gitrepo'... [feature-c 4e92d3a] feature-c Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets no changes found adding manifests adding file changes adding remote bookmark devel adding remote bookmark diverge adding remote bookmark feature-b added 5 changesets with 5 changes to 1 files (+1 heads) new changesets 98302503cea9:5443f1d018c1 searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files (+1 heads) WARNING: Branch 'default' has more than one head, consider merging progress revision walk 'bookmarks/master' (4/4) progress revision 0 'master' (0/4) [feature-c 99616e2] feature-c Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 17 - remote new bookmark multiple branch head expecting success: test_when_finished "rm -rf gitrepo hgrepo" && ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero ) && git clone "hg::hgrepo" gitrepo && ( cd gitrepo && cp content content-copy && # recent git-fast-export is (too) picky in recognizing copies # although git-log is not as picky; # since https://github.com/git/git/commit/8096e1d385660c159d9d47e69b2be63cf22e4f31 # a copy is only marked if source filed not modified as well # (though destination file can be modified) echo one >> content-copy && git add content content-copy && git commit -m copy && git mv content-copy content-moved git commit -m moved && git push origin master ) && ( hg -R hgrepo update && test_cmp gitrepo/content hgrepo/content test_cmp gitrepo/content-moved hgrepo/content-moved cd hgrepo && test `hg log -f content-moved | grep -c changeset` -eq 3 ) WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files (+1 heads) ok 17 - remote new bookmark multiple branch head checking known breakage: test_when_finished "rm -rf gitrepo hgrepo" && ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero ) && git clone "hg::hgrepo" gitrepo && ( cd gitrepo && cp content content-copy && # recent git-fast-export is (too) picky in recognizing copies # although git-log is not as picky; # since https://github.com/git/git/commit/8096e1d385660c159d9d47e69b2be63cf22e4f31 # a copy is only marked if source filed not modified as well # (though destination file can be modified) echo one >> content-copy && git add content content-copy && git commit -m copy && git mv content-copy content-moved git commit -m moved && git push origin master ) && ( hg -R hgrepo update && test_cmp gitrepo/content hgrepo/content test_cmp gitrepo/content-moved hgrepo/content-moved cd hgrepo && test `hg log -f content-moved | grep -c changeset` -eq 3 ) Cloning into 'gitrepo'... Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ [master (root-commit) e9a16bb] zero_sub_git Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 content_sub_git Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 70e67b5c3432 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways [master e098e0b] copy Author: A U Thor 1 file changed, 2 insertions(+) create mode 100644 content-copy [master 4248d29] moved Author: A U Thor 1 file changed, 0 insertions(+), 0 deletions(-) rename content-copy => content-moved (100%) adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 7241ee2b6de8 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) [master 2806857] copy Author: A U Thor 1 file changed, 2 insertions(+) create mode 100644 content-copy [master 967b08a] moved Author: A U Thor 1 file changed, 0 insertions(+), 0 deletions(-) rename content-copy => content-moved (100%) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found searching for changes adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 2 files /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/hgrepo fffffff..4248d29 master -> master WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways no changes found searching for changes adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 2 files To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/hgrepo af8c79d..967b08a master -> master Cloning into 'gitrepo'... 1 files updated, 0 files merged, 0 files removed, 0 files unresolved /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 2 changesets with 3 changes to 3 files 1 files updated, 0 files merged, 0 files removed, 0 files unresolved new changesets 8f850ce68e21:52f2019a54ff progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) ok 18 - push commits with copy and rename expecting success: test_when_finished "rm -rf hgrepo gitrepo && LC_ALL=C" && LC_ALL=C.UTF-8 export LC_ALL ( hg init hgrepo && cd hgrepo && echo test >> "æ rø" && hg add "æ rø" && echo test >> "ø~?" && hg add "ø~?" && hg commit -m add-utf-8 && echo test >> "æ rø" && hg commit -m test-utf-8 && hg rm "ø~?" && hg mv "æ rø" "ø~?" && hg commit -m hg-mv-utf-8 ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git -c core.quotepath=false ls-files > ../actual ) && echo "ø~?" > expected && test_cmp expected actual not ok 18 - push commits with copy and rename # TODO known breakage expecting success: test_when_finished "rm -rf hgrepo gitrepo && LC_ALL=C" && LC_ALL=C.UTF-8 export LC_ALL ( hg init hgrepo && cd hgrepo && echo test >> "æ rø" && hg add "æ rø" && echo test >> "ø~?" && hg add "ø~?" && hg commit -m add-utf-8 && echo test >> "æ rø" && hg commit -m test-utf-8 && hg rm "ø~?" && hg mv "æ rø" "ø~?" && hg commit -m hg-mv-utf-8 ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git -c core.quotepath=false ls-files > ../actual ) && echo "ø~?" > expected && test_cmp expected actual /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into './sub_hg_a'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 2 changesets with 3 changes to 3 files new changesets 45a95a3ae1db:86374bcc0c71 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) warning: filename contains '?', which is reserved on Windows: 'ø~?' warning: filename contains '?', which is reserved on Windows: 'ø~?' Cloning into './sub_hg_a/sub_hg_a_x'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 681f4028644d progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) Cloning into './sub_hg_b'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] warning: filename contains '?', which is reserved on Windows: 'ø~?' warning: filename contains '?', which is reserved on Windows: 'ø~?' adding changesets adding manifests adding file changes added 2 changesets with 3 changes to 3 files new changesets 5f405e8a72a0:26dd19c84aa0 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) Cloning into 'gitrepo'... Cloning into './sub_hg_b/sub_git'... done. Cloning into 'gitrepo'... WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes added 3 changesets with 4 changes to 2 files new changesets 5b824fa58abe:ded23aa4aeb3 progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/3) ok 19 - fetch special filenames expecting success: test_when_finished "rm -rf hgrepo gitrepo && LC_ALL=C" && mkdir -p tmp && cd tmp && LC_ALL=C.UTF-8 export LC_ALL ( hg init hgrepo && cd hgrepo && echo one >> content && hg add content && hg commit -m one ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && echo test >> "æ rø" && git add "æ rø" && git commit -m utf-8 && git push ) && (cd hgrepo && hg update && hg manifest > ../actual ) && printf "content\næ rø\n" > expected && test_cmp expected actual adding changesets adding manifests adding file changes added 3 changesets with 4 changes to 2 files new changesets 5b824fa58abe:ba0257a8265c progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/3) ok 19 - fetch special filenames expecting success: test_when_finished "rm -rf hgrepo gitrepo && LC_ALL=C" && mkdir -p tmp && cd tmp && LC_ALL=C.UTF-8 export LC_ALL ( hg init hgrepo && cd hgrepo && echo one >> content && hg add content && hg commit -m one ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && echo test >> "æ rø" && git add "æ rø" && git commit -m utf-8 && git push ) && (cd hgrepo && hg update && hg manifest > ../actual ) && printf "content\næ rø\n" > expected && test_cmp expected actual /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 882e1e24214e progress revision 2 'default' (0/1) Cloning into 'gitrepo'... From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo ca6d3b8..ba4cf78 master -> origin/master ca6d3b8..ba4cf78 branches/default -> origin/branches/default Cloning into 'gitrepo'... Updating ca6d3b8..ba4cf78 Fast-forward .hgsubstate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets d38383156f4e progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) [master d689eb4] utf-8 Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 "\303\246 r\303\270" WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets d38383156f4e progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] [master d689eb4] utf-8 Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 "\303\246 r\303\270" searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets f1257c558b87 progress revision 2 'default' (0/1) no changes found From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_a df2a9f7..2ca005d branches/default -> origin/branches/default df2a9f7..2ca005d master -> origin/master searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo fffffff..d689eb4 master -> master HEAD is now at df2a9f7 substate_hg_a WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways 1 files updated, 0 files merged, 0 files removed, 0 files unresolved no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo f391291..d689eb4 master -> master /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 20 - push special filenames expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && setup_big_push ( cd gitrepo && check_push 1 --all <<-\EOF master good_bmark branches/good_branch new_bmark:new branches/new_branch:new bad_bmark1:non-fast-forward bad_bmark2:non-fast-forward branches/bad_branch:non-fast-forward EOF ) && if test "$CAPABILITY_PUSH" = "t" then # cap push handles refs one by one # so it will push all requested it can check_branch hgrepo default six && check_branch hgrepo good_branch eight && check_branch hgrepo bad_branch "bad branch" && check_branch hgrepo new_branch ten && check_bookmark hgrepo good_bmark three && check_bookmark hgrepo bad_bmark1 one && check_bookmark hgrepo bad_bmark2 one && check_bookmark hgrepo new_bmark six else check_branch hgrepo default one && check_branch hgrepo good_branch "good branch" && check_branch hgrepo bad_branch "bad branch" && check_branch hgrepo new_branch && check_bookmark hgrepo good_bmark one && check_bookmark hgrepo bad_bmark1 one && check_bookmark hgrepo bad_bmark2 one && check_bookmark hgrepo new_bmark fi searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 72d4c6edbcef progress revision 1 'default' (0/1) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_a/sub_hg_a_x b3c4aa5..dae21ed branches/default -> origin/branches/default b3c4aa5..dae21ed master -> origin/master 1 files updated, 0 files merged, 0 files removed, 0 files unresolved HEAD is now at b3c4aa5 zero_sub_hg_a_x ok 20 - push special filenames expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && setup_big_push ( cd gitrepo && check_push 1 --all <<-\EOF master good_bmark branches/good_branch new_bmark:new branches/new_branch:new bad_bmark1:non-fast-forward bad_bmark2:non-fast-forward branches/bad_branch:non-fast-forward EOF ) && if test "$CAPABILITY_PUSH" = "t" then # cap push handles refs one by one # so it will push all requested it can check_branch hgrepo default six && check_branch hgrepo good_branch eight && check_branch hgrepo bad_branch "bad branch" && check_branch hgrepo new_branch ten && check_bookmark hgrepo good_bmark three && check_bookmark hgrepo bad_bmark1 one && check_bookmark hgrepo bad_bmark2 one && check_bookmark hgrepo new_bmark six else check_branch hgrepo default one && check_branch hgrepo good_branch "good branch" && check_branch hgrepo bad_branch "bad branch" && check_branch hgrepo new_branch && check_bookmark hgrepo good_bmark one && check_bookmark hgrepo bad_bmark1 one && check_bookmark hgrepo bad_bmark2 one && check_bookmark hgrepo new_bmark fi /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found ok 9 - subcommand sub subsequent recursive update expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && test_sub_update --rebase Cloning into 'gitrepo'... Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes adding remote bookmark bad_bmark1 adding remote bookmark bad_bmark2 adding remote bookmark good_bmark added 4 changesets with 4 changes to 1 files new changesets 564ce88bd932:795fa717cb52 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) progress revision 2 'bad_branch' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways HEAD is now at 81e2192 zero HEAD is now at 81e2192 zero HEAD is now at c4cda0d good branch adding changesets adding manifests adding file changes adding remote bookmark bad_bmark1 adding remote bookmark bad_bmark2 adding remote bookmark good_bmark added 4 changesets with 4 changes to 1 files new changesets b3d6f2f7ae30:564b2bff7142 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) progress revision 2 'bad_branch' (0/2) HEAD is now at a58ecb3 zero HEAD is now at a58ecb3 zero HEAD is now at 70cc17c good branch Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ [master (root-commit) e9a16bb] zero_sub_git Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 content_sub_git /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found searching for changes adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 1 files (+1 heads) searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files (+1 heads) searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files (+1 heads) searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files (+1 heads) To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo fffffff..078d69b branches/good_branch -> branches/good_branch fffffff..225040c good_bmark -> good_bmark fffffff..4229262 master -> master * [new branch] branches/new_branch -> branches/new_branch * [new branch] new_bmark -> new_bmark ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo' hint: Updates were rejected because a pushed branch tip is behind its remote hint: counterpart. Check out this branch and integrate the remote changes hint: (e.g. 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. fffffff..4229262 master -> master fffffff..225040c good_bmark -> good_bmark fffffff..078d69b branches/good_branch -> branches/good_branch * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways no changes found To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo 70cc17c..e09f41f branches/good_branch -> branches/good_branch 48d3dc3..48c79b3 good_bmark -> good_bmark 48d3dc3..f5c2b48 master -> master * [new branch] branches/new_branch -> branches/new_branch * [new branch] new_bmark -> new_bmark ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo' hint: Updates were rejected because a pushed branch tip is behind its remote hint: counterpart. Check out this branch and integrate the remote changes hint: (e.g. 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. 48d3dc3..f5c2b48 master -> master 48d3dc3..48c79b3 good_bmark -> good_bmark 70cc17c..e09f41f branches/good_branch -> branches/good_branch * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 2 changesets with 3 changes to 3 files new changesets 2e8c6c9f47fe:e7bc4dd88d8a progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into './sub_hg_a'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 2 changesets with 3 changes to 3 files new changesets f7ab9d17ca17:a498ff4a1f7d progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) ok 21 - remote big push expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero && hg bookmark bad_bmark && hg bookmark good_bmark && hg bookmark -i good_bmark && hg -q branch good_branch && echo "good branch" > content && hg commit -m "good branch" && hg -q branch bad_branch && echo "bad branch" > content && hg commit -m "bad branch" ) && git clone "hg::hgrepo" gitrepo && ( cd hgrepo && hg bookmark -f bad_bmark && echo update_bmark > content && hg commit -m "update bmark" ) && ( cd gitrepo && echo two > content && git commit -q -a -m two && git checkout -q good_bmark && echo three > content && git commit -q -a -m three && git checkout -q bad_bmark && echo four > content && git commit -q -a -m four && git checkout -q branches/bad_branch && echo five > content && git commit -q -a -m five && check_push 1 --all <<-\EOF && master good_bmark bad_bmark:non-fast-forward branches/bad_branch:non-fast-forward EOF git fetch && if test "$CAPABILITY_PUSH" = "t" then # cap push handles refs one by one # so it will already have pushed some above previously # (and master is a fake one that jumps around a bit) check_push 1 --all <<-\EOF bad_bmark:non-fast-forward branches/bad_branch:non-fast-forward EOF else check_push 1 --all <<-\EOF master good_bmark bad_bmark:non-fast-forward branches/bad_branch:non-fast-forward EOF fi ) Cloning into './sub_hg_a/sub_hg_a_x'... ok 21 - remote big push expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero && hg bookmark bad_bmark && hg bookmark good_bmark && hg bookmark -i good_bmark && hg -q branch good_branch && echo "good branch" > content && hg commit -m "good branch" && hg -q branch bad_branch && echo "bad branch" > content && hg commit -m "bad branch" ) && git clone "hg::hgrepo" gitrepo && ( cd hgrepo && hg bookmark -f bad_bmark && echo update_bmark > content && hg commit -m "update bmark" ) && ( cd gitrepo && echo two > content && git commit -q -a -m two && git checkout -q good_bmark && echo three > content && git commit -q -a -m three && git checkout -q bad_bmark && echo four > content && git commit -q -a -m four && git checkout -q branches/bad_branch && echo five > content && git commit -q -a -m five && check_push 1 --all <<-\EOF && master good_bmark bad_bmark:non-fast-forward branches/bad_branch:non-fast-forward EOF git fetch && if test "$CAPABILITY_PUSH" = "t" then # cap push handles refs one by one # so it will already have pushed some above previously # (and master is a fake one that jumps around a bit) check_push 1 --all <<-\EOF bad_bmark:non-fast-forward branches/bad_branch:non-fast-forward EOF else check_push 1 --all <<-\EOF master good_bmark bad_bmark:non-fast-forward branches/bad_branch:non-fast-forward EOF fi ) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 8c4c0075690f progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) Cloning into './sub_hg_b'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 2 changesets with 3 changes to 3 files new changesets c98c7abbc20b:54750e930540 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) Cloning into './sub_hg_b/sub_git'... done. Cloning into 'gitrepo'... Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 4fd26d3221b3 /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] progress revision 2 'default' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo 8f13e54..e544e94 master -> origin/master 8f13e54..e544e94 branches/default -> origin/branches/default WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes adding remote bookmark bad_bmark adding remote bookmark good_bmark added 3 changesets with 3 changes to 1 files Updating 8f13e54..e544e94 Fast-forward .hgsubstate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) adding changesets adding manifests adding file changes adding remote bookmark bad_bmark adding remote bookmark good_bmark added 3 changesets with 3 changes to 1 files new changesets 5b989d2f2ba1:55c5930ba5dd progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) progress revision 1 'bad_branch' (0/2) new changesets a63a4139e711:e1f034371e5e /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) progress revision 1 'bad_branch' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets a31d484b071d progress revision 2 'default' (0/1) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_a 981b7ef..d76a798 branches/default -> origin/branches/default 981b7ef..d76a798 master -> origin/master HEAD is now at 981b7ef substate_hg_a Successfully rebased and updated detached HEAD. /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways searching for changes adding changesets adding manifests adding file changes updating bookmark bad_bmark added 1 changesets with 1 changes to 1 files new changesets 598df51001bb To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo 439afd0..5f78800 good_bmark -> good_bmark 439afd0..8e56d5d master -> master ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. 439afd0..8e56d5d master -> master 439afd0..5f78800 good_bmark -> good_bmark ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets e6e8c737b32e progress revision 1 'default' (0/1) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_a/sub_hg_a_x e7f6864..a071f0a branches/default -> origin/branches/default e7f6864..a071f0a master -> origin/master /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways HEAD is now at e7f6864 zero_sub_hg_a_x Successfully rebased and updated detached HEAD. no changes found progress revision 3 'bad_branch' (0/1) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo f0ba3c0..d845ca5 branches/bad_branch -> origin/branches/bad_branch 439afd0..d845ca5 bad_bmark -> origin/bad_bmark + 5f78800...439afd0 good_bmark -> origin/good_bmark (forced update) + 8e56d5d...439afd0 master -> origin/master (forced update) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] searching for changes adding changesets adding manifests adding file changes updating bookmark bad_bmark added 1 changesets with 1 changes to 1 files new changesets f68c7602a431 searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files (+1 heads) searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files (+1 heads) To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo fffffff..b86bb39 good_bmark -> good_bmark fffffff..10580a5 master -> master ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] fffffff..10580a5 master -> master fffffff..b86bb39 good_bmark -> good_bmark ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) no changes found /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways no changes found To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo 439afd0..5f78800 good_bmark -> good_bmark 439afd0..8e56d5d master -> master ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. 439afd0..8e56d5d master -> master 439afd0..5f78800 good_bmark -> good_bmark ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) ok 22 - remote big push non fast forward expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && setup_big_push ( cd gitrepo && if test "$CAPABILITY_PUSH" = "t" then check_push 0 --force --all <<-\EOF master:forced-update good_bmark:forced-update branches/good_branch:forced-update new_bmark:new branches/new_branch:new bad_bmark1:forced-update bad_bmark2:forced-update branches/bad_branch:forced-update EOF else check_push 0 --force --all <<-\EOF master good_bmark branches/good_branch new_bmark:new branches/new_branch:new bad_bmark1:forced-update bad_bmark2:forced-update branches/bad_branch:forced-update EOF fi ) && check_branch hgrepo good_branch eight && check_branch hgrepo bad_branch nine && check_branch hgrepo new_branch ten && check_bookmark hgrepo good_bmark three && check_bookmark hgrepo bad_bmark1 four && check_bookmark hgrepo bad_bmark2 five && check_bookmark hgrepo new_bmark six /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found updating bookmark good_bmark 2 local changesets published WARNING: Branch 'default' has more than one head, consider merging progress revision 3 'bad_branch' (0/1) ok 10 - subcommand sub subsequent recursive update -- rebase expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && test_sub_update --merge From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo a2e4b68..d0a11e8 branches/bad_branch -> origin/branches/bad_branch 8c14ec2..10580a5 branches/default -> origin/branches/default 8c14ec2..d0a11e8 bad_bmark -> origin/bad_bmark /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) ok 22 - remote big push non fast forward expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && setup_big_push ( cd gitrepo && if test "$CAPABILITY_PUSH" = "t" then check_push 0 --force --all <<-\EOF master:forced-update good_bmark:forced-update branches/good_branch:forced-update new_bmark:new branches/new_branch:new bad_bmark1:forced-update bad_bmark2:forced-update branches/bad_branch:forced-update EOF else check_push 0 --force --all <<-\EOF master good_bmark branches/good_branch new_bmark:new branches/new_branch:new bad_bmark1:forced-update bad_bmark2:forced-update branches/bad_branch:forced-update EOF fi ) && check_branch hgrepo good_branch eight && check_branch hgrepo bad_branch nine && check_branch hgrepo new_branch ten && check_bookmark hgrepo good_bmark three && check_bookmark hgrepo bad_bmark1 four && check_bookmark hgrepo bad_bmark2 five && check_bookmark hgrepo new_bmark six Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes adding remote bookmark bad_bmark1 adding remote bookmark bad_bmark2 adding remote bookmark good_bmark added 4 changesets with 4 changes to 1 files new changesets 8e0074647a25:707a1336a94e progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) progress revision 2 'bad_branch' (0/2) HEAD is now at 35464ed zero HEAD is now at 35464ed zero HEAD is now at d3f1509 good branch Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ [master (root-commit) e9a16bb] zero_sub_git Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 content_sub_git /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways no changes found searching for changes adding changesets adding manifests adding file changes added 9 changesets with 9 changes to 1 files (+7 heads) To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo + aa3b4ab...d6e69c6 branches/bad_branch -> branches/bad_branch (forced update) d3f1509..e7d85df branches/good_branch -> branches/good_branch + aca5c2c...0cdf9ef bad_bmark1 -> bad_bmark1 (forced update) + aca5c2c...516718f bad_bmark2 -> bad_bmark2 (forced update) aca5c2c..49d9b8e good_bmark -> good_bmark aca5c2c..598ec80 master -> master * [new branch] branches/new_branch -> branches/new_branch * [new branch] new_bmark -> new_bmark aca5c2c..598ec80 master -> master aca5c2c..49d9b8e good_bmark -> good_bmark d3f1509..e7d85df branches/good_branch -> branches/good_branch * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch + aca5c2c...0cdf9ef bad_bmark1 -> bad_bmark1 (forced update) + aca5c2c...516718f bad_bmark2 -> bad_bmark2 (forced update) + aa3b4ab...d6e69c6 branches/bad_branch -> branches/bad_branch (forced update) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes adding remote bookmark bad_bmark1 adding remote bookmark bad_bmark2 adding remote bookmark good_bmark added 4 changesets with 4 changes to 1 files new changesets 8e9f186fceb1:be152258cb45 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) progress revision 2 'bad_branch' (0/2) HEAD is now at 7950ebe zero HEAD is now at 7950ebe zero HEAD is now at f2bf941 good branch Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 2 changesets with 3 changes to 3 files new changesets eaedc4109630:aa64f55c0f38 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files (+1 heads) searching for changes adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 1 files (+1 heads) searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files (+1 heads) searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files (+1 heads) searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files (+1 heads) searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files (+1 heads) searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files (+1 heads) To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo + fffffff...a58bd58 branches/bad_branch -> branches/bad_branch (forced update) + fffffff...94bc1fd branches/good_branch -> branches/good_branch (forced update) + fffffff...1843ef4 bad_bmark1 -> bad_bmark1 (forced update) + fffffff...49e3403 bad_bmark2 -> bad_bmark2 (forced update) + fffffff...41ecd38 good_bmark -> good_bmark (forced update) + fffffff...6a49641 master -> master (forced update) * [new branch] branches/new_branch -> branches/new_branch * [new branch] new_bmark -> new_bmark + fffffff...6a49641 master -> master (forced update) + fffffff...41ecd38 good_bmark -> good_bmark (forced update) + fffffff...94bc1fd branches/good_branch -> branches/good_branch (forced update) * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch + fffffff...1843ef4 bad_bmark1 -> bad_bmark1 (forced update) + fffffff...49e3403 bad_bmark2 -> bad_bmark2 (forced update) + fffffff...a58bd58 branches/bad_branch -> branches/bad_branch (forced update) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into './sub_hg_a'... ok 23 - remote big push force expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && setup_big_push ( cd gitrepo && check_push 1 --dry-run --all <<-\EOF && master good_bmark branches/good_branch new_bmark:new branches/new_branch:new bad_bmark1:non-fast-forward bad_bmark2:non-fast-forward branches/bad_branch:non-fast-forward EOF check_push 0 --dry-run master good_bmark new_bmark branches/good_branch branches/new_branch <<-\EOF master good_bmark branches/good_branch new_bmark:new branches/new_branch:new EOF ) && check_branch hgrepo default one && check_branch hgrepo good_branch "good branch" && check_branch hgrepo bad_branch "bad branch" && check_branch hgrepo new_branch && check_bookmark hgrepo good_bmark one && check_bookmark hgrepo bad_bmark1 one && check_bookmark hgrepo bad_bmark2 one && check_bookmark hgrepo new_bmark /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 2 changesets with 3 changes to 3 files new changesets e9d7b21d5e97:a91e54094f66 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) Cloning into './sub_hg_a/sub_hg_a_x'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 9522ad3fc114 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) Cloning into './sub_hg_b'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 23 - remote big push force expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && setup_big_push ( cd gitrepo && check_push 1 --dry-run --all <<-\EOF && master good_bmark branches/good_branch new_bmark:new branches/new_branch:new bad_bmark1:non-fast-forward bad_bmark2:non-fast-forward branches/bad_branch:non-fast-forward EOF check_push 0 --dry-run master good_bmark new_bmark branches/good_branch branches/new_branch <<-\EOF master good_bmark branches/good_branch new_bmark:new branches/new_branch:new EOF ) && check_branch hgrepo default one && check_branch hgrepo good_branch "good branch" && check_branch hgrepo bad_branch "bad branch" && check_branch hgrepo new_branch && check_bookmark hgrepo good_bmark one && check_bookmark hgrepo bad_bmark1 one && check_bookmark hgrepo bad_bmark2 one && check_bookmark hgrepo new_bmark adding changesets adding manifests adding file changes added 2 changesets with 3 changes to 3 files new changesets 32448309f585:0cc1673aafe7 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) Cloning into './sub_hg_b/sub_git'... done. /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 011d86ed5619 progress revision 2 'default' (0/1) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo 4917f3f..fd3643b master -> origin/master 4917f3f..fd3643b branches/default -> origin/branches/default Updating 4917f3f..fd3643b Fast-forward .hgsubstate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes adding remote bookmark bad_bmark1 adding remote bookmark bad_bmark2 adding remote bookmark good_bmark added 4 changesets with 4 changes to 1 files new changesets b04c27577e39:71eddb08a5eb progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) progress revision 2 'bad_branch' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] HEAD is now at ee976be zero HEAD is now at ee976be zero searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 5b86e273743e progress revision 2 'default' (0/1) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_a 7a3abc4..2508274 branches/default -> origin/branches/default 7a3abc4..2508274 master -> origin/master HEAD is now at 16b3ddb good branch HEAD is now at 7a3abc4 substate_hg_a Updating 7a3abc4..2508274 Fast-forward .hgsubstate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways no changes found To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo 16b3ddb..a6e2e1c branches/good_branch -> branches/good_branch e6bd375..47e3bac good_bmark -> good_bmark e6bd375..0c4295e master -> master * [new branch] branches/new_branch -> branches/new_branch * [new branch] new_bmark -> new_bmark ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo' hint: Updates were rejected because a pushed branch tip is behind its remote hint: counterpart. Check out this branch and integrate the remote changes hint: (e.g. 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. e6bd375..0c4295e master -> master e6bd375..47e3bac good_bmark -> good_bmark 16b3ddb..a6e2e1c branches/good_branch -> branches/good_branch * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 66f1a08d6e0a Cloning into 'gitrepo'... progress revision 1 'default' (0/1) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_a/sub_hg_a_x 8d72aef..daa9fde branches/default -> origin/branches/default 8d72aef..daa9fde master -> origin/master HEAD is now at 8d72aef zero_sub_hg_a_x Updating 8d72aef..daa9fde Fast-forward content_sub_hg_a_x | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes adding remote bookmark bad_bmark1 adding remote bookmark bad_bmark2 adding remote bookmark good_bmark added 4 changesets with 4 changes to 1 files new changesets 3b1871bd11ac:ea290c6e49ac progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) progress revision 2 'bad_branch' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways no changes found To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo 16b3ddb..a6e2e1c branches/good_branch -> branches/good_branch e6bd375..47e3bac good_bmark -> good_bmark e6bd375..0c4295e master -> master * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch e6bd375..0c4295e master -> master e6bd375..47e3bac good_bmark -> good_bmark 16b3ddb..a6e2e1c branches/good_branch -> branches/good_branch * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] HEAD is now at 887d990 zero HEAD is now at 887d990 zero no changes found HEAD is now at ba32b2c good branch ok 11 - subcommand sub subsequent recursive update -- merge expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && test_sub_foreach /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo fffffff..01e449d branches/good_branch -> branches/good_branch fffffff..9ee0eef good_bmark -> good_bmark fffffff..3089699 master -> master * [new branch] branches/new_branch -> branches/new_branch * [new branch] new_bmark -> new_bmark ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo' hint: Updates were rejected because a pushed branch tip is behind its remote hint: counterpart. Check out this branch and integrate the remote changes hint: (e.g. 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. fffffff..3089699 master -> master fffffff..9ee0eef good_bmark -> good_bmark fffffff..01e449d branches/good_branch -> branches/good_branch * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo fffffff..01e449d branches/good_branch -> branches/good_branch fffffff..9ee0eef good_bmark -> good_bmark fffffff..3089699 master -> master * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch fffffff..3089699 master -> master fffffff..9ee0eef good_bmark -> good_bmark fffffff..01e449d branches/good_branch -> branches/good_branch * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch ok 24 - remote big push dry-run expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && setup_big_push ( cd gitrepo && if test "$CAPABILITY_PUSH" = "t" then check_push 0 --force --dry-run --all <<-\EOF master:forced-update good_bmark:forced-update branches/good_branch:forced-update new_bmark:new branches/new_branch:new bad_bmark1:forced-update bad_bmark2:forced-update branches/bad_branch:forced-update EOF else check_push 0 --force --dry-run --all <<-\EOF master good_bmark branches/good_branch new_bmark:new branches/new_branch:new bad_bmark1:forced-update bad_bmark2:forced-update branches/bad_branch:forced-update EOF fi ) && check_branch hgrepo default one && check_branch hgrepo good_branch "good branch" && check_branch hgrepo bad_branch "bad branch" && check_branch hgrepo new_branch && check_bookmark hgrepo good_bmark one && check_bookmark hgrepo bad_bmark1 one && check_bookmark hgrepo bad_bmark2 one && check_bookmark hgrepo new_bmark ok 24 - remote big push dry-run expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && setup_big_push ( cd gitrepo && if test "$CAPABILITY_PUSH" = "t" then check_push 0 --force --dry-run --all <<-\EOF master:forced-update good_bmark:forced-update branches/good_branch:forced-update new_bmark:new branches/new_branch:new bad_bmark1:forced-update bad_bmark2:forced-update branches/bad_branch:forced-update EOF else check_push 0 --force --dry-run --all <<-\EOF master good_bmark branches/good_branch new_bmark:new branches/new_branch:new bad_bmark1:forced-update bad_bmark2:forced-update branches/bad_branch:forced-update EOF fi ) && check_branch hgrepo default one && check_branch hgrepo good_branch "good branch" && check_branch hgrepo bad_branch "bad branch" && check_branch hgrepo new_branch && check_bookmark hgrepo good_bmark one && check_bookmark hgrepo bad_bmark1 one && check_bookmark hgrepo bad_bmark2 one && check_bookmark hgrepo new_bmark Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ [master (root-commit) e9a16bb] zero_sub_git Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 content_sub_git Cloning into 'gitrepo'... Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes adding changesets adding remote bookmark bad_bmark1 adding remote bookmark bad_bmark2 adding remote bookmark good_bmark adding manifests adding file changes added 4 changesets with 4 changes to 1 files new changesets 12610db77bf0:c5a7e8bb8675 added 2 changesets with 3 changes to 3 files new changesets c462e7faeceb:4f4150f10d1e progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) progress revision 2 'bad_branch' (0/2) HEAD is now at 0f79924 zero HEAD is now at 0f79924 zero HEAD is now at 687b53c good branch /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into './sub_hg_a'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways no changes found To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo + 5feb63a...61f9c92 branches/bad_branch -> branches/bad_branch (forced update) 687b53c..001ef3a branches/good_branch -> branches/good_branch + 045280a...9e4e696 bad_bmark1 -> bad_bmark1 (forced update) + 045280a...365b436 bad_bmark2 -> bad_bmark2 (forced update) 045280a..18449e1 good_bmark -> good_bmark 045280a..c4aec42 master -> master * [new branch] branches/new_branch -> branches/new_branch * [new branch] new_bmark -> new_bmark 045280a..c4aec42 master -> master 045280a..18449e1 good_bmark -> good_bmark 687b53c..001ef3a branches/good_branch -> branches/good_branch * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch + 045280a...9e4e696 bad_bmark1 -> bad_bmark1 (forced update) + 045280a...365b436 bad_bmark2 -> bad_bmark2 (forced update) + 5feb63a...61f9c92 branches/bad_branch -> branches/bad_branch (forced update) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 2 changesets with 3 changes to 3 files new changesets c6bdaf9db004:eb8088245a98 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) Cloning into 'gitrepo'... Cloning into './sub_hg_a/sub_hg_a_x'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets cecd49f18c5c progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) adding changesets adding manifests adding file changes adding remote bookmark bad_bmark1 adding remote bookmark bad_bmark2 adding remote bookmark good_bmark added 4 changesets with 4 changes to 1 files new changesets 8e4b4017b1a2:5f2afd19942e progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) progress revision 2 'bad_branch' (0/2) Cloning into './sub_hg_b'... HEAD is now at b5bf391 zero HEAD is now at b5bf391 zero HEAD is now at 6ac2e55 good branch /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 2 changesets with 3 changes to 3 files new changesets 108275e2e7f8:8b4813d5f3d4 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) Cloning into './sub_hg_b/sub_git'... done. /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo + fffffff...2ed0116 branches/bad_branch -> branches/bad_branch (forced update) + fffffff...f90143f branches/good_branch -> branches/good_branch (forced update) + fffffff...73398ec bad_bmark1 -> bad_bmark1 (forced update) + fffffff...658d557 bad_bmark2 -> bad_bmark2 (forced update) + fffffff...942a871 good_bmark -> good_bmark (forced update) + fffffff...46b5676 master -> master (forced update) * [new branch] branches/new_branch -> branches/new_branch * [new branch] new_bmark -> new_bmark + fffffff...46b5676 master -> master (forced update) + fffffff...942a871 good_bmark -> good_bmark (forced update) + fffffff...f90143f branches/good_branch -> branches/good_branch (forced update) * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch + fffffff...73398ec bad_bmark1 -> bad_bmark1 (forced update) + fffffff...658d557 bad_bmark2 -> bad_bmark2 (forced update) + fffffff...2ed0116 branches/bad_branch -> branches/bad_branch (forced update) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] hg b846d5bebc0600dca05ad169af826406ed87c682 eb8088245a98d6c066c055e776d268493bddfc3c sub_hg_a /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/gitrepo hg fc854019401902a94cd5209ded0f6ce41d7f4787 cecd49f18c5c74f8931ef7e4dac4feb73bbac340 sub_hg_a_x /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/gitrepo/sub_hg_a hg fb780f4a0653cea4426e01c968cdf4ce3b7bf596 8b4813d5f3d4d8c7369c53f5b28426b339f25bc6 sub_hg_b /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/gitrepo git e9a16bb7c08361f85ab0002e4094b4229fefb384 e9a16bb7c08361f85ab0002e4094b4229fefb384 sub_git /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/gitrepo/sub_hg_b ok 12 - subcommand sub foreach expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && setup_repo hg hgrepo && ( cd hgrepo && setup_repo hg sub_hg && echo "sub_hg = sub_hg" > .hgsub && hg add .hgsub && hg commit -m substate ) git clone hg::hgrepo gitrepo && ( cd gitrepo && git-hg-helper sub update --force && ( cd sub_hg && grep url .git/config > ../expected && git config remote.origin.url foobar && grep foobar .git/config ) && git-hg-helper sub sync && grep url sub_hg/.git/config > actual && test_cmp expected actual ) ok 25 - remote big push force dry-run expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero && echo one > content && hg commit -m one ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git reset --hard HEAD^ && echo two > content && git commit -a -m two && test_expect_code 1 git push && test_expect_code 1 git push ) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 1 files new changesets 308a5ab74986:87f1ef84c58e progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) HEAD is now at bca5521 zero [master 8047949] two Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways no changes found ok 25 - remote big push force dry-run expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero && echo one > content && hg commit -m one ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git reset --hard HEAD^ && echo two > content && git commit -a -m two && test_expect_code 1 git push && test_expect_code 1 git push ) To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 2 changesets with 3 changes to 3 files new changesets 8cca84f425f6:7d5f3a11ceda progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways no changes found To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. ok 26 - remote double failed push expecting success: test_when_finished "rm -rf gitrepo hgrepo" && ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero && echo feature-a > content && hg commit -m feature-a hg bookmark feature-a ) && git clone "hg::hgrepo" gitrepo && check gitrepo origin/feature-a feature-a && ( cd hgrepo && hg bookmark -d feature-a ) && ( cd gitrepo && git fetch --prune origin git branch -a > out && ! grep feature-a out ) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into './sub_hg'... Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 1 files new changesets 6bf1b9c95ec7:6affbb3a9003 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets d8de2cc1e459 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) HEAD is now at 0376441 zero [master 3733cc6] two Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) url = foobar /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. ok 13 - subcommand sub sync expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && setup_repo hg hgrepo && ( cd hgrepo && setup_repo hg sub_hg && setup_repo git sub_git && echo "sub_hg = sub_hg" > .hgsub && echo "sub_git = [git]sub_git" >> .hgsub && hg add .hgsub && hg commit -m substate ) git clone hg::hgrepo gitrepo && ( cd gitrepo && git-hg-helper sub update --force && ( cd sub_hg && echo one > content_sub_hg && git add content_sub_hg && git commit -m one_sub_hg && # detached HEAD git push origin HEAD:master && # also fetch to ensure notes are updated git fetch origin ) && ( cd sub_git && echo one > content_sub_git && git add content_sub_git && git commit -m one_sub_git && # detached HEAD; push revision to other side ... anywhere git push origin HEAD:refs/heads/new ) ) && ( cd gitrepo && git-hg-helper sub upstate && git diff && git status --porcelain | grep .hgsubstate && git add .hgsubstate && git commit -m update_sub && git push origin master ) && hg clone hgrepo hgclone && ( cd hgclone && hg update ) && check_branch hgclone default update_sub && check_branch hgclone/sub_hg default one_sub_hg && check hgclone/sub_git HEAD one_sub_git Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo' /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. ok 26 - remote double failed push expecting success: test_when_finished "rm -rf gitrepo hgrepo" && ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero && echo feature-a > content && hg commit -m feature-a hg bookmark feature-a ) && git clone "hg::hgrepo" gitrepo && check gitrepo origin/feature-a feature-a && ( cd hgrepo && hg bookmark -d feature-a ) && ( cd gitrepo && git fetch --prune origin git branch -a > out && ! grep feature-a out ) adding changesets adding manifests adding file changes adding remote bookmark feature-a added 2 changesets with 2 changes to 1 files new changesets 5964b7cd6217:5d18b53d1087 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways no changes found error: refusing to update ref with bad name 'hg/origin/refs/bookmarks/feature-a' From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo - [deleted] (none) -> origin/feature-a ok 27 - fetch prune expecting success: test_when_finished "rm -rf gitrepo hgrepo" && ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero && hg up -r null && echo another > ocontent && hg add ocontent && hg commit -m one ) && # -r 1 acts as master ( git init --bare gitrepo && cd gitrepo && git remote add origin hg::../hgrepo && git fetch origin refs/heads/*:refs/heads/* ) && ( cd hgrepo && hg up 0 && echo two > content && hg commit -m two ) && # now master already exists # -r 2 becomes master head which has rev 0 as ancestor # so when importing (parentless) rev 0, a reset is needed # (to ensure rev 0 is not given a parent commit) ( cd gitrepo && git fetch origin && git log --format="%s" origin/master > ../actual ) && hg -R hgrepo log -r . -f --template "{desc}\n" > expected && test_cmp actual expected Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_git/.git/ [master (root-commit) e9a16bb] zero_sub_git Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 content_sub_git Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into 'gitrepo'... adding changesets adding manifests adding file changes adding remote bookmark feature-a added 2 changesets with 2 changes to 1 files new changesets d2214758b5d6:d3a506691e9c progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] 0 files updated, 0 files merged, 1 files removed, 0 files unresolved adding changesets adding manifests adding file changes added 2 changesets with 3 changes to 3 files new changesets eb327eae5abc:3e75a7967d5b progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found error: refusing to update ref with bad name 'hg/origin/refs/bookmarks/feature-a' From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo - [deleted] (none) -> origin/feature-a Cloning into './sub_hg'... created new head ok 27 - fetch prune expecting success: test_when_finished "rm -rf gitrepo hgrepo" && ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero && hg up -r null && echo another > ocontent && hg add ocontent && hg commit -m one ) && # -r 1 acts as master ( git init --bare gitrepo && cd gitrepo && git remote add origin hg::../hgrepo && git fetch origin refs/heads/*:refs/heads/* ) && ( cd hgrepo && hg up 0 && echo two > content && hg commit -m two ) && # now master already exists # -r 2 becomes master head which has rev 0 as ancestor # so when importing (parentless) rev 0, a reset is needed # (to ensure rev 0 is not given a parent commit) ( cd gitrepo && git fetch origin && git log --format="%s" origin/master > ../actual ) && hg -R hgrepo log -r . -f --template "{desc}\n" > expected && test_cmp actual expected Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/gitrepo/ /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 2 files (+1 heads) new changesets 73ae0b0642fb:41100ff631be added 1 changesets with 1 changes to 1 files new changesets 19850f89a1b3 WARNING: Branch 'default' has more than one head, consider merging WARNING: Branch 'default' has more than one head, consider merging progress revision 1 'default' (0/1) progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) From hg::../hgrepo * [new branch] branches/default -> branches/default * [new branch] master -> master * [new branch] branches/default -> origin/branches/default * [new branch] master -> origin/master Cloning into './sub_git'... done. [detached HEAD a0c68ca] one_sub_hg Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) 1 files updated, 0 files merged, 1 files removed, 0 files unresolved /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] 0 files updated, 0 files merged, 1 files removed, 0 files unresolved no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg fffffff..a0c68ca HEAD -> master /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found 1 local changesets published /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg f7f9218..a0c68ca branches/default -> origin/branches/default WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways created new head searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 84adc0f4a41d [detached HEAD cea1af1] one_sub_git Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/gitrepo/ WARNING: Branch 'default' has more than one head, consider merging progress revision walk 'branches/default' (2/2) progress revision 0 'default' (0/2) To /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_git * [new branch] HEAD -> new From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo + 27e0b82...f664c72 branches/default -> origin/branches/default (forced update) + 27e0b82...f664c72 master -> origin/master (forced update) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 28 - fetch multiple independent histories expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && ( hg init hgrepo && cd hgrepo && echo a > a && hg add a && hg commit -m a && hg bookmark -r null bookmark ) && ( git clone "hg::hgrepo" gitrepo && check gitrepo HEAD a && cd gitrepo && git checkout --quiet -b bookmark && git remote -v && echo b > b && git add b && git commit -m b && git push origin bookmark ) adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 2 files (+1 heads) new changesets 3db641e32932:f68a39c93957 WARNING: Branch 'default' has more than one head, consider merging WARNING: Branch 'default' has more than one head, consider merging progress revision 1 'default' (0/1) From hg::../hgrepo * [new branch] branches/default -> branches/default * [new branch] master -> master * [new branch] branches/default -> origin/branches/default * [new branch] master -> origin/master Updating ./sub_hg to a6bd9ea3c365296ea0836d30dd36ba4eff8bfa60 [git a0c68ca] Updating ./sub_git to cea1af1c0bdaae94623e5a8e4d85c13835bb44b6 [git cea1af1] diff --git a/.hgsubstate b/.hgsubstate index de6dbb9..362a09b 100644 --- a/.hgsubstate +++ b/.hgsubstate @@ -1,2 +1,2 @@ -e9a16bb7c08361f85ab0002e4094b4229fefb384 sub_git -19850f89a1b3388f1900d7f26ef2b606e5c7ade3 sub_hg +cea1af1c0bdaae94623e5a8e4d85c13835bb44b6 sub_git +a6bd9ea3c365296ea0836d30dd36ba4eff8bfa60 sub_hg M .hgsubstate [master 3935612] update_sub Author: A U Thor 1 file changed, 2 insertions(+), 2 deletions(-) 1 files updated, 0 files merged, 1 files removed, 0 files unresolved /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo fffffff..3935612 master -> master Cloning into '/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgclone/sub_git'... done. Switched to a new branch 'new' updating to branch default cloning subrepo sub_git from /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_git cloning subrepo sub_hg from /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg 3 files updated, 0 files merged, 0 files removed, 0 files unresolved /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 77a22bd5d98a WARNING: Branch 'default' has more than one head, consider merging progress revision walk 'branches/default' (2/2) progress revision 0 'default' (0/2) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo + 46c5c82...505e921 branches/default -> origin/branches/default (forced update) + 46c5c82...505e921 master -> origin/master (forced update) Cloning into 'gitrepo'... 0 files updated, 0 files merged, 0 files removed, 0 files unresolved /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways ok 28 - fetch multiple independent histories expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && ( hg init hgrepo && cd hgrepo && echo a > a && hg add a && hg commit -m a && hg bookmark -r null bookmark ) && ( git clone "hg::hgrepo" gitrepo && check gitrepo HEAD a && cd gitrepo && git checkout --quiet -b bookmark && git remote -v && echo b > b && git add b && git commit -m b && git push origin bookmark ) adding changesets adding manifests adding file changes adding remote bookmark bookmark added 1 changesets with 1 changes to 1 files new changesets c452f4126467 WARNING: Ignoring invalid bookmark 'bookmark' progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) origin hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo (fetch) origin hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo (push) [bookmark 5ef91bb] b Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 b /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways ok 14 - subcommand sub addstate expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && setup_repo hg hgrepo && ( cd hgrepo && setup_repo hg sub_hg_a && setup_repo hg sub_hg_b && setup_repo git sub_git && echo "sub_hg_a = sub_hg_a" > .hgsub && echo "sub_hg_b = sub_hg_b" >> .hgsub && echo "sub_git = [git]sub_git" >> .hgsub && hg add .hgsub && hg commit -m substate ) git clone hg::hgrepo gitrepo && ( cd gitrepo && git-hg-helper sub update --force sub_hg_a && git-hg-helper sub update --force sub_git && ( # advance and add a tag to the git repo cd sub_git && echo one > content_sub_git && git add content_sub_git && git commit -m one_sub_git && git tag feature-a ) && git-hg-helper sub status --cached > output && cat output && grep "^ .*sub_hg_a (.*master.*)$" output && grep "^-.*sub_hg_b$" output && grep "^+.*sub_git (feature-a~1)$" output && git-hg-helper sub status sub_git > output && cat output && grep "^+.*sub_git (feature-a)$" output > actual && test_cmp output actual ) no changes found WARNING: Ignoring invalid bookmark 'bookmark' searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo * [new branch] bookmark -> bookmark ok 29 - clone remote with null bookmark, then push expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo one > content && hg add content && hg commit -m one && echo two > content && hg commit -m two ) && git clone "hg::hgrepo" gitrepo && hg -R hgrepo log --template "{node}\n\n" > expected && git --git-dir=gitrepo/.git log --pretty="tformat:%N" --notes=hg > actual && test_cmp expected actual Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes adding remote bookmark bookmark added 1 changesets with 1 changes to 1 files new changesets 225fe4cfa9c2 WARNING: Ignoring invalid bookmark 'bookmark' progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) origin hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo (fetch) origin hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo (push) [bookmark 8d32ed4] b Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 b Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found WARNING: Ignoring invalid bookmark 'bookmark' searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo * [new branch] bookmark -> bookmark WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests ok 29 - clone remote with null bookmark, then push expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo one > content && hg add content && hg commit -m one && echo two > content && hg commit -m two ) && git clone "hg::hgrepo" gitrepo && hg -R hgrepo log --template "{node}\n\n" > expected && git --git-dir=gitrepo/.git log --pretty="tformat:%N" --notes=hg > actual && test_cmp expected actual adding file changes added 2 changesets with 2 changes to 1 files new changesets 88a7b5c1b634:865c3422054b progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) ok 30 - notes checking known breakage: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo one > content && hg add content && hg commit -m one ) && git clone "hg::hgrepo" gitrepo && ( cd gitrepo && echo two > content && git commit -a -m two && git push ) && hg -R hgrepo log --template "{node}\n\n" > expected && git --git-dir=gitrepo/.git log --pretty="tformat:%N" --notes=hg > actual && test_cmp expected actual Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_git/.git/ [master (root-commit) e9a16bb] zero_sub_git Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 content_sub_git Cloning into 'gitrepo'... Cloning into 'gitrepo'... Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 1 files new changesets 21adfa2e82c3:75f810e4bd0b progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) adding changesets adding manifests adding file changes added 2 changesets with 3 changes to 3 files new changesets 70b49be4f578:5de466367840 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets e717fc0e7d09 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) [master 8489ac5] two Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways ok 30 - notes expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo one > content && hg add content && hg commit -m one ) && git clone "hg::hgrepo" gitrepo && ( cd gitrepo && echo two > content && git commit -a -m two && git push ) && hg -R hgrepo log --template "{node}\n\n" > expected && git --git-dir=gitrepo/.git log --pretty="tformat:%N" --notes=hg > actual && test_cmp expected actual /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] searching for changes adding changesets adding manifests Cloning into './sub_hg_a'... adding file changes added 1 changesets with 1 changes to 1 files To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo df0adc0..8489ac5 master -> master /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] --- expected 2023-06-02 01:06:07.607251786 +0000 +++ actual 2023-06-02 01:06:07.815243802 +0000 @@ -1,4 +1,3 @@ -b7a193c5457d3a0575ac8db371fd18d1d27b0cfb e717fc0e7d0996e05dcc8941302f886d41ab8916 not ok 31 - push updates notes # TODO known breakage expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo one > content && hg add content && hg commit -m one ) && git clone "hg::hgrepo" gitrepo && ( cd gitrepo && echo two > content && git commit -a -m two && git push origin master && git branch feature-a && git push origin feature-a ) && check_bookmark hgrepo feature-a two adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 25ed4d9ecf1a progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets f8366e38d2c2 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into 'gitrepo'... [master 61846b9] two Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into './sub_git'... done. [detached HEAD cea1af1] one_sub_git Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways no changes found adding changesets adding manifests adding file changes searching for changes adding changesets added 1 changesets with 1 changes to 1 files new changesets 3a72bdd13384 adding manifests adding file changes added 1 changesets with 1 changes to 1 files /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo fffffff..61846b9 master -> master progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) [master 4b47f83] two Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) 475c26931efd3d7266a70b2be37038901169167b ./sub_hg_a (heads/master) -e52c45e91bf75e4ce07c0d0215ab4fd160cc197b[hg] ./sub_hg_b +e9a16bb7c08361f85ab0002e4094b4229fefb384 ./sub_git (feature-a~1) 475c26931efd3d7266a70b2be37038901169167b ./sub_hg_a (heads/master) -e52c45e91bf75e4ce07c0d0215ab4fd160cc197b[hg] ./sub_hg_b +e9a16bb7c08361f85ab0002e4094b4229fefb384 ./sub_git (feature-a~1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 31 - push updates notes expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo one > content && hg add content && hg commit -m one ) && git clone "hg::hgrepo" gitrepo && ( cd gitrepo && echo two > content && git commit -a -m two && git push origin master && git branch feature-a && git push origin feature-a ) && check_bookmark hgrepo feature-a two WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo daf1c8c..4b47f83 master -> master /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] +cea1af1c0bdaae94623e5a8e4d85c13835bb44b6 ./sub_git (feature-a) ok 15 - subcommand sub status # passed all 15 test(s) 1..15 /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways no changes found 1 local changesets published searching for changes To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo * [new branch] feature-a -> feature-a Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 32 - push bookmark without changesets expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo one > content && hg add content && hg commit -m one ) && git clone "hg::hgrepo" gitrepo && (cd hgrepo && hg tag v1.0) && (cd gitrepo && git pull) && echo "v1.0" > expected && git --git-dir=gitrepo/.git tag > actual && test_cmp expected actual adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 44cf3617b1e0 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) [master d2b75c6] two Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo fffffff..d2b75c6 master -> master /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into 'gitrepo'... no changes found 1 local changesets published searching for changes To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo * [new branch] feature-a -> feature-a /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways ok 32 - push bookmark without changesets expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo one > content && hg add content && hg commit -m one ) && git clone "hg::hgrepo" gitrepo && (cd hgrepo && hg tag v1.0) && (cd gitrepo && git pull) && echo "v1.0" > expected && git --git-dir=gitrepo/.git tag > actual && test_cmp expected actual adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets e1569a934768 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 99cd3e2935f0 progress revision 1 'default' (0/1) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo f159d94..c6cd63e master -> origin/master f159d94..c6cd63e branches/default -> origin/branches/default * [new tag] v1.0 -> v1.0 Updating f159d94..c6cd63e Fast-forward .hgtags | 1 + 1 file changed, 1 insertion(+) create mode 100644 .hgtags ok 33 - pull tags expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo one > content && hg add content && hg commit -m one && hg branch feature && echo two > content && hg commit -m two && hg update default && echo three > content && hg commit -m three ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git merge -m Merge -Xtheirs origin/branches/feature && git push ) && cat > expected <<-EOF && Merge three two one EOF hg -R hgrepo log --template "{desc}\n" > actual && test_cmp expected actual /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 98086839b6b5 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] marked working directory as branch feature (branches are permanent and global, did you want a bookmark?) searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 6bd3292671bc progress revision 1 'default' (0/1) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo eed42a4..d609681 master -> origin/master eed42a4..d609681 branches/default -> origin/branches/default * [new tag] v1.0 -> v1.0 Updating eed42a4..d609681 Fast-forward .hgtags | 1 + 1 file changed, 1 insertion(+) create mode 100644 .hgtags ok 33 - pull tags expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo one > content && hg add content && hg commit -m one && hg branch feature && echo two > content && hg commit -m two && hg update default && echo three > content && hg commit -m three ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git merge -m Merge -Xtheirs origin/branches/feature && git push ) && cat > expected <<-EOF && Merge three two one EOF hg -R hgrepo log --template "{desc}\n" > actual && test_cmp expected actual 1 files updated, 0 files merged, 0 files removed, 0 files unresolved Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways marked working directory as branch feature (branches are permanent and global, did you want a bookmark?) adding changesets adding manifests adding file changes added 3 changesets with 3 changes to 1 files (+1 heads) new changesets 509905c7dabe:ef4e1fd5f473 progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/2) progress revision 1 'feature' (0/1) Auto-merging content Merge made by the 'ort' strategy. content | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 1 files updated, 0 files merged, 0 files removed, 0 files unresolved /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files (-1 heads) To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo 7ca1ef8..0e19fe9 master -> master Cloning into 'gitrepo'... ok 34 - push merged named branch expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo one > content && hg add content && hg commit -m one ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git tag v1.0 && git push --tags ) && echo "C O Mitter " > expected && hg -R hgrepo log --template "{author}\n" -r tip > actual && test_cmp expected actual /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 3 changesets with 3 changes to 1 files (+1 heads) new changesets aacb7489200f:ae3585abb251 progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/2) progress revision 1 'feature' (0/1) Auto-merging content Merge made by the 'ort' strategy. content | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files (-1 heads) Cloning into 'gitrepo'... To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo fffffff..72ba46a master -> master /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways ok 34 - push merged named branch expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo one > content && hg add content && hg commit -m one ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git tag v1.0 && git push --tags ) && echo "C O Mitter " > expected && hg -R hgrepo log --template "{author}\n" -r tip > actual && test_cmp expected actual adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 3181657acf64 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo * [new tag] v1.0 -> v1.0 Cloning into 'gitrepo'... ok 35 - light tag sets author expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo one > content && hg add content && hg commit -m one && hg branch feature && echo two > content && hg commit -m two ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git branch && git checkout branches/feature && git tag v1.0 && git push --tags ) && echo feature > expected && hg -R hgrepo log --template="{branch}\n" -r tip > actual && test_cmp expected actual /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 8c3cad27c798 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo * [new tag] v1.0 -> v1.0 marked working directory as branch feature (branches are permanent and global, did you want a bookmark?) ok 35 - light tag sets author expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo one > content && hg add content && hg commit -m one && hg branch feature && echo two > content && hg commit -m two ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git branch && git checkout branches/feature && git tag v1.0 && git push --tags ) && echo feature > expected && hg -R hgrepo log --template="{branch}\n" -r tip > actual && test_cmp expected actual Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 1 files new changesets 50bd5689f76b:22f2f56a558b progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) progress revision 1 'feature' (0/1) marked working directory as branch feature (branches are permanent and global, did you want a bookmark?) * master Switched to a new branch 'branches/feature' branch 'branches/feature' set up to track 'origin/branches/feature'. /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways Cloning into 'gitrepo'... no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo * [new tag] v1.0 -> v1.0 /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 1 files new changesets 9e1e55b547f2:8a2d394ac079 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) progress revision 1 'feature' (0/1) ok 36 - push tag different branch expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo test > test_file && hg add test_file && hg commit -m add && hg rm test_file && hg commit -m remove ) && git clone "hg::hgrepo" gitrepo && check_files gitrepo * master Switched to a new branch 'branches/feature' branch 'branches/feature' set up to track 'origin/branches/feature'. /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo * [new tag] v1.0 -> v1.0 ok 36 - push tag different branch expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo test > test_file && hg add test_file && hg commit -m add && hg rm test_file && hg commit -m remove ) && git clone "hg::hgrepo" gitrepo && check_files gitrepo Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes added 2 changesets with 1 changes to 1 files new changesets 5faa71e10e86:507e17bf9a45 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) ok 37 - cloning a removed file works expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo test > dir_or_file && hg add dir_or_file && hg commit -m add && hg rm dir_or_file && mkdir dir_or_file && echo test > dir_or_file/test_file && hg add dir_or_file/test_file && hg commit -m replase ) && git clone "hg::hgrepo" gitrepo && check_files gitrepo "dir_or_file/test_file" Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 2 changesets with 1 changes to 1 files new changesets c08a52a31a34:5ce048dd033f progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) ok 37 - cloning a removed file works expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo test > dir_or_file && hg add dir_or_file && hg commit -m add && hg rm dir_or_file && mkdir dir_or_file && echo test > dir_or_file/test_file && hg add dir_or_file/test_file && hg commit -m replase ) && git clone "hg::hgrepo" gitrepo && check_files gitrepo "dir_or_file/test_file" Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 2 files new changesets 3ec27ef6528f:9b3033435fc9 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) ok 38 - cloning a file replaced with a directory expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && mkdir dir_or_file && echo test > dir_or_file/test_file && hg add dir_or_file/test_file && hg commit -m add && hg rm dir_or_file/test_file && echo test > dir_or_file && hg add dir_or_file && hg commit -m add && hg rm dir_or_file ) && git clone "hg::hgrepo" gitrepo && check_files gitrepo "dir_or_file" Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 2 files new changesets 0978b2a2443d:c69fd21de81f progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) ok 38 - cloning a file replaced with a directory expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && mkdir dir_or_file && echo test > dir_or_file/test_file && hg add dir_or_file/test_file && hg commit -m add && hg rm dir_or_file/test_file && echo test > dir_or_file && hg add dir_or_file && hg commit -m add && hg rm dir_or_file ) && git clone "hg::hgrepo" gitrepo && check_files gitrepo "dir_or_file" Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 2 files new changesets fb99be727a2e:e9026e60fd1a progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) ok 39 - clone replace directory with a file expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && touch test.txt && hg add test.txt && hg commit -m master && hg branch parent && echo test >test.txt && hg commit -m test && hg branch parent/child && echo test1 >test.txt && hg commit -m test1 ) && git clone -c remote-hg.ignore-name=child "hg::hgrepo" gitrepo && check_files gitrepo "test.txt" Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 2 files new changesets 91ce0dc11ac4:4c55163956b1 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) marked working directory as branch parent (branches are permanent and global, did you want a bookmark?) ok 39 - clone replace directory with a file expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && touch test.txt && hg add test.txt && hg commit -m master && hg branch parent && echo test >test.txt && hg commit -m test && hg branch parent/child && echo test1 >test.txt && hg commit -m test1 ) && git clone -c remote-hg.ignore-name=child "hg::hgrepo" gitrepo && check_files gitrepo "test.txt" marked working directory as branch parent/child Cloning into 'gitrepo'... marked working directory as branch parent (branches are permanent and global, did you want a bookmark?) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes added 3 changesets with 3 changes to 1 files new changesets 844af365e2ba:7330546b9dd3 WARNING: Ignoring matched branch parent/child progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) progress revision 1 'parent' (0/1) ok 40 - clone can ignore invalid refnames expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo one > content && hg add content && hg commit -m one ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git tag -m "Version 1.0" v1.0 && git push --tags ) && cat > expected <<-\EOF && tip:Version 1.0:C O Mitter v1.0:one:H G Wells EOF hg -R hgrepo log --template "{tags}:{desc}:{author}\n" > actual && test_cmp expected actual marked working directory as branch parent/child Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 3 changesets with 3 changes to 1 files new changesets be0f4ad6fcdd:81f253f280ec WARNING: Ignoring matched branch parent/child Cloning into 'gitrepo'... progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) progress revision 1 'parent' (0/1) ok 40 - clone can ignore invalid refnames expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo one > content && hg add content && hg commit -m one ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git tag -m "Version 1.0" v1.0 && git push --tags ) && cat > expected <<-\EOF && tip:Version 1.0:C O Mitter v1.0:one:H G Wells EOF hg -R hgrepo log --template "{tags}:{desc}:{author}\n" > actual && test_cmp expected actual /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 2f54c51e82af progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo * [new tag] v1.0 -> v1.0 /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets b726f990ad67 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) ok 41 - push annotated tag expecting success: test_when_finished "rm -rf hgrepo gitrepo1 gitrepo2" && hg init hgrepo && ( git clone "hg::hgrepo" gitrepo1 && cd gitrepo1 && echo two >> content && git add content && git commit -m two --date="2016-09-26 00:00:00 -0230" && git push ) && git clone "hg::hgrepo" gitrepo2 && git --git-dir=gitrepo1/.git log -1 --format="%ai" > expected && git --git-dir=gitrepo2/.git log -1 --format="%ai" > actual && test_cmp expected actual /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into 'gitrepo1'... no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo * [new tag] v1.0 -> v1.0 /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways no changes found warning: You appear to have cloned an empty repository. [master (root-commit) 9f40cc0] two Author: A U Thor Date: Mon Sep 26 00:00:00 2016 -0230 1 file changed, 1 insertion(+) create mode 100644 content ok 41 - push annotated tag expecting success: test_when_finished "rm -rf hgrepo gitrepo1 gitrepo2" && hg init hgrepo && ( git clone "hg::hgrepo" gitrepo1 && cd gitrepo1 && echo two >> content && git add content && git commit -m two --date="2016-09-26 00:00:00 -0230" && git push ) && git clone "hg::hgrepo" gitrepo2 && git --git-dir=gitrepo1/.git log -1 --format="%ai" > expected && git --git-dir=gitrepo2/.git log -1 --format="%ai" > actual && test_cmp expected actual Cloning into 'gitrepo1'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo * [new branch] master -> master Cloning into 'gitrepo2'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found warning: You appear to have cloned an empty repository. [master (root-commit) 9f40cc0] two Author: A U Thor Date: Mon Sep 26 00:00:00 2016 -0230 1 file changed, 1 insertion(+) create mode 100644 content /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets e522f351d13b progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 42 - timezone issues with negative offsets # still have 2 known breakage(s) # passed all remaining 40 test(s) 1..42 no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo * [new branch] master -> master Cloning into 'gitrepo2'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets e522f351d13b progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) ok 42 - timezone issues with negative offsets expecting success: test_when_finished "rm -rf hgrepo* gitrepo*" && ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero hg bookmark feature-a ) && git clone "hg::hgrepo" gitrepo && check_bookmark hgrepo feature-a zero && ( cd gitrepo && git push --quiet origin :feature-a ) && check_bookmark hgrepo feature-a Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes adding remote bookmark feature-a added 1 changesets with 1 changes to 1 files new changesets 90be618ea385 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found error: refusing to update ref with bad name 'hg/origin/refs/heads/feature-a' ok 43 - remote delete bookmark expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero ) && git clone "hg::hgrepo" gitrepo && ( cd gitrepo && echo one > content && git commit -a -m one && git push --quiet origin master:feature-b && git push --quiet origin master^:refs/heads/feature-a ) && check_bookmark hgrepo feature-a zero && check_bookmark hgrepo feature-b one && ( cd gitrepo && git push --quiet origin master:feature-a ) && check_bookmark hgrepo feature-a one Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 95d49d57668e progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) [master dbefad6] one Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found adding remote bookmark feature-b 1 local changesets published searching for changes /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found adding remote bookmark feature-a searching for changes ok 44 - source:dest bookmark expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && setup_check_hg_commits_repo && ( cd gitrepo && git fetch origin && git reset --hard origin/master && ! git push second master 2>../error ) cat error && grep rejected error | grep hg Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 8056e6266d94 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) updating to branch default 1 files updated, 0 files merged, 0 files removed, 0 files unresolved /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found progress revision walk 'branches/default' (0/0) progress revision 0 'default' (0/1) From hg::../hgrepo.second * [new branch] branches/default -> second/branches/default * [new branch] master -> second/master /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] searching for changes adding changesets adding manifests adding file changes added 5 changesets with 5 changes to 2 files new changesets 5e4ba15af698:be49bd6256a7 progress revision 1 'default' (0/5) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo 241988b..b4ffcd7 master -> origin/master 241988b..b4ffcd7 branches/default -> origin/branches/default HEAD is now at b4ffcd7 restored /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo.second ! [remote rejected] master -> master (rejected not pushing hg based commit 6d72978e2e501fd965b709e42c658c2b17d8b69f) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo.second' ! [remote rejected] master -> master (rejected not pushing hg based commit 6d72978e2e501fd965b709e42c658c2b17d8b69f) ok 45 - check-hg-commits with fail mode expecting success: check_hg_commits_push Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) updating to branch default 1 files updated, 0 files merged, 0 files removed, 0 files unresolved /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] progress revision walk 'branches/default' (0/0) progress revision 0 'default' (0/1) From hg::../hgrepo.second * [new branch] branches/default -> second/branches/default * [new branch] master -> second/master /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] progress revision 1 'default' (0/5) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo 3e02e5a..20ddff5 master -> origin/master 3e02e5a..20ddff5 branches/default -> origin/branches/default HEAD is now at 20ddff5 restored /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: Pushing hg changeset 660b5a6d825c910942258eb4ca21fafc937c81e7 for 35846cb652e6982ebeae7af3ab4f4da91a993956 WARNING: Pushing hg changeset c45d7baa7f5992fb2198183da9313b105e9f6e21 for 6df571b688e7e115c853405809c90d2ab5630e17 WARNING: Pushing hg changeset 1378411f0695e563d29fe61a4afe0f96f19f4c01 for 4e6485b6d4ef23355ee483333ff41a7047834e70 WARNING: Pushing hg changeset 534763a1c6b7a9068b2bcd52544a2c022f331ae6 for 576e5a72a2ea28a694160167aef15d4292539aa8 WARNING: Pushing hg changeset 53a6a3bcd97028b50a158e99142cb99ffd4702b4 for 20ddff597f71180ec5003837acec746fa12991da To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo.second fffffff..20ddff5 master -> master WARNING: Pushing hg changeset 660b5a6d825c910942258eb4ca21fafc937c81e7 for 35846cb652e6982ebeae7af3ab4f4da91a993956 WARNING: Pushing hg changeset c45d7baa7f5992fb2198183da9313b105e9f6e21 for 6df571b688e7e115c853405809c90d2ab5630e17 WARNING: Pushing hg changeset 1378411f0695e563d29fe61a4afe0f96f19f4c01 for 4e6485b6d4ef23355ee483333ff41a7047834e70 WARNING: Pushing hg changeset 534763a1c6b7a9068b2bcd52544a2c022f331ae6 for 576e5a72a2ea28a694160167aef15d4292539aa8 WARNING: Pushing hg changeset 53a6a3bcd97028b50a158e99142cb99ffd4702b4 for 20ddff597f71180ec5003837acec746fa12991da ok 46 - check-hg-commits with push mode - no local proxy expecting success: check_hg_commits_push Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 8f890fa95123 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) updating to branch default 1 files updated, 0 files merged, 0 files removed, 0 files unresolved /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found progress revision walk 'branches/default' (0/0) progress revision 0 'default' (0/1) From hg::../hgrepo.second * [new branch] branches/default -> second/branches/default * [new branch] master -> second/master /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] searching for changes adding changesets adding manifests adding file changes added 5 changesets with 5 changes to 2 files new changesets 402888c5bae9:455fb163c4bd progress revision 1 'default' (0/5) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo 3fb67a9..e645378 master -> origin/master 3fb67a9..e645378 branches/default -> origin/branches/default HEAD is now at e645378 restored /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found WARNING: Using hg changeset 402888c5bae9a9f6ab0cd08106a02ea011fe8fc5 for d22aa8987f520657d1596a8114c020f0f3d6f249 WARNING: Using hg changeset 5fd949bb3860b7f0b3f1ee2beaa056cba8a70e18 for d0ad1d699647ee2770e5deae84c0017261d45670 WARNING: Using hg changeset 6be050b23276c2654670244a86dd6a0a4cf577c6 for 5bd463a04d27cbecd35b912ee9028bedca6d9c54 WARNING: Using hg changeset 086a932c810876901eb19a1158cfc9e04a686008 for 5a72b510df058cdd73ac85ff1ce725f1c6aa1047 WARNING: Using hg changeset 455fb163c4bd662d63377dfb04eec71dbbfb4fcc for e645378fe6cddeb72d1347560406b225950ead87 searching for changes adding changesets adding manifests adding file changes added 5 changesets with 5 changes to 2 files To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo.second fffffff..e645378 master -> master WARNING: Using hg changeset 402888c5bae9a9f6ab0cd08106a02ea011fe8fc5 for d22aa8987f520657d1596a8114c020f0f3d6f249 WARNING: Using hg changeset 5fd949bb3860b7f0b3f1ee2beaa056cba8a70e18 for d0ad1d699647ee2770e5deae84c0017261d45670 WARNING: Using hg changeset 6be050b23276c2654670244a86dd6a0a4cf577c6 for 5bd463a04d27cbecd35b912ee9028bedca6d9c54 WARNING: Using hg changeset 086a932c810876901eb19a1158cfc9e04a686008 for 5a72b510df058cdd73ac85ff1ce725f1c6aa1047 WARNING: Using hg changeset 455fb163c4bd662d63377dfb04eec71dbbfb4fcc for e645378fe6cddeb72d1347560406b225950ead87 ok 47 - check-hg-commits with push mode - with local proxy expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && setup_check_shared_marks_repo && ( cd gitrepo && check_marks .git/hg y && check_marks .git/hg/origin n && check_marks .git/hg/second n ) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 4b29f765a31f progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found From hg::../hgrepo * [new branch] branches/default -> second/branches/default * [new branch] master -> second/master total 8 drwxr-xr-x 5 pbuilder1 pbuilder1 140 Jun 2 01:10 . drwxr-xr-x 9 pbuilder1 pbuilder1 300 Jun 2 01:10 .. drwxr-xr-x 5 pbuilder1 pbuilder1 140 Jun 2 01:10 .hg -rw-r--r-- 1 pbuilder1 pbuilder1 132 Jun 2 01:10 marks-git -rw-r--r-- 1 pbuilder1 pbuilder1 116 Jun 2 01:10 marks-hg drwxr-xr-x 4 pbuilder1 pbuilder1 80 Jun 2 01:10 origin drwxr-xr-x 4 pbuilder1 pbuilder1 80 Jun 2 01:10 second total 0 drwxr-xr-x 4 pbuilder1 pbuilder1 80 Jun 2 01:10 . drwxr-xr-x 5 pbuilder1 pbuilder1 140 Jun 2 01:10 .. drwxr-xr-x 3 pbuilder1 pbuilder1 60 Jun 2 01:10 clone drwxr-xr-x 4 pbuilder1 pbuilder1 80 Jun 2 01:10 refs total 0 drwxr-xr-x 4 pbuilder1 pbuilder1 80 Jun 2 01:10 . drwxr-xr-x 5 pbuilder1 pbuilder1 140 Jun 2 01:10 .. drwxr-xr-x 3 pbuilder1 pbuilder1 60 Jun 2 01:10 clone drwxr-xr-x 4 pbuilder1 pbuilder1 80 Jun 2 01:10 refs ok 48 - shared-marks unset expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && git config --global remote-hg.shared-marks true && setup_check_shared_marks_repo && ( cd gitrepo && check_marks .git/hg y && check_marks .git/hg/origin n && check_marks .git/hg/second n ) && git config --global remote-hg.shared-marks false && ( cd gitrepo && git fetch origin && check_marks .git/hg n && check_marks .git/hg/origin y && check_marks .git/hg/second y ) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 008d5ce5a0e6 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found From hg::../hgrepo * [new branch] branches/default -> second/branches/default * [new branch] master -> second/master total 8 drwxr-xr-x 5 pbuilder1 pbuilder1 140 Jun 2 01:10 . drwxr-xr-x 9 pbuilder1 pbuilder1 300 Jun 2 01:10 .. drwxr-xr-x 5 pbuilder1 pbuilder1 140 Jun 2 01:10 .hg -rw-r--r-- 1 pbuilder1 pbuilder1 132 Jun 2 01:10 marks-git -rw-r--r-- 1 pbuilder1 pbuilder1 116 Jun 2 01:10 marks-hg drwxr-xr-x 4 pbuilder1 pbuilder1 80 Jun 2 01:10 origin drwxr-xr-x 4 pbuilder1 pbuilder1 80 Jun 2 01:10 second total 0 drwxr-xr-x 4 pbuilder1 pbuilder1 80 Jun 2 01:10 . drwxr-xr-x 5 pbuilder1 pbuilder1 140 Jun 2 01:10 .. drwxr-xr-x 3 pbuilder1 pbuilder1 60 Jun 2 01:10 clone drwxr-xr-x 4 pbuilder1 pbuilder1 80 Jun 2 01:10 refs total 0 drwxr-xr-x 4 pbuilder1 pbuilder1 80 Jun 2 01:10 . drwxr-xr-x 5 pbuilder1 pbuilder1 140 Jun 2 01:10 .. drwxr-xr-x 3 pbuilder1 pbuilder1 60 Jun 2 01:10 clone drwxr-xr-x 4 pbuilder1 pbuilder1 80 Jun 2 01:10 refs /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: seeded marks of second with shared; performing gc /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ERROR: found both .git/hg/second/marks-git and .git/hg/marks-git WARNING: gc for second failed WARNING: seeded marks of origin with shared; performing gc /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Loading hg marks ... Loading git marks ... Performing garbage collection on git commits ... Computing marks intersection ... Including notes commits ... Writing hg marks ... Writing git marks ... no changes found progress revision walk 'branches/default' (0/0) progress revision 0 'default' (0/1) total 0 drwxr-xr-x 5 pbuilder1 pbuilder1 100 Jun 2 01:10 . drwxr-xr-x 9 pbuilder1 pbuilder1 300 Jun 2 01:10 .. drwxr-xr-x 5 pbuilder1 pbuilder1 140 Jun 2 01:10 .hg drwxr-xr-x 4 pbuilder1 pbuilder1 120 Jun 2 01:10 origin drwxr-xr-x 4 pbuilder1 pbuilder1 120 Jun 2 01:10 second total 8 drwxr-xr-x 4 pbuilder1 pbuilder1 120 Jun 2 01:10 . drwxr-xr-x 5 pbuilder1 pbuilder1 100 Jun 2 01:10 .. drwxr-xr-x 3 pbuilder1 pbuilder1 60 Jun 2 01:10 clone -rw-r--r-- 1 pbuilder1 pbuilder1 132 Jun 2 01:10 marks-git -rw-r--r-- 1 pbuilder1 pbuilder1 116 Jun 2 01:10 marks-hg drwxr-xr-x 4 pbuilder1 pbuilder1 80 Jun 2 01:10 refs total 8 drwxr-xr-x 4 pbuilder1 pbuilder1 120 Jun 2 01:10 . drwxr-xr-x 5 pbuilder1 pbuilder1 100 Jun 2 01:10 .. drwxr-xr-x 3 pbuilder1 pbuilder1 60 Jun 2 01:10 clone -rw-r--r-- 1 pbuilder1 pbuilder1 132 Jun 2 01:10 marks-git -rw-r--r-- 1 pbuilder1 pbuilder1 116 Jun 2 01:10 marks-hg drwxr-xr-x 4 pbuilder1 pbuilder1 80 Jun 2 01:10 refs ok 49 - shared-marks set to unset expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && git config --global remote-hg.shared-marks false && setup_check_shared_marks_repo && ( cd gitrepo && check_marks .git/hg n && check_marks .git/hg/origin y && check_marks .git/hg/second y ) && git config --global --unset remote-hg.shared-marks && ( cd gitrepo && git fetch origin && check_marks .git/hg n && check_marks .git/hg/origin y && check_marks .git/hg/second y ) && git config --global remote-hg.shared-marks true && ( cd gitrepo && git fetch origin && check_marks .git/hg y && check_marks .git/hg/origin n && check_marks .git/hg/second n ) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets a894ee996e08 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found progress revision walk 'branches/default' (0/0) progress revision 0 'default' (0/1) From hg::../hgrepo * [new branch] branches/default -> second/branches/default * [new branch] master -> second/master total 0 drwxr-xr-x 5 pbuilder1 pbuilder1 100 Jun 2 01:11 . drwxr-xr-x 9 pbuilder1 pbuilder1 300 Jun 2 01:11 .. drwxr-xr-x 5 pbuilder1 pbuilder1 140 Jun 2 01:11 .hg drwxr-xr-x 4 pbuilder1 pbuilder1 120 Jun 2 01:11 origin drwxr-xr-x 4 pbuilder1 pbuilder1 120 Jun 2 01:11 second total 8 drwxr-xr-x 4 pbuilder1 pbuilder1 120 Jun 2 01:11 . drwxr-xr-x 5 pbuilder1 pbuilder1 100 Jun 2 01:11 .. drwxr-xr-x 3 pbuilder1 pbuilder1 60 Jun 2 01:11 clone -rw-r--r-- 1 pbuilder1 pbuilder1 132 Jun 2 01:11 marks-git -rw-r--r-- 1 pbuilder1 pbuilder1 116 Jun 2 01:11 marks-hg drwxr-xr-x 4 pbuilder1 pbuilder1 80 Jun 2 01:11 refs total 8 drwxr-xr-x 4 pbuilder1 pbuilder1 120 Jun 2 01:11 . drwxr-xr-x 5 pbuilder1 pbuilder1 100 Jun 2 01:11 .. drwxr-xr-x 3 pbuilder1 pbuilder1 60 Jun 2 01:11 clone -rw-r--r-- 1 pbuilder1 pbuilder1 132 Jun 2 01:11 marks-git -rw-r--r-- 1 pbuilder1 pbuilder1 116 Jun 2 01:11 marks-hg drwxr-xr-x 4 pbuilder1 pbuilder1 80 Jun 2 01:11 refs /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found total 0 drwxr-xr-x 5 pbuilder1 pbuilder1 100 Jun 2 01:11 . drwxr-xr-x 9 pbuilder1 pbuilder1 300 Jun 2 01:11 .. drwxr-xr-x 5 pbuilder1 pbuilder1 140 Jun 2 01:11 .hg drwxr-xr-x 4 pbuilder1 pbuilder1 120 Jun 2 01:11 origin drwxr-xr-x 4 pbuilder1 pbuilder1 120 Jun 2 01:11 second total 8 drwxr-xr-x 4 pbuilder1 pbuilder1 120 Jun 2 01:11 . drwxr-xr-x 5 pbuilder1 pbuilder1 100 Jun 2 01:11 .. drwxr-xr-x 3 pbuilder1 pbuilder1 60 Jun 2 01:11 clone -rw-r--r-- 1 pbuilder1 pbuilder1 132 Jun 2 01:11 marks-git -rw-r--r-- 1 pbuilder1 pbuilder1 116 Jun 2 01:11 marks-hg drwxr-xr-x 4 pbuilder1 pbuilder1 80 Jun 2 01:11 refs total 8 drwxr-xr-x 4 pbuilder1 pbuilder1 120 Jun 2 01:11 . drwxr-xr-x 5 pbuilder1 pbuilder1 100 Jun 2 01:11 .. drwxr-xr-x 3 pbuilder1 pbuilder1 60 Jun 2 01:11 clone -rw-r--r-- 1 pbuilder1 pbuilder1 132 Jun 2 01:11 marks-git -rw-r--r-- 1 pbuilder1 pbuilder1 116 Jun 2 01:11 marks-hg drwxr-xr-x 4 pbuilder1 pbuilder1 80 Jun 2 01:11 refs /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: using marks of remote origin as shared marks no changes found total 8 drwxr-xr-x 5 pbuilder1 pbuilder1 140 Jun 2 01:11 . drwxr-xr-x 9 pbuilder1 pbuilder1 300 Jun 2 01:11 .. drwxr-xr-x 5 pbuilder1 pbuilder1 140 Jun 2 01:11 .hg -rw-r--r-- 1 pbuilder1 pbuilder1 132 Jun 2 01:11 marks-git -rw-r--r-- 1 pbuilder1 pbuilder1 116 Jun 2 01:11 marks-hg drwxr-xr-x 4 pbuilder1 pbuilder1 80 Jun 2 01:11 origin drwxr-xr-x 4 pbuilder1 pbuilder1 80 Jun 2 01:11 second total 0 drwxr-xr-x 4 pbuilder1 pbuilder1 80 Jun 2 01:11 . drwxr-xr-x 5 pbuilder1 pbuilder1 140 Jun 2 01:11 .. drwxr-xr-x 3 pbuilder1 pbuilder1 60 Jun 2 01:11 clone drwxr-xr-x 4 pbuilder1 pbuilder1 80 Jun 2 01:11 refs total 0 drwxr-xr-x 4 pbuilder1 pbuilder1 80 Jun 2 01:11 . drwxr-xr-x 5 pbuilder1 pbuilder1 140 Jun 2 01:11 .. drwxr-xr-x 3 pbuilder1 pbuilder1 60 Jun 2 01:11 clone drwxr-xr-x 4 pbuilder1 pbuilder1 80 Jun 2 01:11 refs ok 50 - shared-marks unset to set expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && hg init hgrepo && ( git init gitrepo && cd gitrepo && git remote add origin "hg::../hgrepo" && echo one > content && chmod a+x content && git add content && git commit -a -m one && git mv content content2 && git commit -a -m two && git push origin master ) && ( umask 0 && cd hgrepo && hg update && stat content2 >expected && grep -- -r.xr.xr.x expected ) Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/gitrepo/.git/ [master (root-commit) 5913097] one Author: A U Thor 1 file changed, 1 insertion(+) create mode 100755 content [master cbb24bc] two Author: A U Thor 1 file changed, 0 insertions(+), 0 deletions(-) rename content => content2 (100%) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found searching for changes adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 2 files To hg::../hgrepo * [new branch] master -> master 1 files updated, 0 files merged, 0 files removed, 0 files unresolved Access: (0777/-rwxrwxrwx) Uid: ( 1111/pbuilder1) Gid: ( 1111/pbuilder1) ok 51 - push with renamed executable preserves executable bit expecting success: test_when_finished "rm -rf sub hgrepo gitrepo*" && hg init hgrepo && ( git init sub && cd sub && : >empty && git add empty && git commit -m init ) && ( git init gitrepo && cd gitrepo && git submodule add ../sub sub && git remote add origin "hg::../hgrepo" && git commit -a -m sub && git push origin master ) && ( cd hgrepo && hg update && expected="[git-remote-hg: skipped import of submodule at $(git -C ../sub rev-parse HEAD)]" test "$expected" = "$(cat sub)" ) Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/sub/.git/ [master (root-commit) be983cd] init Author: A U Thor 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 empty Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/gitrepo/.git/ Cloning into '/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/gitrepo/sub'... done. [master (root-commit) c56d720] sub Author: A U Thor 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 sub /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 2 changes to 2 files To hg::../hgrepo * [new branch] master -> master 2 files updated, 0 files merged, 0 files removed, 0 files unresolved ok 52 - push with submodule # passed all 52 test(s) 1..52 make clean make[3]: Entering directory '/build/git-remote-hg-1.0.4~ds/test' rm -f -r 'trash directory'.* test-results make[3]: Leaving directory '/build/git-remote-hg-1.0.4~ds/test' make[2]: Leaving directory '/build/git-remote-hg-1.0.4~ds/test' make[1]: Leaving directory '/build/git-remote-hg-1.0.4~ds' create-stamp debian/debhelper-build-stamp dh_prep debian/rules override_dh_auto_install make[1]: Entering directory '/build/git-remote-hg-1.0.4~ds' dh_auto_install -- prefix=/usr install-doc make -j15 install DESTDIR=/build/git-remote-hg-1.0.4\~ds/debian/git-remote-hg AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" prefix=/usr install-doc make[2]: Entering directory '/build/git-remote-hg-1.0.4~ds' if [ -n "$PYTHON" ] && "$PYTHON" -c 'import mercurial' 2> /dev/null ; then \ : Use chosen Python version ; \ elif python3 -c 'import mercurial' 2> /dev/null ; then \ PYTHON=python3 ; \ elif python2 -c 'import mercurial' 2> /dev/null ; then \ PYTHON=python2 ; \ elif python -c 'import mercurial' 2> /dev/null ; then \ PYTHON=python ; \ else \ echo 'Python with Mercurial not available' >&2 ; \ exit 1 ; \ fi ; \ mkdir -p bin ; \ for s in git-remote-hg git-hg-helper ; do \ printf "%s\n" "#!/usr/bin/env $PYTHON" > "bin/$s" ; \ tail -n +2 "./$s" >> "bin/$s" ; \ chmod 755 "bin/$s" ; \ touch -r "./$s" "bin/$s" ; \ done install -d -m 755 /build/git-remote-hg-1.0.4~ds/debian/git-remote-hg/usr/share/man/man1/ install -m 644 doc/git-remote-hg.1 /build/git-remote-hg-1.0.4~ds/debian/git-remote-hg/usr/share/man/man1/git-remote-hg.1 install -d -m 755 /build/git-remote-hg-1.0.4~ds/debian/git-remote-hg/usr/bin/ install -m 755 bin/git-remote-hg /build/git-remote-hg-1.0.4~ds/debian/git-remote-hg/usr/bin/git-remote-hg install -m 755 bin/git-hg-helper /build/git-remote-hg-1.0.4~ds/debian/git-remote-hg/usr/bin/git-hg-helper make[2]: Leaving directory '/build/git-remote-hg-1.0.4~ds' make[1]: Leaving directory '/build/git-remote-hg-1.0.4~ds' dh_installdocs dh_installchangelogs dh_installman dh_python3 I: dh_python3 tools:114: replacing shebang in debian/git-remote-hg/usr/bin/git-hg-helper I: dh_python3 tools:114: replacing shebang in debian/git-remote-hg/usr/bin/git-remote-hg dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'git-remote-hg' in '../git-remote-hg_1.0.4~ds-1_all.deb'. dpkg-genbuildinfo --build=binary -O../git-remote-hg_1.0.4~ds-1_amd64.buildinfo dpkg-genchanges --build=binary -O../git-remote-hg_1.0.4~ds-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/2383504 and its subdirectories I: Current time: Thu Jun 1 13:11:47 -12 2023 I: pbuilder-time-stamp: 1685668307 Fri Jun 2 01:11:48 UTC 2023 I: 1st build successful. Starting 2nd build on remote node ionos15-amd64.debian.net. Fri Jun 2 01:11:48 UTC 2023 I: Preparing to do remote build '2' on ionos15-amd64.debian.net. Fri Jun 2 01:15:00 UTC 2023 I: Deleting $TMPDIR on ionos15-amd64.debian.net. Fri Jun 2 01:15:00 UTC 2023 I: git-remote-hg_1.0.4~ds-1_amd64.changes: Format: 1.8 Date: Thu, 08 Dec 2022 10:00:03 +0800 Source: git-remote-hg Binary: git-remote-hg Architecture: all Version: 1.0.4~ds-1 Distribution: unstable Urgency: medium Maintainer: Debian QA Group Changed-By: Paul Wise Description: git-remote-hg - bidirectional bridge between Git and Mercurial Closes: 1023804 Changes: git-remote-hg (1.0.4~ds-1) unstable; urgency=medium . * QA upload. * New upstream release. - Drop patches merged upstream - Fixes test failure with git security update (Closes: #1023804) * Update standards version to 4.6.1, no changes needed. Checksums-Sha1: 8b0ff01810cdcd4d5cba1de4e0b1142dbec6a1f9 38892 git-remote-hg_1.0.4~ds-1_all.deb 0a4ad94120b9120f87a7d9519bae7a5d9adc8f16 6416 git-remote-hg_1.0.4~ds-1_amd64.buildinfo Checksums-Sha256: 3a6822dbd6a5f4c2fbe67dda48e61e363635208831fbff8f248ccbd2aa323d5f 38892 git-remote-hg_1.0.4~ds-1_all.deb ebb16582df52f1b2dc616fe651c8e62b60fc38f80acdb8d5d3c8e4daaeede23b 6416 git-remote-hg_1.0.4~ds-1_amd64.buildinfo Files: e3a716699a8549880d001fee623f0eaf 38892 vcs optional git-remote-hg_1.0.4~ds-1_all.deb a2dc3013bba7c1f84e51c173c2338454 6416 vcs optional git-remote-hg_1.0.4~ds-1_amd64.buildinfo Fri Jun 2 01:15:01 UTC 2023 I: diffoscope 242 will be used to compare the two builds: # Profiling output for: /usr/bin/diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.XbU4jdWT/git-remote-hg_1.0.4~ds-1.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.XbU4jdWT/git-remote-hg_1.0.4~ds-1.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.XbU4jdWT/git-remote-hg_1.0.4~ds-1.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.XbU4jdWT/b1/git-remote-hg_1.0.4~ds-1_amd64.changes /srv/reproducible-results/rbuild-debian/r-b-build.XbU4jdWT/b2/git-remote-hg_1.0.4~ds-1_amd64.changes ## command (total time: 0.000s) 0.000s 1 call cmp (internal) ## has_same_content_as (total time: 0.000s) 0.000s 1 call abc.DotChangesFile ## main (total time: 0.564s) 0.564s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.015s) 0.015s 12 calls diffoscope.comparators.binary.FilesystemFile 0.000s 10 calls abc.DotChangesFile ## specialize (total time: 0.000s) 0.000s 1 call specialize Fri Jun 2 01:15:02 UTC 2023 I: diffoscope 242 found no differences in the changes files, and a .buildinfo file also exists. Fri Jun 2 01:15:02 UTC 2023 I: git-remote-hg from bookworm built successfully and reproducibly on amd64. Fri Jun 2 01:15:03 UTC 2023 I: Submitting .buildinfo files to external archives: Fri Jun 2 01:15:04 UTC 2023 I: Submitting 8.0K b1/git-remote-hg_1.0.4~ds-1_amd64.buildinfo.asc Fri Jun 2 01:15:05 UTC 2023 I: Submitting 8.0K b2/git-remote-hg_1.0.4~ds-1_amd64.buildinfo.asc Fri Jun 2 01:15:05 UTC 2023 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Fri Jun 2 01:15:05 UTC 2023 I: Done submitting .buildinfo files. Fri Jun 2 01:15:05 UTC 2023 I: Removing signed git-remote-hg_1.0.4~ds-1_amd64.buildinfo.asc files: removed './b1/git-remote-hg_1.0.4~ds-1_amd64.buildinfo.asc' removed './b2/git-remote-hg_1.0.4~ds-1_amd64.buildinfo.asc'