I: pbuilder: network access will be disabled during build I: Current time: Fri May 31 05:02:36 +14 2024 I: pbuilder-time-stamp: 1717081356 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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 Thu Dec 8 02:17:37 2022 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/2268542/tmp/hooks/D01_modify_environment starting debug: Running on ionos11-amd64. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash '/bin/sh' -> '/bin/bash' lrwxrwxrwx 1 root root 9 May 30 15:02 /bin/sh -> /bin/bash I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/2268542/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/2268542/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") BASH_VERSION='5.2.21(1)-release' BUILDDIR=/build/reproducible-path BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=amd64 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' DIRSTACK=() DISTRIBUTION=unstable EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=x86_64 HOST_ARCH=amd64 IFS=' ' INVOCATION_ID=c1e19590ae6a4af28632ad52d29c6ff4 LANG=C LANGUAGE=et_EE:et LC_ALL=C MACHTYPE=x86_64-pc-linux-gnu MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=2268542 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.Pz4mqtiv/pbuilderrc_nhya --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Pz4mqtiv/b2 --logfile b2/build.log git-remote-hg_1.0.4~ds-1.dsc' SUDO_GID=111 SUDO_UID=106 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://46.16.76.132:3128 I: uname -a Linux i-capture-the-hostname 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 May 27 07:42 /bin -> usr/bin I: user script /srv/workspace/pbuilder/2268542/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 ... 19716 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} libcom-err2{a} libcurl3t64-gnutls{a} libdebhelper-perl{a} libelf1t64{a} liberror-perl{a} libexpat1{a} libfile-stripnondeterminism-perl{a} libgssapi-krb5-2{a} libicu72{a} libk5crypto3{a} libkeyutils1{a} libkrb5-3{a} libkrb5support0{a} libldap-2.5-0{a} libmagic-mgc{a} libmagic1t64{a} libnghttp2-14{a} libpipeline1{a} libpsl5t64{a} libpython3-stdlib{a} libpython3.11-minimal{a} libpython3.11-stdlib{a} libreadline8t64{a} librtmp1{a} libsasl2-2{a} libsasl2-modules-db{a} libssh2-1t64{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} netbase{a} po-debconf{a} python3{a} python3-distutils{a} python3-dulwich{a} python3-lib2to3{a} python3-minimal{a} python3-pkg-resources{a} python3-setuptools{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} tzdata{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 krb5-locales 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, 85 newly installed, 0 to remove and 0 not upgraded. Need to get 44.7 MB of archives. After unpacking 201 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main amd64 libpython3.11-minimal amd64 3.11.9-1 [817 kB] Get: 2 http://deb.debian.org/debian unstable/main amd64 libexpat1 amd64 2.6.2-1 [103 kB] Get: 3 http://deb.debian.org/debian unstable/main amd64 python3.11-minimal amd64 3.11.9-1 [1879 kB] Get: 4 http://deb.debian.org/debian unstable/main amd64 python3-minimal amd64 3.11.8-1 [26.3 kB] Get: 5 http://deb.debian.org/debian unstable/main amd64 media-types all 10.1.0 [26.9 kB] Get: 6 http://deb.debian.org/debian unstable/main amd64 netbase all 6.4 [12.8 kB] Get: 7 http://deb.debian.org/debian unstable/main amd64 tzdata all 2024a-4 [255 kB] Get: 8 http://deb.debian.org/debian unstable/main amd64 readline-common all 8.2-4 [69.3 kB] Get: 9 http://deb.debian.org/debian unstable/main amd64 libreadline8t64 amd64 8.2-4 [167 kB] Get: 10 http://deb.debian.org/debian unstable/main amd64 libpython3.11-stdlib amd64 3.11.9-1 [1792 kB] Get: 11 http://deb.debian.org/debian unstable/main amd64 python3.11 amd64 3.11.9-1 [602 kB] Get: 12 http://deb.debian.org/debian unstable/main amd64 libpython3-stdlib amd64 3.11.8-1 [9332 B] Get: 13 http://deb.debian.org/debian unstable/main amd64 python3 amd64 3.11.8-1 [27.4 kB] Get: 14 http://deb.debian.org/debian unstable/main amd64 sgml-base all 1.31 [15.4 kB] Get: 15 http://deb.debian.org/debian unstable/main amd64 sensible-utils all 0.0.22 [22.4 kB] Get: 16 http://deb.debian.org/debian unstable/main amd64 libmagic-mgc amd64 1:5.45-3 [314 kB] Get: 17 http://deb.debian.org/debian unstable/main amd64 libmagic1t64 amd64 1:5.45-3 [105 kB] Get: 18 http://deb.debian.org/debian unstable/main amd64 file amd64 1:5.45-3 [42.9 kB] Get: 19 http://deb.debian.org/debian unstable/main amd64 gettext-base amd64 0.21-14+b1 [161 kB] Get: 20 http://deb.debian.org/debian unstable/main amd64 libuchardet0 amd64 0.0.8-1+b1 [68.8 kB] Get: 21 http://deb.debian.org/debian unstable/main amd64 groff-base amd64 1.23.0-4 [1180 kB] Get: 22 http://deb.debian.org/debian unstable/main amd64 bsdextrautils amd64 2.40.1-3 [94.5 kB] Get: 23 http://deb.debian.org/debian unstable/main amd64 libpipeline1 amd64 1.5.7-2 [38.0 kB] Get: 24 http://deb.debian.org/debian unstable/main amd64 man-db amd64 2.12.1-1 [1411 kB] Get: 25 http://deb.debian.org/debian unstable/main amd64 ucf all 3.0043+nmu1 [55.2 kB] Get: 26 http://deb.debian.org/debian unstable/main amd64 asciidoc-common all 10.2.0-2 [104 kB] Get: 27 http://deb.debian.org/debian unstable/main amd64 xml-core all 0.19 [20.1 kB] Get: 28 http://deb.debian.org/debian unstable/main amd64 docbook-xsl all 1.79.2+dfsg-7 [1221 kB] Get: 29 http://deb.debian.org/debian unstable/main amd64 libicu72 amd64 72.1-4+b1 [9395 kB] Get: 30 http://deb.debian.org/debian unstable/main amd64 libxml2 amd64 2.12.7+dfsg-2 [670 kB] Get: 31 http://deb.debian.org/debian unstable/main amd64 libxml2-utils amd64 2.12.7+dfsg-2 [112 kB] Get: 32 http://deb.debian.org/debian unstable/main amd64 libxslt1.1 amd64 1.1.35-1+b1 [232 kB] Get: 33 http://deb.debian.org/debian unstable/main amd64 xsltproc amd64 1.1.35-1+b1 [115 kB] Get: 34 http://deb.debian.org/debian unstable/main amd64 asciidoc-base all 10.2.0-2 [85.3 kB] Get: 35 http://deb.debian.org/debian unstable/main amd64 asciidoc all 10.2.0-2 [6112 B] Get: 36 http://deb.debian.org/debian unstable/main amd64 m4 amd64 1.4.19-4 [287 kB] Get: 37 http://deb.debian.org/debian unstable/main amd64 autoconf all 2.71-3 [332 kB] Get: 38 http://deb.debian.org/debian unstable/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get: 39 http://deb.debian.org/debian unstable/main amd64 automake all 1:1.16.5-1.3 [823 kB] Get: 40 http://deb.debian.org/debian unstable/main amd64 autopoint all 0.21-14 [496 kB] Get: 41 http://deb.debian.org/debian unstable/main amd64 libdebhelper-perl all 13.15.3 [88.0 kB] Get: 42 http://deb.debian.org/debian unstable/main amd64 libtool all 2.4.7-7 [517 kB] Get: 43 http://deb.debian.org/debian unstable/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 44 http://deb.debian.org/debian unstable/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 45 http://deb.debian.org/debian unstable/main amd64 libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 46 http://deb.debian.org/debian unstable/main amd64 dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 47 http://deb.debian.org/debian unstable/main amd64 libelf1t64 amd64 0.191-1+b1 [189 kB] Get: 48 http://deb.debian.org/debian unstable/main amd64 dwz amd64 0.15-1+b1 [110 kB] Get: 49 http://deb.debian.org/debian unstable/main amd64 gettext amd64 0.21-14+b1 [1301 kB] Get: 50 http://deb.debian.org/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 51 http://deb.debian.org/debian unstable/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 52 http://deb.debian.org/debian unstable/main amd64 debhelper all 13.15.3 [901 kB] Get: 53 http://deb.debian.org/debian unstable/main amd64 python3-pkg-resources all 68.1.2-2 [241 kB] Get: 54 http://deb.debian.org/debian unstable/main amd64 python3-lib2to3 all 3.12.3-3.1 [77.7 kB] Get: 55 http://deb.debian.org/debian unstable/main amd64 python3-distutils all 3.12.3-3.1 [131 kB] Get: 56 http://deb.debian.org/debian unstable/main amd64 python3-setuptools all 68.1.2-2 [468 kB] Get: 57 http://deb.debian.org/debian unstable/main amd64 dh-python all 6.20240422 [107 kB] Get: 58 http://deb.debian.org/debian unstable/main amd64 sgml-data all 2.0.11+nmu1 [179 kB] Get: 59 http://deb.debian.org/debian unstable/main amd64 docbook-xml all 4.5-13 [77.4 kB] Get: 60 http://deb.debian.org/debian unstable/main amd64 libbrotli1 amd64 1.1.0-2+b3 [305 kB] Get: 61 http://deb.debian.org/debian unstable/main amd64 libkrb5support0 amd64 1.20.1-6+b1 [33.3 kB] Get: 62 http://deb.debian.org/debian unstable/main amd64 libcom-err2 amd64 1.47.1-1 [22.9 kB] Get: 63 http://deb.debian.org/debian unstable/main amd64 libk5crypto3 amd64 1.20.1-6+b1 [79.8 kB] Get: 64 http://deb.debian.org/debian unstable/main amd64 libkeyutils1 amd64 1.6.3-3 [8952 B] Get: 65 http://deb.debian.org/debian unstable/main amd64 libkrb5-3 amd64 1.20.1-6+b1 [333 kB] Get: 66 http://deb.debian.org/debian unstable/main amd64 libgssapi-krb5-2 amd64 1.20.1-6+b1 [135 kB] Get: 67 http://deb.debian.org/debian unstable/main amd64 libsasl2-modules-db amd64 2.1.28+dfsg1-6 [19.5 kB] Get: 68 http://deb.debian.org/debian unstable/main amd64 libsasl2-2 amd64 2.1.28+dfsg1-6 [56.9 kB] Get: 69 http://deb.debian.org/debian unstable/main amd64 libldap-2.5-0 amd64 2.5.17+dfsg-1 [186 kB] Get: 70 http://deb.debian.org/debian unstable/main amd64 libnghttp2-14 amd64 1.61.0-1+b1 [75.6 kB] Get: 71 http://deb.debian.org/debian unstable/main amd64 libpsl5t64 amd64 0.21.2-1.1 [56.8 kB] Get: 72 http://deb.debian.org/debian unstable/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2+b4 [58.5 kB] Get: 73 http://deb.debian.org/debian unstable/main amd64 libssh2-1t64 amd64 1.11.0-5 [215 kB] Get: 74 http://deb.debian.org/debian unstable/main amd64 libcurl3t64-gnutls amd64 8.8.0-1 [434 kB] Get: 75 http://deb.debian.org/debian unstable/main amd64 liberror-perl all 0.17029-2 [29.0 kB] Get: 76 http://deb.debian.org/debian unstable/main amd64 git-man all 1:2.45.1-1 [2157 kB] Get: 77 http://deb.debian.org/debian unstable/main amd64 git amd64 1:2.45.1-1 [8649 kB] Get: 78 http://deb.debian.org/debian unstable/main amd64 mercurial-common all 6.7.3-1 [2837 kB] Get: 79 http://deb.debian.org/debian unstable/main amd64 mercurial amd64 6.7.3-1 [382 kB] Get: 80 http://deb.debian.org/debian unstable/main amd64 python3-six all 1.16.0-6 [16.3 kB] Get: 81 http://deb.debian.org/debian unstable/main amd64 python3-urllib3 all 1.26.18-2 [116 kB] Get: 82 http://deb.debian.org/debian unstable/main amd64 python3-dulwich amd64 0.21.6-1+b1 [328 kB] Get: 83 http://deb.debian.org/debian unstable/main amd64 mercurial-git all 1.0.3-1 [63.5 kB] Get: 84 http://deb.debian.org/debian unstable/main amd64 sharness all 1.0.0-1.1 [28.6 kB] Get: 85 http://deb.debian.org/debian unstable/main amd64 xmlto amd64 0.0.28-2.1 [33.6 kB] Fetched 44.7 MB in 7s (6737 kB/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 ... 19716 files and directories currently installed.) Preparing to unpack .../libpython3.11-minimal_3.11.9-1_amd64.deb ... Unpacking libpython3.11-minimal:amd64 (3.11.9-1) ... Selecting previously unselected package libexpat1:amd64. Preparing to unpack .../libexpat1_2.6.2-1_amd64.deb ... Unpacking libexpat1:amd64 (2.6.2-1) ... Selecting previously unselected package python3.11-minimal. Preparing to unpack .../python3.11-minimal_3.11.9-1_amd64.deb ... Unpacking python3.11-minimal (3.11.9-1) ... Setting up libpython3.11-minimal:amd64 (3.11.9-1) ... Setting up libexpat1:amd64 (2.6.2-1) ... Setting up python3.11-minimal (3.11.9-1) ... 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 ... 20032 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.11.8-1_amd64.deb ... Unpacking python3-minimal (3.11.8-1) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_10.1.0_all.deb ... Unpacking media-types (10.1.0) ... Selecting previously unselected package netbase. Preparing to unpack .../2-netbase_6.4_all.deb ... Unpacking netbase (6.4) ... Selecting previously unselected package tzdata. Preparing to unpack .../3-tzdata_2024a-4_all.deb ... Unpacking tzdata (2024a-4) ... Selecting previously unselected package readline-common. Preparing to unpack .../4-readline-common_8.2-4_all.deb ... Unpacking readline-common (8.2-4) ... Selecting previously unselected package libreadline8t64:amd64. Preparing to unpack .../5-libreadline8t64_8.2-4_amd64.deb ... Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8 to /lib/x86_64-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8.2 to /lib/x86_64-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8 to /lib/x86_64-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8.2 to /lib/x86_64-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' Unpacking libreadline8t64:amd64 (8.2-4) ... Selecting previously unselected package libpython3.11-stdlib:amd64. Preparing to unpack .../6-libpython3.11-stdlib_3.11.9-1_amd64.deb ... Unpacking libpython3.11-stdlib:amd64 (3.11.9-1) ... Selecting previously unselected package python3.11. Preparing to unpack .../7-python3.11_3.11.9-1_amd64.deb ... Unpacking python3.11 (3.11.9-1) ... Selecting previously unselected package libpython3-stdlib:amd64. Preparing to unpack .../8-libpython3-stdlib_3.11.8-1_amd64.deb ... Unpacking libpython3-stdlib:amd64 (3.11.8-1) ... Setting up python3-minimal (3.11.8-1) ... 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 ... 21024 files and directories currently installed.) Preparing to unpack .../00-python3_3.11.8-1_amd64.deb ... Unpacking python3 (3.11.8-1) ... 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.22_all.deb ... Unpacking sensible-utils (0.0.22) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../03-libmagic-mgc_1%3a5.45-3_amd64.deb ... Unpacking libmagic-mgc (1:5.45-3) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../04-libmagic1t64_1%3a5.45-3_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.45-3) ... Selecting previously unselected package file. Preparing to unpack .../05-file_1%3a5.45-3_amd64.deb ... Unpacking file (1:5.45-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../06-gettext-base_0.21-14+b1_amd64.deb ... Unpacking gettext-base (0.21-14+b1) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../07-libuchardet0_0.0.8-1+b1_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../08-groff-base_1.23.0-4_amd64.deb ... Unpacking groff-base (1.23.0-4) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../09-bsdextrautils_2.40.1-3_amd64.deb ... Unpacking bsdextrautils (2.40.1-3) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../10-libpipeline1_1.5.7-2_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.7-2) ... Selecting previously unselected package man-db. Preparing to unpack .../11-man-db_2.12.1-1_amd64.deb ... Unpacking man-db (2.12.1-1) ... 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-2_all.deb ... Unpacking asciidoc-common (10.2.0-2) ... Selecting previously unselected package xml-core. Preparing to unpack .../14-xml-core_0.19_all.deb ... Unpacking xml-core (0.19) ... Selecting previously unselected package docbook-xsl. Preparing to unpack .../15-docbook-xsl_1.79.2+dfsg-7_all.deb ... Unpacking docbook-xsl (1.79.2+dfsg-7) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../16-libicu72_72.1-4+b1_amd64.deb ... Unpacking libicu72:amd64 (72.1-4+b1) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../17-libxml2_2.12.7+dfsg-2_amd64.deb ... Unpacking libxml2:amd64 (2.12.7+dfsg-2) ... Selecting previously unselected package libxml2-utils. Preparing to unpack .../18-libxml2-utils_2.12.7+dfsg-2_amd64.deb ... Unpacking libxml2-utils (2.12.7+dfsg-2) ... Selecting previously unselected package libxslt1.1:amd64. Preparing to unpack .../19-libxslt1.1_1.1.35-1+b1_amd64.deb ... Unpacking libxslt1.1:amd64 (1.1.35-1+b1) ... Selecting previously unselected package xsltproc. Preparing to unpack .../20-xsltproc_1.1.35-1+b1_amd64.deb ... Unpacking xsltproc (1.1.35-1+b1) ... Selecting previously unselected package asciidoc-base. Preparing to unpack .../21-asciidoc-base_10.2.0-2_all.deb ... Unpacking asciidoc-base (10.2.0-2) ... Selecting previously unselected package asciidoc. Preparing to unpack .../22-asciidoc_10.2.0-2_all.deb ... Unpacking asciidoc (10.2.0-2) ... Selecting previously unselected package m4. Preparing to unpack .../23-m4_1.4.19-4_amd64.deb ... Unpacking m4 (1.4.19-4) ... 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-14_all.deb ... Unpacking autopoint (0.21-14) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../28-libdebhelper-perl_13.15.3_all.deb ... Unpacking libdebhelper-perl (13.15.3) ... Selecting previously unselected package libtool. Preparing to unpack .../29-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... 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 libfile-stripnondeterminism-perl. Preparing to unpack .../32-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../33-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../34-libelf1t64_0.191-1+b1_amd64.deb ... Unpacking libelf1t64:amd64 (0.191-1+b1) ... Selecting previously unselected package dwz. Preparing to unpack .../35-dwz_0.15-1+b1_amd64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package gettext. Preparing to unpack .../36-gettext_0.21-14+b1_amd64.deb ... Unpacking gettext (0.21-14+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../37-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 .../38-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../39-debhelper_13.15.3_all.deb ... Unpacking debhelper (13.15.3) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../40-python3-pkg-resources_68.1.2-2_all.deb ... Unpacking python3-pkg-resources (68.1.2-2) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../41-python3-lib2to3_3.12.3-3.1_all.deb ... Unpacking python3-lib2to3 (3.12.3-3.1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../42-python3-distutils_3.12.3-3.1_all.deb ... Unpacking python3-distutils (3.12.3-3.1) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../43-python3-setuptools_68.1.2-2_all.deb ... Unpacking python3-setuptools (68.1.2-2) ... Selecting previously unselected package dh-python. Preparing to unpack .../44-dh-python_6.20240422_all.deb ... Unpacking dh-python (6.20240422) ... Selecting previously unselected package sgml-data. Preparing to unpack .../45-sgml-data_2.0.11+nmu1_all.deb ... Unpacking sgml-data (2.0.11+nmu1) ... Selecting previously unselected package docbook-xml. Preparing to unpack .../46-docbook-xml_4.5-13_all.deb ... Unpacking docbook-xml (4.5-13) ... Selecting previously unselected package libbrotli1:amd64. Preparing to unpack .../47-libbrotli1_1.1.0-2+b3_amd64.deb ... Unpacking libbrotli1:amd64 (1.1.0-2+b3) ... Selecting previously unselected package libkrb5support0:amd64. Preparing to unpack .../48-libkrb5support0_1.20.1-6+b1_amd64.deb ... Unpacking libkrb5support0:amd64 (1.20.1-6+b1) ... Selecting previously unselected package libcom-err2:amd64. Preparing to unpack .../49-libcom-err2_1.47.1-1_amd64.deb ... Unpacking libcom-err2:amd64 (1.47.1-1) ... Selecting previously unselected package libk5crypto3:amd64. Preparing to unpack .../50-libk5crypto3_1.20.1-6+b1_amd64.deb ... Unpacking libk5crypto3:amd64 (1.20.1-6+b1) ... Selecting previously unselected package libkeyutils1:amd64. Preparing to unpack .../51-libkeyutils1_1.6.3-3_amd64.deb ... Unpacking libkeyutils1:amd64 (1.6.3-3) ... Selecting previously unselected package libkrb5-3:amd64. Preparing to unpack .../52-libkrb5-3_1.20.1-6+b1_amd64.deb ... Unpacking libkrb5-3:amd64 (1.20.1-6+b1) ... Selecting previously unselected package libgssapi-krb5-2:amd64. Preparing to unpack .../53-libgssapi-krb5-2_1.20.1-6+b1_amd64.deb ... Unpacking libgssapi-krb5-2:amd64 (1.20.1-6+b1) ... Selecting previously unselected package libsasl2-modules-db:amd64. Preparing to unpack .../54-libsasl2-modules-db_2.1.28+dfsg1-6_amd64.deb ... Unpacking libsasl2-modules-db:amd64 (2.1.28+dfsg1-6) ... Selecting previously unselected package libsasl2-2:amd64. Preparing to unpack .../55-libsasl2-2_2.1.28+dfsg1-6_amd64.deb ... Unpacking libsasl2-2:amd64 (2.1.28+dfsg1-6) ... Selecting previously unselected package libldap-2.5-0:amd64. Preparing to unpack .../56-libldap-2.5-0_2.5.17+dfsg-1_amd64.deb ... Unpacking libldap-2.5-0:amd64 (2.5.17+dfsg-1) ... Selecting previously unselected package libnghttp2-14:amd64. Preparing to unpack .../57-libnghttp2-14_1.61.0-1+b1_amd64.deb ... Unpacking libnghttp2-14:amd64 (1.61.0-1+b1) ... Selecting previously unselected package libpsl5t64:amd64. Preparing to unpack .../58-libpsl5t64_0.21.2-1.1_amd64.deb ... Unpacking libpsl5t64:amd64 (0.21.2-1.1) ... Selecting previously unselected package librtmp1:amd64. Preparing to unpack .../59-librtmp1_2.4+20151223.gitfa8646d.1-2+b4_amd64.deb ... Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b4) ... Selecting previously unselected package libssh2-1t64:amd64. Preparing to unpack .../60-libssh2-1t64_1.11.0-5_amd64.deb ... Unpacking libssh2-1t64:amd64 (1.11.0-5) ... Selecting previously unselected package libcurl3t64-gnutls:amd64. Preparing to unpack .../61-libcurl3t64-gnutls_8.8.0-1_amd64.deb ... Unpacking libcurl3t64-gnutls:amd64 (8.8.0-1) ... Selecting previously unselected package liberror-perl. Preparing to unpack .../62-liberror-perl_0.17029-2_all.deb ... Unpacking liberror-perl (0.17029-2) ... Selecting previously unselected package git-man. Preparing to unpack .../63-git-man_1%3a2.45.1-1_all.deb ... Unpacking git-man (1:2.45.1-1) ... Selecting previously unselected package git. Preparing to unpack .../64-git_1%3a2.45.1-1_amd64.deb ... Unpacking git (1:2.45.1-1) ... Selecting previously unselected package mercurial-common. Preparing to unpack .../65-mercurial-common_6.7.3-1_all.deb ... Unpacking mercurial-common (6.7.3-1) ... Selecting previously unselected package mercurial. Preparing to unpack .../66-mercurial_6.7.3-1_amd64.deb ... Unpacking mercurial (6.7.3-1) ... Selecting previously unselected package python3-six. Preparing to unpack .../67-python3-six_1.16.0-6_all.deb ... Unpacking python3-six (1.16.0-6) ... Selecting previously unselected package python3-urllib3. Preparing to unpack .../68-python3-urllib3_1.26.18-2_all.deb ... Unpacking python3-urllib3 (1.26.18-2) ... Selecting previously unselected package python3-dulwich. Preparing to unpack .../69-python3-dulwich_0.21.6-1+b1_amd64.deb ... Unpacking python3-dulwich (0.21.6-1+b1) ... Selecting previously unselected package mercurial-git. Preparing to unpack .../70-mercurial-git_1.0.3-1_all.deb ... Unpacking mercurial-git (1.0.3-1) ... Selecting previously unselected package sharness. Preparing to unpack .../71-sharness_1.0.0-1.1_all.deb ... Unpacking sharness (1.0.0-1.1) ... Selecting previously unselected package xmlto. Preparing to unpack .../72-xmlto_0.0.28-2.1_amd64.deb ... Unpacking xmlto (0.0.28-2.1) ... Setting up media-types (10.1.0) ... Setting up libpipeline1:amd64 (1.5.7-2) ... Setting up libkeyutils1:amd64 (1.6.3-3) ... Setting up libicu72:amd64 (72.1-4+b1) ... Setting up bsdextrautils (2.40.1-3) ... Setting up libmagic-mgc (1:5.45-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.15.3) ... Setting up libbrotli1:amd64 (1.1.0-2+b3) ... Setting up libmagic1t64:amd64 (1:5.45-3) ... Setting up libpsl5t64:amd64 (0.21.2-1.1) ... Setting up libnghttp2-14:amd64 (1.61.0-1+b1) ... Setting up gettext-base (0.21-14+b1) ... Setting up m4 (1.4.19-4) ... Setting up libcom-err2:amd64 (1.47.1-1) ... Setting up file (1:5.45-3) ... Setting up libelf1t64:amd64 (0.191-1+b1) ... Setting up libkrb5support0:amd64 (1.20.1-6+b1) ... Setting up libsasl2-modules-db:amd64 (2.1.28+dfsg1-6) ... Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' Local time is now: Thu May 30 15:04:55 UTC 2024. Universal Time is now: Thu May 30 15:04:55 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up liberror-perl (0.17029-2) ... Setting up autotools-dev (20220109.1) ... Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b4) ... Setting up autopoint (0.21-14) ... Setting up sharness (1.0.0-1.1) ... Setting up libk5crypto3:amd64 (1.20.1-6+b1) ... Setting up libsasl2-2:amd64 (2.1.28+dfsg1-6) ... Setting up autoconf (2.71-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.22) ... Setting up libuchardet0:amd64 (0.0.8-1+b1) ... Setting up git-man (1:2.45.1-1) ... Setting up netbase (6.4) ... Setting up sgml-base (1.31) ... Setting up libkrb5-3:amd64 (1.20.1-6+b1) ... Setting up libssh2-1t64:amd64 (1.11.0-5) ... Setting up readline-common (8.2-4) ... Setting up libxml2:amd64 (2.12.7+dfsg-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.14.0-1) ... Setting up gettext (0.21-14+b1) ... Setting up libtool (2.4.7-7) ... Setting up libldap-2.5-0:amd64 (2.5.17+dfsg-1) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libgssapi-krb5-2:amd64 (1.20.1-6+b1) ... Setting up ucf (3.0043+nmu1) ... Setting up libreadline8t64:amd64 (8.2-4) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-4) ... Setting up xml-core (0.19) ... Setting up libxslt1.1:amd64 (1.1.35-1+b1) ... Setting up libxml2-utils (2.12.7+dfsg-2) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libpython3.11-stdlib:amd64 (3.11.9-1) ... Setting up xsltproc (1.1.35-1+b1) ... Setting up libcurl3t64-gnutls:amd64 (8.8.0-1) ... Setting up man-db (2.12.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up git (1:2.45.1-1) ... Setting up libpython3-stdlib:amd64 (3.11.8-1) ... Setting up python3.11 (3.11.9-1) ... Setting up debhelper (13.15.3) ... Setting up python3 (3.11.8-1) ... Setting up python3-six (1.16.0-6) ... Setting up asciidoc-common (10.2.0-2) ... Setting up python3-urllib3 (1.26.18-2) ... Setting up python3-dulwich (0.21.6-1+b1) ... Setting up python3-lib2to3 (3.12.3-3.1) ... Setting up python3-pkg-resources (68.1.2-2) ... Setting up python3-distutils (3.12.3-3.1) ... Setting up python3-setuptools (68.1.2-2) ... Setting up mercurial-common (6.7.3-1) ... Setting up dh-python (6.20240422) ... Setting up mercurial (6.7.3-1) ... Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version Setting up mercurial-git (1.0.3-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.38-11) ... Processing triggers for sgml-base (1.31) ... Setting up docbook-xsl (1.79.2+dfsg-7) ... Setting up sgml-data (2.0.11+nmu1) ... Setting up asciidoc-base (10.2.0-2) ... Setting up asciidoc (10.2.0-2) ... Processing triggers for sgml-base (1.31) ... Setting up docbook-xml (4.5-13) ... 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: user script /srv/workspace/pbuilder/2268542/tmp/hooks/A99_set_merged_usr starting Not re-configuring usrmerge for unstable I: user script /srv/workspace/pbuilder/2268542/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/reproducible-path/git-remote-hg-1.0.4~ds/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-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 -j20 clean make[1]: Entering directory '/build/reproducible-path/git-remote-hg-1.0.4~ds' rm -f doc/git-remote-hg.1 rm -f -r bin/ make[1]: Leaving directory '/build/reproducible-path/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 -j20 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/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/reproducible-path/git-remote-hg-1.0.4~ds' dh_auto_test make -j20 test make[1]: Entering directory '/build/reproducible-path/git-remote-hg-1.0.4~ds' make -C test make[2]: Entering directory '/build/reproducible-path/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: 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 expecting success: ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero ) [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 Cloning into 'gitrepo'... ok 1 - setup expecting success: test_when_finished "rm -rf gitrepo*" && git clone "hg::hgrepo" gitrepo && check gitrepo HEAD zero Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] no changes found ok 1 - setup expecting success: test_when_finished "rm -rf gitrepo*" && git clone "hg::hgrepo" gitrepo && check gitrepo HEAD zero Cloning into 'gitrepo'... searching for changes adding changesets adding manifests /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] adding file changes WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways added 4 changesets with 4 changes to 4 files /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 111a6d5744c2 adding changesets adding manifests adding file changes progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) added 1 changesets with 1 changes to 1 files new changesets 17f2fd4624d2 adding changesets adding manifests adding file changes progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) added 1 changesets with 1 changes to 1 files new changesets 17f2fd4624d2 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 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 marked working directory as branch next (branches are permanent and global, did you want a bookmark?) marked working directory as branch next (branches are permanent and global, did you want a bookmark?) 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 /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] 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'... Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 17f2fd4624d2:ec9c70717a17 adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 1 files new changesets 111a6d5744c2:054f6ee38164 Cloning into 'gitrepo'... progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) progress revision 1 'next' (0/1) progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) progress revision 1 'next' (0/1) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 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 /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] searching for changes adding changesets adding manifests adding file changes added 4 changesets with 4 changes to 4 files 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 1 files updated, 0 files merged, 0 files removed, 0 files unresolved /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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' [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 Cloning into 'gitrepo'... Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 adding remote bookmark feature-a adding changesets adding manifests adding file changes added 3 changesets with 3 changes to 1 files (+1 heads) adding remote bookmark feature-a new changesets 17f2fd4624d2:d221c7cbec64 added 3 changesets with 3 changes to 1 files (+1 heads) new changesets 111a6d5744c2:ccc9f73379af progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/2) progress revision 1 'next' (0/1) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/2) progress revision 1 'next' (0/1) no changes found 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] searching for changes adding changesets adding manifests adding file changes added 5 changesets with 3 changes to 3 files 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 adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 529cc1e2c5f6 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) Cloning into 'gitrepo'... Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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-a added 3 changesets with 3 changes to 1 files (+1 heads) new changesets 111a6d5744c2:ccc9f73379af progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/2) progress revision 1 'next' (0/1) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 adding remote bookmark devel adding remote bookmark feature-a /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] added 3 changesets with 3 changes to 1 files (+1 heads) new changesets 17f2fd4624d2:d221c7cbec64 [devel d305793] devel Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) 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' (2/2) progress revision 0 'master' (0/2) progress revision 1 'next' (0/1) progress revision walk 'bookmarks/master' (4/4) progress revision 0 'master' (0/5) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 287e8c6] 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 Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] no changes found searching for changes adding changesets adding manifests adding file changes /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] 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'... adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets ca8e7580baa1 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 no changes found searching for changes adding changesets adding manifests adding file changes adding changesets adding manifests adding file changes added 5 changesets with 3 changes to 3 files adding remote bookmark devel adding remote bookmark feature-a added 4 changesets with 4 changes to 1 files (+1 heads) new changesets 111a6d5744c2:7d5be5537207 progress revision walk 'bookmarks/master' (3/3) progress revision 0 'master' (0/3) progress revision 1 'next' (0/1) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 Cloning into 'gitrepo'... [feature-b 78c0570] feature-b Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:101: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 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 17f2fd4624d2:b6bfc90f4a98 progress revision walk 'bookmarks/master' (3/3) progress revision 0 'master' (0/3) progress revision 1 'next' (0/1) [feature-b 4c927ad] feature-b Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) 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 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 /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 ddd46edf1af6:2df7065cc08d progress revision walk 'bookmarks/master' (3/3) progress revision 0 'master' (0/4) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] searching for changes no changes found searching for changes adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 2 files 1 files updated, 0 files merged, 0 files removed, 0 files unresolved saved backup bundle to /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/.hg/strip-backup/64973f0d1af2-50408cda-backup.hg /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 (+1 heads) new changesets 9e89ca9e1068 progress revision 4 'default' (0/1) From hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo + fbe9fd3...4c5a5b4 master -> origin/master (forced update) + fbe9fd3...4c5a5b4 branches/default -> origin/branches/default (forced update) 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 HEAD is now at 4c5a5b4 four /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:101: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp Cloning into 'gitrepo'... 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 ... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] 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 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 d85cf6e4d2fb:7f2c7b8f7b32 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'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 13849bd90878:eccc67985ff5 progress revision walk 'bookmarks/master' (11/11) progress revision 0 'master' (0/12) adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 9fae8418bb8d progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) 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 marked working directory as branch gamma Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 ec3d9b1774be:acd1f7136497 searching for changes adding changesets adding manifests adding file changes adding remote bookmark not-master added 2 changesets with 1 changes to 1 files progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) new changesets 5889597089fe:3320583a8de0 1 local changesets published /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] progress revision 1 'default' (0/1) progress revision 2 'gamma' (0/1) searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 39aa6df75e0a progress revision 1 'default' (0/1) Cloning into 'gitrepo'... From hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo 7b3620b..46b3cab master -> origin/master 7b3620b..46b3cab branches/default -> origin/branches/default 1 files updated, 0 files merged, 0 files removed, 0 files unresolved saved backup bundle to /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/hgrepo/.hg/strip-backup/acd1f7136497-96f803a9-backup.hg /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 2c45f4701466:cb884ecd727d progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] searching for changes 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 adding changesets adding manifests adding file changes added 1 changesets with 0 changes to 0 files searching for changes searching for changes 1 files updated, 0 files merged, 0 files removed, 0 files unresolved saved backup bundle to /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/hgrepo/.hg/strip-backup/cb884ecd727d-34648d5c-backup.hg 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 /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 72ec4a02028e:1ba991eeb92b progress revision 2 'default' (0/2) From hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/hgrepo + a75d001...1e05f07 master -> origin/master (forced update) + a75d001...1e05f07 branches/default -> origin/branches/default (forced update) 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 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 /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 1 files (+1 heads) new changesets e1561b56dc2e:ca5cab69bb06 progress revision 2 'default' (0/2) From hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/hgrepo + 8becb6d...04b1689 master -> origin/master (forced update) + 8becb6d...04b1689 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 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 35bf3a2122f1:732d4c058dd4 progress revision walk 'bookmarks/default' (1/1) progress revision 0 'default' (0/2) Initialized empty Git repository in /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_git/.git/ Cloning into 'gitrepo'... [master (root-commit) e9a16bb] zero_sub_git Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 content_sub_git [default 8ac1321] two Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) 0 files updated, 0 files merged, 0 files removed, 0 files unresolved /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/hgrepo da2a466..8ac1321 default -> default adding changesets adding manifests adding file changes adding remote bookmark master added 2 changesets with 2 changes to 1 files new changesets 546409a88dd3:ee038450f374 progress revision walk 'bookmarks/default' (1/1) progress revision 0 'default' (0/2) [default d485bde] two Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) Cloning into 'gitrepo'... 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 1 changesets with 1 changes to 1 files new changesets 16869bbe54be 1 local changesets published progress revision 1 'default' (0/1) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] no changes found Initialized empty Git repository in /build/reproducible-path/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 searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files adding changesets adding manifests adding file changes added 2 changesets with 3 changes to 3 files new changesets bd4a36923be7:60592c1c0a9e To hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/hgrepo fffffff..d485bde default -> default progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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::../hgrepo * [new branch] master -> master 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:101: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp Cloning into './sub_hg_a'... searching for changes 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 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' hint: Updates were rejected because the tag already exists in the remote. Initialized empty Git repository in /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/gitrepo/.git/ changeset: 0:6e2126489d3d tag: tip user: A U Thor date: Mon Jan 01 00:00:00 2007 +0230 summary: one [master (root-commit) 64caca5] one Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 content /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 28ea8403861f progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] no changes found 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 searching for changes adding changesets adding manifests adding file changes Cloning into './sub_hg_b'... added 1 changesets with 1 changes to 1 files To hg::../hgrepo * [new branch] master -> master /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 3543f805b1c8 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) 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 changeset: 0:6e2126489d3d tag: tip user: A U Thor date: Mon Jan 01 00:00:00 2007 +0230 summary: one [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 [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 [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 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 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 /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] no changes found Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 5 changesets with 5 changes to 5 files Cloning into 'gitrepo'... adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 6ec63500905a /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] 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 60d727b7b26d /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) adding changesets adding manifests adding file changes 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'... added 5 changesets with 5 changes to 5 files new changesets 87c8f82b00d0:21e96c99dac4 progress revision walk 'bookmarks/master' (4/4) progress revision 0 'master' (0/5) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 11 - remote cloning expecting success: test_when_finished "rm -rf gitrepo*" && ( git clone "hg::hgrepo" gitrepo && mv gitrepo gitrepo2 && cd gitrepo2 && git fetch ) adding changesets Cloning into 'gitrepo'... adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 6ec63500905a progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes 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 added 1 changesets with 1 changes to 1 files new changesets 60d727b7b26d progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] Cloning into 'gitrepo'... 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 /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] Initialized empty Git repository in /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways [master (root-commit) e9a16bb] zero_sub_git Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 content_sub_git ok 6 - test timezones # passed all 6 test(s) 1..6 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 6ec63500905a /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) adding changesets adding manifests adding file changes adding remote bookmark devel added 1 changesets with 1 changes to 1 files new changesets 60d727b7b26d progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) [devel 1229b27] devel Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 4df3fb1] 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] no changes found adding changesets adding manifests adding file changes added 2 changesets with 3 changes to 3 files new changesets a7c2e657b0dd:f760cbd2e23f searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 6ec63500905a:0bd1763f523a /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:101: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp 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'... Cloning into './sub_hg_a'... progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] adding changesets adding changesets adding manifests adding manifests adding file changes adding file changes adding remote bookmark devel added 2 changesets with 3 changes to 3 files new changesets 982afcd373b8:38a20516240c [feature-b fece93c] feature-b Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) added 2 changesets with 2 changes to 1 files new changesets 60d727b7b26d:ec18d72dc421 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files Cloning into './sub_hg_a/sub_hg_a_x'... [feature-b 79a5280] feature-b Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] no changes found 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'... adding changesets adding manifests adding file changes searching for changes added 1 changesets with 1 changes to 1 files new changesets a8d3865924d8 adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 6ec63500905a:d6987cfc1276 progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/3) Cloning into './sub_hg_b'... 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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-b adding changesets adding manifests adding file changes added 2 changesets with 3 changes to 3 files added 3 changesets with 3 changes to 1 files new changesets a75056322ded:43388d461409 new changesets 60d727b7b26d:f14666259013 1 files updated, 0 files merged, 0 files removed, 0 files unresolved (leaving bookmark devel) progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/3) [master 3582542] diverged Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) Cloning into './sub_hg_b/sub_git'... done. /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 866d80122400 To hg::/build/reproducible-path/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/reproducible-path/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. If you want to integrate the remote changes, hint: use 'git pull' before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. ! [rejected] master -> master (non-fast-forward) 1 files updated, 0 files merged, 0 files removed, 0 files unresolved (leaving bookmark devel) ok 8 - subcommand sub initial recursive update expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && test_sub_update 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" [master 6bf83e1] diverged Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) 1 files updated, 0 files merged, 0 files removed, 0 files unresolved Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 8552a2ac2fae To hg::/build/reproducible-path/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/reproducible-path/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. If you want to integrate the remote changes, hint: use '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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 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" 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 6ec63500905a:866d80122400 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 created new head [diverge d5e8e1a] diverge Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 4cffb2b34f24 To hg::/build/reproducible-path/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/reproducible-path/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. If you want to integrate the remote changes, hint: use 'git pull' before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. adding remote bookmark devel adding remote bookmark diverge adding remote bookmark feature-b ! [rejected] diverge -> diverge (non-fast-forward) added 4 changesets with 4 changes to 1 files new changesets 60d727b7b26d:8552a2ac2fae progress revision walk 'bookmarks/master' (3/3) 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'... created new head /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 [diverge d992ad5] diverge Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) 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 6ec63500905a:4cffb2b34f24 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 7f2ac98] feature-c Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 46100248516f To hg::/build/reproducible-path/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/reproducible-path/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. If you want to integrate the remote changes, hint: use '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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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) Initialized empty Git repository in /build/reproducible-path/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 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'... 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 ) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 60d727b7b26d:46100248516f 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 3120c0f] feature-c Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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'... Cloning into 'gitrepo'... 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 ) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 3 changes to 3 files new changesets 6c8ec8f8d359:a2d1a312706d 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 8aac325cb504 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) [master 9e831df] copy Author: A U Thor 1 file changed, 2 insertions(+) create mode 100644 content-copy [master ddee4f3] moved Author: A U Thor 1 file changed, 0 insertions(+), 0 deletions(-) rename content-copy => content-moved (100%) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:101: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp no changes found Cloning into './sub_hg_a'... searching for changes adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 2 files To hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/hgrepo 5cafc7d..ddee4f3 master -> master Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] adding changesets /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] adding manifests adding file changes 1 files updated, 0 files merged, 0 files removed, 0 files unresolved added 2 changesets with 3 changes to 3 files new changesets a6b471071d23:dee783ad84e1 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 cf676b1542aa 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 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) Cloning into './sub_hg_a/sub_hg_a_x'... warning: filename contains '?', which is reserved on Windows: 'ø~?' [master 69804f9] copy Author: A U Thor 1 file changed, 2 insertions(+) create mode 100644 content-copy [master 69170c7] moved Author: A U Thor 1 file changed, 0 insertions(+), 0 deletions(-) rename content-copy => content-moved (100%) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes no changes found added 1 changesets with 1 changes to 1 files new changesets c38cdc7e91e0 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) searching for changes adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 2 files To hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/hgrepo fffffff..69170c7 master -> master Cloning into './sub_hg_b'... warning: filename contains '?', which is reserved on Windows: 'ø~?' 1 files updated, 0 files merged, 0 files removed, 0 files unresolved /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] Cloning into 'gitrepo'... 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 adding changesets adding manifests adding file changes added 2 changesets with 3 changes to 3 files new changesets f71db2e1f8e9:65d2a95b5641 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) 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 5b57ffb70f95:3d0c8cc4f2be progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/3) warning: filename contains '?', which is reserved on Windows: 'ø~?' Cloning into './sub_hg_b/sub_git'... done. 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 Cloning into 'gitrepo'... warning: filename contains '?', which is reserved on Windows: 'ø~?' 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 1 changesets with 1 changes to 1 files new changesets d1143cd7b4ef progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) adding changesets adding manifests adding file changes added 3 changesets with 4 changes to 2 files new changesets 3e4430c355cc:22ffe3f3173e /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] searching for changes adding changesets adding manifests adding file changes progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/3) added 1 changesets with 1 changes to 1 files new changesets 49a4a5d7e4d5 progress revision 2 'default' (0/1) [master 615dec9] 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 no changes found searching for changes adding changesets adding manifests adding file changes From hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo 46ae074..0fc20c4 master -> origin/master 46ae074..0fc20c4 branches/default -> origin/branches/default added 1 changesets with 1 changes to 1 files To hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo dc95ba0..615dec9 master -> master Updating 46ae074..0fc20c4 Fast-forward .hgsubstate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 1 files updated, 0 files merged, 0 files removed, 0 files unresolved /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:101: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 7d80ff531d37 progress revision 2 'default' (0/1) From hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_a c8c2bc8..7a74889 branches/default -> origin/branches/default c8c2bc8..7a74889 master -> origin/master Cloning into 'gitrepo'... HEAD is now at c8c2bc8 substate_hg_a /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] searching for changes adding changesets adding manifests adding file changes adding changesets added 1 changesets with 1 changes to 1 files new changesets c2e2f776d705 adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 35c258dc36f3 progress revision 1 'default' (0/1) progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) From hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_a/sub_hg_a_x 0fb7ffd..0635b22 branches/default -> origin/branches/default 0fb7ffd..0635b22 master -> origin/master HEAD is now at 0fb7ffd zero_sub_hg_a_x /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] [master 8183095] utf-8 Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 "\303\246 r\303\270" no changes found no changes found searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files ok 9 - subcommand sub subsequent recursive update expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && test_sub_update --rebase To hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo fffffff..8183095 master -> master Cloning into 'gitrepo'... 1 files updated, 0 files merged, 0 files removed, 0 files unresolved /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 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 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 b9dfad18142b:c9099ab1d5f1 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) progress revision 2 'bad_branch' (0/2) HEAD is now at c76d879 zero HEAD is now at c76d879 zero HEAD is now at 9e2f880 good branch Cloning into 'gitrepo'... Initialized empty Git repository in /build/reproducible-path/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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 c65f593af041:cb7170083d0c progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) progress revision 2 'bad_branch' (0/2) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo 9e2f880..fe5d15e branches/good_branch -> branches/good_branch af67334..0104300 good_bmark -> good_bmark af67334..c1d0238 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/reproducible-path/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. If you want to integrate the remote changes, use 'git pull' hint: before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. af67334..c1d0238 master -> master af67334..0104300 good_bmark -> good_bmark 9e2f880..fe5d15e 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 HEAD is now at b62689e zero new changesets e311a510063d:56fa0d025db1 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) HEAD is now at b62689e zero /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:101: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp Cloning into './sub_hg_a'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] 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 ) HEAD is now at 41d9965 good branch adding changesets adding manifests adding file changes added 2 changesets with 3 changes to 3 files new changesets 43007e4a2ac8:a53d8cde19bd progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) Cloning into './sub_hg_a/sub_hg_a_x'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 0c0f1a26d14c progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) Cloning into './sub_hg_b'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo fffffff..2b77095 branches/good_branch -> branches/good_branch fffffff..5cfff0b good_bmark -> good_bmark fffffff..3206ddc 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/reproducible-path/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. If you want to integrate the remote changes, use 'git pull' hint: before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. fffffff..3206ddc master -> master fffffff..5cfff0b good_bmark -> good_bmark fffffff..2b77095 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 d5ac14cd50fc:79b1db1556d0 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) Cloning into './sub_hg_b/sub_git'... done. Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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_bmark adding remote bookmark good_bmark /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] added 3 changesets with 3 changes to 1 files new changesets f4e2ef60907f:9a6f252a6f7f searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 4ac05a898ed5 progress revision 2 'default' (0/1) progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) progress revision 1 'bad_branch' (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 ) From hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo effdd12..575a9a2 master -> origin/master effdd12..575a9a2 branches/default -> origin/branches/default Updating effdd12..575a9a2 Fast-forward .hgsubstate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:101: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 dcf037222561 progress revision 2 'default' (0/1) From hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_a 8fe577e..d0b9015 branches/default -> origin/branches/default 8fe577e..d0b9015 master -> origin/master HEAD is now at 8fe577e substate_hg_a Successfully rebased and updated detached HEAD. /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 9dc9d6df8d95 progress revision 1 'default' (0/1) From hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_a/sub_hg_a_x 9ae7fcb..46ccbc9 branches/default -> origin/branches/default 9ae7fcb..46ccbc9 master -> origin/master Cloning into 'gitrepo'... HEAD is now at 9ae7fcb zero_sub_hg_a_x /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] Successfully rebased and updated detached HEAD. adding changesets adding manifests adding file changes adding remote bookmark bad_bmark adding remote bookmark good_bmark /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 8c4a6f6a3369 To hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo 8a33578..07bcb60 good_bmark -> good_bmark 8a33578..3bc8d8e 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/reproducible-path/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. If you want to integrate the remote changes, hint: use 'git pull' before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. 8a33578..3bc8d8e master -> master 8a33578..07bcb60 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 added 3 changesets with 3 changes to 1 files new changesets 06dd337ce69d:d38b23ab91d1 /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 progress revision 3 'bad_branch' (0/1) progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) progress revision 1 'bad_branch' (0/2) From hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo 15c3660..11896a9 branches/bad_branch -> origin/branches/bad_branch 8a33578..11896a9 bad_bmark -> origin/bad_bmark + 07bcb60...8a33578 good_bmark -> origin/good_bmark (forced update) + 3bc8d8e...8a33578 master -> origin/master (forced update) ok 10 - subcommand sub subsequent recursive update -- rebase expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && test_sub_update --merge /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo 8a33578..07bcb60 good_bmark -> good_bmark 8a33578..3bc8d8e 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/reproducible-path/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. If you want to integrate the remote changes, hint: use 'git pull' before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. 8a33578..3bc8d8e master -> master 8a33578..07bcb60 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 3fe5719cada8 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo fffffff..1350d35 good_bmark -> good_bmark fffffff..ad5608b 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/reproducible-path/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. If you want to integrate the remote changes, hint: use 'git pull' before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. fffffff..ad5608b master -> master fffffff..1350d35 good_bmark -> good_bmark ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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) From hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo e1b7b9d..4cd4a71 branches/bad_branch -> origin/branches/bad_branch 92ee169..ad5608b branches/default -> origin/branches/default 92ee169..4cd4a71 bad_bmark -> origin/bad_bmark Initialized empty Git repository in /build/reproducible-path/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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] no changes found To hg::/build/reproducible-path/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/reproducible-path/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. If you want to integrate the remote changes, hint: use '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 /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 5021ab741be4:714eff85f371 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) progress revision 2 'bad_branch' (0/2) HEAD is now at b923cf7 zero HEAD is now at b923cf7 zero HEAD is now at 9cd90b7 good branch Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo + c08af36...9237f75 branches/bad_branch -> branches/bad_branch (forced update) 9cd90b7..6530062 branches/good_branch -> branches/good_branch + aa3f068...ae1fae6 bad_bmark1 -> bad_bmark1 (forced update) + aa3f068...7da39c0 bad_bmark2 -> bad_bmark2 (forced update) aa3f068..c4dbe42 good_bmark -> good_bmark aa3f068..dd89990 master -> master * [new branch] branches/new_branch -> branches/new_branch * [new branch] new_bmark -> new_bmark aa3f068..dd89990 master -> master aa3f068..c4dbe42 good_bmark -> good_bmark 9cd90b7..6530062 branches/good_branch -> branches/good_branch * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch + aa3f068...ae1fae6 bad_bmark1 -> bad_bmark1 (forced update) + aa3f068...7da39c0 bad_bmark2 -> bad_bmark2 (forced update) + c08af36...9237f75 branches/bad_branch -> branches/bad_branch (forced update) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 77ea90de9e79:16525214972b progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:101: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp Cloning into './sub_hg_a'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 a9f327615c7d:a35b42f1d954 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) Cloning into './sub_hg_a/sub_hg_a_x'... 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] Cloning into 'gitrepo'... adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 15a889b02f90 /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] 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 bb76055be564:ba5086bfe092 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'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 f4913a88814f:03482c7b8bca progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) HEAD is now at 8474c74 zero Cloning into './sub_hg_b/sub_git'... HEAD is now at 8474c74 zero done. Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 a3074c6 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 18daf2ecf5f4:48d019cafe8b /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) progress revision 2 'bad_branch' (0/2) searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 673fae8aff33 progress revision 2 'default' (0/1) From hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo 1f88303..a2afd08 master -> origin/master 1f88303..a2afd08 branches/default -> origin/branches/default Updating 1f88303..a2afd08 Fast-forward .hgsubstate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:101: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp HEAD is now at e07726b zero /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 95acc91dcd52 HEAD is now at e07726b zero progress revision 2 'default' (0/1) From hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_a eeac1d9..48f3c63 branches/default -> origin/branches/default eeac1d9..48f3c63 master -> origin/master HEAD is now at eeac1d9 substate_hg_a Updating eeac1d9..48f3c63 Fast-forward .hgsubstate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] HEAD is now at 0fee673 good branch searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 094f98f6e4fc progress revision 1 'default' (0/1) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo + fffffff...ce734fb branches/bad_branch -> branches/bad_branch (forced update) + fffffff...aec6997 branches/good_branch -> branches/good_branch (forced update) + fffffff...049fc21 bad_bmark1 -> bad_bmark1 (forced update) + fffffff...63e46a9 bad_bmark2 -> bad_bmark2 (forced update) + fffffff...b7d4634 good_bmark -> good_bmark (forced update) + fffffff...60627c8 master -> master (forced update) * [new branch] branches/new_branch -> branches/new_branch * [new branch] new_bmark -> new_bmark + fffffff...60627c8 master -> master (forced update) + fffffff...b7d4634 good_bmark -> good_bmark (forced update) + fffffff...aec6997 branches/good_branch -> branches/good_branch (forced update) * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch + fffffff...049fc21 bad_bmark1 -> bad_bmark1 (forced update) + fffffff...63e46a9 bad_bmark2 -> bad_bmark2 (forced update) + fffffff...ce734fb branches/bad_branch -> branches/bad_branch (forced update) From hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_a/sub_hg_a_x 15e8e6e..8025ab8 branches/default -> origin/branches/default 15e8e6e..8025ab8 master -> origin/master HEAD is now at 15e8e6e zero_sub_hg_a_x Updating 15e8e6e..8025ab8 Fast-forward content_sub_hg_a_x | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo 0fee673..25623d3 branches/good_branch -> branches/good_branch fcbe685..fefcba5 good_bmark -> good_bmark fcbe685..7afe845 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/reproducible-path/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. If you want to integrate the remote changes, use 'git pull' hint: before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. fcbe685..7afe845 master -> master fcbe685..fefcba5 good_bmark -> good_bmark 0fee673..25623d3 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] no changes found /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo 0fee673..25623d3 branches/good_branch -> branches/good_branch fcbe685..fefcba5 good_bmark -> good_bmark fcbe685..7afe845 master -> master * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch fcbe685..7afe845 master -> master fcbe685..fefcba5 good_bmark -> good_bmark 0fee673..25623d3 branches/good_branch -> branches/good_branch * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch ok 11 - subcommand sub subsequent recursive update -- merge expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && test_sub_foreach 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 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/reproducible-path/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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 0a7018819203:1042c8a16221 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) progress revision 2 'bad_branch' (0/2) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 8f930ea7d124:8629f287d39a progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) Cloning into 'gitrepo'... HEAD is now at 206dad6 zero /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:101: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 './sub_hg_a'... HEAD is now at 206dad6 zero 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 cd7e52720c5e:6a42209a291f /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) progress revision 2 'bad_branch' (0/2) adding changesets adding manifests adding file changes added 2 changesets with 3 changes to 3 files HEAD is now at c33ffa9 good branch new changesets 0a153d6ea354:2a376118a380 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) Cloning into './sub_hg_a/sub_hg_a_x'... HEAD is now at 1823b41 zero /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] HEAD is now at 1823b41 zero adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 713c65aaf7da progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) HEAD is now at 17c68e8 good branch /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] no changes found To hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo fffffff..43caded branches/good_branch -> branches/good_branch fffffff..6e35ea7 good_bmark -> good_bmark fffffff..3a59383 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/reproducible-path/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. If you want to integrate the remote changes, use 'git pull' hint: before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. fffffff..3a59383 master -> master fffffff..6e35ea7 good_bmark -> good_bmark fffffff..43caded 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 './sub_hg_b'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 23f0dfe9dd87:808660d9f0f7 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] no changes found To hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo fffffff..43caded branches/good_branch -> branches/good_branch fffffff..6e35ea7 good_bmark -> good_bmark fffffff..3a59383 master -> master * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch fffffff..3a59383 master -> master fffffff..6e35ea7 good_bmark -> good_bmark fffffff..43caded branches/good_branch -> branches/good_branch * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch Cloning into './sub_hg_b/sub_git'... done. /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo + 8f5fa74...45d2fb8 branches/bad_branch -> branches/bad_branch (forced update) 17c68e8..6c188aa branches/good_branch -> branches/good_branch + 625f363...44af04a bad_bmark1 -> bad_bmark1 (forced update) + 625f363...065c78e bad_bmark2 -> bad_bmark2 (forced update) 625f363..9aeaaf4 good_bmark -> good_bmark 625f363..1f6094f master -> master * [new branch] branches/new_branch -> branches/new_branch * [new branch] new_bmark -> new_bmark 625f363..1f6094f master -> master 625f363..9aeaaf4 good_bmark -> good_bmark 17c68e8..6c188aa branches/good_branch -> branches/good_branch * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch + 625f363...44af04a bad_bmark1 -> bad_bmark1 (forced update) + 625f363...065c78e bad_bmark2 -> bad_bmark2 (forced update) + 8f5fa74...45d2fb8 branches/bad_branch -> branches/bad_branch (forced update) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:101: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp hg c05900fb7014b69aab17d05c9f7a83eecb39cdb9 2a376118a380a41cd3e0fbd488c722a9e921f643 sub_hg_a /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/gitrepo hg 981a5cdb060c40b77a415c5f3943a78823f9cd2d 713c65aaf7dab3c07c9288c2494f0224f637b0eb sub_hg_a_x /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/gitrepo/sub_hg_a hg a7a24edb5abadd6f073facc116b4a1afbc3cfee7 808660d9f0f70ea1fa27396461ee19a5e86f3990 sub_hg_b /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/gitrepo git e9a16bb7c08361f85ab0002e4094b4229fefb384 e9a16bb7c08361f85ab0002e4094b4229fefb384 sub_git /build/reproducible-path/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 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 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] Cloning into 'gitrepo'... adding changesets adding manifests adding file changes added 2 changesets with 3 changes to 3 files new changesets cc57fbbb2e9f:e4665c917824 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 330dd892eae6:8ba1e0e43e5b progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:101: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp Cloning into 'gitrepo'... Cloning into './sub_hg'... HEAD is now at f947661 zero [master e2c64c3] two Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes no changes found added 1 changesets with 1 changes to 1 files new changesets 91db5eda311f progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) To hg::/build/reproducible-path/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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo' 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 2f72fb9b2ec9:2566d2c12fd2 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) progress revision 2 'bad_branch' (0/2) hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. If you want to integrate the remote changes, hint: use 'git pull' before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. url = foobar HEAD is now at 0534563 zero HEAD is now at 0534563 zero /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 17618dc good branch no changes found To hg::/build/reproducible-path/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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo' /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. If you want to integrate the remote changes, hint: use 'git pull' before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:101: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp 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 ) 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 /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] no changes found To hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo + fffffff...105a524 branches/bad_branch -> branches/bad_branch (forced update) + fffffff...ee2f949 branches/good_branch -> branches/good_branch (forced update) + fffffff...2040a6e bad_bmark1 -> bad_bmark1 (forced update) + fffffff...e5cc293 bad_bmark2 -> bad_bmark2 (forced update) + fffffff...e9d9e93 good_bmark -> good_bmark (forced update) + fffffff...6f80571 master -> master (forced update) * [new branch] branches/new_branch -> branches/new_branch * [new branch] new_bmark -> new_bmark + fffffff...6f80571 master -> master (forced update) + fffffff...e9d9e93 good_bmark -> good_bmark (forced update) + fffffff...ee2f949 branches/good_branch -> branches/good_branch (forced update) * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch + fffffff...2040a6e bad_bmark1 -> bad_bmark1 (forced update) + fffffff...e5cc293 bad_bmark2 -> bad_bmark2 (forced update) + fffffff...105a524 branches/bad_branch -> branches/bad_branch (forced update) Cloning into 'gitrepo'... Initialized empty Git repository in /build/reproducible-path/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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 2 changesets with 2 changes to 1 files new changesets 87bbed1e0b7d:93269c628fba progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo - [deleted] (none) -> origin/feature-a 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 ) 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 /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 7b3822331567:141a49265321 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:101: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp Cloning into './sub_hg'... 0 files updated, 0 files merged, 1 files removed, 0 files unresolved Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] adding changesets created new head adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 98efae95ab32 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] Initialized empty Git repository in /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/gitrepo/ adding changesets adding manifests adding file changes /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 added 2 changesets with 2 changes to 1 files new changesets 51562487ed54:10d8a19022ec adding changesets adding manifests adding file changes progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) added 2 changesets with 2 changes to 2 files (+1 heads) new changesets 51562487ed54:f9ee86d33135 WARNING: Branch 'default' has more than one head, consider merging WARNING: Branch 'default' has more than one head, consider merging Cloning into './sub_git'... 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 done. HEAD is now at 987a4f5 zero [master 3290a1d] two Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) 1 files updated, 0 files merged, 1 files removed, 0 files unresolved [detached HEAD c3d60bc] one_sub_hg Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] no changes found /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] To hg::/build/reproducible-path/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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo' no changes found hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. If you want to integrate the remote changes, hint: use 'git pull' before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files To hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg fffffff..c3d60bc HEAD -> master /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 b26bf561079e WARNING: Branch 'default' has more than one head, consider merging progress revision walk 'branches/default' (2/2) progress revision 0 'default' (0/2) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] From hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo + baa2de0...f6e5472 branches/default -> origin/branches/default (forced update) + baa2de0...f6e5472 master -> origin/master (forced update) no changes found /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] To hg::/build/reproducible-path/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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo' no changes found 1 local changesets published hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. If you want to integrate the remote changes, hint: use 'git pull' before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. From hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg 327f162..c3d60bc branches/default -> origin/branches/default 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 ) 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 ) [detached HEAD cea1af1] one_sub_git Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) To /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_git * [new branch] HEAD -> new /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:101: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp Updating ./sub_hg to 0e7cfbd3ab60451c49f637af89578e7fcba2c08b [git c3d60bc] Updating ./sub_git to cea1af1c0bdaae94623e5a8e4d85c13835bb44b6 [git cea1af1] diff --git a/.hgsubstate b/.hgsubstate index 26441ca..e817b60 100644 --- a/.hgsubstate +++ b/.hgsubstate @@ -1,2 +1,2 @@ -e9a16bb7c08361f85ab0002e4094b4229fefb384 sub_git -98efae95ab32d78da567869663d8ec80ca787770 sub_hg +cea1af1c0bdaae94623e5a8e4d85c13835bb44b6 sub_git +0e7cfbd3ab60451c49f637af89578e7fcba2c08b sub_hg M .hgsubstate [master 84717ca] update_sub Author: A U Thor 1 file changed, 2 insertions(+), 2 deletions(-) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 Cloning into 'gitrepo'... To hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo fffffff..84717ca master -> master Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 '/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgclone/sub_git'... adding changesets adding manifests adding file changes adding remote bookmark bookmark added 1 changesets with 1 changes to 1 files new changesets 0759201c6e97 /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] done. WARNING: Ignoring invalid bookmark 'bookmark' adding changesets adding manifests adding file changes adding remote bookmark feature-a progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) added 2 changesets with 2 changes to 1 files new changesets c246f3d7be79:2de16d02e527 Switched to a new branch 'new' progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) origin hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo (fetch) origin hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo (push) [bookmark b1c13e3] b Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 b /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 updating to branch default cloning subrepo sub_git from /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_git cloning subrepo sub_hg from /build/reproducible-path/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 no changes found no changes found error: refusing to update ref with bad name 'hg/origin/refs/bookmarks/feature-a' From hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo - [deleted] (none) -> origin/feature-a WARNING: Ignoring invalid bookmark 'bookmark' 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 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 searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files To hg::/build/reproducible-path/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 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 ) 0 files updated, 0 files merged, 1 files removed, 0 files unresolved created new head Initialized empty Git repository in /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/gitrepo/ Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 (+1 heads) new changesets 0d98a68a15d8:37fa980abbb2 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) adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 1 files new changesets 5beaa4fc40a8:34304ee06ff9 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 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) 1 files updated, 0 files merged, 1 files removed, 0 files unresolved 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 /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 6d36c67c8346 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo + 07efd4b...a5ddf28 branches/default -> origin/branches/default (forced update) + 07efd4b...a5ddf28 master -> origin/master (forced update) Cloning into 'gitrepo'... Initialized empty Git repository in /build/reproducible-path/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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 added 1 changesets with 1 changes to 1 files new changesets b8c20370db4d progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) [master 7405553] two Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo 15f3dce..7405553 master -> master /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 c79d00b563e7:c11fdb21b538 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) --- expected 2024-05-30 15:11:25.861091655 +0000 +++ actual 2024-05-30 15:11:25.997086818 +0000 @@ -1,4 +1,3 @@ -184b991791884a6cc165015a9b3ed4c729199a73 b8c20370db4db7b6b2f922d2ca759a6d105f71f8 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 /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:101: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] Cloning into './sub_hg_a'... Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 adding changesets new changesets 6e46c028be31 adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets bc4b9b018599 WARNING: Ignoring invalid bookmark 'bookmark' progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) origin hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo (fetch) origin hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo (push) [bookmark 5e45120] b Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 b Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 206e313d0440 /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] no changes found progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) WARNING: Ignoring invalid bookmark 'bookmark' /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:101: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] Cloning into './sub_git'... searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files done. To hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/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 [master 75f7010] two Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) [detached HEAD cea1af1] one_sub_git Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] searching for changes /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:101: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files To hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo da00c9e..75f7010 master -> master f19d87642b5ae5870392460ee3e259641fe8b7f6 ./sub_hg_a (heads/master) -b7d7f3827b8d8a646c8e0626a748b91502199841[hg] ./sub_hg_b +e9a16bb7c08361f85ab0002e4094b4229fefb384 ./sub_git (feature-a~1) f19d87642b5ae5870392460ee3e259641fe8b7f6 ./sub_hg_a (heads/master) -b7d7f3827b8d8a646c8e0626a748b91502199841[hg] ./sub_hg_b +e9a16bb7c08361f85ab0002e4094b4229fefb384 ./sub_git (feature-a~1) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:101: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] no changes found 1 local changesets published searching for changes To hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo * [new branch] feature-a -> feature-a +cea1af1c0bdaae94623e5a8e4d85c13835bb44b6 ./sub_git (feature-a) ok 15 - subcommand sub status # passed all 15 test(s) 1..15 Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 2 changesets with 2 changes to 1 files new changesets b42c041782f5:cad6d3bac5ca progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) 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 Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 f671fa665183 Cloning into 'gitrepo'... progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 f671fa665183 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) [master c52ce69] two Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 b8d7719cbbcf no changes found progress revision 1 'default' (0/1) searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files To hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo fffffff..c52ce69 master -> master From hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo 244c5ad..6fa8c65 master -> origin/master 244c5ad..6fa8c65 branches/default -> origin/branches/default * [new tag] v1.0 -> v1.0 Updating 244c5ad..6fa8c65 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 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 Cloning into 'gitrepo'... marked working directory as branch feature (branches are permanent and global, did you want a bookmark?) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 c55604eb40f1 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'... [master b9df567] two Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes no changes found added 3 changesets with 3 changes to 1 files (+1 heads) new changesets c55604eb40f1:3771863d7d20 progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/2) progress revision 1 'feature' (0/1) searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files To hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo fffffff..b9df567 master -> master Auto-merging content Merge made by the 'ort' strategy. content | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo * [new branch] feature-a -> feature-a 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo 665adfc..601097e master -> master 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 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 Cloning into 'gitrepo'... Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 added 1 changesets with 1 changes to 1 files new changesets 0b9dbdc89dcf adding manifests adding file changes added 1 changesets with 1 changes to 1 files new changesets 0b9dbdc89dcf progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo * [new tag] v1.0 -> v1.0 /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 54b5fb98d7a0 progress revision 1 'default' (0/1) From hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo 11244bd..faa1a4a master -> origin/master 11244bd..faa1a4a branches/default -> origin/branches/default * [new tag] v1.0 -> v1.0 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 Updating 11244bd..faa1a4a 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 marked working directory as branch feature (branches are permanent and global, did you want a bookmark?) marked working directory as branch feature (branches are permanent and global, did you want a bookmark?) Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 1 files updated, 0 files merged, 0 files removed, 0 files unresolved adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 1 files new changesets ac803a2a457c:670f8fb6db50 Cloning into 'gitrepo'... progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) progress revision 1 'feature' (0/1) * master Switched to a new branch 'branches/feature' branch 'branches/feature' set up to track 'origin/branches/feature'. /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 ac803a2a457c:d3b7ddd0a7b7 progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/2) progress revision 1 'feature' (0/1) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 Auto-merging content Merge made by the 'ort' strategy. no changes found content | 2 +- 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 To hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo * [new tag] v1.0 -> v1.0 /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] no changes found searching for changes adding changesets adding manifests adding file changes 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 added 1 changesets with 1 changes to 1 files (-1 heads) To hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo fffffff..f53758f master -> master 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 Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] adding changesets adding manifests adding file changes Cloning into 'gitrepo'... added 1 changesets with 1 changes to 1 files new changesets f1382c53c8fb progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] adding changesets adding manifests no changes found adding file changes added 2 changesets with 1 changes to 1 files new changesets c515b27d0516:56426f909ecb searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files To hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo * [new tag] v1.0 -> v1.0 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" 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 marked working directory as branch feature (branches are permanent and global, did you want a bookmark?) Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] Cloning into 'gitrepo'... adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 1 files new changesets e652003329f5:4fc5855e6cf1 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) progress revision 1 'feature' (0/1) * master /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 Switched to a new branch 'branches/feature' branch 'branches/feature' set up to track 'origin/branches/feature'. adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 2 files new changesets 4297e9849cfc:42e31f7ac3a3 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" /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/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'... Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 0be86505de7b:af527bc86ad0 /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) adding changesets adding manifests adding file changes added 2 changesets with 1 changes to 1 files new changesets 4979c32ff5f3:9593f96ddedf 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" 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" marked working directory as branch parent (branches are permanent and global, did you want a bookmark?) Cloning into 'gitrepo'... marked working directory as branch parent/child /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 98ae6131da2c:2d0d1b9d3446 Cloning into 'gitrepo'... 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" /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 6895114ba65e:c6d8741e190e 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 Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 0c20fd3dd633 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 Cloning into 'gitrepo'... searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files To hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo * [new tag] v1.0 -> v1.0 /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 3488983c1f04:0985421107a3 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) 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'... 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" /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo * [new branch] master -> master Cloning into 'gitrepo2'... marked working directory as branch parent (branches are permanent and global, did you want a bookmark?) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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) marked working directory as branch parent/child ok 42 - timezone issues with negative offsets # still have 2 known breakage(s) # passed all remaining 40 test(s) 1..42 Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 3a75752dcc05:379a4b4e98ca 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 Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 45dca0ef3309 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo * [new tag] v1.0 -> v1.0 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo * [new branch] master -> master Cloning into 'gitrepo2'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 b1876aef478a progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 dd7006f07a9b progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) [master 3f9c6e3] one Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 e1d100bcc183 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 4a51f53527af:4f5615b8bdd5 progress revision 1 'default' (0/5) From hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo 08e5f7b..2a0493d master -> origin/master 08e5f7b..2a0493d branches/default -> origin/branches/default HEAD is now at 2a0493d restored /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] no changes found /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:1613: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp To hg::/build/reproducible-path/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 c096e82fa8b7e8721eea4d4efef0fe707864474a) error: failed to push some refs to 'hg::/build/reproducible-path/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 c096e82fa8b7e8721eea4d4efef0fe707864474a) ok 45 - check-hg-commits with fail mode expecting success: check_hg_commits_push Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] progress revision 1 'default' (0/5) From hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo 9e67daf..a4a4251 master -> origin/master 9e67daf..a4a4251 branches/default -> origin/branches/default HEAD is now at a4a4251 restored /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:1613: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp WARNING: Pushing hg changeset 0595a0a48cf36f4e103a49a9ad28e1d1cc704814 for 0b83616b11d9a9521f42f2d4ea5d69ca3072becf WARNING: Pushing hg changeset 24c0ed4429a0c4611e9b9f5e7dbfcc75e68fb66f for 54bb6f053a4e15ba86637d95d9e9a64f224517db WARNING: Pushing hg changeset 274f674247d60972c016c1e993c847cb3921e5a1 for 003cbe88d99e49f4efa519ed5ee2cedf2e79a7ec WARNING: Pushing hg changeset 611f5db2dcba2f017f036cd2dea7c7fdb21954e1 for 058e3799eef25c215073af32f3b03e6844b7f0b6 WARNING: Pushing hg changeset 450a898a10e1fe32a594ba231f1b0ef01f560433 for a4a42510334457e1bfd7291e3917afb6e6022712 To hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo.second fffffff..a4a4251 master -> master WARNING: Pushing hg changeset 0595a0a48cf36f4e103a49a9ad28e1d1cc704814 for 0b83616b11d9a9521f42f2d4ea5d69ca3072becf WARNING: Pushing hg changeset 24c0ed4429a0c4611e9b9f5e7dbfcc75e68fb66f for 54bb6f053a4e15ba86637d95d9e9a64f224517db WARNING: Pushing hg changeset 274f674247d60972c016c1e993c847cb3921e5a1 for 003cbe88d99e49f4efa519ed5ee2cedf2e79a7ec WARNING: Pushing hg changeset 611f5db2dcba2f017f036cd2dea7c7fdb21954e1 for 058e3799eef25c215073af32f3b03e6844b7f0b6 WARNING: Pushing hg changeset 450a898a10e1fe32a594ba231f1b0ef01f560433 for a4a42510334457e1bfd7291e3917afb6e6022712 ok 46 - check-hg-commits with push mode - no local proxy expecting success: check_hg_commits_push Cloning into 'gitrepo'... /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 c7e5fbb15d3a 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 0932b21a6dbe:56d44aef615e progress revision 1 'default' (0/5) From hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo 9763ce7..449ef9b master -> origin/master 9763ce7..449ef9b branches/default -> origin/branches/default HEAD is now at 449ef9b restored /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] no changes found /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:1613: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp WARNING: Using hg changeset 0932b21a6dbebfdc2e5f59b49d8d35a11566b164 for cfcde3f7d238c44f6bb6073497500b1fcbf08b49 WARNING: Using hg changeset f614de32d91537c712a8937a2d3e73b668a516cb for 49024d3f5e64e485d2bbb10a56282ed83791d893 WARNING: Using hg changeset 89106a523f01f47855e671fb88da82d64f7bafa1 for 83f01534e06869c03303a31af9afc9f76e2e0738 WARNING: Using hg changeset 8515e7de04b858280b2ad25a74402f45388706d0 for a3be4c1ef8e8008da5cfed62565e325446550089 WARNING: Using hg changeset 56d44aef615e671221f2259efa157152d0ba9860 for 449ef9b7db20a66f92cc76427e39357609f35fa5 searching for changes adding changesets adding manifests adding file changes added 5 changesets with 5 changes to 2 files To hg::/build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo.second fffffff..449ef9b master -> master WARNING: Using hg changeset 0932b21a6dbebfdc2e5f59b49d8d35a11566b164 for cfcde3f7d238c44f6bb6073497500b1fcbf08b49 WARNING: Using hg changeset f614de32d91537c712a8937a2d3e73b668a516cb for 49024d3f5e64e485d2bbb10a56282ed83791d893 WARNING: Using hg changeset 89106a523f01f47855e671fb88da82d64f7bafa1 for 83f01534e06869c03303a31af9afc9f76e2e0738 WARNING: Using hg changeset 8515e7de04b858280b2ad25a74402f45388706d0 for a3be4c1ef8e8008da5cfed62565e325446550089 WARNING: Using hg changeset 56d44aef615e671221f2259efa157152d0ba9860 for 449ef9b7db20a66f92cc76427e39357609f35fa5 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 832b7a0f0470 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 28 drwxr-xr-x 5 pbuilder2 pbuilder2 4096 May 30 15:13 . drwxr-xr-x 9 pbuilder2 pbuilder2 4096 May 30 15:13 .. drwxr-xr-x 5 pbuilder2 pbuilder2 4096 May 30 15:13 .hg -rw-r--r-- 1 pbuilder2 pbuilder2 132 May 30 15:13 marks-git -rw-r--r-- 1 pbuilder2 pbuilder2 116 May 30 15:13 marks-hg drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 origin drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 second total 16 drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 . drwxr-xr-x 5 pbuilder2 pbuilder2 4096 May 30 15:13 .. drwxr-xr-x 3 pbuilder2 pbuilder2 4096 May 30 15:13 clone drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 refs total 16 drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 . drwxr-xr-x 5 pbuilder2 pbuilder2 4096 May 30 15:13 .. drwxr-xr-x 3 pbuilder2 pbuilder2 4096 May 30 15:13 clone drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 7de1453d7ea7 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 28 drwxr-xr-x 5 pbuilder2 pbuilder2 4096 May 30 15:13 . drwxr-xr-x 9 pbuilder2 pbuilder2 4096 May 30 15:13 .. drwxr-xr-x 5 pbuilder2 pbuilder2 4096 May 30 15:13 .hg -rw-r--r-- 1 pbuilder2 pbuilder2 132 May 30 15:13 marks-git -rw-r--r-- 1 pbuilder2 pbuilder2 116 May 30 15:13 marks-hg drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 origin drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 second total 16 drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 . drwxr-xr-x 5 pbuilder2 pbuilder2 4096 May 30 15:13 .. drwxr-xr-x 3 pbuilder2 pbuilder2 4096 May 30 15:13 clone drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 refs total 16 drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 . drwxr-xr-x 5 pbuilder2 pbuilder2 4096 May 30 15:13 .. drwxr-xr-x 3 pbuilder2 pbuilder2 4096 May 30 15:13 clone drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 refs /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] WARNING: seeded marks of origin with shared; performing gc /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-hg-helper:101: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp ERROR: found both .git/hg/origin/marks-git and .git/hg/marks-git WARNING: gc for origin failed WARNING: seeded marks of second with shared; performing gc /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-hg-helper:101: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp 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 total 20 drwxr-xr-x 5 pbuilder2 pbuilder2 4096 May 30 15:13 . drwxr-xr-x 9 pbuilder2 pbuilder2 4096 May 30 15:13 .. drwxr-xr-x 5 pbuilder2 pbuilder2 4096 May 30 15:13 .hg drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 origin drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 second total 24 drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 . drwxr-xr-x 5 pbuilder2 pbuilder2 4096 May 30 15:13 .. drwxr-xr-x 3 pbuilder2 pbuilder2 4096 May 30 15:13 clone -rw-r--r-- 1 pbuilder2 pbuilder2 132 May 30 15:13 marks-git -rw-r--r-- 1 pbuilder2 pbuilder2 116 May 30 15:13 marks-hg drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 refs total 20 drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 . drwxr-xr-x 5 pbuilder2 pbuilder2 4096 May 30 15:13 .. drwxr-xr-x 3 pbuilder2 pbuilder2 4096 May 30 15:13 clone -rw-r--r-- 1 pbuilder2 pbuilder2 0 May 30 15:13 marks-git -rw-r--r-- 1 pbuilder2 pbuilder2 71 May 30 15:13 marks-hg drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 17194ad7c350 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. 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 20 drwxr-xr-x 5 pbuilder2 pbuilder2 4096 May 30 15:13 . drwxr-xr-x 9 pbuilder2 pbuilder2 4096 May 30 15:13 .. drwxr-xr-x 5 pbuilder2 pbuilder2 4096 May 30 15:13 .hg drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 origin drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 second total 24 drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 . drwxr-xr-x 5 pbuilder2 pbuilder2 4096 May 30 15:13 .. drwxr-xr-x 3 pbuilder2 pbuilder2 4096 May 30 15:13 clone -rw-r--r-- 1 pbuilder2 pbuilder2 132 May 30 15:13 marks-git -rw-r--r-- 1 pbuilder2 pbuilder2 116 May 30 15:13 marks-hg drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 refs total 24 drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 . drwxr-xr-x 5 pbuilder2 pbuilder2 4096 May 30 15:13 .. drwxr-xr-x 3 pbuilder2 pbuilder2 4096 May 30 15:13 clone -rw-r--r-- 1 pbuilder2 pbuilder2 132 May 30 15:13 marks-git -rw-r--r-- 1 pbuilder2 pbuilder2 116 May 30 15:13 marks-hg drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 refs /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] no changes found total 20 drwxr-xr-x 5 pbuilder2 pbuilder2 4096 May 30 15:13 . drwxr-xr-x 9 pbuilder2 pbuilder2 4096 May 30 15:13 .. drwxr-xr-x 5 pbuilder2 pbuilder2 4096 May 30 15:13 .hg drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 origin drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 second total 24 drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 . drwxr-xr-x 5 pbuilder2 pbuilder2 4096 May 30 15:13 .. drwxr-xr-x 3 pbuilder2 pbuilder2 4096 May 30 15:13 clone -rw-r--r-- 1 pbuilder2 pbuilder2 132 May 30 15:13 marks-git -rw-r--r-- 1 pbuilder2 pbuilder2 116 May 30 15:13 marks-hg drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 refs total 24 drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 . drwxr-xr-x 5 pbuilder2 pbuilder2 4096 May 30 15:13 .. drwxr-xr-x 3 pbuilder2 pbuilder2 4096 May 30 15:13 clone -rw-r--r-- 1 pbuilder2 pbuilder2 132 May 30 15:13 marks-git -rw-r--r-- 1 pbuilder2 pbuilder2 116 May 30 15:13 marks-hg drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 refs /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] WARNING: using marks of remote origin as shared marks no changes found total 28 drwxr-xr-x 5 pbuilder2 pbuilder2 4096 May 30 15:13 . drwxr-xr-x 9 pbuilder2 pbuilder2 4096 May 30 15:13 .. drwxr-xr-x 5 pbuilder2 pbuilder2 4096 May 30 15:13 .hg -rw-r--r-- 1 pbuilder2 pbuilder2 132 May 30 15:13 marks-git -rw-r--r-- 1 pbuilder2 pbuilder2 116 May 30 15:13 marks-hg drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 origin drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 second total 16 drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 . drwxr-xr-x 5 pbuilder2 pbuilder2 4096 May 30 15:13 .. drwxr-xr-x 3 pbuilder2 pbuilder2 4096 May 30 15:13 clone drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 refs total 16 drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 . drwxr-xr-x 5 pbuilder2 pbuilder2 4096 May 30 15:13 .. drwxr-xr-x 3 pbuilder2 pbuilder2 4096 May 30 15:13 clone drwxr-xr-x 4 pbuilder2 pbuilder2 4096 May 30 15:13 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/reproducible-path/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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] no changes found /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:1613: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp 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: ( 2222/pbuilder2) Gid: ( 2222/pbuilder2) 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/reproducible-path/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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/gitrepo/.git/ Cloning into '/build/reproducible-path/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/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. or locale.getdefaultlocale()[1] no changes found /build/reproducible-path/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:1613: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp 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/reproducible-path/git-remote-hg-1.0.4~ds/test' rm -f -r 'trash directory'.* test-results make[3]: Leaving directory '/build/reproducible-path/git-remote-hg-1.0.4~ds/test' make[2]: Leaving directory '/build/reproducible-path/git-remote-hg-1.0.4~ds/test' make[1]: Leaving directory '/build/reproducible-path/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/reproducible-path/git-remote-hg-1.0.4~ds' dh_auto_install -- prefix=/usr install-doc make -j20 install DESTDIR=/build/reproducible-path/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/reproducible-path/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/reproducible-path/git-remote-hg-1.0.4~ds/debian/git-remote-hg/usr/share/man/man1/ install -m 644 doc/git-remote-hg.1 /build/reproducible-path/git-remote-hg-1.0.4~ds/debian/git-remote-hg/usr/share/man/man1/git-remote-hg.1 install -d -m 755 /build/reproducible-path/git-remote-hg-1.0.4~ds/debian/git-remote-hg/usr/bin/ install -m 755 bin/git-remote-hg /build/reproducible-path/git-remote-hg-1.0.4~ds/debian/git-remote-hg/usr/bin/git-remote-hg install -m 755 bin/git-hg-helper /build/reproducible-path/git-remote-hg-1.0.4~ds/debian/git-remote-hg/usr/bin/git-hg-helper make[2]: Leaving directory '/build/reproducible-path/git-remote-hg-1.0.4~ds' make[1]: Leaving directory '/build/reproducible-path/git-remote-hg-1.0.4~ds' dh_installdocs dh_installchangelogs dh_installman dh_python3 I: dh_python3 tools:113: replacing shebang in debian/git-remote-hg/usr/bin/git-hg-helper I: dh_python3 tools:113: 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: user script /srv/workspace/pbuilder/2268542/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/2268542/tmp/hooks/B01_cleanup finished 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/2268542 and its subdirectories I: Current time: Fri May 31 05:14:00 +14 2024 I: pbuilder-time-stamp: 1717082040