I: pbuilder: network access will be disabled during build I: Current time: Fri Jun 9 10:24:08 +14 2023 I: pbuilder-time-stamp: 1686255848 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [git-remote-hg_1.0.4~ds-1.dsc] I: copying [./git-remote-hg_1.0.4~ds.orig.tar.xz] I: copying [./git-remote-hg_1.0.4~ds-1.debian.tar.xz] I: Extracting source gpgv: Signature made Thu Dec 8 16:17:37 2022 +14 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/21585/tmp/hooks/D01_modify_environment starting debug: Running on virt64b. 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 Jun 9 10:24 /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/21585/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/21585/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]="15" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") BASH_VERSION='5.2.15(1)-release' BUILDDIR=/build BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=armhf DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' DIRSTACK=() DISTRIBUTION=bookworm EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=arm HOST_ARCH=armhf IFS=' ' INVOCATION_ID=802891cabf3d4cb38bf3c79676b65d17 LANG=C LANGUAGE=it_CH:it LC_ALL=C MACHTYPE=arm-unknown-linux-gnueabihf MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnueabihf 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=21585 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.8sKNxJi4/pbuilderrc_F4Q6 --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.8sKNxJi4/b2 --logfile b2/build.log --extrapackages usrmerge git-remote-hg_1.0.4~ds-1.dsc' SUDO_GID=113 SUDO_UID=107 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://10.0.0.15:3142/ I: uname -a Linux i-capture-the-hostname 5.10.0-23-arm64 #1 SMP Debian 5.10.179-1 (2023-05-12) aarch64 GNU/Linux I: ls -l /bin total 5072 -rwxr-xr-x 1 root root 838488 Apr 24 11:24 bash -rwxr-xr-x 3 root root 67144 Sep 19 2022 bunzip2 -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzcat lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzip2 -rwxr-xr-x 1 root root 67112 Sep 19 2022 bzip2recover lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore -rwxr-xr-x 1 root root 67632 Sep 21 2022 cat -rwxr-xr-x 1 root root 67676 Sep 21 2022 chgrp -rwxr-xr-x 1 root root 67644 Sep 21 2022 chmod -rwxr-xr-x 1 root root 67684 Sep 21 2022 chown -rwxr-xr-x 1 root root 133532 Sep 21 2022 cp -rwxr-xr-x 1 root root 132868 Jan 6 03:20 dash -rwxr-xr-x 1 root root 133220 Sep 21 2022 date -rwxr-xr-x 1 root root 67732 Sep 21 2022 dd -rwxr-xr-x 1 root root 68104 Sep 21 2022 df -rwxr-xr-x 1 root root 133632 Sep 21 2022 dir -rwxr-xr-x 1 root root 59128 Mar 23 23:02 dmesg lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname -rwxr-xr-x 1 root root 67560 Sep 21 2022 echo -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep -rwxr-xr-x 1 root root 67548 Sep 21 2022 false -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep -rwxr-xr-x 1 root root 55748 Mar 23 23:02 findmnt -rwsr-xr-x 1 root root 26208 Mar 23 22:15 fusermount -rwxr-xr-x 1 root root 128608 Jan 25 04:43 grep -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe -rwxr-xr-x 1 root root 64220 Apr 10 2022 gzip -rwxr-xr-x 1 root root 67032 Dec 20 03:33 hostname -rwxr-xr-x 1 root root 67720 Sep 21 2022 ln -rwxr-xr-x 1 root root 35132 Mar 23 23:51 login -rwxr-xr-x 1 root root 133632 Sep 21 2022 ls -rwxr-xr-x 1 root root 136808 Mar 23 23:02 lsblk -rwxr-xr-x 1 root root 67800 Sep 21 2022 mkdir -rwxr-xr-x 1 root root 67764 Sep 21 2022 mknod -rwxr-xr-x 1 root root 67596 Sep 21 2022 mktemp -rwxr-xr-x 1 root root 38504 Mar 23 23:02 more -rwsr-xr-x 1 root root 38496 Mar 23 23:02 mount -rwxr-xr-x 1 root root 9824 Mar 23 23:02 mountpoint -rwxr-xr-x 1 root root 133532 Sep 21 2022 mv lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 67608 Sep 21 2022 pwd lrwxrwxrwx 1 root root 4 Apr 24 11:24 rbash -> bash -rwxr-xr-x 1 root root 67600 Sep 21 2022 readlink -rwxr-xr-x 1 root root 67672 Sep 21 2022 rm -rwxr-xr-x 1 root root 67600 Sep 21 2022 rmdir -rwxr-xr-x 1 root root 67400 Nov 3 2022 run-parts -rwxr-xr-x 1 root root 133372 Jan 6 09:55 sed lrwxrwxrwx 1 root root 9 Jun 9 10:24 sh -> /bin/bash -rwxr-xr-x 1 root root 67584 Sep 21 2022 sleep -rwxr-xr-x 1 root root 67644 Sep 21 2022 stty -rwsr-xr-x 1 root root 50800 Mar 23 23:02 su -rwxr-xr-x 1 root root 67584 Sep 21 2022 sync -rwxr-xr-x 1 root root 336764 Apr 7 04:25 tar -rwxr-xr-x 1 root root 67144 Nov 3 2022 tempfile -rwxr-xr-x 1 root root 133224 Sep 21 2022 touch -rwxr-xr-x 1 root root 67548 Sep 21 2022 true -rwxr-xr-x 1 root root 9768 Mar 23 22:15 ulockmgr_server -rwsr-xr-x 1 root root 22108 Mar 23 23:02 umount -rwxr-xr-x 1 root root 67572 Sep 21 2022 uname -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress -rwxr-xr-x 1 root root 133632 Sep 21 2022 vdir -rwxr-xr-x 1 root root 42608 Mar 23 23:02 wdctl lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew I: user script /srv/workspace/pbuilder/21585/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: armhf 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 ... 19324 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-sequence-python3; however: Package dh-sequence-python3 is not installed. pbuilder-satisfydepends-dummy depends on asciidoc; however: Package asciidoc is not installed. pbuilder-satisfydepends-dummy depends on git; however: Package git is not installed. pbuilder-satisfydepends-dummy depends on mercurial (>= 5.8~); however: Package mercurial is not installed. pbuilder-satisfydepends-dummy depends on mercurial-git; however: Package mercurial-git is not installed. pbuilder-satisfydepends-dummy depends on python3; however: Package python3 is not installed. pbuilder-satisfydepends-dummy depends on sharness; however: Package sharness is not installed. pbuilder-satisfydepends-dummy depends on xmlto; however: Package xmlto is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: asciidoc{a} asciidoc-base{a} asciidoc-common{a} autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-python{a} dh-strip-nondeterminism{a} docbook-xml{a} docbook-xsl{a} dwz{a} file{a} gettext{a} gettext-base{a} git{a} git-man{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbrotli1{a} libcurl3-gnutls{a} libdebhelper-perl{a} libelf1{a} liberror-perl{a} libexpat1{a} libfile-stripnondeterminism-perl{a} libicu72{a} libldap-2.5-0{a} libmagic-mgc{a} libmagic1{a} libnghttp2-14{a} libpipeline1{a} libpsl5{a} libpython3-stdlib{a} libpython3.11-minimal{a} libpython3.11-stdlib{a} libreadline8{a} librtmp1{a} libsasl2-2{a} libsasl2-modules-db{a} libssh2-1{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} libxml2-utils{a} libxslt1.1{a} m4{a} man-db{a} media-types{a} mercurial{a} mercurial-common{a} mercurial-git{a} po-debconf{a} python3{a} python3-distutils{a} python3-dulwich{a} python3-lib2to3{a} python3-minimal{a} python3-six{a} python3-urllib3{a} python3.11{a} python3.11-minimal{a} readline-common{a} sensible-utils{a} sgml-base{a} sgml-data{a} sharness{a} ucf{a} xml-core{a} xmlto{a} xsltproc{a} The following packages are RECOMMENDED but will NOT be installed: asciidoc-dblatex ca-certificates curl dblatex fop less libarchive-cpio-perl libldap-common libltdl-dev libmail-sendmail-perl libpaper-utils libsasl2-modules lynx openssh-client publicsuffix python3-fastimport wget zip 0 packages upgraded, 76 newly installed, 0 to remove and 0 not upgraded. Need to get 38.6 MB of archives. After unpacking 167 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main armhf libpython3.11-minimal armhf 3.11.2-6 [798 kB] Get: 2 http://deb.debian.org/debian bookworm/main armhf libexpat1 armhf 2.5.0-1 [79.9 kB] Get: 3 http://deb.debian.org/debian bookworm/main armhf python3.11-minimal armhf 3.11.2-6 [1714 kB] Get: 4 http://deb.debian.org/debian bookworm/main armhf python3-minimal armhf 3.11.2-1+b1 [26.3 kB] Get: 5 http://deb.debian.org/debian bookworm/main armhf media-types all 10.0.0 [26.1 kB] Get: 6 http://deb.debian.org/debian bookworm/main armhf readline-common all 8.2-1.3 [69.0 kB] Get: 7 http://deb.debian.org/debian bookworm/main armhf libreadline8 armhf 8.2-1.3 [144 kB] Get: 8 http://deb.debian.org/debian bookworm/main armhf libpython3.11-stdlib armhf 3.11.2-6 [1678 kB] Get: 9 http://deb.debian.org/debian bookworm/main armhf python3.11 armhf 3.11.2-6 [572 kB] Get: 10 http://deb.debian.org/debian bookworm/main armhf libpython3-stdlib armhf 3.11.2-1+b1 [9296 B] Get: 11 http://deb.debian.org/debian bookworm/main armhf python3 armhf 3.11.2-1+b1 [26.3 kB] Get: 12 http://deb.debian.org/debian bookworm/main armhf sgml-base all 1.31 [15.4 kB] Get: 13 http://deb.debian.org/debian bookworm/main armhf sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 14 http://deb.debian.org/debian bookworm/main armhf libmagic-mgc armhf 1:5.44-3 [305 kB] Get: 15 http://deb.debian.org/debian bookworm/main armhf libmagic1 armhf 1:5.44-3 [96.5 kB] Get: 16 http://deb.debian.org/debian bookworm/main armhf file armhf 1:5.44-3 [41.6 kB] Get: 17 http://deb.debian.org/debian bookworm/main armhf gettext-base armhf 0.21-12 [157 kB] Get: 18 http://deb.debian.org/debian bookworm/main armhf libuchardet0 armhf 0.0.7-1 [65.0 kB] Get: 19 http://deb.debian.org/debian bookworm/main armhf groff-base armhf 1.22.4-10 [825 kB] Get: 20 http://deb.debian.org/debian bookworm/main armhf bsdextrautils armhf 2.38.1-5+b1 [78.6 kB] Get: 21 http://deb.debian.org/debian bookworm/main armhf libpipeline1 armhf 1.5.7-1 [33.6 kB] Get: 22 http://deb.debian.org/debian bookworm/main armhf man-db armhf 2.11.2-2 [1351 kB] Get: 23 http://deb.debian.org/debian bookworm/main armhf ucf all 3.0043+nmu1 [55.2 kB] Get: 24 http://deb.debian.org/debian bookworm/main armhf asciidoc-common all 10.2.0-1 [109 kB] Get: 25 http://deb.debian.org/debian bookworm/main armhf xml-core all 0.18+nmu1 [23.8 kB] Get: 26 http://deb.debian.org/debian bookworm/main armhf docbook-xsl all 1.79.2+dfsg-2 [1237 kB] Get: 27 http://deb.debian.org/debian bookworm/main armhf libicu72 armhf 72.1-3 [9048 kB] Get: 28 http://deb.debian.org/debian bookworm/main armhf libxml2 armhf 2.9.14+dfsg-1.2 [591 kB] Get: 29 http://deb.debian.org/debian bookworm/main armhf libxml2-utils armhf 2.9.14+dfsg-1.2 [97.4 kB] Get: 30 http://deb.debian.org/debian bookworm/main armhf libxslt1.1 armhf 1.1.35-1 [223 kB] Get: 31 http://deb.debian.org/debian bookworm/main armhf xsltproc armhf 1.1.35-1 [126 kB] Get: 32 http://deb.debian.org/debian bookworm/main armhf asciidoc-base all 10.2.0-1 [89.5 kB] Get: 33 http://deb.debian.org/debian bookworm/main armhf asciidoc all 10.2.0-1 [10.5 kB] Get: 34 http://deb.debian.org/debian bookworm/main armhf m4 armhf 1.4.19-3 [265 kB] Get: 35 http://deb.debian.org/debian bookworm/main armhf autoconf all 2.71-3 [332 kB] Get: 36 http://deb.debian.org/debian bookworm/main armhf autotools-dev all 20220109.1 [51.6 kB] Get: 37 http://deb.debian.org/debian bookworm/main armhf automake all 1:1.16.5-1.3 [823 kB] Get: 38 http://deb.debian.org/debian bookworm/main armhf autopoint all 0.21-12 [495 kB] Get: 39 http://deb.debian.org/debian bookworm/main armhf libdebhelper-perl all 13.11.4 [81.2 kB] Get: 40 http://deb.debian.org/debian bookworm/main armhf libtool all 2.4.7-5 [517 kB] Get: 41 http://deb.debian.org/debian bookworm/main armhf dh-autoreconf all 20 [17.1 kB] Get: 42 http://deb.debian.org/debian bookworm/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 43 http://deb.debian.org/debian bookworm/main armhf libsub-override-perl all 0.09-4 [9304 B] Get: 44 http://deb.debian.org/debian bookworm/main armhf libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 45 http://deb.debian.org/debian bookworm/main armhf dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 46 http://deb.debian.org/debian bookworm/main armhf libelf1 armhf 0.188-2.1 [170 kB] Get: 47 http://deb.debian.org/debian bookworm/main armhf dwz armhf 0.15-1 [101 kB] Get: 48 http://deb.debian.org/debian bookworm/main armhf gettext armhf 0.21-12 [1229 kB] Get: 49 http://deb.debian.org/debian bookworm/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 50 http://deb.debian.org/debian bookworm/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 51 http://deb.debian.org/debian bookworm/main armhf debhelper all 13.11.4 [942 kB] Get: 52 http://deb.debian.org/debian bookworm/main armhf python3-lib2to3 all 3.11.2-3 [76.3 kB] Get: 53 http://deb.debian.org/debian bookworm/main armhf python3-distutils all 3.11.2-3 [131 kB] Get: 54 http://deb.debian.org/debian bookworm/main armhf dh-python all 5.20230130 [104 kB] Get: 55 http://deb.debian.org/debian bookworm/main armhf sgml-data all 2.0.11+nmu1 [179 kB] Get: 56 http://deb.debian.org/debian bookworm/main armhf docbook-xml all 4.5-12 [85.2 kB] Get: 57 http://deb.debian.org/debian bookworm/main armhf libbrotli1 armhf 1.0.9-2+b6 [271 kB] Get: 58 http://deb.debian.org/debian bookworm/main armhf libsasl2-modules-db armhf 2.1.28+dfsg-10 [19.0 kB] Get: 59 http://deb.debian.org/debian bookworm/main armhf libsasl2-2 armhf 2.1.28+dfsg-10 [52.3 kB] Get: 60 http://deb.debian.org/debian bookworm/main armhf libldap-2.5-0 armhf 2.5.13+dfsg-5 [158 kB] Get: 61 http://deb.debian.org/debian bookworm/main armhf libnghttp2-14 armhf 1.52.0-1 [60.8 kB] Get: 62 http://deb.debian.org/debian bookworm/main armhf libpsl5 armhf 0.21.2-1 [57.5 kB] Get: 63 http://deb.debian.org/debian bookworm/main armhf librtmp1 armhf 2.4+20151223.gitfa8646d.1-2+b2 [55.2 kB] Get: 64 http://deb.debian.org/debian bookworm/main armhf libssh2-1 armhf 1.10.0-3+b1 [163 kB] Get: 65 http://deb.debian.org/debian bookworm/main armhf libcurl3-gnutls armhf 7.88.1-10 [343 kB] Get: 66 http://deb.debian.org/debian bookworm/main armhf liberror-perl all 0.17029-2 [29.0 kB] Get: 67 http://deb.debian.org/debian bookworm/main armhf git-man all 1:2.39.2-1.1 [2049 kB] Get: 68 http://deb.debian.org/debian bookworm/main armhf git armhf 1:2.39.2-1.1 [5959 kB] Get: 69 http://deb.debian.org/debian bookworm/main armhf mercurial-common all 6.3.2-1 [2768 kB] Get: 70 http://deb.debian.org/debian bookworm/main armhf mercurial armhf 6.3.2-1 [287 kB] Get: 71 http://deb.debian.org/debian bookworm/main armhf python3-six all 1.16.0-4 [17.5 kB] Get: 72 http://deb.debian.org/debian bookworm/main armhf python3-urllib3 all 1.26.12-1 [117 kB] Get: 73 http://deb.debian.org/debian bookworm/main armhf python3-dulwich armhf 0.21.2-1+b1 [318 kB] Get: 74 http://deb.debian.org/debian bookworm/main armhf mercurial-git all 1.0.1-1 [62.1 kB] Get: 75 http://deb.debian.org/debian bookworm/main armhf sharness all 1.0.0-1.1 [28.6 kB] Get: 76 http://deb.debian.org/debian bookworm/main armhf xmlto armhf 0.0.28-2.1 [32.5 kB] Fetched 38.6 MB in 9s (4371 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:armhf. (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 ... 19324 files and directories currently installed.) Preparing to unpack .../libpython3.11-minimal_3.11.2-6_armhf.deb ... Unpacking libpython3.11-minimal:armhf (3.11.2-6) ... Selecting previously unselected package libexpat1:armhf. Preparing to unpack .../libexpat1_2.5.0-1_armhf.deb ... Unpacking libexpat1:armhf (2.5.0-1) ... Selecting previously unselected package python3.11-minimal. Preparing to unpack .../python3.11-minimal_3.11.2-6_armhf.deb ... Unpacking python3.11-minimal (3.11.2-6) ... Setting up libpython3.11-minimal:armhf (3.11.2-6) ... Setting up libexpat1:armhf (2.5.0-1) ... Setting up python3.11-minimal (3.11.2-6) ... Selecting previously unselected package python3-minimal. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19640 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.11.2-1+b1_armhf.deb ... Unpacking python3-minimal (3.11.2-1+b1) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_10.0.0_all.deb ... Unpacking media-types (10.0.0) ... Selecting previously unselected package readline-common. Preparing to unpack .../2-readline-common_8.2-1.3_all.deb ... Unpacking readline-common (8.2-1.3) ... Selecting previously unselected package libreadline8:armhf. Preparing to unpack .../3-libreadline8_8.2-1.3_armhf.deb ... Unpacking libreadline8:armhf (8.2-1.3) ... Selecting previously unselected package libpython3.11-stdlib:armhf. Preparing to unpack .../4-libpython3.11-stdlib_3.11.2-6_armhf.deb ... Unpacking libpython3.11-stdlib:armhf (3.11.2-6) ... Selecting previously unselected package python3.11. Preparing to unpack .../5-python3.11_3.11.2-6_armhf.deb ... Unpacking python3.11 (3.11.2-6) ... Selecting previously unselected package libpython3-stdlib:armhf. Preparing to unpack .../6-libpython3-stdlib_3.11.2-1+b1_armhf.deb ... Unpacking libpython3-stdlib:armhf (3.11.2-1+b1) ... Setting up python3-minimal (3.11.2-1+b1) ... Selecting previously unselected package python3. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20074 files and directories currently installed.) Preparing to unpack .../00-python3_3.11.2-1+b1_armhf.deb ... Unpacking python3 (3.11.2-1+b1) ... Selecting previously unselected package sgml-base. Preparing to unpack .../01-sgml-base_1.31_all.deb ... Unpacking sgml-base (1.31) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../02-sensible-utils_0.0.17+nmu1_all.deb ... Unpacking sensible-utils (0.0.17+nmu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../03-libmagic-mgc_1%3a5.44-3_armhf.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../04-libmagic1_1%3a5.44-3_armhf.deb ... Unpacking libmagic1:armhf (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../05-file_1%3a5.44-3_armhf.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../06-gettext-base_0.21-12_armhf.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../07-libuchardet0_0.0.7-1_armhf.deb ... Unpacking libuchardet0:armhf (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../08-groff-base_1.22.4-10_armhf.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../09-bsdextrautils_2.38.1-5+b1_armhf.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../10-libpipeline1_1.5.7-1_armhf.deb ... Unpacking libpipeline1:armhf (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../11-man-db_2.11.2-2_armhf.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package ucf. Preparing to unpack .../12-ucf_3.0043+nmu1_all.deb ... Moving old data out of the way Unpacking ucf (3.0043+nmu1) ... Selecting previously unselected package asciidoc-common. Preparing to unpack .../13-asciidoc-common_10.2.0-1_all.deb ... Unpacking asciidoc-common (10.2.0-1) ... Selecting previously unselected package xml-core. Preparing to unpack .../14-xml-core_0.18+nmu1_all.deb ... Unpacking xml-core (0.18+nmu1) ... Selecting previously unselected package docbook-xsl. Preparing to unpack .../15-docbook-xsl_1.79.2+dfsg-2_all.deb ... Unpacking docbook-xsl (1.79.2+dfsg-2) ... Selecting previously unselected package libicu72:armhf. Preparing to unpack .../16-libicu72_72.1-3_armhf.deb ... Unpacking libicu72:armhf (72.1-3) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../17-libxml2_2.9.14+dfsg-1.2_armhf.deb ... Unpacking libxml2:armhf (2.9.14+dfsg-1.2) ... Selecting previously unselected package libxml2-utils. Preparing to unpack .../18-libxml2-utils_2.9.14+dfsg-1.2_armhf.deb ... Unpacking libxml2-utils (2.9.14+dfsg-1.2) ... Selecting previously unselected package libxslt1.1:armhf. Preparing to unpack .../19-libxslt1.1_1.1.35-1_armhf.deb ... Unpacking libxslt1.1:armhf (1.1.35-1) ... Selecting previously unselected package xsltproc. Preparing to unpack .../20-xsltproc_1.1.35-1_armhf.deb ... Unpacking xsltproc (1.1.35-1) ... Selecting previously unselected package asciidoc-base. Preparing to unpack .../21-asciidoc-base_10.2.0-1_all.deb ... Unpacking asciidoc-base (10.2.0-1) ... Selecting previously unselected package asciidoc. Preparing to unpack .../22-asciidoc_10.2.0-1_all.deb ... Unpacking asciidoc (10.2.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../23-m4_1.4.19-3_armhf.deb ... Unpacking m4 (1.4.19-3) ... Selecting previously unselected package autoconf. Preparing to unpack .../24-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../25-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../26-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../27-autopoint_0.21-12_all.deb ... Unpacking autopoint (0.21-12) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../28-libdebhelper-perl_13.11.4_all.deb ... Unpacking libdebhelper-perl (13.11.4) ... Selecting previously unselected package libtool. Preparing to unpack .../29-libtool_2.4.7-5_all.deb ... Unpacking libtool (2.4.7-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../30-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../31-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../32-libsub-override-perl_0.09-4_all.deb ... Unpacking libsub-override-perl (0.09-4) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../33-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../34-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:armhf. Preparing to unpack .../35-libelf1_0.188-2.1_armhf.deb ... Unpacking libelf1:armhf (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../36-dwz_0.15-1_armhf.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package gettext. Preparing to unpack .../37-gettext_0.21-12_armhf.deb ... Unpacking gettext (0.21-12) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../38-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../39-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../40-debhelper_13.11.4_all.deb ... Unpacking debhelper (13.11.4) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../41-python3-lib2to3_3.11.2-3_all.deb ... Unpacking python3-lib2to3 (3.11.2-3) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../42-python3-distutils_3.11.2-3_all.deb ... Unpacking python3-distutils (3.11.2-3) ... Selecting previously unselected package dh-python. Preparing to unpack .../43-dh-python_5.20230130_all.deb ... Unpacking dh-python (5.20230130) ... Selecting previously unselected package sgml-data. Preparing to unpack .../44-sgml-data_2.0.11+nmu1_all.deb ... Unpacking sgml-data (2.0.11+nmu1) ... Selecting previously unselected package docbook-xml. Preparing to unpack .../45-docbook-xml_4.5-12_all.deb ... Unpacking docbook-xml (4.5-12) ... Selecting previously unselected package libbrotli1:armhf. Preparing to unpack .../46-libbrotli1_1.0.9-2+b6_armhf.deb ... Unpacking libbrotli1:armhf (1.0.9-2+b6) ... Selecting previously unselected package libsasl2-modules-db:armhf. Preparing to unpack .../47-libsasl2-modules-db_2.1.28+dfsg-10_armhf.deb ... Unpacking libsasl2-modules-db:armhf (2.1.28+dfsg-10) ... Selecting previously unselected package libsasl2-2:armhf. Preparing to unpack .../48-libsasl2-2_2.1.28+dfsg-10_armhf.deb ... Unpacking libsasl2-2:armhf (2.1.28+dfsg-10) ... Selecting previously unselected package libldap-2.5-0:armhf. Preparing to unpack .../49-libldap-2.5-0_2.5.13+dfsg-5_armhf.deb ... Unpacking libldap-2.5-0:armhf (2.5.13+dfsg-5) ... Selecting previously unselected package libnghttp2-14:armhf. Preparing to unpack .../50-libnghttp2-14_1.52.0-1_armhf.deb ... Unpacking libnghttp2-14:armhf (1.52.0-1) ... Selecting previously unselected package libpsl5:armhf. Preparing to unpack .../51-libpsl5_0.21.2-1_armhf.deb ... Unpacking libpsl5:armhf (0.21.2-1) ... Selecting previously unselected package librtmp1:armhf. Preparing to unpack .../52-librtmp1_2.4+20151223.gitfa8646d.1-2+b2_armhf.deb ... Unpacking librtmp1:armhf (2.4+20151223.gitfa8646d.1-2+b2) ... Selecting previously unselected package libssh2-1:armhf. Preparing to unpack .../53-libssh2-1_1.10.0-3+b1_armhf.deb ... Unpacking libssh2-1:armhf (1.10.0-3+b1) ... Selecting previously unselected package libcurl3-gnutls:armhf. Preparing to unpack .../54-libcurl3-gnutls_7.88.1-10_armhf.deb ... Unpacking libcurl3-gnutls:armhf (7.88.1-10) ... Selecting previously unselected package liberror-perl. Preparing to unpack .../55-liberror-perl_0.17029-2_all.deb ... Unpacking liberror-perl (0.17029-2) ... Selecting previously unselected package git-man. Preparing to unpack .../56-git-man_1%3a2.39.2-1.1_all.deb ... Unpacking git-man (1:2.39.2-1.1) ... Selecting previously unselected package git. Preparing to unpack .../57-git_1%3a2.39.2-1.1_armhf.deb ... Unpacking git (1:2.39.2-1.1) ... Selecting previously unselected package mercurial-common. Preparing to unpack .../58-mercurial-common_6.3.2-1_all.deb ... Unpacking mercurial-common (6.3.2-1) ... Selecting previously unselected package mercurial. Preparing to unpack .../59-mercurial_6.3.2-1_armhf.deb ... Unpacking mercurial (6.3.2-1) ... Selecting previously unselected package python3-six. Preparing to unpack .../60-python3-six_1.16.0-4_all.deb ... Unpacking python3-six (1.16.0-4) ... Selecting previously unselected package python3-urllib3. Preparing to unpack .../61-python3-urllib3_1.26.12-1_all.deb ... Unpacking python3-urllib3 (1.26.12-1) ... Selecting previously unselected package python3-dulwich. Preparing to unpack .../62-python3-dulwich_0.21.2-1+b1_armhf.deb ... Unpacking python3-dulwich (0.21.2-1+b1) ... Selecting previously unselected package mercurial-git. Preparing to unpack .../63-mercurial-git_1.0.1-1_all.deb ... Unpacking mercurial-git (1.0.1-1) ... Selecting previously unselected package sharness. Preparing to unpack .../64-sharness_1.0.0-1.1_all.deb ... Unpacking sharness (1.0.0-1.1) ... Selecting previously unselected package xmlto. Preparing to unpack .../65-xmlto_0.0.28-2.1_armhf.deb ... Unpacking xmlto (0.0.28-2.1) ... Setting up media-types (10.0.0) ... Setting up libpipeline1:armhf (1.5.7-1) ... Setting up libpsl5:armhf (0.21.2-1) ... Setting up libicu72:armhf (72.1-3) ... Setting up bsdextrautils (2.38.1-5+b1) ... Setting up libmagic-mgc (1:5.44-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.11.4) ... Setting up libbrotli1:armhf (1.0.9-2+b6) ... Setting up libnghttp2-14:armhf (1.52.0-1) ... Setting up libmagic1:armhf (1:5.44-3) ... Setting up gettext-base (0.21-12) ... Setting up m4 (1.4.19-3) ... Setting up file (1:5.44-3) ... Setting up libsasl2-modules-db:armhf (2.1.28+dfsg-10) ... Setting up liberror-perl (0.17029-2) ... Setting up autotools-dev (20220109.1) ... Setting up librtmp1:armhf (2.4+20151223.gitfa8646d.1-2+b2) ... Setting up autopoint (0.21-12) ... Setting up sharness (1.0.0-1.1) ... Setting up libsasl2-2:armhf (2.1.28+dfsg-10) ... Setting up autoconf (2.71-3) ... Setting up sensible-utils (0.0.17+nmu1) ... Setting up libuchardet0:armhf (0.0.7-1) ... Setting up libsub-override-perl (0.09-4) ... Setting up git-man (1:2.39.2-1.1) ... Setting up libssh2-1:armhf (1.10.0-3+b1) ... Setting up sgml-base (1.31) ... Setting up libelf1:armhf (0.188-2.1) ... Setting up readline-common (8.2-1.3) ... Setting up libxml2:armhf (2.9.14+dfsg-1.2) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up gettext (0.21-12) ... Setting up libtool (2.4.7-5) ... Setting up libreadline8:armhf (8.2-1.3) ... Setting up libldap-2.5-0:armhf (2.5.13+dfsg-5) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up ucf (3.0043+nmu1) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.22.4-10) ... Setting up xml-core (0.18+nmu1) ... Setting up libxslt1.1:armhf (1.1.35-1) ... Setting up libxml2-utils (2.9.14+dfsg-1.2) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libpython3.11-stdlib:armhf (3.11.2-6) ... Setting up xsltproc (1.1.35-1) ... Setting up libcurl3-gnutls:armhf (7.88.1-10) ... Setting up man-db (2.11.2-2) ... Not building database; man-db/auto-update is not 'true'. Setting up git (1:2.39.2-1.1) ... Setting up libpython3-stdlib:armhf (3.11.2-1+b1) ... Setting up python3.11 (3.11.2-6) ... Setting up debhelper (13.11.4) ... Setting up python3 (3.11.2-1+b1) ... Setting up python3-six (1.16.0-4) ... Setting up asciidoc-common (10.2.0-1) ... Setting up python3-urllib3 (1.26.12-1) ... Setting up python3-dulwich (0.21.2-1+b1) ... Setting up python3-lib2to3 (3.11.2-3) ... Setting up python3-distutils (3.11.2-3) ... Setting up dh-python (5.20230130) ... Setting up mercurial-common (6.3.2-1) ... Setting up mercurial (6.3.2-1) ... Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version Setting up mercurial-git (1.0.1-1) ... mercurial-git extension is disabled by default. You can follow the instructions in /usr/share/doc/mercurial-git/README.Debian to enable it. Processing triggers for libc-bin (2.36-9) ... Processing triggers for sgml-base (1.31) ... Setting up docbook-xsl (1.79.2+dfsg-2) ... Setting up sgml-data (2.0.11+nmu1) ... Setting up asciidoc-base (10.2.0-1) ... Setting up asciidoc (10.2.0-1) ... Processing triggers for sgml-base (1.31) ... Setting up docbook-xml (4.5-12) ... Processing triggers for sgml-base (1.31) ... Setting up xmlto (0.0.28-2.1) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... usrmerge is already the newest version (35). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: user script /srv/workspace/pbuilder/21585/tmp/hooks/A99_set_merged_usr starting Re-configuring usrmerge... removed '/etc/unsupported-skip-usrmerge-conversion' The system has been successfully converted. I: user script /srv/workspace/pbuilder/21585/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/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 armhf debian/rules clean dh clean dh_auto_clean make -j4 clean make[1]: Entering directory '/build/git-remote-hg-1.0.4~ds' rm -f doc/git-remote-hg.1 rm -f -r bin/ make[1]: Leaving directory '/build/git-remote-hg-1.0.4~ds' dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure dh_auto_build make -j4 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/git-remote-hg-1.0.4~ds' if [ -n "$PYTHON" ] && "$PYTHON" -c 'import mercurial' 2> /dev/null ; then \ : Use chosen Python version ; \ elif python3 -c 'import mercurial' 2> /dev/null ; then \ PYTHON=python3 ; \ elif python2 -c 'import mercurial' 2> /dev/null ; then \ PYTHON=python2 ; \ elif python -c 'import mercurial' 2> /dev/null ; then \ PYTHON=python ; \ else \ echo 'Python with Mercurial not available' >&2 ; \ exit 1 ; \ fi ; \ mkdir -p bin ; \ for s in git-remote-hg git-hg-helper ; do \ printf "%s\n" "#!/usr/bin/env $PYTHON" > "bin/$s" ; \ tail -n +2 "./$s" >> "bin/$s" ; \ chmod 755 "bin/$s" ; \ touch -r "./$s" "bin/$s" ; \ done a2x -d manpage -f manpage doc/git-remote-hg.txt make[1]: Leaving directory '/build/git-remote-hg-1.0.4~ds' dh_auto_test make -j4 test make[1]: Entering directory '/build/git-remote-hg-1.0.4~ds' make -C test make[2]: Entering directory '/build/git-remote-hg-1.0.4~ds/test' /bin/sh main.t --verbose /bin/sh main-push.t --verbose /bin/sh bidi.t --verbose /bin/sh helper.t --verbose expecting success: 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 /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata ok 1 - setup expecting success: test_when_finished "rm -rf gitrepo*" && git clone "hg::hgrepo" gitrepo && check gitrepo HEAD zero ok 1 - setup expecting success: test_when_finished "rm -rf gitrepo*" && git clone "hg::hgrepo" gitrepo && check gitrepo HEAD zero Cloning into 'gitrepo'... Cloning into 'gitrepo'... Cloning into 'gitrepo'... sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 4 changeset con 4 modifiche a 4 file /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file sto aggiungendo i changeset aggiunti 1 changeset con 1 modifiche a 1 file sto aggiungendo i manifesti new changesets 7bb94e93e5e7 sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 7bb94e93e5e7 aggiunti 1 changeset con 1 modifiche a 1 file new changesets 7bb94e93e5e7 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) 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 marcata directory di lavoro come branch next (branches are permanent and global, did you want a bookmark?) /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] marcata directory di lavoro come branch next (branches are permanent and global, did you want a bookmark?) sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 4 changeset con 4 modifiche a 4 file new changesets 1e3e49d2cc8f:6674f1c866b5 progress revision walk 'bookmarks/master' (3/3) progress revision 0 'master' (0/4) 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 Cloning into 'gitrepo'... Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file sto aggiungendo i changeset /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 2 modifiche a 1 file new changesets 7bb94e93e5e7:ef7a56f7c9ee aggiunti 2 changeset con 2 modifiche a 1 file new changesets 7bb94e93e5e7:3e0f6f7b1f85 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) sto cercando modifiche nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 4 changeset con 4 modifiche a 4 file 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 Cloning into 'gitrepo'... ok 3 - cloning with branches expecting success: test_when_finished "rm -rf gitrepo*" && ( cd hgrepo && hg checkout default && hg bookmark feature-a && echo feature-a > content && hg commit -m feature-a ) && git clone "hg::hgrepo" gitrepo && check gitrepo origin/feature-a feature-a 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/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] 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 Cloning into 'gitrepo'... [master (root-commit) 223a6f6] add alpha Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 alpha Cloning into 'gitrepo'... [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' 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 [master 74dc957] remove alpha Author: A U Thor 1 file changed, 1 deletion(-) delete mode 100644 alpha rm 'foo/bar' [master ea36818] remove foo/bar Author: A U Thor 1 file changed, 1 deletion(-) delete mode 100644 foo/bar /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark feature-a aggiunti 3 changeset con 3 modifiche a 1 file (+1 head) new changesets 7bb94e93e5e7:73a8e942615b progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/2) progress revision 1 'next' (0/1) sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark feature-a aggiunti 3 changeset con 3 modifiche a 1 file (+1 head) new changesets 7bb94e93e5e7:b3b56d2d55c1 /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 4 - cloning with bookmarks progress revision walk 'bookmarks/master' (2/2) 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 progress revision 0 'master' (0/2) progress revision 1 'next' (0/1) nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 5 changeset con 3 modifiche a 3 file ok 4 - cloning with bookmarks expecting success: test_when_finished "rm -rf gitrepo*" && ( cd hgrepo && hg bookmark devel ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git checkout --quiet devel && echo devel > content && git commit -a -m devel && git push --quiet origin devel ) && check_bookmark hgrepo devel devel Cloning into 'gitrepo'... Cloning into 'gitrepo'... Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets de194d3059e3 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark devel adding remote bookmark feature-a aggiunti 3 changeset con 3 modifiche a 1 file (+1 head) new changesets 7bb94e93e5e7:73a8e942615b progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/2) progress revision 1 'next' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways [devel b3f0d71] devel Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark devel adding remote bookmark feature-a /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] aggiunti 3 changeset con 3 modifiche a 1 file (+1 head) new changesets 7bb94e93e5e7:b3b56d2d55c1 progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/2) progress revision 1 'next' (0/1) sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 5 changeset con 3 modifiche a 3 file new changesets 362b656574c3:54f595cbdf1f /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] progress revision walk 'bookmarks/master' (4/4) progress revision 0 'master' (0/5) 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 ) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] [devel f987c0a] devel Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 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'... sto cercando modifiche nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 5 changeset con 3 modifiche a 3 file Cloning into 'gitrepo'... ok 5 - update bookmark expecting success: test_when_finished "rm -rf gitrepo*" && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git checkout --quiet -b feature-b && echo feature-b > content && git commit -a -m feature-b && git push --quiet origin feature-b ) && check_bookmark hgrepo feature-b feature-b Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark devel adding remote bookmark feature-a aggiunti 4 changeset con 4 modifiche a 1 file (+1 head) new changesets 7bb94e93e5e7:55c85752e566 progress revision walk 'bookmarks/master' (3/3) progress revision 0 'master' (0/3) progress revision 1 'next' (0/1) sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets ce02500336d4 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) [feature-b 910ccee] feature-b Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark devel adding remote bookmark feature-a aggiunti 4 changeset con 4 modifiche a 1 file (+1 head) new changesets 7bb94e93e5e7:87af453019f3 progress revision walk 'bookmarks/master' (3/3) progress revision 0 'master' (0/3) progress revision 1 'next' (0/1) [feature-b a98ff2c] feature-b Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 2 - file removal expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && ( git init -q gitrepo && cd gitrepo && git config receive.denyCurrentBranch ignore && echo alpha > alpha && git add alpha && git commit -m "add alpha" && git tag alpha && echo beta > beta && git add beta && git commit -m "add beta" && git tag -a -m "added tag beta" beta ) && hg_clone gitrepo hgrepo && git_clone hgrepo gitrepo2 && hg_clone gitrepo2 hgrepo2 && hg_log hgrepo > expected && hg_log hgrepo2 > actual && test_cmp expected actual [master (root-commit) 223a6f6] add alpha Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 alpha [master 862befc] add beta Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 beta /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file ok 6 - new bookmark expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && touch content && hg add content && > ../expected && author_test alpha "" "H G Wells " && author_test beta "beta" "beta " && author_test gamma "gamma (comment)" "gamma " && author_test delta "" "Unknown " && author_test epsilon "epsilon" "epsilon " && author_test zeta "zeta " && author_test eta " eta " "eta " && author_test theta "theta < test@example.com >" "theta " && author_test iota "iota >test@example.com>" "iota " && author_test kappa "kappa < test example com>" "kappa " && author_test lambda "lambda@example.com" "Unknown " && author_test mu "mu.mu@example.com" "Unknown " ) && git clone "hg::hgrepo" gitrepo && git --git-dir=gitrepo/.git log --reverse --format="%an <%ae>" > actual && test_cmp expected actual /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 4 - subcommands hg-rev and git-rev expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero echo one > content && hg commit -m one && echo two > content && hg commit -m two && echo three > content && hg commit -m three ) && git clone hg::hgrepo gitrepo && ( cd hgrepo && hg strip -r 1 && echo four > content && hg commit -m four ) && ( cd gitrepo && git fetch origin && git reset --hard origin/master && git gc && git-hg-helper gc --check-hg origin > output && cat output && grep "hg marks" output && grep "git marks" output ) ok 6 - new bookmark expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && touch content && hg add content && > ../expected && author_test alpha "" "H G Wells " && author_test beta "beta" "beta " && author_test gamma "gamma (comment)" "gamma " && author_test delta "" "Unknown " && author_test epsilon "epsilon" "epsilon " && author_test zeta "zeta " && author_test eta " eta " "eta " && author_test theta "theta < test@example.com >" "theta " && author_test iota "iota >test@example.com>" "iota " && author_test kappa "kappa < test example com>" "kappa " && author_test lambda "lambda@example.com" "Unknown " && author_test mu "mu.mu@example.com" "Unknown " ) && git clone "hg::hgrepo" gitrepo && git --git-dir=gitrepo/.git log --reverse --format="%an <%ae>" > actual && test_cmp expected actual /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 2 modifiche a 2 file sto cercando modifiche sto cercando modifiche /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 2 modifiche a 2 file new changesets 362b656574c3:7cd99375c843 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto cercando modifiche nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 2 modifiche a 2 file sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 4 changeset con 4 modifiche a 1 file new changesets 883a1852becb:5bbc8b92b02e 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 salvato bundle di backup in /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/.hg/strip-backup/2a7aaec2a77f-254514da-backup.hg ok 3 - git tags expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && ( git init -q gitrepo && cd gitrepo && echo alpha > alpha && git add alpha && git commit -q -m "add alpha" && git checkout -q -b not-master ) && ( hg_clone gitrepo hgrepo && cd hgrepo && hg -q co default && hg mv alpha beta && hg -q commit -m "rename alpha to beta" && hg branch gamma | grep -v "permanent and global" && hg -q commit -m "started branch gamma" ) && hg_push hgrepo gitrepo && hg_clone gitrepo hgrepo2 && : Back to the common revision && (cd hgrepo && hg checkout default) && # fetch does not affect phase, but pushing now does hg_log hgrepo | grep -v phase > expected && hg_log hgrepo2 | grep -v phase > actual && test_cmp expected actual /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file (+1 head) new changesets fb16ff89c83f progress revision 4 'default' (0/1) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo + 36b595f...417594a master -> origin/master (forced update) + 36b595f...417594a branches/default -> origin/branches/default (forced update) HEAD is now at 417594a four /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata sto cercando modifiche Cloning into 'gitrepo'... sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file sto cercando modifiche /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into 'gitrepo'... Loading hg marks ... Loading git marks ... Performing garbage collection on git commits ... Computing marks intersection ... Including notes commits ... Trimmed hg marks from #5 down to #0 Trimmed git marks from #12 down to #2 Writing hg marks ... Writing git marks ... Loading hg marks ... Trimmed hg marks from #5 down to #0 Writing hg marks ... Loading git marks ... Trimmed git marks from #12 down to #2 Writing git marks ... ok 5 - subcommand gc expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && setup_repos && ( cd hgrepo && echo one > content && hg commit -m one ) && ( cd gitrepo && git fetch origin ) && hg log -R hgrepo > expected && # not inside gitrepo; test shared path handling GIT_DIR=gitrepo/.git git-hg-helper origin log > actual test_cmp expected actual /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 12 changeset con 12 modifiche a 1 file new changesets c0c59b16a6a7:78a2ac3d1fc3 progress revision walk 'bookmarks/master' (11/11) progress revision 0 'master' (0/12) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 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 sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 12 changeset con 12 modifiche a 1 file new changesets 40db74e72b28:64ee187d2bd0 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'... marcata directory di lavoro come branch gamma /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 0025df6e70ab progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) Cloning into 'gitrepo'... Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark not-master aggiunti 2 changeset con 1 modifiche a 1 file new changesets 5889597089fe:3320583a8de0 1 local changesets published /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] progress revision 1 'default' (0/1) progress revision 2 'gamma' (0/1) WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 2 modifiche a 1 file new changesets 583dc41ad52a:dabae3990873 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 2 modifiche a 1 file new changesets 31ca3139da1e:c3aa2aa95425 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 43454b10e17f progress revision 1 'default' (0/1) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo f4c7b4c..f88aba3 master -> origin/master f4c7b4c..f88aba3 branches/default -> origin/branches/default 1 files updated, 0 files merged, 0 files removed, 0 files unresolved salvato bundle di backup in /build/git-remote-hg-1.0.4~ds/test/trash directory.main/hgrepo/.hg/strip-backup/dabae3990873-62602dcc-backup.hg /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] 1 files updated, 0 files merged, 0 files removed, 0 files unresolved salvato bundle di backup in /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/hgrepo/.hg/strip-backup/c3aa2aa95425-c5fb66fa-backup.hg sto cercando modifiche nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 2 modifiche a 2 file sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 0 modifiche a 0 file sto cercando modifiche sto cercando modifiche /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 6 - subcommand [some-repo] expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && setup_repo hg hgrepo && ( cd hgrepo && setup_repo hg sub_hg_a && setup_repo hg sub_hg_b && setup_repo git sub_git && echo "sub_hg_a = sub_hg_a" > .hgsub && echo "sub_hg_b = sub_hg_b" >> .hgsub && echo "sub_git = [git]sub_git" >> .hgsub && hg add .hgsub && hg commit -m substate ) git clone hg::hgrepo gitrepo && ( cd gitrepo && git-hg-helper sub update --force && test -f content_hgrepo && test -f sub_hg_a/content_sub_hg_a && test -f sub_hg_b/content_sub_hg_b && test -f sub_git/content_sub_git ) && check gitrepo HEAD substate && check gitrepo/sub_hg_a HEAD zero_sub_hg_a && check gitrepo/sub_hg_b HEAD zero_sub_hg_b && check gitrepo/sub_git HEAD zero_sub_git 0 files updated, 0 files merged, 0 files removed, 0 files unresolved /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 2 modifiche a 1 file (+1 head) new changesets c270b0722e1f:2d28e7fa7b20 progress revision 2 'default' (0/2) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/hgrepo + aa21300...5e4d738 master -> origin/master (forced update) + aa21300...5e4d738 branches/default -> origin/branches/default (forced update) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 2 modifiche a 1 file (+1 head) new changesets f7b716f60714:1ad69bdb9fcd progress revision 2 'default' (0/2) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/hgrepo + a6d9125...1075171 master -> origin/master (forced update) + a6d9125...1075171 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 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/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file sto cercando modifiche 0 files updated, 0 files merged, 0 files removed, 0 files unresolved Cloning into 'gitrepo'... Cloning into 'gitrepo'... Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_git/.git/ [master (root-commit) e9a16bb] zero_sub_git Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 content_sub_git /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark master aggiunti 2 changeset con 2 modifiche a 1 file new changesets f0d01957df0f:f641df4f3ac7 progress revision walk 'bookmarks/default' (1/1) progress revision 0 'default' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] [default 43c058c] two Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark master aggiunti 2 changeset con 2 modifiche a 1 file new changesets bda414ee15c2:3f13692172c4 sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark not-master aggiunti 1 changeset con 1 modifiche a 1 file new changesets 16869bbe54be 1 local changesets published progress revision walk 'bookmarks/default' (1/1) progress revision 0 'default' (0/2) progress revision 1 'default' (0/1) [default 5079779] two Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways Cloning into 'gitrepo'... nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/hgrepo 4baf254..43c058c default -> default /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/hgrepo fffffff..5079779 default -> default /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 3 modifiche a 3 file new changesets 45c3f4220547:4efe73d6ede3 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 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) sto cercando modifiche nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 2 modifiche a 2 file sto cercando modifiche sto cercando modifiche 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. 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 Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.main/gitrepo/.git/ [master (root-commit) 64caca5] one Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 content /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/gitrepo/.git/ Cloning into './sub_hg_a'... [master (root-commit) 64caca5] one Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 content /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file To hg::../hgrepo * [new branch] master -> master ok 5 - hg tags expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && ( git init -q gitrepo && cd gitrepo && echo alpha > alpha && git add alpha && git commit -m "add alpha" --date="2007-01-01 00:00:00 +0000" && echo beta > beta && git add beta && git commit -m "add beta" --date="2007-01-01 00:00:00 +0100" && echo gamma > gamma && git add gamma && git commit -m "add gamma" --date="2007-01-01 00:00:00 -0100" && echo delta > delta && git add delta && git commit -m "add delta" --date="2007-01-01 00:00:00 +0130" && echo epsilon > epsilon && git add epsilon && git commit -m "add epsilon" --date="2007-01-01 00:00:00 -0130" ) && hg_clone gitrepo hgrepo && git_clone hgrepo gitrepo2 && hg_clone gitrepo2 hgrepo2 && hg_log hgrepo > expected && hg_log hgrepo2 > actual && test_cmp expected actual [master (root-commit) a663549] add alpha Author: A U Thor Date: Mon Jan 1 00:00:00 2007 +0000 1 file changed, 1 insertion(+) create mode 100644 alpha [master ea3e397] add beta Author: A U Thor Date: Mon Jan 1 00:00:00 2007 +0100 1 file changed, 1 insertion(+) create mode 100644 beta /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] [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 sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file nessuna modifica trovata aggiunti 1 changeset con 1 modifiche a 1 file new changesets 6ffd606071c3 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file To hg::../hgrepo * [new branch] master -> master changeset: 0:6e2126489d3d tag: tip user: A U Thor date: Mon Jan 01 00:00:00 2007 +0230 summary: one Cloning into './sub_hg_b'... changeset: 0:6e2126489d3d tag: tip user: A U Thor date: Mon Jan 01 00:00:00 2007 +0230 summary: one 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/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file nessuna modifica trovata aggiunti 1 changeset con 1 modifiche a 1 file new changesets a9672397025b progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 5 changeset con 5 modifiche a 5 file Cloning into './sub_git'... done. 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 ok 7 - subcommand sub initial update (hg and git subrepos) expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && setup_subrepos && git clone hg::hgrepo gitrepo && ( cd gitrepo && git-hg-helper sub --recursive update --force && test -f content_hgrepo && test -f sub_hg_a/content_sub_hg_a && test -f sub_hg_a/sub_hg_a_x/content_sub_hg_a_x && test -f sub_hg_b/content_sub_hg_b && test -f sub_hg_b/sub_git/content_sub_git ) && check gitrepo HEAD substate && check gitrepo/sub_hg_a HEAD substate_hg_a && check gitrepo/sub_hg_b HEAD substate_hg_b && check gitrepo/sub_hg_a/sub_hg_a_x HEAD zero_sub_hg_a_x && check gitrepo/sub_hg_b/sub_git HEAD zero_sub_git Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 5 changeset con 5 modifiche a 5 file new changesets 87c8f82b00d0:21e96c99dac4 progress revision walk 'bookmarks/master' (4/4) progress revision 0 'master' (0/5) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets fe997f9e3ad9 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) ok 11 - remote cloning expecting success: test_when_finished "rm -rf gitrepo*" && ( git clone "hg::hgrepo" gitrepo && mv gitrepo gitrepo2 && cd gitrepo2 && git fetch ) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets f60338b89f0e progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) ok 11 - remote cloning expecting success: test_when_finished "rm -rf gitrepo*" && ( git clone "hg::hgrepo" gitrepo && mv gitrepo gitrepo2 && cd gitrepo2 && git fetch ) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.bidi/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto cercando modifiche nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 5 changeset con 5 modifiche a 5 file /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets fe997f9e3ad9 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets f60338b89f0e progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways nessuna modifica trovata ok 12 - moving remote clone expecting success: test_when_finished "rm -rf gitrepo*" && ( cd hgrepo && hg bookmark devel ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git checkout --quiet devel && echo devel > content && git commit -a -m devel && git push --quiet ) && check_bookmark hgrepo devel devel /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata ok 6 - test timezones # passed all 6 test(s) 1..6 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 Cloning into 'gitrepo'... Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark devel aggiunti 1 changeset con 1 modifiche a 1 file new changesets fe997f9e3ad9 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] [devel db0a62d] devel Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark devel aggiunti 1 changeset con 1 modifiche a 1 file new changesets f60338b89f0e progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] [devel 6a99ee7] devel Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file ok 13 - remote update bookmark expecting success: test_when_finished "rm -rf gitrepo*" && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git checkout --quiet -b feature-b && echo feature-b > content && git commit -a -m feature-b && git push --quiet origin feature-b ) && check_bookmark hgrepo feature-b feature-b Cloning into 'gitrepo'... Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ [master (root-commit) e9a16bb] zero_sub_git Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 content_sub_git /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark devel aggiunti 2 changeset con 2 modifiche a 1 file new changesets fe997f9e3ad9:3b0d21d37d4a 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'... [feature-b e5121ce] feature-b Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark devel aggiunti 2 changeset con 2 modifiche a 1 file new changesets f60338b89f0e:e6283a2b5d11 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways nessuna modifica trovata [feature-b 8a40952] feature-b Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata 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'... sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways 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'... sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark devel adding remote bookmark feature-b aggiunti 3 changeset con 3 modifiche a 1 file new changesets fe997f9e3ad9:ce60e7e27bb6 progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/3) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file 1 files updated, 0 files merged, 0 files removed, 0 files unresolved (leaving bookmark devel) aggiunti 2 changeset con 3 modifiche a 3 file new changesets 0b8f48754e47:fd0f5ab35544 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark devel adding remote bookmark feature-b aggiunti 3 changeset con 3 modifiche a 1 file new changesets f60338b89f0e:c5060884e3a0 progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/3) [master c31a35a] diverged Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) 1 files updated, 0 files merged, 0 files removed, 0 files unresolved (leaving bookmark devel) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into './sub_hg_a'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 54c6c50148cd To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/hgrepo ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/hgrepo' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. ! [rejected] master -> master (non-fast-forward) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 3 modifiche a 3 file new changesets 265bfa0cd61c:64c13269bfdc progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) [master ca17d7c] diverged Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) Cloning into './sub_hg_a/sub_hg_a_x'... 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" 1 files updated, 0 files merged, 0 files removed, 0 files unresolved /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets d30fd6b78c35 To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/hgrepo ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/hgrepo' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. ! [rejected] master -> master (non-fast-forward) aggiunti 1 changeset con 1 modifiche a 1 file new changesets f3071243f3ed progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) Cloning into './sub_hg_b'... Cloning into 'gitrepo'... ok 15 - remote push diverged expecting success: test_when_finished "rm -rf gitrepo*" && ( cd hgrepo && hg checkout tip^ && hg bookmark diverge ) && git clone "hg::hgrepo" gitrepo && ( cd hgrepo && echo "bump bookmark" > content && hg commit -m "bump bookmark" ) && ( cd gitrepo && git checkout --quiet diverge && echo diverge > content && git commit -a -m diverge && check_push 1 <<-\EOF diverge:non-fast-forward EOF ) && check_bookmark hgrepo diverge "bump bookmark" /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] 1 files updated, 0 files merged, 0 files removed, 0 files unresolved /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 3 modifiche a 3 file new changesets ccb900841615:8baa36ed6e5b progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark devel adding remote bookmark diverge adding remote bookmark feature-b aggiunti 4 changeset con 4 modifiche a 1 file new changesets fe997f9e3ad9:54c6c50148cd Cloning into 'gitrepo'... progress revision walk 'bookmarks/master' (3/3) progress revision 0 'master' (0/4) Cloning into './sub_hg_b/sub_git'... done. ok 8 - subcommand sub initial recursive update expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && test_sub_update /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] creata una nuova head [diverge 3ee4598] diverge Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark devel adding remote bookmark diverge adding remote bookmark feature-b aggiunti 4 changeset con 4 modifiche a 1 file new changesets f60338b89f0e:d30fd6b78c35 progress revision walk 'bookmarks/master' (3/3) progress revision 0 'master' (0/4) creata una nuova head [diverge e307024] diverge Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file sto aggiornando il segnalibro diverge aggiunti 1 changeset con 1 modifiche a 1 file (+1 head) new changesets 36618aab6ffb To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/hgrepo ! [rejected] diverge -> diverge (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/hgrepo' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. ! [rejected] diverge -> diverge (non-fast-forward) ok 16 - remote update bookmark diverge expecting success: test_when_finished "rm -rf gitrepo*" && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git checkout --quiet -b feature-c HEAD^ && echo feature-c > content && git commit -a -m feature-c && git push --quiet origin feature-c ) && check_bookmark hgrepo feature-c feature-c Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file sto aggiornando il segnalibro diverge aggiunti 1 changeset con 1 modifiche a 1 file (+1 head) new changesets f79979369c1e To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/hgrepo ! [rejected] diverge -> diverge (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/hgrepo' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. ! [rejected] diverge -> diverge (non-fast-forward) sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark devel adding remote bookmark diverge adding remote bookmark feature-b aggiunti 5 changeset con 5 modifiche a 1 file (+1 head) new changesets fe997f9e3ad9:36618aab6ffb WARNING: Branch 'default' has more than one head, consider merging progress revision walk 'bookmarks/master' (4/4) progress revision 0 'master' (0/4) ok 16 - remote update bookmark diverge expecting success: test_when_finished "rm -rf gitrepo*" && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git checkout --quiet -b feature-c HEAD^ && echo feature-c > content && git commit -a -m feature-c && git push --quiet origin feature-c ) && check_bookmark hgrepo feature-c feature-c Cloning into 'gitrepo'... [feature-c fe391a8] feature-c Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark devel adding remote bookmark diverge adding remote bookmark feature-b aggiunti 5 changeset con 5 modifiche a 1 file (+1 head) new changesets f60338b89f0e:f79979369c1e /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways nessuna modifica trovata WARNING: Branch 'default' has more than one head, consider merging progress revision walk 'bookmarks/master' (4/4) progress revision 0 'master' (0/4) sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file (+1 head) [feature-c c92795c] feature-c Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata 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 ) sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file (+1 head) Cloning into 'gitrepo'... Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ 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 ) [master (root-commit) e9a16bb] zero_sub_git Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 content_sub_git /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 9c5882d78204 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) Cloning into 'gitrepo'... [master 4e57b8d] copy Author: A U Thor 1 file changed, 2 insertions(+) create mode 100644 content-copy [master 6812172] moved Author: A U Thor 1 file changed, 0 insertions(+), 0 deletions(-) rename content-copy => content-moved (100%) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets aa3b72138a7a progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file [master 5f12f48] copy Author: A U Thor 1 file changed, 2 insertions(+) create mode 100644 content-copy aggiunti 2 changeset con 2 modifiche a 2 file To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/hgrepo d4f02cf..6812172 master -> master [master 4bd179e] moved Author: A U Thor 1 file changed, 0 insertions(+), 0 deletions(-) rename content-copy => content-moved (100%) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 3 modifiche a 3 file new changesets 5bcc435e6b15:ddb62f495325 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] 1 files updated, 0 files merged, 0 files removed, 0 files unresolved nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 2 modifiche a 2 file To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/hgrepo fffffff..4bd179e master -> master /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into './sub_hg_a'... 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 1 files updated, 0 files merged, 0 files removed, 0 files unresolved /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file 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 aggiunti 2 changeset con 3 modifiche a 3 file new changesets 65a1591a37ba:ae92f590449b progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) Cloning into './sub_hg_a/sub_hg_a_x'... attenzione: filename contains '?', which is reserved on Windows: 'ø~?' /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 9e39bd6cff40 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) attenzione: filename contains '?', which is reserved on Windows: 'ø~?' Cloning into './sub_hg_b'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 3 modifiche a 3 file new changesets c3f1e4e4419e:81d54f9ec396 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) Cloning into './sub_hg_b/sub_git'... done. attenzione: filename contains '?', which is reserved on Windows: 'ø~?' Clone in 'gitrepo' in corso... attenzione: 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 sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 3 changeset con 4 modifiche a 2 file new changesets 24ff6fa0dfbd:76a7a44927fc progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/3) Clone in 'gitrepo' in corso... 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 sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 3 changeset con 4 modifiche a 2 file new changesets f481288aa9a6:eff949c26d8e progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/3) ok 19 - fetch special filenames expecting success: test_when_finished "rm -rf hgrepo gitrepo && LC_ALL=C" && mkdir -p tmp && cd tmp && LC_ALL=C.UTF-8 export LC_ALL ( hg init hgrepo && cd hgrepo && echo one >> content && hg add content && hg commit -m one ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && echo test >> "æ rø" && git add "æ rø" && git commit -m utf-8 && git push ) && (cd hgrepo && hg update && hg manifest > ../actual ) && printf "content\næ rø\n" > expected && test_cmp expected actual /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets e97c80c5737d progress revision 2 'default' (0/1) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo 9569317..e5b6123 master -> origin/master 9569317..e5b6123 branches/default -> origin/branches/default Updating 9569317..e5b6123 Fast-forward .hgsubstate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Clone in 'gitrepo' in corso... WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 60f71dc710f5 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) Clone in 'gitrepo' in corso... [master f1d5e48] utf-8 Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 "\303\246 r\303\270" /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto cercando modifiche WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 724c3aba3c91 progress revision 2 'default' (0/1) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_a e5cfd06..f3880d5 branches/default -> origin/branches/default e5cfd06..f3880d5 master -> origin/master nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo 93ce1af..f1d5e48 master -> master sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 7fbbfe85c9e9 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) HEAD is now at e5cfd06 substate_hg_a [master de56b58] utf-8 Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 "\303\246 r\303\270" nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] 1 files updated, 0 files merged, 0 files removed, 0 files unresolved To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo fffffff..de56b58 master -> master sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets a1b460e15532 progress revision 1 'default' (0/1) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_a/sub_hg_a_x 96d4a50..c4824a5 branches/default -> origin/branches/default 96d4a50..c4824a5 master -> origin/master HEAD is now at 96d4a50 zero_sub_hg_a_x 1 files updated, 0 files merged, 0 files removed, 0 files unresolved ok 20 - push special filenames expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && setup_big_push ( cd gitrepo && check_push 1 --all <<-\EOF master good_bmark branches/good_branch new_bmark:new branches/new_branch:new bad_bmark1:non-fast-forward bad_bmark2:non-fast-forward branches/bad_branch:non-fast-forward EOF ) && if test "$CAPABILITY_PUSH" = "t" then # cap push handles refs one by one # so it will push all requested it can check_branch hgrepo default six && check_branch hgrepo good_branch eight && check_branch hgrepo bad_branch "bad branch" && check_branch hgrepo new_branch ten && check_bookmark hgrepo good_bmark three && check_bookmark hgrepo bad_bmark1 one && check_bookmark hgrepo bad_bmark2 one && check_bookmark hgrepo new_bmark six else check_branch hgrepo default one && check_branch hgrepo good_branch "good branch" && check_branch hgrepo bad_branch "bad branch" && check_branch hgrepo new_branch && check_bookmark hgrepo good_bmark one && check_bookmark hgrepo bad_bmark1 one && check_bookmark hgrepo bad_bmark2 one && check_bookmark hgrepo new_bmark fi /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata 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 ok 9 - subcommand sub subsequent recursive update expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && test_sub_update --rebase Cloning into 'gitrepo'... Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark bad_bmark1 adding remote bookmark bad_bmark2 adding remote bookmark good_bmark aggiunti 4 changeset con 4 modifiche a 1 file new changesets 776d25a4668d:f75816116ce7 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) progress revision 2 'bad_branch' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark bad_bmark1 adding remote bookmark bad_bmark2 adding remote bookmark good_bmark aggiunti 4 changeset con 4 modifiche a 1 file new changesets 9a8e87fc6e36:524f6bcc23f4 HEAD is now at 26d4599 zero progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) progress revision 2 'bad_branch' (0/2) HEAD is now at 26d4599 zero HEAD is now at 0b72aec good branch HEAD is now at 59520e6 zero HEAD is now at 59520e6 zero HEAD is now at 3d81df3 good branch Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ [master (root-commit) e9a16bb] zero_sub_git Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 content_sub_git /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways nessuna modifica trovata To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo 3d81df3..7bcf213 branches/good_branch -> branches/good_branch ac198d6..2ab6a00 good_bmark -> good_bmark ac198d6..4920277 master -> master * [new branch] branches/new_branch -> branches/new_branch * [new branch] new_bmark -> new_bmark ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo' hint: Updates were rejected because a pushed branch tip is behind its remote hint: counterpart. Check out this branch and integrate the remote changes hint: (e.g. 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. ac198d6..4920277 master -> master ac198d6..2ab6a00 good_bmark -> good_bmark 3d81df3..7bcf213 branches/good_branch -> branches/good_branch * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 2 modifiche a 1 file (+1 head) sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file (+1 head) sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file (+1 head) sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file (+1 head) To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo fffffff..cd3ad03 branches/good_branch -> branches/good_branch fffffff..4040569 good_bmark -> good_bmark fffffff..621b3fe master -> master * [new branch] branches/new_branch -> branches/new_branch * [new branch] new_bmark -> new_bmark ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo' hint: Updates were rejected because a pushed branch tip is behind its remote hint: counterpart. Check out this branch and integrate the remote changes hint: (e.g. 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. fffffff..621b3fe master -> master fffffff..4040569 good_bmark -> good_bmark fffffff..cd3ad03 branches/good_branch -> branches/good_branch * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 3 modifiche a 3 file new changesets 8ab737d7c76e:4bdbdf7474df progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into './sub_hg_a'... ok 21 - remote big push expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero && hg bookmark bad_bmark && hg bookmark good_bmark && hg bookmark -i good_bmark && hg -q branch good_branch && echo "good branch" > content && hg commit -m "good branch" && hg -q branch bad_branch && echo "bad branch" > content && hg commit -m "bad branch" ) && git clone "hg::hgrepo" gitrepo && ( cd hgrepo && hg bookmark -f bad_bmark && echo update_bmark > content && hg commit -m "update bmark" ) && ( cd gitrepo && echo two > content && git commit -q -a -m two && git checkout -q good_bmark && echo three > content && git commit -q -a -m three && git checkout -q bad_bmark && echo four > content && git commit -q -a -m four && git checkout -q branches/bad_branch && echo five > content && git commit -q -a -m five && check_push 1 --all <<-\EOF && master good_bmark bad_bmark:non-fast-forward branches/bad_branch:non-fast-forward EOF git fetch && if test "$CAPABILITY_PUSH" = "t" then # cap push handles refs one by one # so it will already have pushed some above previously # (and master is a fake one that jumps around a bit) check_push 1 --all <<-\EOF bad_bmark:non-fast-forward branches/bad_branch:non-fast-forward EOF else check_push 1 --all <<-\EOF master good_bmark bad_bmark:non-fast-forward branches/bad_branch:non-fast-forward EOF fi ) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 3 modifiche a 3 file new changesets 96ee261e51ab:99494912d741 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 ) progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) Cloning into './sub_hg_a/sub_hg_a_x'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 35c95d25397e progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) Cloning into './sub_hg_b'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 3 modifiche a 3 file new changesets cf27d65456cf:f7c949c4482f 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/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark bad_bmark adding remote bookmark good_bmark aggiunti 3 changeset con 3 modifiche a 1 file new changesets eba95cac3d00:ac9abc9bc55c progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) progress revision 1 'bad_branch' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto cercando modifiche Cloning into 'gitrepo'... sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets a9ddf9d93001 progress revision 2 'default' (0/1) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo 1755c40..8d712e8 master -> origin/master 1755c40..8d712e8 branches/default -> origin/branches/default Updating 1755c40..8d712e8 Fast-forward .hgsubstate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark bad_bmark adding remote bookmark good_bmark aggiunti 3 changeset con 3 modifiche a 1 file new changesets 6851a1687cb6:9b3f2e2b576c /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) progress revision 1 'bad_branch' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 3cd89cfb429f progress revision 2 'default' (0/1) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_a fea0aba..a57ae30 branches/default -> origin/branches/default fea0aba..a57ae30 master -> origin/master /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file sto aggiornando il segnalibro bad_bmark aggiunti 1 changeset con 1 modifiche a 1 file new changesets 6a4a721cdd1e To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo dc98fcf..432dd89 good_bmark -> good_bmark dc98fcf..6c86902 master -> master ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. dc98fcf..6c86902 master -> master dc98fcf..432dd89 good_bmark -> good_bmark ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) HEAD is now at fea0aba substate_hg_a Successfully rebased and updated detached HEAD. /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file progress revision 3 'bad_branch' (0/1) aggiunti 1 changeset con 1 modifiche a 1 file new changesets 7daff07f65b0 progress revision 1 'default' (0/1) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_a/sub_hg_a_x 1116bf5..b40a7ea branches/default -> origin/branches/default 1116bf5..b40a7ea master -> origin/master From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo 1193519..fd27f25 branches/bad_branch -> origin/branches/bad_branch dc98fcf..fd27f25 bad_bmark -> origin/bad_bmark + 432dd89...dc98fcf good_bmark -> origin/good_bmark (forced update) + 6c86902...dc98fcf master -> origin/master (forced update) HEAD is now at 1116bf5 zero_sub_hg_a_x Successfully rebased and updated detached HEAD. /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file sto aggiornando il segnalibro bad_bmark aggiunti 1 changeset con 1 modifiche a 1 file new changesets e5aab4d1c913 sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file (+1 head) sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file (+1 head) To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo fffffff..43d35e1 good_bmark -> good_bmark fffffff..d3ddfff master -> master ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. fffffff..d3ddfff master -> master fffffff..43d35e1 good_bmark -> good_bmark ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways nessuna modifica trovata To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo dc98fcf..432dd89 good_bmark -> good_bmark dc98fcf..6c86902 master -> master ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. sto aggiornando il segnalibro good_bmark dc98fcf..6c86902 master -> master 2 local changesets published dc98fcf..432dd89 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 WARNING: Branch 'default' has more than one head, consider merging progress revision 3 'bad_branch' (0/1) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo 0a178b9..2db9847 branches/bad_branch -> origin/branches/bad_branch 107874a..d3ddfff branches/default -> origin/branches/default 107874a..2db9847 bad_bmark -> origin/bad_bmark ok 10 - subcommand sub subsequent recursive update -- rebase expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && test_sub_update --merge /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) ok 22 - remote big push non fast forward expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && setup_big_push ( cd gitrepo && if test "$CAPABILITY_PUSH" = "t" then check_push 0 --force --all <<-\EOF master:forced-update good_bmark:forced-update branches/good_branch:forced-update new_bmark:new branches/new_branch:new bad_bmark1:forced-update bad_bmark2:forced-update branches/bad_branch:forced-update EOF else check_push 0 --force --all <<-\EOF master good_bmark branches/good_branch new_bmark:new branches/new_branch:new bad_bmark1:forced-update bad_bmark2:forced-update branches/bad_branch:forced-update EOF fi ) && check_branch hgrepo good_branch eight && check_branch hgrepo bad_branch nine && check_branch hgrepo new_branch ten && check_bookmark hgrepo good_bmark three && check_bookmark hgrepo bad_bmark1 four && check_bookmark hgrepo bad_bmark2 five && check_bookmark hgrepo new_bmark six Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark bad_bmark1 adding remote bookmark bad_bmark2 adding remote bookmark good_bmark aggiunti 4 changeset con 4 modifiche a 1 file new changesets 021aae209e05:3ec0ee904b07 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) progress revision 2 'bad_branch' (0/2) HEAD is now at 35d26ab zero Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ [master (root-commit) e9a16bb] zero_sub_git Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 content_sub_git HEAD is now at 35d26ab zero HEAD is now at f123a06 good branch Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark bad_bmark1 adding remote bookmark bad_bmark2 adding remote bookmark good_bmark aggiunti 4 changeset con 4 modifiche a 1 file new changesets 2953ba32e878:19f8917caf01 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) progress revision 2 'bad_branch' (0/2) HEAD is now at ce15693 zero HEAD is now at ce15693 zero HEAD is now at c1814b7 good branch /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 9 changeset con 9 modifiche a 1 file (+7 head) To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo + bb7c212...7b19e33 branches/bad_branch -> branches/bad_branch (forced update) f123a06..16b3c7e branches/good_branch -> branches/good_branch + 444b227...f1e2038 bad_bmark1 -> bad_bmark1 (forced update) + 444b227...aec5248 bad_bmark2 -> bad_bmark2 (forced update) 444b227..b0b3d88 good_bmark -> good_bmark 444b227..6417bf0 master -> master * [new branch] branches/new_branch -> branches/new_branch * [new branch] new_bmark -> new_bmark 444b227..6417bf0 master -> master 444b227..b0b3d88 good_bmark -> good_bmark f123a06..16b3c7e branches/good_branch -> branches/good_branch * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch + 444b227...f1e2038 bad_bmark1 -> bad_bmark1 (forced update) + 444b227...aec5248 bad_bmark2 -> bad_bmark2 (forced update) + bb7c212...7b19e33 branches/bad_branch -> branches/bad_branch (forced update) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 3 modifiche a 3 file new changesets 9e82992d9ee9:5f3ccff59314 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file (+1 head) sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 2 modifiche a 1 file (+1 head) sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file (+1 head) sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file (+1 head) sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file (+1 head) sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file (+1 head) sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file (+1 head) To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo + fffffff...3244dc3 branches/bad_branch -> branches/bad_branch (forced update) + fffffff...5ef3056 branches/good_branch -> branches/good_branch (forced update) + fffffff...b740bb1 bad_bmark1 -> bad_bmark1 (forced update) + fffffff...6eb1f4b bad_bmark2 -> bad_bmark2 (forced update) + fffffff...50f4010 good_bmark -> good_bmark (forced update) + fffffff...5a8c331 master -> master (forced update) * [new branch] branches/new_branch -> branches/new_branch * [new branch] new_bmark -> new_bmark + fffffff...5a8c331 master -> master (forced update) + fffffff...50f4010 good_bmark -> good_bmark (forced update) + fffffff...5ef3056 branches/good_branch -> branches/good_branch (forced update) * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch + fffffff...b740bb1 bad_bmark1 -> bad_bmark1 (forced update) + fffffff...6eb1f4b bad_bmark2 -> bad_bmark2 (forced update) + fffffff...3244dc3 branches/bad_branch -> branches/bad_branch (forced update) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into './sub_hg_a'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 3 modifiche a 3 file new changesets cf61388058be:ba3623a02edf progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) Cloning into './sub_hg_a/sub_hg_a_x'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 864325772c7b progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) Cloning into './sub_hg_b'... ok 23 - remote big push force expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && setup_big_push ( cd gitrepo && check_push 1 --dry-run --all <<-\EOF && master good_bmark branches/good_branch new_bmark:new branches/new_branch:new bad_bmark1:non-fast-forward bad_bmark2:non-fast-forward branches/bad_branch:non-fast-forward EOF check_push 0 --dry-run master good_bmark new_bmark branches/good_branch branches/new_branch <<-\EOF master good_bmark branches/good_branch new_bmark:new branches/new_branch:new EOF ) && check_branch hgrepo default one && check_branch hgrepo good_branch "good branch" && check_branch hgrepo bad_branch "bad branch" && check_branch hgrepo new_branch && check_bookmark hgrepo good_bmark one && check_bookmark hgrepo bad_bmark1 one && check_bookmark hgrepo bad_bmark2 one && check_bookmark hgrepo new_bmark /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 3 modifiche a 3 file new changesets acf13b431b8f:eb24584ce98b progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) 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 Cloning into './sub_hg_b/sub_git'... done. /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 55738dadbfb3 progress revision 2 'default' (0/1) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo ad2dfdf..c1204a6 master -> origin/master ad2dfdf..c1204a6 branches/default -> origin/branches/default Updating ad2dfdf..c1204a6 Fast-forward .hgsubstate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Cloning into 'gitrepo'... Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark bad_bmark1 adding remote bookmark bad_bmark2 adding remote bookmark good_bmark aggiunti 4 changeset con 4 modifiche a 1 file new changesets 757d6108e70a:0cb9c6d01ba5 sto aggiungendo i changeset progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) progress revision 2 'bad_branch' (0/2) sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark bad_bmark1 adding remote bookmark bad_bmark2 adding remote bookmark good_bmark aggiunti 4 changeset con 4 modifiche a 1 file new changesets ee8a9c4b0cba:1a635f3c7935 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) progress revision 2 'bad_branch' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] HEAD is now at 6468e5f zero HEAD is now at 6468e5f zero HEAD is now at 913392b zero HEAD is now at 913392b zero sto cercando modifiche HEAD is now at 84660eb good branch sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets f609944205d8 HEAD is now at 7c62f14 good branch progress revision 2 'default' (0/1) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_a 36fefda..78efdab branches/default -> origin/branches/default 36fefda..78efdab master -> origin/master HEAD is now at 36fefda substate_hg_a Updating 36fefda..78efdab Fast-forward .hgsubstate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 375703f022dc progress revision 1 'default' (0/1) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_a/sub_hg_a_x c263d02..cd82daf branches/default -> origin/branches/default c263d02..cd82daf master -> origin/master /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways nessuna modifica trovata To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo 84660eb..686acc5 branches/good_branch -> branches/good_branch a7f6802..3f75351 good_bmark -> good_bmark a7f6802..ffb4a9f master -> master * [new branch] branches/new_branch -> branches/new_branch * [new branch] new_bmark -> new_bmark ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo' hint: Updates were rejected because a pushed branch tip is behind its remote hint: counterpart. Check out this branch and integrate the remote changes hint: (e.g. 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. a7f6802..ffb4a9f master -> master a7f6802..3f75351 good_bmark -> good_bmark 84660eb..686acc5 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) HEAD is now at c263d02 zero_sub_hg_a_x Updating c263d02..cd82daf Fast-forward content_sub_hg_a_x | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo fffffff..d3cbeb4 branches/good_branch -> branches/good_branch fffffff..fd521a3 good_bmark -> good_bmark fffffff..4c5d7e6 master -> master * [new branch] branches/new_branch -> branches/new_branch * [new branch] new_bmark -> new_bmark ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo' hint: Updates were rejected because a pushed branch tip is behind its remote hint: counterpart. Check out this branch and integrate the remote changes hint: (e.g. 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. fffffff..4c5d7e6 master -> master fffffff..fd521a3 good_bmark -> good_bmark fffffff..d3cbeb4 branches/good_branch -> branches/good_branch * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways nessuna modifica trovata To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo 84660eb..686acc5 branches/good_branch -> branches/good_branch a7f6802..3f75351 good_bmark -> good_bmark a7f6802..ffb4a9f master -> master * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch a7f6802..ffb4a9f master -> master a7f6802..3f75351 good_bmark -> good_bmark 84660eb..686acc5 branches/good_branch -> branches/good_branch * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo fffffff..d3cbeb4 branches/good_branch -> branches/good_branch fffffff..fd521a3 good_bmark -> good_bmark fffffff..4c5d7e6 master -> master * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch fffffff..4c5d7e6 master -> master fffffff..fd521a3 good_bmark -> good_bmark fffffff..d3cbeb4 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 24 - remote big push dry-run expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && setup_big_push ( cd gitrepo && if test "$CAPABILITY_PUSH" = "t" then check_push 0 --force --dry-run --all <<-\EOF master:forced-update good_bmark:forced-update branches/good_branch:forced-update new_bmark:new branches/new_branch:new bad_bmark1:forced-update bad_bmark2:forced-update branches/bad_branch:forced-update EOF else check_push 0 --force --dry-run --all <<-\EOF master good_bmark branches/good_branch new_bmark:new branches/new_branch:new bad_bmark1:forced-update bad_bmark2:forced-update branches/bad_branch:forced-update EOF fi ) && check_branch hgrepo default one && check_branch hgrepo good_branch "good branch" && check_branch hgrepo bad_branch "bad branch" && check_branch hgrepo new_branch && check_bookmark hgrepo good_bmark one && check_bookmark hgrepo bad_bmark1 one && check_bookmark hgrepo bad_bmark2 one && check_bookmark hgrepo new_bmark ok 24 - remote big push dry-run expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && setup_big_push ( cd gitrepo && if test "$CAPABILITY_PUSH" = "t" then check_push 0 --force --dry-run --all <<-\EOF master:forced-update good_bmark:forced-update branches/good_branch:forced-update new_bmark:new branches/new_branch:new bad_bmark1:forced-update bad_bmark2:forced-update branches/bad_branch:forced-update EOF else check_push 0 --force --dry-run --all <<-\EOF master good_bmark branches/good_branch new_bmark:new branches/new_branch:new bad_bmark1:forced-update bad_bmark2:forced-update branches/bad_branch:forced-update EOF fi ) && check_branch hgrepo default one && check_branch hgrepo good_branch "good branch" && check_branch hgrepo bad_branch "bad branch" && check_branch hgrepo new_branch && check_bookmark hgrepo good_bmark one && check_bookmark hgrepo bad_bmark1 one && check_bookmark hgrepo bad_bmark2 one && check_bookmark hgrepo new_bmark Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ [master (root-commit) e9a16bb] zero_sub_git Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 content_sub_git Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 3 modifiche a 3 file new changesets ea8d8a142a72:c9b171f376ab progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into 'gitrepo'... Cloning into './sub_hg_a'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark bad_bmark1 adding remote bookmark bad_bmark2 adding remote bookmark good_bmark aggiunti 4 changeset con 4 modifiche a 1 file new changesets ddd97933980f:916cbb8891ef progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) progress revision 2 'bad_branch' (0/2) sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark bad_bmark1 adding remote bookmark bad_bmark2 adding remote bookmark good_bmark aggiunti 4 changeset con 4 modifiche a 1 file new changesets 1df6cfea95f9:0f39ffc81c3b /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) progress revision 2 'bad_branch' (0/2) HEAD is now at cf7362a zero HEAD is now at cf7362a zero sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 3 modifiche a 3 file new changesets a36238634b48:be509006ae90 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) HEAD is now at 24beed7 good branch HEAD is now at bda36cc zero HEAD is now at bda36cc zero HEAD is now at b1d7713 good branch Cloning into './sub_hg_a/sub_hg_a_x'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 7511f04feea9 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways nessuna modifica trovata To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo + eeaad46...5549b06 branches/bad_branch -> branches/bad_branch (forced update) 24beed7..20371ab branches/good_branch -> branches/good_branch + a810f38...6123625 bad_bmark1 -> bad_bmark1 (forced update) + a810f38...d85d5ba bad_bmark2 -> bad_bmark2 (forced update) a810f38..68e24e6 good_bmark -> good_bmark a810f38..f970a1a master -> master * [new branch] branches/new_branch -> branches/new_branch * [new branch] new_bmark -> new_bmark a810f38..f970a1a master -> master a810f38..68e24e6 good_bmark -> good_bmark 24beed7..20371ab branches/good_branch -> branches/good_branch * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch + a810f38...6123625 bad_bmark1 -> bad_bmark1 (forced update) + a810f38...d85d5ba bad_bmark2 -> bad_bmark2 (forced update) + eeaad46...5549b06 branches/bad_branch -> branches/bad_branch (forced update) Cloning into './sub_hg_b'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo + fffffff...042084c branches/bad_branch -> branches/bad_branch (forced update) + fffffff...b5922c9 branches/good_branch -> branches/good_branch (forced update) + fffffff...ff77ff5 bad_bmark1 -> bad_bmark1 (forced update) + fffffff...c3253dc bad_bmark2 -> bad_bmark2 (forced update) + fffffff...d5cbaf2 good_bmark -> good_bmark (forced update) + fffffff...d780230 master -> master (forced update) * [new branch] branches/new_branch -> branches/new_branch * [new branch] new_bmark -> new_bmark + fffffff...d780230 master -> master (forced update) + fffffff...d5cbaf2 good_bmark -> good_bmark (forced update) + fffffff...b5922c9 branches/good_branch -> branches/good_branch (forced update) * [new branch] new_bmark -> new_bmark * [new branch] branches/new_branch -> branches/new_branch + fffffff...ff77ff5 bad_bmark1 -> bad_bmark1 (forced update) + fffffff...c3253dc bad_bmark2 -> bad_bmark2 (forced update) + fffffff...042084c branches/bad_branch -> branches/bad_branch (forced update) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 3 modifiche a 3 file new changesets 4c04be023423:c45473c44eb9 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) Cloning into './sub_hg_b/sub_git'... done. /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] hg 8642653111d9fab3478dfd019027c174888a9a39 be509006ae902f2eb86f9b9094be5d876b2f00c6 sub_hg_a /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/gitrepo hg b2e7e8c62fbb1a3543bb98823b7974784b1891ea 7511f04feea99a98294b530b46fd5f7890248fe9 sub_hg_a_x /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/gitrepo/sub_hg_a hg 128e1c6c0f4f587137d40b2c8f0ec4802692dffe c45473c44eb904ea13a435af22ebe6bf46cb073f sub_hg_b /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/gitrepo git e9a16bb7c08361f85ab0002e4094b4229fefb384 e9a16bb7c08361f85ab0002e4094b4229fefb384 sub_git /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/gitrepo/sub_hg_b ok 12 - subcommand sub foreach expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && setup_repo hg hgrepo && ( cd hgrepo && setup_repo hg sub_hg && echo "sub_hg = sub_hg" > .hgsub && hg add .hgsub && hg commit -m substate ) git clone hg::hgrepo gitrepo && ( cd gitrepo && git-hg-helper sub update --force && ( cd sub_hg && grep url .git/config > ../expected && git config remote.origin.url foobar && grep foobar .git/config ) && git-hg-helper sub sync && grep url sub_hg/.git/config > actual && test_cmp expected actual ) ok 25 - remote big push force dry-run expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero && echo one > content && hg commit -m one ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git reset --hard HEAD^ && echo two > content && git commit -a -m two && test_expect_code 1 git push && test_expect_code 1 git push ) ok 25 - remote big push force dry-run expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero && echo one > content && hg commit -m one ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git reset --hard HEAD^ && echo two > content && git commit -a -m two && test_expect_code 1 git push && test_expect_code 1 git push ) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file Cloning into 'gitrepo'... aggiunti 2 changeset con 2 modifiche a 1 file new changesets 65393fba3acb:e93d78ed60f5 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into 'gitrepo'... sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 3 modifiche a 3 file new changesets 080e632cdb02:128e029b35d2 HEAD is now at fb33623 zero progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) [master 1fda1c3] two Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 2 modifiche a 1 file new changesets 29f83fdd6419:ff05f05e16e2 nessuna modifica trovata progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. HEAD is now at 3bb053d zero [master 3d5deda] two Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into './sub_hg'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo' nessuna modifica trovata hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. ok 26 - remote double failed push expecting success: test_when_finished "rm -rf gitrepo hgrepo" && ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero && echo feature-a > content && hg commit -m feature-a hg bookmark feature-a ) && git clone "hg::hgrepo" gitrepo && check gitrepo origin/feature-a feature-a && ( cd hgrepo && hg bookmark -d feature-a ) && ( cd gitrepo && git fetch --prune origin git branch -a > out && ! grep feature-a out ) To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 3e4be5999e26 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo' url = foobar hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. ok 26 - remote double failed push expecting success: test_when_finished "rm -rf gitrepo hgrepo" && ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero && echo feature-a > content && hg commit -m feature-a hg bookmark feature-a ) && git clone "hg::hgrepo" gitrepo && check gitrepo origin/feature-a feature-a && ( cd hgrepo && hg bookmark -d feature-a ) && ( cd gitrepo && git fetch --prune origin git branch -a > out && ! grep feature-a out ) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 13 - subcommand sub sync expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && setup_repo hg hgrepo && ( cd hgrepo && setup_repo hg sub_hg && setup_repo git sub_git && echo "sub_hg = sub_hg" > .hgsub && echo "sub_git = [git]sub_git" >> .hgsub && hg add .hgsub && hg commit -m substate ) git clone hg::hgrepo gitrepo && ( cd gitrepo && git-hg-helper sub update --force && ( cd sub_hg && echo one > content_sub_hg && git add content_sub_hg && git commit -m one_sub_hg && # detached HEAD git push origin HEAD:master && # also fetch to ensure notes are updated git fetch origin ) && ( cd sub_git && echo one > content_sub_git && git add content_sub_git && git commit -m one_sub_git && # detached HEAD; push revision to other side ... anywhere git push origin HEAD:refs/heads/new ) ) && ( cd gitrepo && git-hg-helper sub upstate && git diff && git status --porcelain | grep .hgsubstate && git add .hgsubstate && git commit -m update_sub && git push origin master ) && hg clone hgrepo hgclone && ( cd hgclone && hg update ) && check_branch hgclone default update_sub && check_branch hgclone/sub_hg default one_sub_hg && check hgclone/sub_git HEAD one_sub_git Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways Cloning into 'gitrepo'... sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark feature-a aggiunti 2 changeset con 2 modifiche a 1 file new changesets bd600d103032:2ae07ac871cc progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark feature-a aggiunti 2 changeset con 2 modifiche a 1 file new changesets c62fffc07444:05d557351aab progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_git/.git/ [master (root-commit) e9a16bb] zero_sub_git Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 content_sub_git /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways nessuna modifica trovata error: refusing to update ref with bad name 'hg/origin/refs/bookmarks/feature-a' From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo - [deleted] (none) -> origin/feature-a ok 27 - fetch prune expecting success: test_when_finished "rm -rf gitrepo hgrepo" && ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero && hg up -r null && echo another > ocontent && hg add ocontent && hg commit -m one ) && # -r 1 acts as master ( git init --bare gitrepo && cd gitrepo && git remote add origin hg::../hgrepo && git fetch origin refs/heads/*:refs/heads/* ) && ( cd hgrepo && hg up 0 && echo two > content && hg commit -m two ) && # now master already exists # -r 2 becomes master head which has rev 0 as ancestor # so when importing (parentless) rev 0, a reset is needed # (to ensure rev 0 is not given a parent commit) ( cd gitrepo && git fetch origin && git log --format="%s" origin/master > ../actual ) && hg -R hgrepo log -r . -f --template "{desc}\n" > expected && test_cmp actual expected Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata error: refusing to update ref with bad name 'hg/origin/refs/bookmarks/feature-a' From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo - [deleted] (none) -> origin/feature-a /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 3 modifiche a 3 file new changesets 15225b343963:d643e41640b9 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 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) 0 files updated, 0 files merged, 1 files removed, 0 files unresolved /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into './sub_hg'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] creata una nuova head sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets adbace4cb68d 0 files updated, 0 files merged, 1 files removed, 0 files unresolved Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/gitrepo/ progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) Cloning into './sub_git'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] done. WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways [detached HEAD 4c49f49] one_sub_hg Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) creata una nuova head sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 2 modifiche a 2 file (+1 head) new changesets 4b3263dadf1f:ff9324acc3e3 WARNING: Branch 'default' has more than one head, consider merging WARNING: Branch 'default' has more than one head, consider merging progress revision 1 'default' (0/1) From hg::../hgrepo * [new branch] branches/default -> branches/default * [new branch] master -> master * [new branch] branches/default -> origin/branches/default * [new branch] master -> origin/master Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/gitrepo/ /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] 1 files updated, 0 files merged, 1 files removed, 0 files unresolved aggiunti 1 changeset con 1 modifiche a 1 file sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg fffffff..4c49f49 HEAD -> master aggiunti 2 changeset con 2 modifiche a 2 file (+1 head) new changesets 478682d511f9:0e67d24af61b WARNING: Branch 'default' has more than one head, consider merging WARNING: Branch 'default' has more than one head, consider merging progress revision 1 'default' (0/1) From hg::../hgrepo * [new branch] branches/default -> branches/default * [new branch] master -> master * [new branch] branches/default -> origin/branches/default * [new branch] master -> origin/master /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata 1 local changesets published 1 files updated, 0 files merged, 1 files removed, 0 files unresolved From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg 93ec06b..4c49f49 branches/default -> origin/branches/default /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways [detached HEAD cea1af1] one_sub_git Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 52ef66e970d2 WARNING: Branch 'default' has more than one head, consider merging To /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_git * [new branch] HEAD -> new progress revision walk 'branches/default' (2/2) progress revision 0 'default' (0/2) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo + a80497c...6341944 branches/default -> origin/branches/default (forced update) + a80497c...6341944 master -> origin/master (forced update) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Updating ./sub_hg to 7ca03c23d5dc3428a0b2be50af80a9b546629974 [git 4c49f49] Updating ./sub_git to cea1af1c0bdaae94623e5a8e4d85c13835bb44b6 [git cea1af1] sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 585eca159592 diff --git a/.hgsubstate b/.hgsubstate index aa1de7f..c8030c8 100644 --- a/.hgsubstate +++ b/.hgsubstate @@ -1,2 +1,2 @@ -e9a16bb7c08361f85ab0002e4094b4229fefb384 sub_git -adbace4cb68d7eca7c2aa2291c5ef6c6be7bad7a sub_hg +cea1af1c0bdaae94623e5a8e4d85c13835bb44b6 sub_git +7ca03c23d5dc3428a0b2be50af80a9b546629974 sub_hg M .hgsubstate WARNING: Branch 'default' has more than one head, consider merging progress revision walk 'branches/default' (2/2) progress revision 0 'default' (0/2) [master 9f2c404] update_sub Author: A U Thor 1 file changed, 2 insertions(+), 2 deletions(-) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo + 4f6a606...ae96a79 branches/default -> origin/branches/default (forced update) + 4f6a606...ae96a79 master -> origin/master (forced update) 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 ) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file 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 ) To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo fffffff..9f2c404 master -> master Cloning into '/build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgclone/sub_git'... done. Cloning into 'gitrepo'... Switched to a new branch 'new' sto aggiornando al branch default cloning subrepo sub_git from /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_git cloning subrepo sub_hg from /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_hg 3 files updated, 0 files merged, 0 files removed, 0 files unresolved /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways 0 files updated, 0 files merged, 0 files removed, 0 files unresolved Cloning into 'gitrepo'... sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark bookmark aggiunti 1 changeset con 1 modifiche a 1 file new changesets b0d9e6251ce7 WARNING: Ignoring invalid bookmark 'bookmark' progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] origin hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo (fetch) origin hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo (push) sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file [bookmark 6a40b1b] b Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 b adding remote bookmark bookmark aggiunti 1 changeset con 1 modifiche a 1 file new changesets 52329c1042e0 WARNING: Ignoring invalid bookmark 'bookmark' progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) origin hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo (fetch) origin hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo (push) [bookmark ea22539] b Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 b 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 ) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways nessuna modifica trovata WARNING: Ignoring invalid bookmark 'bookmark' sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo * [new branch] bookmark -> bookmark /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 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 nessuna modifica trovata WARNING: Ignoring invalid bookmark 'bookmark' sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file To hg::/build/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 Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 2 modifiche a 1 file new changesets bd83049815ff:5dcdb8ad2b89 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 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 sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 2 modifiche a 1 file new changesets 5fab1b601845:22cf607827ac Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/hgrepo/sub_git/.git/ progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) [master (root-commit) e9a16bb] zero_sub_git Author: A U Thor 1 file changed, 1 insertion(+) create mode 100644 content_sub_git Cloning into 'gitrepo'... Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 3 modifiche a 3 file new changesets 6b5c96c6f122:1317aee7ae6e 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 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 78e9e2e98df7 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) [master a999c37] two Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into './sub_hg_a'... sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo 1576543..a999c37 master -> master Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] --- expected 2023-06-08 20:36:54.074247974 +0000 +++ actual 2023-06-08 20:36:54.566201815 +0000 @@ -1,4 +1,3 @@ -332d2b9e0d5f1a21e7803ddb2f90d84307a4c0ca 78e9e2e98df7e3e6f69eb55bdb7849a353f1a7d0 sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file 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 aggiunti 1 changeset con 1 modifiche a 1 file new changesets d05120f5b2f1 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 41050bcc95eb progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) [master fbf8981] two Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into './sub_git'... done. /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] [detached HEAD cea1af1] one_sub_git Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) nessuna modifica trovata Cloning into 'gitrepo'... sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo fffffff..fbf8981 master -> master /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ok 31 - push updates notes expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo one > content && hg add content && hg commit -m one ) && git clone "hg::hgrepo" gitrepo && ( cd gitrepo && echo two > content && git commit -a -m two && git push origin master && git branch feature-a && git push origin feature-a ) && check_bookmark hgrepo feature-a two WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets bfb1dedb7178 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) 2c30dca2a56d8fbad17ca298548d0d8c7687fca8 ./sub_hg_a (heads/master) -0a078c5c2ec4763f442fb2e01b15f7c32373d915[hg] ./sub_hg_b +e9a16bb7c08361f85ab0002e4094b4229fefb384 ./sub_git (feature-a~1) 2c30dca2a56d8fbad17ca298548d0d8c7687fca8 ./sub_hg_a (heads/master) -0a078c5c2ec4763f442fb2e01b15f7c32373d915[hg] ./sub_hg_b +e9a16bb7c08361f85ab0002e4094b4229fefb384 ./sub_git (feature-a~1) [master ee9dd9f] two Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo 698f3bf..ee9dd9f master -> master /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.helper/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into 'gitrepo'... +cea1af1c0bdaae94623e5a8e4d85c13835bb44b6 ./sub_git (feature-a) ok 15 - subcommand sub status # passed all 15 test(s) 1..15 /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways nessuna modifica trovata 1 local changesets published sto cercando modifiche To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo * [new branch] feature-a -> feature-a /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 2096e694c322 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) [master e6cb126] two Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) 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 /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo fffffff..e6cb126 master -> master /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata 1 local changesets published sto cercando modifiche To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo * [new branch] feature-a -> feature-a 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 Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 51086b6a95f3 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 3740ece68141 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets f3b922da7c31 progress revision 1 'default' (0/1) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo 60475c8..505562b master -> origin/master 60475c8..505562b branches/default -> origin/branches/default * [new tag] v1.0 -> v1.0 Updating 60475c8..505562b Fast-forward .hgtags | 1 + 1 file changed, 1 insertion(+) create mode 100644 .hgtags ok 33 - pull tags expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo one > content && hg add content && hg commit -m one && hg branch feature && echo two > content && hg commit -m two && hg update default && echo three > content && hg commit -m three ) && ( git clone "hg::hgrepo" gitrepo && cd gitrepo && git merge -m Merge -Xtheirs origin/branches/feature && git push ) && cat > expected <<-EOF && Merge three two one EOF hg -R hgrepo log --template "{desc}\n" > actual && test_cmp expected actual /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 47eb01fb8457 progress revision 1 'default' (0/1) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo 59f8945..348e411 master -> origin/master 59f8945..348e411 branches/default -> origin/branches/default * [new tag] v1.0 -> v1.0 Updating 59f8945..348e411 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 marcata directory di lavoro come branch feature (branches are permanent and global, did you want a bookmark?) marcata directory di lavoro come branch feature (branches are permanent and global, did you want a bookmark?) 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 1 files updated, 0 files merged, 0 files removed, 0 files unresolved Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file Cloning into 'gitrepo'... aggiunti 3 changeset con 3 modifiche a 1 file (+1 head) new changesets 39b786ad7950:03a3a7275f97 progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/2) progress revision 1 'feature' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Auto-merging content Merge made by the 'ort' strategy. content | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 3 changeset con 3 modifiche a 1 file (+1 head) new changesets 7cac28036db2:8ab7bf3f3daa progress revision walk 'bookmarks/master' (2/2) progress revision 0 'master' (0/2) progress revision 1 'feature' (0/1) Auto-merging content Merge made by the 'ort' strategy. content | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file (-1 head) To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo 3660fb0..4c6f19c master -> master /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file (-1 head) To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo fffffff..0a84c34 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 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/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 907119010f6a progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets d6ec0aa982ab progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo * [new tag] v1.0 -> v1.0 /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo * [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 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 marcata directory di lavoro come branch feature (branches are permanent and global, did you want a bookmark?) marcata directory di lavoro come branch feature (branches are permanent and global, did you want a bookmark?) Cloning into 'gitrepo'... Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 2 modifiche a 1 file new changesets 12a2468e7605:1c705c2ee1b9 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/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 2 modifiche a 1 file /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] new changesets afeab85390da:98632033f5f4 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' (0/0) progress revision 0 'master' (0/1) progress revision 1 'feature' (0/1) nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo * [new tag] v1.0 -> v1.0 * master Switched to a new branch 'branches/feature' branch 'branches/feature' set up to track 'origin/branches/feature'. 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 /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo * [new tag] v1.0 -> v1.0 ok 36 - push tag different branch expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo test > test_file && hg add test_file && hg commit -m add && hg rm test_file && hg commit -m remove ) && git clone "hg::hgrepo" gitrepo && check_files gitrepo Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways Cloning into 'gitrepo'... sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 1 modifiche a 1 file new changesets 05f6ec87b160:54aee169f69d 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" /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 1 modifiche a 1 file new changesets 85be1105add8:da47cfc47de6 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) ok 37 - cloning a removed file works expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo test > dir_or_file && hg add dir_or_file && hg commit -m add && hg rm dir_or_file && mkdir dir_or_file && echo test > dir_or_file/test_file && hg add dir_or_file/test_file && hg commit -m replase ) && git clone "hg::hgrepo" gitrepo && check_files gitrepo "dir_or_file/test_file" Cloning into 'gitrepo'... Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 2 modifiche a 2 file new changesets 7baea198726c:41c7df985964 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file 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" aggiunti 2 changeset con 2 modifiche a 2 file new changesets a613cd453f7f:1523ecbbbd95 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) ok 38 - cloning a file replaced with a directory expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && mkdir dir_or_file && echo test > dir_or_file/test_file && hg add dir_or_file/test_file && hg commit -m add && hg rm dir_or_file/test_file && echo test > dir_or_file && hg add dir_or_file && hg commit -m add && hg rm dir_or_file ) && git clone "hg::hgrepo" gitrepo && check_files gitrepo "dir_or_file" Cloning into 'gitrepo'... Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 2 modifiche a 2 file new changesets 484ecf806e3d:acc85853caf3 progress revision walk 'bookmarks/master' (1/1) progress revision 0 'master' (0/2) sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 2 modifiche a 2 file new changesets 0907df7653e0:f1090a471e5d 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 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" marcata directory di lavoro come branch parent (branches are permanent and global, did you want a bookmark?) marcata directory di lavoro come branch parent (branches are permanent and global, did you want a bookmark?) marcata directory di lavoro come branch parent/child marcata directory di lavoro come branch parent/child Cloning into 'gitrepo'... Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 3 changeset con 3 modifiche a 1 file new changesets b7d136fbdd4d:9fac14a5cfe1 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) sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file 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 aggiunti 3 changeset con 3 modifiche a 1 file new changesets b7d136fbdd4d:9fac14a5cfe1 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/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Cloning into 'gitrepo'... sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 8f19da7f517c progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file sto cercando modifiche aggiunti 1 changeset con 1 modifiche a 1 file new changesets 2e6a309f05b8 sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file To hg::/build/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' (0/0) progress revision 0 'master' (0/1) ok 41 - push annotated tag expecting success: test_when_finished "rm -rf hgrepo gitrepo1 gitrepo2" && hg init hgrepo && ( git clone "hg::hgrepo" gitrepo1 && cd gitrepo1 && echo two >> content && git add content && git commit -m two --date="2016-09-26 00:00:00 -0230" && git push ) && git clone "hg::hgrepo" gitrepo2 && git --git-dir=gitrepo1/.git log -1 --format="%ai" > expected && git --git-dir=gitrepo2/.git log -1 --format="%ai" > actual && test_cmp expected actual /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo * [new tag] v1.0 -> v1.0 Cloning into 'gitrepo1'... ok 41 - push annotated tag expecting success: test_when_finished "rm -rf hgrepo gitrepo1 gitrepo2" && hg init hgrepo && ( git clone "hg::hgrepo" gitrepo1 && cd gitrepo1 && echo two >> content && git add content && git commit -m two --date="2016-09-26 00:00:00 -0230" && git push ) && git clone "hg::hgrepo" gitrepo2 && git --git-dir=gitrepo1/.git log -1 --format="%ai" > expected && git --git-dir=gitrepo2/.git log -1 --format="%ai" > actual && test_cmp expected actual /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata 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 Cloning into 'gitrepo1'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo * [new branch] master -> master nessuna modifica trovata warning: You appear to have cloned an empty repository. Cloning into 'gitrepo2'... [master (root-commit) 9f40cc0] two Author: A U Thor Date: Mon Sep 26 00:00:00 2016 -0230 1 file changed, 1 insertion(+) create mode 100644 content /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets e522f351d13b progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main/tmp/hgrepo * [new branch] master -> master Cloning into 'gitrepo2'... 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 /build/git-remote-hg-1.0.4~ds/test/trash directory.main/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: capability_push is disabled, only do so when really sure WARNING: various enhanced features might fail in subtle ways sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets e522f351d13b progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) 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/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file adding remote bookmark feature-a aggiunti 1 changeset con 1 modifiche a 1 file new changesets 2a3733f54a31 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata error: refusing to update ref with bad name 'hg/origin/refs/heads/feature-a' ok 43 - remote delete bookmark expecting success: test_when_finished "rm -rf hgrepo gitrepo" && ( hg init hgrepo && cd hgrepo && echo zero > content && hg add content && hg commit -m zero ) && git clone "hg::hgrepo" gitrepo && ( cd gitrepo && echo one > content && git commit -a -m one && git push --quiet origin master:feature-b && git push --quiet origin master^:refs/heads/feature-a ) && check_bookmark hgrepo feature-a zero && check_bookmark hgrepo feature-b one && ( cd gitrepo && git push --quiet origin master:feature-a ) && check_bookmark hgrepo feature-a one Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 393bf0f86433 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) [master c6ba147] one Author: A U Thor 1 file changed, 1 insertion(+), 1 deletion(-) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata adding remote bookmark feature-b 1 local changesets published sto cercando modifiche /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata adding remote bookmark feature-a sto cercando modifiche ok 44 - source:dest bookmark expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && setup_check_hg_commits_repo && ( cd gitrepo && git fetch origin && git reset --hard origin/master && ! git push second master 2>../error ) cat error && grep rejected error | grep hg Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 7cdd74dd91b0 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) sto aggiornando al branch default 1 files updated, 0 files merged, 0 files removed, 0 files unresolved /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata progress revision walk 'branches/default' (0/0) progress revision 0 'default' (0/1) From hg::../hgrepo.second * [new branch] branches/default -> second/branches/default * [new branch] master -> second/master /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 5 changeset con 5 modifiche a 2 file new changesets dfd1c3567f5a:9b2427e4c12c progress revision 1 'default' (0/5) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo a02bc3b..e3e5591 master -> origin/master a02bc3b..e3e5591 branches/default -> origin/branches/default HEAD is now at e3e5591 restored /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo.second ! [remote rejected] master -> master (rejected not pushing hg based commit c66af2439d67924aff1dd16f5b99b129c5c86644) error: failed to push some refs to 'hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo.second' ! [remote rejected] master -> master (rejected not pushing hg based commit c66af2439d67924aff1dd16f5b99b129c5c86644) ok 45 - check-hg-commits with fail mode expecting success: check_hg_commits_push Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) sto aggiornando al branch default 1 files updated, 0 files merged, 0 files removed, 0 files unresolved /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] progress revision walk 'branches/default' (0/0) progress revision 0 'default' (0/1) From hg::../hgrepo.second * [new branch] branches/default -> second/branches/default * [new branch] master -> second/master /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] progress revision 1 'default' (0/5) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo da2aa3b..c5abe19 master -> origin/master da2aa3b..c5abe19 branches/default -> origin/branches/default HEAD is now at c5abe19 restored /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: Pushing hg changeset 29fab57c48867cbd01a8e68940c5e6fff928b4fd for f011ac8a1fc2aa11452f7eb0363740258637c5c9 WARNING: Pushing hg changeset a6161bc230a3e92128b53912304f4bc93f51a7a0 for b01a42b615765a4fba5f7911d277f30710b85749 WARNING: Pushing hg changeset fddc067b81757bcac0a5e23d0edbb6a2d835e22b for d32f68ff903cc502fde9db18f9421a1de69acee7 WARNING: Pushing hg changeset 9a58fb9b71d334452cf8f12065db91f959c27b20 for 7b9910d3d3511a2fa0b7e9706b6243b777262478 WARNING: Pushing hg changeset 56d3e8cacb7088e0dcadf1e6f6e9260632e7d9d2 for c5abe19caa8a2b850a9b701690602a03df083de2 To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo.second fffffff..c5abe19 master -> master WARNING: Pushing hg changeset 29fab57c48867cbd01a8e68940c5e6fff928b4fd for f011ac8a1fc2aa11452f7eb0363740258637c5c9 WARNING: Pushing hg changeset a6161bc230a3e92128b53912304f4bc93f51a7a0 for b01a42b615765a4fba5f7911d277f30710b85749 WARNING: Pushing hg changeset fddc067b81757bcac0a5e23d0edbb6a2d835e22b for d32f68ff903cc502fde9db18f9421a1de69acee7 WARNING: Pushing hg changeset 9a58fb9b71d334452cf8f12065db91f959c27b20 for 7b9910d3d3511a2fa0b7e9706b6243b777262478 WARNING: Pushing hg changeset 56d3e8cacb7088e0dcadf1e6f6e9260632e7d9d2 for c5abe19caa8a2b850a9b701690602a03df083de2 ok 46 - check-hg-commits with push mode - no local proxy expecting success: check_hg_commits_push Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets e34f05a9968d progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) sto aggiornando al branch default 1 files updated, 0 files merged, 0 files removed, 0 files unresolved /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata progress revision walk 'branches/default' (0/0) progress revision 0 'default' (0/1) From hg::../hgrepo.second * [new branch] branches/default -> second/branches/default * [new branch] master -> second/master /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 5 changeset con 5 modifiche a 2 file new changesets 9092261ee4e4:0a2625cbeecf progress revision 1 'default' (0/5) From hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo 6a0733d..912a523 master -> origin/master 6a0733d..912a523 branches/default -> origin/branches/default HEAD is now at 912a523 restored /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata WARNING: Using hg changeset 9092261ee4e461ef1b925e09ced9b179e6bce91f for ee1b8b9125f7454dfb21691227ce0b937a61cf3f WARNING: Using hg changeset 3f59604a759bf3e0c095945d38f9c46f1b81af81 for 8e6177df8b093eb7074fc4ce2a3fbdfb60f6a4ed WARNING: Using hg changeset 8a2811f6d41a5f30020ea4db782a63c8803f2fb1 for 2bfce7435fe5eb4cb0861b2f6a82ec3b1ecefe66 WARNING: Using hg changeset 69d6f6a4d02a5d44619eec3091641ba441660211 for 1c533d3e9e6fc62a82ee10c62fca3a8946659491 WARNING: Using hg changeset 0a2625cbeecf1350b143d33fdc8c504396cbfd51 for 912a523654d7aff1caa97f4b3e19343f1227f5ff sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 5 changeset con 5 modifiche a 2 file To hg::/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/hgrepo.second fffffff..912a523 master -> master WARNING: Using hg changeset 9092261ee4e461ef1b925e09ced9b179e6bce91f for ee1b8b9125f7454dfb21691227ce0b937a61cf3f WARNING: Using hg changeset 3f59604a759bf3e0c095945d38f9c46f1b81af81 for 8e6177df8b093eb7074fc4ce2a3fbdfb60f6a4ed WARNING: Using hg changeset 8a2811f6d41a5f30020ea4db782a63c8803f2fb1 for 2bfce7435fe5eb4cb0861b2f6a82ec3b1ecefe66 WARNING: Using hg changeset 69d6f6a4d02a5d44619eec3091641ba441660211 for 1c533d3e9e6fc62a82ee10c62fca3a8946659491 WARNING: Using hg changeset 0a2625cbeecf1350b143d33fdc8c504396cbfd51 for 912a523654d7aff1caa97f4b3e19343f1227f5ff ok 47 - check-hg-commits with push mode - with local proxy expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && setup_check_shared_marks_repo && ( cd gitrepo && check_marks .git/hg y && check_marks .git/hg/origin n && check_marks .git/hg/second n ) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 39541a2e0921 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata From hg::../hgrepo * [new branch] branches/default -> second/branches/default * [new branch] master -> second/master total 28 drwxr-xr-x 5 pbuilder2 pbuilder2 4096 Jun 8 20:42 . drwxr-xr-x 9 pbuilder2 pbuilder2 4096 Jun 8 20:42 .. drwxr-xr-x 5 pbuilder2 pbuilder2 4096 Jun 8 20:42 .hg -rw-r--r-- 1 pbuilder2 pbuilder2 132 Jun 8 20:42 marks-git -rw-r--r-- 1 pbuilder2 pbuilder2 116 Jun 8 20:42 marks-hg drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:42 origin drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:42 second total 16 drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:42 . drwxr-xr-x 5 pbuilder2 pbuilder2 4096 Jun 8 20:42 .. drwxr-xr-x 3 pbuilder2 pbuilder2 4096 Jun 8 20:42 clone drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:42 refs total 16 drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:42 . drwxr-xr-x 5 pbuilder2 pbuilder2 4096 Jun 8 20:42 .. drwxr-xr-x 3 pbuilder2 pbuilder2 4096 Jun 8 20:42 clone drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:42 refs ok 48 - shared-marks unset expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && git config --global remote-hg.shared-marks true && setup_check_shared_marks_repo && ( cd gitrepo && check_marks .git/hg y && check_marks .git/hg/origin n && check_marks .git/hg/second n ) && git config --global remote-hg.shared-marks false && ( cd gitrepo && git fetch origin && check_marks .git/hg n && check_marks .git/hg/origin y && check_marks .git/hg/second y ) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 380235f79969 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata From hg::../hgrepo * [new branch] branches/default -> second/branches/default * [new branch] master -> second/master total 28 drwxr-xr-x 5 pbuilder2 pbuilder2 4096 Jun 8 20:42 . drwxr-xr-x 9 pbuilder2 pbuilder2 4096 Jun 8 20:42 .. drwxr-xr-x 5 pbuilder2 pbuilder2 4096 Jun 8 20:42 .hg -rw-r--r-- 1 pbuilder2 pbuilder2 132 Jun 8 20:42 marks-git -rw-r--r-- 1 pbuilder2 pbuilder2 116 Jun 8 20:42 marks-hg drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:42 origin drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:42 second total 16 drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:42 . drwxr-xr-x 5 pbuilder2 pbuilder2 4096 Jun 8 20:42 .. drwxr-xr-x 3 pbuilder2 pbuilder2 4096 Jun 8 20:42 clone drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:42 refs total 16 drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:42 . drwxr-xr-x 5 pbuilder2 pbuilder2 4096 Jun 8 20:42 .. drwxr-xr-x 3 pbuilder2 pbuilder2 4096 Jun 8 20:42 clone drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:42 refs /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: seeded marks of second with shared; performing gc /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] ERROR: found both .git/hg/second/marks-git and .git/hg/marks-git WARNING: gc for second failed WARNING: seeded marks of origin with shared; performing gc /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-hg-helper:44: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] Loading hg marks ... Loading git marks ... Performing garbage collection on git commits ... Computing marks intersection ... Including notes commits ... Writing hg marks ... Writing git marks ... nessuna modifica trovata progress revision walk 'branches/default' (0/0) progress revision 0 'default' (0/1) total 20 drwxr-xr-x 5 pbuilder2 pbuilder2 4096 Jun 8 20:43 . drwxr-xr-x 9 pbuilder2 pbuilder2 4096 Jun 8 20:42 .. drwxr-xr-x 5 pbuilder2 pbuilder2 4096 Jun 8 20:42 .hg drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:43 origin drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:43 second total 24 drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:43 . drwxr-xr-x 5 pbuilder2 pbuilder2 4096 Jun 8 20:43 .. drwxr-xr-x 3 pbuilder2 pbuilder2 4096 Jun 8 20:42 clone -rw-r--r-- 1 pbuilder2 pbuilder2 132 Jun 8 20:43 marks-git -rw-r--r-- 1 pbuilder2 pbuilder2 116 Jun 8 20:43 marks-hg drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:42 refs total 24 drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:43 . drwxr-xr-x 5 pbuilder2 pbuilder2 4096 Jun 8 20:43 .. drwxr-xr-x 3 pbuilder2 pbuilder2 4096 Jun 8 20:42 clone -rw-r--r-- 1 pbuilder2 pbuilder2 132 Jun 8 20:43 marks-git -rw-r--r-- 1 pbuilder2 pbuilder2 116 Jun 8 20:43 marks-hg drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:42 refs ok 49 - shared-marks set to unset expecting success: test_when_finished "rm -rf gitrepo* hgrepo*" && git config --global remote-hg.shared-marks false && setup_check_shared_marks_repo && ( cd gitrepo && check_marks .git/hg n && check_marks .git/hg/origin y && check_marks .git/hg/second y ) && git config --global --unset remote-hg.shared-marks && ( cd gitrepo && git fetch origin && check_marks .git/hg n && check_marks .git/hg/origin y && check_marks .git/hg/second y ) && git config --global remote-hg.shared-marks true && ( cd gitrepo && git fetch origin && check_marks .git/hg y && check_marks .git/hg/origin n && check_marks .git/hg/second n ) Cloning into 'gitrepo'... /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 1 modifiche a 1 file new changesets 30c4d115c868 progress revision walk 'bookmarks/master' (0/0) progress revision 0 'master' (0/1) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata 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 Jun 8 20:43 . drwxr-xr-x 9 pbuilder2 pbuilder2 4096 Jun 8 20:43 .. drwxr-xr-x 5 pbuilder2 pbuilder2 4096 Jun 8 20:43 .hg drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:43 origin drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:43 second total 24 drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:43 . drwxr-xr-x 5 pbuilder2 pbuilder2 4096 Jun 8 20:43 .. drwxr-xr-x 3 pbuilder2 pbuilder2 4096 Jun 8 20:43 clone -rw-r--r-- 1 pbuilder2 pbuilder2 132 Jun 8 20:43 marks-git -rw-r--r-- 1 pbuilder2 pbuilder2 116 Jun 8 20:43 marks-hg drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:43 refs total 24 drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:43 . drwxr-xr-x 5 pbuilder2 pbuilder2 4096 Jun 8 20:43 .. drwxr-xr-x 3 pbuilder2 pbuilder2 4096 Jun 8 20:43 clone -rw-r--r-- 1 pbuilder2 pbuilder2 132 Jun 8 20:43 marks-git -rw-r--r-- 1 pbuilder2 pbuilder2 116 Jun 8 20:43 marks-hg drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:43 refs /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata total 20 drwxr-xr-x 5 pbuilder2 pbuilder2 4096 Jun 8 20:43 . drwxr-xr-x 9 pbuilder2 pbuilder2 4096 Jun 8 20:43 .. drwxr-xr-x 5 pbuilder2 pbuilder2 4096 Jun 8 20:43 .hg drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:43 origin drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:43 second total 24 drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:43 . drwxr-xr-x 5 pbuilder2 pbuilder2 4096 Jun 8 20:43 .. drwxr-xr-x 3 pbuilder2 pbuilder2 4096 Jun 8 20:43 clone -rw-r--r-- 1 pbuilder2 pbuilder2 132 Jun 8 20:43 marks-git -rw-r--r-- 1 pbuilder2 pbuilder2 116 Jun 8 20:43 marks-hg drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:43 refs total 24 drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:43 . drwxr-xr-x 5 pbuilder2 pbuilder2 4096 Jun 8 20:43 .. drwxr-xr-x 3 pbuilder2 pbuilder2 4096 Jun 8 20:43 clone -rw-r--r-- 1 pbuilder2 pbuilder2 132 Jun 8 20:43 marks-git -rw-r--r-- 1 pbuilder2 pbuilder2 116 Jun 8 20:43 marks-hg drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:43 refs /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] WARNING: using marks of remote origin as shared marks nessuna modifica trovata total 28 drwxr-xr-x 5 pbuilder2 pbuilder2 4096 Jun 8 20:43 . drwxr-xr-x 9 pbuilder2 pbuilder2 4096 Jun 8 20:43 .. drwxr-xr-x 5 pbuilder2 pbuilder2 4096 Jun 8 20:43 .hg -rw-r--r-- 1 pbuilder2 pbuilder2 132 Jun 8 20:43 marks-git -rw-r--r-- 1 pbuilder2 pbuilder2 116 Jun 8 20:43 marks-hg drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:43 origin drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:43 second total 16 drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:43 . drwxr-xr-x 5 pbuilder2 pbuilder2 4096 Jun 8 20:43 .. drwxr-xr-x 3 pbuilder2 pbuilder2 4096 Jun 8 20:43 clone drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:43 refs total 16 drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:43 . drwxr-xr-x 5 pbuilder2 pbuilder2 4096 Jun 8 20:43 .. drwxr-xr-x 3 pbuilder2 pbuilder2 4096 Jun 8 20:43 clone drwxr-xr-x 4 pbuilder2 pbuilder2 4096 Jun 8 20:43 refs ok 50 - shared-marks unset to set expecting success: test_when_finished "rm -rf hgrepo gitrepo*" && hg init hgrepo && ( git init gitrepo && cd gitrepo && git remote add origin "hg::../hgrepo" && echo one > content && chmod a+x content && git add content && git commit -a -m one && git mv content content2 && git commit -a -m two && git push origin master ) && ( umask 0 && cd hgrepo && hg update && stat content2 >expected && grep -- -r.xr.xr.x expected ) Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/gitrepo/.git/ [master (root-commit) 5913097] one Author: A U Thor 1 file changed, 1 insertion(+) create mode 100755 content [master cbb24bc] two Author: A U Thor 1 file changed, 0 insertions(+), 0 deletions(-) rename content => content2 (100%) /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 2 changeset con 2 modifiche a 2 file 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/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/sub/.git/ [master (root-commit) be983cd] init Author: A U Thor 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 empty Initialized empty Git repository in /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/gitrepo/.git/ Cloning into '/build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/tmp/gitrepo/sub'... done. [master (root-commit) c56d720] sub Author: A U Thor 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 sub /build/git-remote-hg-1.0.4~ds/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead or locale.getdefaultlocale()[1] nessuna modifica trovata sto cercando modifiche sto aggiungendo i changeset sto aggiungendo i manifesti sto aggiungendo le modifiche ai file aggiunti 1 changeset con 2 modifiche a 2 file To hg::../hgrepo * [new branch] master -> master 2 files updated, 0 files merged, 0 files removed, 0 files unresolved ok 52 - push with submodule # passed all 52 test(s) 1..52 make clean make[3]: Entering directory '/build/git-remote-hg-1.0.4~ds/test' rm -f -r 'trash directory'.* test-results make[3]: Leaving directory '/build/git-remote-hg-1.0.4~ds/test' make[2]: Leaving directory '/build/git-remote-hg-1.0.4~ds/test' make[1]: Leaving directory '/build/git-remote-hg-1.0.4~ds' create-stamp debian/debhelper-build-stamp dh_prep debian/rules override_dh_auto_install make[1]: Entering directory '/build/git-remote-hg-1.0.4~ds' dh_auto_install -- prefix=/usr install-doc make -j4 install DESTDIR=/build/git-remote-hg-1.0.4\~ds/debian/git-remote-hg AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" prefix=/usr install-doc make[2]: Entering directory '/build/git-remote-hg-1.0.4~ds' if [ -n "$PYTHON" ] && "$PYTHON" -c 'import mercurial' 2> /dev/null ; then \ : Use chosen Python version ; \ elif python3 -c 'import mercurial' 2> /dev/null ; then \ PYTHON=python3 ; \ elif python2 -c 'import mercurial' 2> /dev/null ; then \ PYTHON=python2 ; \ elif python -c 'import mercurial' 2> /dev/null ; then \ PYTHON=python ; \ else \ echo 'Python with Mercurial not available' >&2 ; \ exit 1 ; \ fi ; \ mkdir -p bin ; \ for s in git-remote-hg git-hg-helper ; do \ printf "%s\n" "#!/usr/bin/env $PYTHON" > "bin/$s" ; \ tail -n +2 "./$s" >> "bin/$s" ; \ chmod 755 "bin/$s" ; \ touch -r "./$s" "bin/$s" ; \ done install -d -m 755 /build/git-remote-hg-1.0.4~ds/debian/git-remote-hg/usr/share/man/man1/ install -m 644 doc/git-remote-hg.1 /build/git-remote-hg-1.0.4~ds/debian/git-remote-hg/usr/share/man/man1/git-remote-hg.1 install -d -m 755 /build/git-remote-hg-1.0.4~ds/debian/git-remote-hg/usr/bin/ install -m 755 bin/git-remote-hg /build/git-remote-hg-1.0.4~ds/debian/git-remote-hg/usr/bin/git-remote-hg install -m 755 bin/git-hg-helper /build/git-remote-hg-1.0.4~ds/debian/git-remote-hg/usr/bin/git-hg-helper make[2]: Leaving directory '/build/git-remote-hg-1.0.4~ds' make[1]: Leaving directory '/build/git-remote-hg-1.0.4~ds' dh_installdocs dh_installchangelogs dh_installman dh_python3 I: dh_python3 tools:114: replacing shebang in debian/git-remote-hg/usr/bin/git-remote-hg I: dh_python3 tools:114: replacing shebang in debian/git-remote-hg/usr/bin/git-hg-helper 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_armhf.buildinfo dpkg-genchanges --build=binary -O../git-remote-hg_1.0.4~ds-1_armhf.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/21585/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/21585/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/21585 and its subdirectories I: Current time: Fri Jun 9 10:44:30 +14 2023 I: pbuilder-time-stamp: 1686257070