0s autopkgtest [06:56:02]: starting date and time: 2026-02-10 06:56:02+0000 0s autopkgtest [06:56:02]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [06:56:02]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.wxgslxzi/out --timeout-copy=6000 --needs-internet=try -a i386 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:mercurial --apt-upgrade hg-git --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=mercurial/7.2-2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-amd64 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@sto01-27.secgroup --name adt-resolute-i386-hg-git-20260210-065601-juju-7f2275-prod-proposed-migration-environment-15-ad71c6f6-99db-4e46-9288-a51f8181beee --image adt/ubuntu-resolute-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-autopkgtest-workers-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-i386-hg-git-20260210-065601-juju-7f2275-prod-proposed-migration-environment-15-ad71c6f6-99db-4e46-9288-a51f8181beee from image adt/ubuntu-resolute-amd64-server-20260204.img (UUID fedf54b4-458b-493e-8072-6425c19717b4)... 73s autopkgtest [06:57:15]: testbed dpkg architecture: amd64 73s autopkgtest [06:57:15]: testbed apt version: 3.1.14 73s autopkgtest [06:57:15]: @@@@@@@@@@@@@@@@@@@@ test bed setup 73s autopkgtest [06:57:15]: testbed release detected to be: None 74s autopkgtest [06:57:16]: updating testbed package index (apt update) 74s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 74s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 74s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 74s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 74s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [178 kB] 74s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [31.1 kB] 74s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1727 kB] 74s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [219 kB] 74s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [266 kB] 75s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [6184 B] 75s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [120 B] 75s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [1787 kB] 75s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [792 kB] 75s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [32.5 kB] 75s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [26.4 kB] 75s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [5020 B] 75s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [996 B] 75s Fetched 5197 kB in 1s (6223 kB/s) 76s Reading package lists... 77s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 77s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 77s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 77s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 77s Reading package lists... 77s Reading package lists... 77s Building dependency tree... 77s Reading state information... 78s Calculating upgrade... 78s The following package was automatically installed and is no longer required: 78s libpython3.13 78s Use 'sudo apt autoremove' to remove it. 78s The following NEW packages will be installed: 78s gcc-16-base libpython3.14 libpython3.14-minimal libpython3.14-stdlib 78s linux-headers-6.19.0-3 linux-headers-6.19.0-3-generic 78s linux-image-6.19.0-3-generic linux-modules-6.19.0-3-generic 78s linux-tools-6.19.0-3 linux-tools-6.19.0-3-generic 78s The following packages will be upgraded: 78s 3cpio amd64-microcode apt bpftool busybox-initramfs busybox-static 78s cryptsetup-bin dash dbus dbus-bin dbus-daemon dbus-session-bus-common 78s dbus-system-bus-common dbus-user-session debianutils dmsetup dracut-install 78s ethtool findutils gir1.2-girepository-3.0 gir1.2-glib-2.0 hwdata iproute2 78s iptables less libapt-pkg7.0 libatomic1 libattr1 libbpf1 libbrotli1 libbsd0 78s libcryptsetup12 libdbus-1-3 libdevmapper1.02.1 libdrm-amdgpu1 libdrm-common 78s libdrm2 libevent-core-2.1-7t64 libgcc-s1 libgdbm-compat4t64 libgdbm6t64 78s libgirepository-2.0-0 libglib2.0-0t64 libglib2.0-data libgpm2 libgudev-1.0-0 78s libidn2-0 libip4tc2 libip6tc2 libjansson4 libkeyutils1 liblsof0 78s libmaxminddb0 libnetfilter-conntrack3 libnpth0t64 libonig5 libpcap0.8t64 78s libpci3 libsensors-config libsensors5 libstdc++6 libusb-1.0-0 libwrap0 78s libxau6 libxkbcommon0 libxtables12 linux-generic linux-headers-generic 78s linux-headers-virtual linux-image-generic linux-image-virtual linux-perf 78s linux-tools-common linux-virtual lsof man-db mawk patch pciutils pnp.ids 78s pollinate python3-linkify-it python3-markdown-it python3-referencing sed 78s shared-mime-info tar tcpdump ubuntu-kernel-accessories ubuntu-standard wget 78s 91 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. 78s Need to get 237 MB of archives. 78s After this operation, 339 MB of additional disk space will be used. 78s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 debianutils amd64 5.23.2build1 [93.3 kB] 78s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 dash amd64 0.5.12-12ubuntu3 [96.0 kB] 78s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 findutils amd64 4.10.0-3build2 [307 kB] 78s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 sed amd64 4.9-2build3 [195 kB] 78s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 tar amd64 1.35+dfsg-3.1build2 [257 kB] 78s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 libattr1 amd64 1:2.5.2-3build2 [11.4 kB] 78s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-16-base amd64 16-20260208-1ubuntu1 [59.7 kB] 78s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 libgcc-s1 amd64 16-20260208-1ubuntu1 [80.3 kB] 78s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 libbsd0 amd64 0.12.2-2build2 [42.3 kB] 78s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 mawk amd64 1.3.4.20260129-1 [133 kB] 78s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 libstdc++6 amd64 16-20260208-1ubuntu1 [844 kB] 78s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 libapt-pkg7.0 amd64 3.1.15 [1151 kB] 78s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 apt amd64 3.1.15 [1479 kB] 78s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus-system-bus-common all 1.16.2-2ubuntu3 [55.8 kB] 78s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus-session-bus-common all 1.16.2-2ubuntu3 [54.4 kB] 78s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus-user-session amd64 1.16.2-2ubuntu3 [9696 B] 78s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus-daemon amd64 1.16.2-2ubuntu3 [119 kB] 78s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus-bin amd64 1.16.2-2ubuntu3 [40.1 kB] 78s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus amd64 1.16.2-2ubuntu3 [24.2 kB] 78s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 libdbus-1-3 amd64 1.16.2-2ubuntu3 [185 kB] 78s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libdevmapper1.02.1 amd64 2:1.02.205-2ubuntu3 [142 kB] 78s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 dmsetup amd64 2:1.02.205-2ubuntu3 [79.4 kB] 78s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 ethtool amd64 1:6.15-3build1 [318 kB] 78s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-girepository-3.0 amd64 2.87.2-2 [25.2 kB] 78s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 libgirepository-2.0-0 amd64 2.87.2-2 [76.1 kB] 78s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 libatomic1 amd64 16-20260208-1ubuntu1 [11.4 kB] 78s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-glib-2.0 amd64 2.87.2-2 [182 kB] 78s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-0t64 amd64 2.87.2-2 [1613 kB] 78s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 libbpf1 amd64 1:1.6.2-1build1 [184 kB] 78s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 iptables amd64 1.8.11-2ubuntu3 [381 kB] 78s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 libip4tc2 amd64 1.8.11-2ubuntu3 [24.2 kB] 78s Get:32 http://ftpmaster.internal/ubuntu resolute/main amd64 libip6tc2 amd64 1.8.11-2ubuntu3 [24.4 kB] 78s Get:33 http://ftpmaster.internal/ubuntu resolute/main amd64 libnetfilter-conntrack3 amd64 1.1.1-1 [47.5 kB] 78s Get:34 http://ftpmaster.internal/ubuntu resolute/main amd64 libxtables12 amd64 1.8.11-2ubuntu3 [36.6 kB] 78s Get:35 http://ftpmaster.internal/ubuntu resolute/main amd64 iproute2 amd64 6.18.0-1ubuntu1 [1178 kB] 78s Get:36 http://ftpmaster.internal/ubuntu resolute/main amd64 less amd64 668-1build1 [172 kB] 78s Get:37 http://ftpmaster.internal/ubuntu resolute/main amd64 libcryptsetup12 amd64 2:2.8.0-1ubuntu3 [283 kB] 79s Get:38 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-data all 2.87.2-2 [58.2 kB] 79s Get:39 http://ftpmaster.internal/ubuntu resolute/main amd64 libidn2-0 amd64 2.3.8-4build1 [67.6 kB] 79s Get:40 http://ftpmaster.internal/ubuntu resolute/main amd64 libkeyutils1 amd64 1.6.3-6ubuntu3 [10.6 kB] 79s Get:41 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-linkify-it all 2.0.3-1ubuntu3 [19.4 kB] 79s Get:42 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-markdown-it all 3.0.0-3build1 [54.4 kB] 79s Get:43 http://ftpmaster.internal/ubuntu resolute/main amd64 shared-mime-info amd64 2.4-5build3 [476 kB] 79s Get:44 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-static amd64 1:1.37.0-7ubuntu1 [1034 kB] 79s Get:45 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-common all 2.4.131-1 [9774 B] 79s Get:46 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm2 amd64 2.4.131-1 [42.3 kB] 79s Get:47 http://ftpmaster.internal/ubuntu resolute/main amd64 libgdbm6t64 amd64 1.26-1build1 [36.5 kB] 79s Get:48 http://ftpmaster.internal/ubuntu resolute/main amd64 libgpm2 amd64 1.20.7-12build1 [14.4 kB] 79s Get:49 http://ftpmaster.internal/ubuntu resolute/main amd64 libjansson4 amd64 2.14-2build4 [33.2 kB] 79s Get:50 http://ftpmaster.internal/ubuntu resolute/main amd64 lsof amd64 4.99.4+dfsg-2build2 [239 kB] 79s Get:51 http://ftpmaster.internal/ubuntu resolute/main amd64 liblsof0 amd64 4.99.4+dfsg-2build2 [56.5 kB] 79s Get:52 http://ftpmaster.internal/ubuntu resolute/main amd64 libmaxminddb0 amd64 1.12.2-1build2 [18.9 kB] 79s Get:53 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcap0.8t64 amd64 1.10.5-2ubuntu3 [154 kB] 79s Get:54 http://ftpmaster.internal/ubuntu resolute/main amd64 pciutils amd64 1:3.14.0-1build2 [95.5 kB] 79s Get:55 http://ftpmaster.internal/ubuntu resolute/main amd64 libpci3 amd64 1:3.14.0-1build2 [38.1 kB] 79s Get:56 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors-config all 1:3.6.2-2build1 [6862 B] 79s Get:57 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors5 amd64 1:3.6.2-2build1 [28.9 kB] 79s Get:58 http://ftpmaster.internal/ubuntu resolute/main amd64 libusb-1.0-0 amd64 2:1.0.29-2build1 [56.9 kB] 79s Get:59 http://ftpmaster.internal/ubuntu resolute/main amd64 libxau6 amd64 1:1.0.11-1build2 [7502 B] 79s Get:60 http://ftpmaster.internal/ubuntu resolute/main amd64 libxkbcommon0 amd64 1.13.1-1 [159 kB] 79s Get:61 http://ftpmaster.internal/ubuntu resolute/main amd64 man-db amd64 2.13.1-1build1 [1392 kB] 79s Get:62 http://ftpmaster.internal/ubuntu resolute/main amd64 tcpdump amd64 4.99.5-2ubuntu3 [477 kB] 79s Get:63 http://ftpmaster.internal/ubuntu resolute/main amd64 wget amd64 1.25.0-2ubuntu4 [353 kB] 79s Get:64 http://ftpmaster.internal/ubuntu resolute/main amd64 ubuntu-standard amd64 1.564 [13.3 kB] 79s Get:65 http://ftpmaster.internal/ubuntu resolute/main amd64 3cpio amd64 0.14.0-1ubuntu1 [285 kB] 79s Get:66 http://ftpmaster.internal/ubuntu resolute/main amd64 bpftool amd64 7.7.0+6.19.0-3.3 [1229 kB] 79s Get:67 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-initramfs amd64 1:1.37.0-7ubuntu1 [191 kB] 79s Get:68 http://ftpmaster.internal/ubuntu resolute/main amd64 cryptsetup-bin amd64 2:2.8.0-1ubuntu3 [228 kB] 79s Get:69 http://ftpmaster.internal/ubuntu resolute/main amd64 dracut-install amd64 109-11ubuntu1 [45.8 kB] 79s Get:70 http://ftpmaster.internal/ubuntu resolute/main amd64 hwdata all 0.394-1build1 [1566 B] 79s Get:71 http://ftpmaster.internal/ubuntu resolute/main amd64 pnp.ids all 0.394-1build1 [29.6 kB] 79s Get:72 http://ftpmaster.internal/ubuntu resolute/main amd64 libbrotli1 amd64 1.2.0-3 [343 kB] 79s Get:73 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-amdgpu1 amd64 2.4.131-1 [23.2 kB] 79s Get:74 http://ftpmaster.internal/ubuntu resolute/main amd64 libevent-core-2.1-7t64 amd64 2.1.12-stable-10build2 [93.1 kB] 79s Get:75 http://ftpmaster.internal/ubuntu resolute/main amd64 libgdbm-compat4t64 amd64 1.26-1build1 [6796 B] 79s Get:76 http://ftpmaster.internal/ubuntu resolute/main amd64 libgudev-1.0-0 amd64 1:238-7build1 [15.9 kB] 79s Get:77 http://ftpmaster.internal/ubuntu resolute/main amd64 libnpth0t64 amd64 1.8-3build1 [9302 B] 79s Get:78 http://ftpmaster.internal/ubuntu resolute/main amd64 libonig5 amd64 6.9.10-1build1 [174 kB] 79s Get:79 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-minimal amd64 3.14.2-1 [920 kB] 79s Get:80 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-stdlib amd64 3.14.2-1 [2398 kB] 79s Get:81 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14 amd64 3.14.2-1 [2568 kB] 79s Get:82 http://ftpmaster.internal/ubuntu resolute/main amd64 libwrap0 amd64 7.6.q-36build2 [48.5 kB] 79s Get:83 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-modules-6.19.0-3-generic amd64 6.19.0-3.3 [171 MB] 83s Get:84 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-6.19.0-3-generic amd64 6.19.0-3.3+1 [16.8 MB] 84s Get:85 http://ftpmaster.internal/ubuntu resolute/main amd64 amd64-microcode amd64 3.20251202.1ubuntu1 [459 kB] 84s Get:86 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-generic amd64 6.19.0-3.3 [1698 B] 84s Get:87 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-generic amd64 6.19.0-3.3 [12.2 kB] 84s Get:88 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-virtual amd64 6.19.0-3.3 [1700 B] 84s Get:89 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-virtual amd64 6.19.0-3.3 [12.1 kB] 84s Get:90 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-virtual amd64 6.19.0-3.3 [1646 B] 84s Get:91 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-6.19.0-3 all 6.19.0-3.3 [14.9 MB] 84s Get:92 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-6.19.0-3-generic amd64 6.19.0-3.3 [4330 kB] 84s Get:93 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-generic amd64 6.19.0-3.3 [12.0 kB] 84s Get:94 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-perf amd64 6.19.0-3.3 [4480 kB] 84s Get:95 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-common all 6.19.0-3.3 [345 kB] 84s Get:96 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-6.19.0-3 amd64 6.19.0-3.3 [1455 kB] 84s Get:97 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-6.19.0-3-generic amd64 6.19.0-3.3 [1612 B] 84s Get:98 http://ftpmaster.internal/ubuntu resolute/main amd64 patch amd64 2.8-2build1 [95.7 kB] 84s Get:99 http://ftpmaster.internal/ubuntu resolute/main amd64 pollinate all 4.33-4ubuntu5 [14.0 kB] 84s Get:100 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-referencing all 0.36.2-1ubuntu2 [22.2 kB] 84s Get:101 http://ftpmaster.internal/ubuntu resolute/main amd64 ubuntu-kernel-accessories amd64 1.564 [13.1 kB] 85s dpkg-preconfigure: unable to re-open stdin: No such file or directory 85s Fetched 237 MB in 7s (35.8 MB/s) 85s (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 ... 83957 files and directories currently installed.) 85s Preparing to unpack .../debianutils_5.23.2build1_amd64.deb ... 85s Unpacking debianutils (5.23.2build1) over (5.23.2) ... 85s Setting up debianutils (5.23.2build1) ... 85s (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 ... 83957 files and directories currently installed.) 85s Preparing to unpack .../dash_0.5.12-12ubuntu3_amd64.deb ... 85s Unpacking dash (0.5.12-12ubuntu3) over (0.5.12-12ubuntu2) ... 85s Setting up dash (0.5.12-12ubuntu3) ... 85s (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 ... 83957 files and directories currently installed.) 85s Preparing to unpack .../findutils_4.10.0-3build2_amd64.deb ... 85s Unpacking findutils (4.10.0-3build2) over (4.10.0-3build1) ... 85s Setting up findutils (4.10.0-3build2) ... 85s (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 ... 83957 files and directories currently installed.) 85s Preparing to unpack .../sed_4.9-2build3_amd64.deb ... 85s Unpacking sed (4.9-2build3) over (4.9-2build2) ... 85s Setting up sed (4.9-2build3) ... 85s (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 ... 83957 files and directories currently installed.) 85s Preparing to unpack .../tar_1.35+dfsg-3.1build2_amd64.deb ... 85s Unpacking tar (1.35+dfsg-3.1build2) over (1.35+dfsg-3.1build1) ... 85s Setting up tar (1.35+dfsg-3.1build2) ... 85s (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 ... 83957 files and directories currently installed.) 85s Preparing to unpack .../libattr1_1%3a2.5.2-3build2_amd64.deb ... 85s Unpacking libattr1:amd64 (1:2.5.2-3build2) over (1:2.5.2-3build1) ... 85s Setting up libattr1:amd64 (1:2.5.2-3build2) ... 85s Selecting previously unselected package gcc-16-base:amd64. 85s (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 ... 83957 files and directories currently installed.) 85s Preparing to unpack .../gcc-16-base_16-20260208-1ubuntu1_amd64.deb ... 85s Unpacking gcc-16-base:amd64 (16-20260208-1ubuntu1) ... 85s Setting up gcc-16-base:amd64 (16-20260208-1ubuntu1) ... 85s (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 ... 83962 files and directories currently installed.) 85s Preparing to unpack .../libgcc-s1_16-20260208-1ubuntu1_amd64.deb ... 85s Unpacking libgcc-s1:amd64 (16-20260208-1ubuntu1) over (15.2.0-12ubuntu1) ... 85s Setting up libgcc-s1:amd64 (16-20260208-1ubuntu1) ... 86s (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 ... 83962 files and directories currently installed.) 86s Preparing to unpack .../00-libbsd0_0.12.2-2build2_amd64.deb ... 86s Unpacking libbsd0:amd64 (0.12.2-2build2) over (0.12.2-2build1) ... 86s Preparing to unpack .../01-mawk_1.3.4.20260129-1_amd64.deb ... 86s Unpacking mawk (1.3.4.20260129-1) over (1.3.4.20250131-2) ... 86s Preparing to unpack .../02-libstdc++6_16-20260208-1ubuntu1_amd64.deb ... 86s Unpacking libstdc++6:amd64 (16-20260208-1ubuntu1) over (15.2.0-12ubuntu1) ... 86s Preparing to unpack .../03-libapt-pkg7.0_3.1.15_amd64.deb ... 86s Unpacking libapt-pkg7.0:amd64 (3.1.15) over (3.1.14) ... 86s Preparing to unpack .../04-apt_3.1.15_amd64.deb ... 86s Unpacking apt (3.1.15) over (3.1.14) ... 86s Preparing to unpack .../05-dbus-system-bus-common_1.16.2-2ubuntu3_all.deb ... 86s Unpacking dbus-system-bus-common (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 86s Preparing to unpack .../06-dbus-session-bus-common_1.16.2-2ubuntu3_all.deb ... 86s Unpacking dbus-session-bus-common (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 86s Preparing to unpack .../07-dbus-user-session_1.16.2-2ubuntu3_amd64.deb ... 86s Unpacking dbus-user-session (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 86s Preparing to unpack .../08-dbus-daemon_1.16.2-2ubuntu3_amd64.deb ... 86s Unpacking dbus-daemon (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 86s Preparing to unpack .../09-dbus-bin_1.16.2-2ubuntu3_amd64.deb ... 86s Unpacking dbus-bin (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 86s Preparing to unpack .../10-dbus_1.16.2-2ubuntu3_amd64.deb ... 86s Unpacking dbus (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 86s Preparing to unpack .../11-libdbus-1-3_1.16.2-2ubuntu3_amd64.deb ... 86s Unpacking libdbus-1-3:amd64 (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 86s Preparing to unpack .../12-libdevmapper1.02.1_2%3a1.02.205-2ubuntu3_amd64.deb ... 86s Unpacking libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ... 86s Preparing to unpack .../13-dmsetup_2%3a1.02.205-2ubuntu3_amd64.deb ... 86s Unpacking dmsetup (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ... 86s Preparing to unpack .../14-ethtool_1%3a6.15-3build1_amd64.deb ... 86s Unpacking ethtool (1:6.15-3build1) over (1:6.15-3) ... 86s Preparing to unpack .../15-gir1.2-girepository-3.0_2.87.2-2_amd64.deb ... 86s Unpacking gir1.2-girepository-3.0:amd64 (2.87.2-2) over (2.86.3-4) ... 86s Preparing to unpack .../16-libgirepository-2.0-0_2.87.2-2_amd64.deb ... 86s Unpacking libgirepository-2.0-0:amd64 (2.87.2-2) over (2.86.3-4) ... 86s Preparing to unpack .../17-libatomic1_16-20260208-1ubuntu1_amd64.deb ... 86s Unpacking libatomic1:amd64 (16-20260208-1ubuntu1) over (15.2.0-12ubuntu1) ... 86s Preparing to unpack .../18-gir1.2-glib-2.0_2.87.2-2_amd64.deb ... 86s Unpacking gir1.2-glib-2.0:amd64 (2.87.2-2) over (2.86.3-4) ... 86s Preparing to unpack .../19-libglib2.0-0t64_2.87.2-2_amd64.deb ... 86s Unpacking libglib2.0-0t64:amd64 (2.87.2-2) over (2.86.3-4) ... 86s Preparing to unpack .../20-libbpf1_1%3a1.6.2-1build1_amd64.deb ... 86s Unpacking libbpf1:amd64 (1:1.6.2-1build1) over (1:1.6.2-1) ... 86s Preparing to unpack .../21-iptables_1.8.11-2ubuntu3_amd64.deb ... 86s Unpacking iptables (1.8.11-2ubuntu3) over (1.8.11-2ubuntu2) ... 86s Preparing to unpack .../22-libip4tc2_1.8.11-2ubuntu3_amd64.deb ... 86s Unpacking libip4tc2:amd64 (1.8.11-2ubuntu3) over (1.8.11-2ubuntu2) ... 87s Preparing to unpack .../23-libip6tc2_1.8.11-2ubuntu3_amd64.deb ... 87s Unpacking libip6tc2:amd64 (1.8.11-2ubuntu3) over (1.8.11-2ubuntu2) ... 87s Preparing to unpack .../24-libnetfilter-conntrack3_1.1.1-1_amd64.deb ... 87s Unpacking libnetfilter-conntrack3:amd64 (1.1.1-1) over (1.1.0-1build1) ... 87s Preparing to unpack .../25-libxtables12_1.8.11-2ubuntu3_amd64.deb ... 87s Unpacking libxtables12:amd64 (1.8.11-2ubuntu3) over (1.8.11-2ubuntu2) ... 87s Preparing to unpack .../26-iproute2_6.18.0-1ubuntu1_amd64.deb ... 87s Unpacking iproute2 (6.18.0-1ubuntu1) over (6.16.0-1ubuntu3) ... 87s Preparing to unpack .../27-less_668-1build1_amd64.deb ... 87s Unpacking less (668-1build1) over (668-1) ... 87s Preparing to unpack .../28-libcryptsetup12_2%3a2.8.0-1ubuntu3_amd64.deb ... 87s Unpacking libcryptsetup12:amd64 (2:2.8.0-1ubuntu3) over (2:2.8.0-1ubuntu2) ... 87s Preparing to unpack .../29-libglib2.0-data_2.87.2-2_all.deb ... 87s Unpacking libglib2.0-data (2.87.2-2) over (2.86.3-4) ... 87s Preparing to unpack .../30-libidn2-0_2.3.8-4build1_amd64.deb ... 87s Unpacking libidn2-0:amd64 (2.3.8-4build1) over (2.3.8-4) ... 87s Preparing to unpack .../31-libkeyutils1_1.6.3-6ubuntu3_amd64.deb ... 87s Unpacking libkeyutils1:amd64 (1.6.3-6ubuntu3) over (1.6.3-6ubuntu2) ... 87s Preparing to unpack .../32-python3-linkify-it_2.0.3-1ubuntu3_all.deb ... 87s Unpacking python3-linkify-it (2.0.3-1ubuntu3) over (2.0.3-1ubuntu2) ... 87s Preparing to unpack .../33-python3-markdown-it_3.0.0-3build1_all.deb ... 87s Unpacking python3-markdown-it (3.0.0-3build1) over (3.0.0-3) ... 87s Preparing to unpack .../34-shared-mime-info_2.4-5build3_amd64.deb ... 87s Unpacking shared-mime-info (2.4-5build3) over (2.4-5build2) ... 87s Preparing to unpack .../35-busybox-static_1%3a1.37.0-7ubuntu1_amd64.deb ... 87s Unpacking busybox-static (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ... 87s Preparing to unpack .../36-libdrm-common_2.4.131-1_all.deb ... 87s Unpacking libdrm-common (2.4.131-1) over (2.4.129-1) ... 87s Preparing to unpack .../37-libdrm2_2.4.131-1_amd64.deb ... 87s Unpacking libdrm2:amd64 (2.4.131-1) over (2.4.129-1) ... 87s Preparing to unpack .../38-libgdbm6t64_1.26-1build1_amd64.deb ... 87s Unpacking libgdbm6t64:amd64 (1.26-1build1) over (1.26-1) ... 87s Preparing to unpack .../39-libgpm2_1.20.7-12build1_amd64.deb ... 87s Unpacking libgpm2:amd64 (1.20.7-12build1) over (1.20.7-12) ... 87s Preparing to unpack .../40-libjansson4_2.14-2build4_amd64.deb ... 87s Unpacking libjansson4:amd64 (2.14-2build4) over (2.14-2build3) ... 87s Preparing to unpack .../41-lsof_4.99.4+dfsg-2build2_amd64.deb ... 87s Unpacking lsof (4.99.4+dfsg-2build2) over (4.99.4+dfsg-2build1) ... 87s Preparing to unpack .../42-liblsof0_4.99.4+dfsg-2build2_amd64.deb ... 87s Unpacking liblsof0 (4.99.4+dfsg-2build2) over (4.99.4+dfsg-2build1) ... 88s Preparing to unpack .../43-libmaxminddb0_1.12.2-1build2_amd64.deb ... 88s Unpacking libmaxminddb0:amd64 (1.12.2-1build2) over (1.12.2-1build1) ... 88s Preparing to unpack .../44-libpcap0.8t64_1.10.5-2ubuntu3_amd64.deb ... 88s Unpacking libpcap0.8t64:amd64 (1.10.5-2ubuntu3) over (1.10.5-2ubuntu2) ... 88s Preparing to unpack .../45-pciutils_1%3a3.14.0-1build2_amd64.deb ... 88s Unpacking pciutils (1:3.14.0-1build2) over (1:3.14.0-1build1) ... 88s Preparing to unpack .../46-libpci3_1%3a3.14.0-1build2_amd64.deb ... 88s Unpacking libpci3:amd64 (1:3.14.0-1build2) over (1:3.14.0-1build1) ... 88s Preparing to unpack .../47-libsensors-config_1%3a3.6.2-2build1_all.deb ... 88s Unpacking libsensors-config (1:3.6.2-2build1) over (1:3.6.2-2) ... 88s Preparing to unpack .../48-libsensors5_1%3a3.6.2-2build1_amd64.deb ... 88s Unpacking libsensors5:amd64 (1:3.6.2-2build1) over (1:3.6.2-2) ... 88s Preparing to unpack .../49-libusb-1.0-0_2%3a1.0.29-2build1_amd64.deb ... 88s Unpacking libusb-1.0-0:amd64 (2:1.0.29-2build1) over (2:1.0.29-2) ... 88s Preparing to unpack .../50-libxau6_1%3a1.0.11-1build2_amd64.deb ... 88s Unpacking libxau6:amd64 (1:1.0.11-1build2) over (1:1.0.11-1build1) ... 88s Preparing to unpack .../51-libxkbcommon0_1.13.1-1_amd64.deb ... 88s Unpacking libxkbcommon0:amd64 (1.13.1-1) over (1.12.3-1) ... 88s Preparing to unpack .../52-man-db_2.13.1-1build1_amd64.deb ... 88s Unpacking man-db (2.13.1-1build1) over (2.13.1-1) ... 88s Preparing to unpack .../53-tcpdump_4.99.5-2ubuntu3_amd64.deb ... 88s Unpacking tcpdump (4.99.5-2ubuntu3) over (4.99.5-2ubuntu2) ... 88s Preparing to unpack .../54-wget_1.25.0-2ubuntu4_amd64.deb ... 88s Unpacking wget (1.25.0-2ubuntu4) over (1.25.0-2ubuntu3) ... 88s Preparing to unpack .../55-ubuntu-standard_1.564_amd64.deb ... 88s Unpacking ubuntu-standard (1.564) over (1.563) ... 88s Preparing to unpack .../56-3cpio_0.14.0-1ubuntu1_amd64.deb ... 88s Unpacking 3cpio (0.14.0-1ubuntu1) over (0.13.1-1ubuntu1) ... 88s Preparing to unpack .../57-bpftool_7.7.0+6.19.0-3.3_amd64.deb ... 88s Unpacking bpftool (7.7.0+6.19.0-3.3) over (7.7.0+6.18.0-9.9) ... 88s Preparing to unpack .../58-busybox-initramfs_1%3a1.37.0-7ubuntu1_amd64.deb ... 88s Unpacking busybox-initramfs (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ... 88s Preparing to unpack .../59-cryptsetup-bin_2%3a2.8.0-1ubuntu3_amd64.deb ... 88s Unpacking cryptsetup-bin (2:2.8.0-1ubuntu3) over (2:2.8.0-1ubuntu2) ... 88s Preparing to unpack .../60-dracut-install_109-11ubuntu1_amd64.deb ... 88s Unpacking dracut-install (109-11ubuntu1) over (109-9ubuntu1) ... 88s Preparing to unpack .../61-hwdata_0.394-1build1_all.deb ... 88s Unpacking hwdata (0.394-1build1) over (0.394-1) ... 88s Preparing to unpack .../62-pnp.ids_0.394-1build1_all.deb ... 88s Unpacking pnp.ids (0.394-1build1) over (0.394-1) ... 88s Preparing to unpack .../63-libbrotli1_1.2.0-3_amd64.deb ... 88s Unpacking libbrotli1:amd64 (1.2.0-3) over (1.1.0-2build6) ... 88s Preparing to unpack .../64-libdrm-amdgpu1_2.4.131-1_amd64.deb ... 88s Unpacking libdrm-amdgpu1:amd64 (2.4.131-1) over (2.4.129-1) ... 88s Preparing to unpack .../65-libevent-core-2.1-7t64_2.1.12-stable-10build2_amd64.deb ... 88s Unpacking libevent-core-2.1-7t64:amd64 (2.1.12-stable-10build2) over (2.1.12-stable-10build1) ... 88s Preparing to unpack .../66-libgdbm-compat4t64_1.26-1build1_amd64.deb ... 88s Unpacking libgdbm-compat4t64:amd64 (1.26-1build1) over (1.26-1) ... 88s Preparing to unpack .../67-libgudev-1.0-0_1%3a238-7build1_amd64.deb ... 88s Unpacking libgudev-1.0-0:amd64 (1:238-7build1) over (1:238-7) ... 88s Preparing to unpack .../68-libnpth0t64_1.8-3build1_amd64.deb ... 88s Unpacking libnpth0t64:amd64 (1.8-3build1) over (1.8-3) ... 88s Preparing to unpack .../69-libonig5_6.9.10-1build1_amd64.deb ... 88s Unpacking libonig5:amd64 (6.9.10-1build1) over (6.9.10-1) ... 88s Selecting previously unselected package libpython3.14-minimal:amd64. 88s Preparing to unpack .../70-libpython3.14-minimal_3.14.2-1_amd64.deb ... 88s Unpacking libpython3.14-minimal:amd64 (3.14.2-1) ... 88s Selecting previously unselected package libpython3.14-stdlib:amd64. 88s Preparing to unpack .../71-libpython3.14-stdlib_3.14.2-1_amd64.deb ... 88s Unpacking libpython3.14-stdlib:amd64 (3.14.2-1) ... 88s Selecting previously unselected package libpython3.14:amd64. 88s Preparing to unpack .../72-libpython3.14_3.14.2-1_amd64.deb ... 88s Unpacking libpython3.14:amd64 (3.14.2-1) ... 88s Preparing to unpack .../73-libwrap0_7.6.q-36build2_amd64.deb ... 88s Unpacking libwrap0:amd64 (7.6.q-36build2) over (7.6.q-36build1) ... 89s Selecting previously unselected package linux-modules-6.19.0-3-generic. 89s Preparing to unpack .../74-linux-modules-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 89s Unpacking linux-modules-6.19.0-3-generic (6.19.0-3.3) ... 89s Selecting previously unselected package linux-image-6.19.0-3-generic. 89s Preparing to unpack .../75-linux-image-6.19.0-3-generic_6.19.0-3.3+1_amd64.deb ... 89s Unpacking linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 89s Preparing to unpack .../76-amd64-microcode_3.20251202.1ubuntu1_amd64.deb ... 89s Unpacking amd64-microcode (3.20251202.1ubuntu1) over (3.20250708.1ubuntu1) ... 89s Preparing to unpack .../77-linux-generic_6.19.0-3.3_amd64.deb ... 89s Unpacking linux-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 89s Preparing to unpack .../78-linux-image-generic_6.19.0-3.3_amd64.deb ... 89s Unpacking linux-image-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 89s Preparing to unpack .../79-linux-virtual_6.19.0-3.3_amd64.deb ... 89s Unpacking linux-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 90s Preparing to unpack .../80-linux-image-virtual_6.19.0-3.3_amd64.deb ... 90s Unpacking linux-image-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 90s Preparing to unpack .../81-linux-headers-virtual_6.19.0-3.3_amd64.deb ... 90s Unpacking linux-headers-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 90s Selecting previously unselected package linux-headers-6.19.0-3. 90s Preparing to unpack .../82-linux-headers-6.19.0-3_6.19.0-3.3_all.deb ... 90s Unpacking linux-headers-6.19.0-3 (6.19.0-3.3) ... 91s Selecting previously unselected package linux-headers-6.19.0-3-generic. 91s Preparing to unpack .../83-linux-headers-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 91s Unpacking linux-headers-6.19.0-3-generic (6.19.0-3.3) ... 91s Preparing to unpack .../84-linux-headers-generic_6.19.0-3.3_amd64.deb ... 91s Unpacking linux-headers-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 91s Preparing to unpack .../85-linux-perf_6.19.0-3.3_amd64.deb ... 91s Unpacking linux-perf (6.19.0-3.3) over (6.18.0-9.9) ... 91s Preparing to unpack .../86-linux-tools-common_6.19.0-3.3_all.deb ... 91s Unpacking linux-tools-common (6.19.0-3.3) over (6.18.0-9.9) ... 91s Selecting previously unselected package linux-tools-6.19.0-3. 91s Preparing to unpack .../87-linux-tools-6.19.0-3_6.19.0-3.3_amd64.deb ... 91s Unpacking linux-tools-6.19.0-3 (6.19.0-3.3) ... 92s Selecting previously unselected package linux-tools-6.19.0-3-generic. 92s Preparing to unpack .../88-linux-tools-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 92s Unpacking linux-tools-6.19.0-3-generic (6.19.0-3.3) ... 92s Preparing to unpack .../89-patch_2.8-2build1_amd64.deb ... 92s Unpacking patch (2.8-2build1) over (2.8-2) ... 92s Preparing to unpack .../90-pollinate_4.33-4ubuntu5_all.deb ... 92s Unpacking pollinate (4.33-4ubuntu5) over (4.33-4ubuntu4) ... 92s Preparing to unpack .../91-python3-referencing_0.36.2-1ubuntu2_all.deb ... 92s Unpacking python3-referencing (0.36.2-1ubuntu2) over (0.36.2-1ubuntu1) ... 92s Preparing to unpack .../92-ubuntu-kernel-accessories_1.564_amd64.deb ... 92s Unpacking ubuntu-kernel-accessories (1.564) over (1.563) ... 92s Setting up libip4tc2:amd64 (1.8.11-2ubuntu3) ... 92s Setting up 3cpio (0.14.0-1ubuntu1) ... 92s Setting up libxau6:amd64 (1:1.0.11-1build2) ... 92s Setting up libnpth0t64:amd64 (1.8-3build1) ... 92s Setting up libkeyutils1:amd64 (1.6.3-6ubuntu3) ... 92s Setting up ubuntu-kernel-accessories (1.564) ... 92s Setting up libgpm2:amd64 (1.20.7-12build1) ... 92s Setting up libgdbm6t64:amd64 (1.26-1build1) ... 92s Setting up linux-modules-6.19.0-3-generic (6.19.0-3.3) ... 93s Setting up libgdbm-compat4t64:amd64 (1.26-1build1) ... 93s Setting up bpftool (7.7.0+6.19.0-3.3) ... 93s Setting up libip6tc2:amd64 (1.8.11-2ubuntu3) ... 93s Setting up liblsof0 (4.99.4+dfsg-2build2) ... 93s Setting up libmaxminddb0:amd64 (1.12.2-1build2) ... 93s Setting up libbrotli1:amd64 (1.2.0-3) ... 93s Setting up libpython3.14-minimal:amd64 (3.14.2-1) ... 93s Setting up libsensors-config (1:3.6.2-2build1) ... 93s Setting up less (668-1build1) ... 93s Setting up linux-headers-6.19.0-3 (6.19.0-3.3) ... 93s Setting up libidn2-0:amd64 (2.3.8-4build1) ... 93s Setting up amd64-microcode (3.20251202.1ubuntu1) ... 93s amd64-microcode: microcode will be updated at next boot 93s Setting up man-db (2.13.1-1build1) ... 93s Updating database of manual pages ... 95s man-db.service is a disabled or a static unit not running, not starting it. 95s Setting up libjansson4:amd64 (2.14-2build4) ... 95s Setting up libglib2.0-data (2.87.2-2) ... 95s Setting up pollinate (4.33-4ubuntu5) ... 105s Setting up busybox-static (1:1.37.0-7ubuntu1) ... 105s Setting up libwrap0:amd64 (7.6.q-36build2) ... 105s Setting up linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 106s I: /boot/vmlinuz is now a symlink to vmlinuz-6.19.0-3-generic 106s I: /boot/initrd.img is now a symlink to initrd.img-6.19.0-3-generic 106s Setting up libdbus-1-3:amd64 (1.16.2-2ubuntu3) ... 106s Setting up libatomic1:amd64 (16-20260208-1ubuntu1) ... 106s Setting up patch (2.8-2build1) ... 106s Setting up libsensors5:amd64 (1:3.6.2-2build1) ... 106s Setting up busybox-initramfs (1:1.37.0-7ubuntu1) ... 106s Setting up libxtables12:amd64 (1.8.11-2ubuntu3) ... 106s Setting up lsof (4.99.4+dfsg-2build2) ... 106s Setting up libpci3:amd64 (1:3.14.0-1build2) ... 106s Setting up libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) ... 106s Setting up dracut-install (109-11ubuntu1) ... 106s Setting up dmsetup (2:1.02.205-2ubuntu3) ... 106s Setting up libnetfilter-conntrack3:amd64 (1.1.1-1) ... 106s Setting up pnp.ids (0.394-1build1) ... 106s Setting up dbus-session-bus-common (1.16.2-2ubuntu3) ... 106s Setting up python3-linkify-it (2.0.3-1ubuntu3) ... 107s Setting up libpcap0.8t64:amd64 (1.10.5-2ubuntu3) ... 107s Setting up libcryptsetup12:amd64 (2:2.8.0-1ubuntu3) ... 107s Setting up mawk (1.3.4.20260129-1) ... 107s Setting up libevent-core-2.1-7t64:amd64 (2.1.12-stable-10build2) ... 107s Setting up libusb-1.0-0:amd64 (2:1.0.29-2build1) ... 107s Setting up linux-image-virtual (6.19.0-3.3) ... 107s Setting up dbus-system-bus-common (1.16.2-2ubuntu3) ... 107s Setting up libbsd0:amd64 (0.12.2-2build2) ... 107s Setting up libdrm-common (2.4.131-1) ... 107s Setting up libstdc++6:amd64 (16-20260208-1ubuntu1) ... 107s Setting up dbus-bin (1.16.2-2ubuntu3) ... 107s Setting up libonig5:amd64 (6.9.10-1build1) ... 107s Setting up libbpf1:amd64 (1:1.6.2-1build1) ... 107s Setting up ethtool (1:6.15-3build1) ... 107s Setting up python3-referencing (0.36.2-1ubuntu2) ... 107s Setting up libxkbcommon0:amd64 (1.13.1-1) ... 107s Setting up cryptsetup-bin (2:2.8.0-1ubuntu3) ... 107s Setting up linux-headers-6.19.0-3-generic (6.19.0-3.3) ... 107s Setting up tcpdump (4.99.5-2ubuntu3) ... 107s Setting up linux-image-generic (6.19.0-3.3) ... 107s Setting up wget (1.25.0-2ubuntu4) ... 107s Setting up libpython3.14-stdlib:amd64 (3.14.2-1) ... 107s Setting up iptables (1.8.11-2ubuntu3) ... 107s Setting up iproute2 (6.18.0-1ubuntu1) ... 107s Setting up linux-headers-generic (6.19.0-3.3) ... 107s Setting up dbus-daemon (1.16.2-2ubuntu3) ... 107s Setting up hwdata (0.394-1build1) ... 107s Setting up dbus-user-session (1.16.2-2ubuntu3) ... 107s Setting up libglib2.0-0t64:amd64 (2.87.2-2) ... 107s No schema files found: doing nothing. 107s Setting up dbus (1.16.2-2ubuntu3) ... 107s A reboot is required to replace the running dbus-daemon. 107s Please reboot the system when convenient. 107s Setting up shared-mime-info (2.4-5build3) ... 108s Setting up gir1.2-glib-2.0:amd64 (2.87.2-2) ... 108s Setting up pciutils (1:3.14.0-1build2) ... 108s Setting up python3-markdown-it (3.0.0-3build1) ... 108s Setting up libdrm2:amd64 (2.4.131-1) ... 108s Setting up libpython3.14:amd64 (3.14.2-1) ... 108s Setting up libapt-pkg7.0:amd64 (3.1.15) ... 108s Setting up linux-tools-common (6.19.0-3.3) ... 108s Setting up libgudev-1.0-0:amd64 (1:238-7build1) ... 108s Setting up libdrm-amdgpu1:amd64 (2.4.131-1) ... 108s Setting up apt (3.1.15) ... 108s Setting up linux-headers-virtual (6.19.0-3.3) ... 108s Setting up linux-generic (6.19.0-3.3) ... 108s Setting up libgirepository-2.0-0:amd64 (2.87.2-2) ... 108s Setting up linux-tools-6.19.0-3 (6.19.0-3.3) ... 108s Setting up ubuntu-standard (1.564) ... 108s Setting up gir1.2-girepository-3.0:amd64 (2.87.2-2) ... 108s Setting up linux-virtual (6.19.0-3.3) ... 108s Setting up linux-perf (6.19.0-3.3) ... 108s Setting up linux-tools-6.19.0-3-generic (6.19.0-3.3) ... 108s Processing triggers for debianutils (5.23.2build1) ... 109s Processing triggers for install-info (7.2-5) ... 109s Processing triggers for initramfs-tools (0.150ubuntu7) ... 109s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic 113s Processing triggers for libc-bin (2.42-2ubuntu4) ... 113s Processing triggers for linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 113s /etc/kernel/postinst.d/initramfs-tools: 113s update-initramfs: Generating /boot/initrd.img-6.19.0-3-generic 117s /etc/kernel/postinst.d/zz-update-grub: 117s Sourcing file `/etc/default/grub' 117s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 117s Sourcing file `/etc/default/grub.d/90-autopkgtest.cfg' 117s Generating grub configuration file ... 117s Found linux image: /boot/vmlinuz-6.19.0-3-generic 117s Found initrd image: /boot/initrd.img-6.19.0-3-generic 117s Found linux image: /boot/vmlinuz-6.18.0-9-generic 117s Found initrd image: /boot/initrd.img-6.18.0-9-generic 117s Warning: os-prober will not be executed to detect other bootable partitions. 117s Systems on them will not be added to the GRUB boot configuration. 117s Check GRUB_DISABLE_OS_PROBER documentation entry. 117s Adding boot menu entry for UEFI Firmware Settings ... 117s done 117s autopkgtest [06:57:59]: upgrading testbed (apt dist-upgrade and autopurge) 118s Reading package lists... 118s Building dependency tree... 118s Reading state information... 118s Calculating upgrade... 118s The following package was automatically installed and is no longer required: 118s libpython3.13 118s Use 'sudo apt autoremove' to remove it. 118s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 118s Reading package lists... 119s Building dependency tree... 119s Reading state information... 119s Solving dependencies... 119s The following packages will be REMOVED: 119s libpython3.13* 119s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 119s After this operation, 7599 kB disk space will be freed. 119s (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 ... 125273 files and directories currently installed.) 119s Removing libpython3.13:amd64 (3.13.11-1) ... 119s Processing triggers for libc-bin (2.42-2ubuntu4) ... 119s autopkgtest [06:58:01]: rebooting testbed after setup commands that affected boot 148s autopkgtest [06:58:30]: testbed running kernel: Linux 6.19.0-3-generic #3-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 23 20:01:24 UTC 2026 150s autopkgtest [06:58:32]: @@@@@@@@@@@@@@@@@@@@ apt-source hg-git 151s Get:1 http://ftpmaster.internal/ubuntu resolute/universe hg-git 1.2.0-1 (dsc) [2142 B] 151s Get:2 http://ftpmaster.internal/ubuntu resolute/universe hg-git 1.2.0-1 (tar) [222 kB] 151s Get:3 http://ftpmaster.internal/ubuntu resolute/universe hg-git 1.2.0-1 (diff) [6816 B] 151s gpgv: Signature made Sun Feb 16 14:22:41 2025 UTC 151s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 151s gpgv: issuer "tchet@debian.org" 151s gpgv: Can't check signature: No public key 151s dpkg-source: warning: cannot verify inline signature for ./hg-git_1.2.0-1.dsc: no acceptable signature found 151s autopkgtest [06:58:33]: testing package hg-git version 1.2.0-1 151s autopkgtest [06:58:33]: build not needed 151s autopkgtest [06:58:33]: test testsuite: preparing testbed 152s Reading package lists... 152s Building dependency tree... 152s Reading state information... 152s Solving dependencies... 152s The following NEW packages will be installed: 152s git git-man liberror-perl mercurial mercurial-common mercurial-git 152s python3-dulwich unzip 152s 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded. 152s Need to get 9355 kB of archives. 152s After this operation, 49.0 MB of additional disk space will be used. 152s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 liberror-perl all 0.17030-1 [23.5 kB] 152s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 git-man all 1:2.51.0-1ubuntu1 [1179 kB] 153s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 git amd64 1:2.51.0-1ubuntu1 [4414 kB] 154s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 mercurial-common all 7.2-2 [2853 kB] 154s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 mercurial amd64 7.2-2 [461 kB] 154s Get:6 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-dulwich amd64 0.22.7-1 [183 kB] 154s Get:7 http://ftpmaster.internal/ubuntu resolute/universe amd64 mercurial-git all 1.2.0-1 [60.9 kB] 154s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 unzip amd64 6.0-29ubuntu1 [180 kB] 154s Fetched 9355 kB in 2s (4399 kB/s) 154s Selecting previously unselected package liberror-perl. 154s (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 ... 125269 files and directories currently installed.) 154s Preparing to unpack .../0-liberror-perl_0.17030-1_all.deb ... 154s Unpacking liberror-perl (0.17030-1) ... 154s Selecting previously unselected package git-man. 154s Preparing to unpack .../1-git-man_1%3a2.51.0-1ubuntu1_all.deb ... 154s Unpacking git-man (1:2.51.0-1ubuntu1) ... 154s Selecting previously unselected package git. 154s Preparing to unpack .../2-git_1%3a2.51.0-1ubuntu1_amd64.deb ... 154s Unpacking git (1:2.51.0-1ubuntu1) ... 154s Selecting previously unselected package mercurial-common. 154s Preparing to unpack .../3-mercurial-common_7.2-2_all.deb ... 154s Unpacking mercurial-common (7.2-2) ... 154s Selecting previously unselected package mercurial. 154s Preparing to unpack .../4-mercurial_7.2-2_amd64.deb ... 154s Unpacking mercurial (7.2-2) ... 155s Selecting previously unselected package python3-dulwich. 155s Preparing to unpack .../5-python3-dulwich_0.22.7-1_amd64.deb ... 155s Unpacking python3-dulwich (0.22.7-1) ... 155s Selecting previously unselected package mercurial-git. 155s Preparing to unpack .../6-mercurial-git_1.2.0-1_all.deb ... 155s Unpacking mercurial-git (1.2.0-1) ... 155s Selecting previously unselected package unzip. 155s Preparing to unpack .../7-unzip_6.0-29ubuntu1_amd64.deb ... 155s Unpacking unzip (6.0-29ubuntu1) ... 155s Setting up mercurial-common (7.2-2) ... 156s Setting up unzip (6.0-29ubuntu1) ... 156s Setting up liberror-perl (0.17030-1) ... 156s Setting up python3-dulwich (0.22.7-1) ... 156s Setting up git-man (1:2.51.0-1ubuntu1) ... 156s Setting up mercurial (7.2-2) ... 156s Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version 156s Setting up mercurial-git (1.2.0-1) ... 156s mercurial-git extension is disabled by default. 156s You can follow the instructions in /usr/share/doc/mercurial-git/README.Debian to enable it. 156s Setting up git (1:2.51.0-1ubuntu1) ... 156s Processing triggers for man-db (2.13.1-1build1) ... 157s autopkgtest [06:58:39]: test environment configured for cross building 157s autopkgtest [06:58:39]: test testsuite: [----------------------- 159s no username found, using 'ubuntu@autopkgtest.local' instead 159s cd tests && /usr/bin/python3 run-tests.py --with-hg=/usr/bin/hg --blacklist=/tmp/autopkgtest.TC6niP/build.0en/src/debian/hg-git.test_blacklist 159s sssrunning 82 tests using 2 parallel processes 165s sss 165s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-pull.t 165s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-pull.t#draft.err 165s @@ -35,153 +35,132 @@ 165s 165s pull without a name 165s $ hg init hgrepo 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s $ cd hgrepo 165s $ hg pull ../gitrepo 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s pulling from ../gitrepo 165s - importing 3 git commits 165s - adding bookmark beta 165s - adding bookmark delta 165s - adding bookmark master 165s - new changesets ff7a2f2d8d70:678ebee93e38 (3 drafts) 165s - (run 'hg heads' to see heads, 'hg merge' to merge) 165s + abort: repository ../gitrepo not found 165s + [255] 165s $ git --git-dir .hg/git for-each-ref 165s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/tags/t_alpha 165s + fatal: not a git repository: '.hg/git' 165s + [128] 165s $ hg log -Tp 165s - 2|draft|delta|tip 165s - 1|draft|beta| 165s - 0|draft|master|t_alpha 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s $ cd .. 165s $ rm -rf hgrepo 165s 165s pull with an implied name 165s $ hg init hgrepo 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s $ cd hgrepo 165s $ echo "[paths]" >> .hg/hgrc 165s $ echo "default=$TESTTMP/gitrepo" >> .hg/hgrc 165s $ hg pull ../gitrepo 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s pulling from ../gitrepo 165s - importing 3 git commits 165s - adding bookmark beta 165s - adding bookmark delta 165s - adding bookmark master 165s - new changesets ff7a2f2d8d70:678ebee93e38 (3 drafts) 165s - (run 'hg heads' to see heads, 'hg merge' to merge) 165s + abort: repository ../gitrepo not found 165s + [255] 165s $ git --git-dir .hg/git for-each-ref 165s - 9497a4ee62e16ee641860d7677cdb2589ea15554 commit refs/remotes/default/beta 165s - 8cbeb817785fe2676ab0eda570534702b6b6f9cf commit refs/remotes/default/delta 165s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/remotes/default/master 165s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/tags/t_alpha 165s + fatal: not a git repository: '.hg/git' 165s + [128] 165s $ hg log -Tp 165s - 2|draft|delta|default/delta tip 165s - 1|draft|beta|default/beta 165s - 0|draft|master|default/master t_alpha 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s $ cd .. 165s $ rm -rf hgrepo 165s 165s pull with an explicit name 165s $ hg init hgrepo 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s $ cd hgrepo 165s $ echo "[paths]" >> .hg/hgrc 165s $ echo "default=$TESTTMP/gitrepo" >> .hg/hgrc 165s $ hg pull 165s - pulling from $TESTTMP/gitrepo 165s - importing 3 git commits 165s - adding bookmark beta 165s - adding bookmark delta 165s - adding bookmark master 165s - new changesets ff7a2f2d8d70:678ebee93e38 (3 drafts) 165s - (run 'hg heads' to see heads, 'hg merge' to merge) 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s $ git --git-dir .hg/git for-each-ref 165s - 9497a4ee62e16ee641860d7677cdb2589ea15554 commit refs/remotes/default/beta 165s - 8cbeb817785fe2676ab0eda570534702b6b6f9cf commit refs/remotes/default/delta 165s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/remotes/default/master 165s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/tags/t_alpha 165s + fatal: not a git repository: '.hg/git' 165s + [128] 165s $ hg log -Tp 165s - 2|draft|delta|default/delta tip 165s - 1|draft|beta|default/beta 165s - 0|draft|master|default/master t_alpha 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s $ cd .. 165s $ rm -rf hgrepo 165s 165s pull a tag 165s $ hg init hgrepo 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s $ echo "[paths]" >> hgrepo/.hg/hgrc 165s $ echo "default=$TESTTMP/gitrepo" >> hgrepo/.hg/hgrc 165s $ hg -R hgrepo pull -r t_alpha 165s - pulling from $TESTTMP/gitrepo 165s - importing 1 git commits 165s - adding bookmark master 165s - new changesets ff7a2f2d8d70 (1 drafts) 165s - (run 'hg update' to get a working copy) 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s $ hg -R hgrepo update t_alpha 165s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + abort: unknown revision 't_alpha' 165s + [10] 165s $ hg log -Tp -R hgrepo 165s - 0|draft|master|default/master t_alpha tip 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s 165s no-op pull 165s $ hg -R hgrepo pull -r t_alpha 165s - pulling from $TESTTMP/gitrepo 165s - no changes found 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s 165s no-op pull with added bookmark 165s $ cd gitrepo 165s $ git checkout -qb epsilon t_alpha 165s $ cd .. 165s $ hg -R hgrepo pull -r epsilon 165s - pulling from $TESTTMP/gitrepo 165s - no changes found 165s - adding bookmark epsilon 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s 165s pull something that doesn't exist 165s $ hg -R hgrepo pull -r kaflaflibob 165s - pulling from $TESTTMP/gitrepo 165s - abort: unknown revision 'kaflaflibob'!? (re) 165s - [10] 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s 165s pull an ambiguous reference 165s $ GIT_DIR=gitrepo/.git git branch t_alpha t_alpha 165s $ hg -R hgrepo pull -r t_alpha 165s - pulling from $TESTTMP/gitrepo 165s - abort: ambiguous reference t_alpha: refs/heads/t_alpha, refs/tags/t_alpha!? (re) 165s - [10] 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s $ GIT_DIR=gitrepo/.git git branch -qD t_alpha 165s 165s pull a branch 165s $ hg -R hgrepo pull -r beta 165s - pulling from $TESTTMP/gitrepo 165s - importing 1 git commits 165s - adding bookmark beta 165s - new changesets 7fe02317c63d (1 drafts) 165s - (run 'hg update' to get a working copy) 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s $ hg -R hgrepo log --graph --template=phases 165s - o changeset: 1:7fe02317c63d 165s - | bookmark: beta 165s - | tag: default/beta 165s - | tag: tip 165s - | phase: draft 165s - | user: test 165s - | date: Mon Jan 01 00:00:11 2007 +0000 165s - | summary: add beta 165s - | 165s - @ changeset: 0:ff7a2f2d8d70 165s - bookmark: epsilon 165s - bookmark: master 165s - tag: default/epsilon 165s - tag: default/master 165s - tag: t_alpha 165s - phase: draft 165s - user: test 165s - date: Mon Jan 01 00:00:10 2007 +0000 165s - summary: add alpha 165s - 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s 165s no-op pull should affect phases 165s $ hg -R hgrepo phase -fs beta 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + abort: unknown revision 'beta' 165s + [10] 165s $ hg -R hgrepo pull -r beta 165s - pulling from $TESTTMP/gitrepo 165s - no changes found 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s $ hg -R hgrepo phase beta 165s - 1: draft 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + abort: unknown revision 'beta' 165s + [10] 165s 165s 165s add another commit and tag to the git repo 165s @@ -196,50 +175,12 @@ 165s 165s pull everything else 165s $ hg -R hgrepo pull 165s - pulling from $TESTTMP/gitrepo 165s - importing 2 git commits 165s - adding bookmark delta 165s - updating bookmark master 165s - new changesets 678ebee93e38:6f898ad1f3e1 (2 drafts) 165s - (run 'hg heads' to see heads, 'hg merge' to merge) 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s $ hg -R hgrepo log --graph --template=phases 165s - o changeset: 3:6f898ad1f3e1 165s - | bookmark: master 165s - | tag: default/master 165s - | tag: tip 165s - | phase: draft 165s - | parent: 0:ff7a2f2d8d70 165s - | user: test 165s - | date: Mon Jan 01 00:00:13 2007 +0000 165s - | summary: add gamma 165s - | 165s - | o changeset: 2:678ebee93e38 165s - |/ bookmark: delta 165s - | tag: default/delta 165s - | phase: draft 165s - | parent: 0:ff7a2f2d8d70 165s - | user: test 165s - | date: Mon Jan 01 00:00:12 2007 +0000 165s - | summary: add delta 165s - | 165s - | o changeset: 1:7fe02317c63d 165s - |/ bookmark: beta 165s - | tag: default/beta 165s - | tag: t_beta 165s - | phase: draft 165s - | user: test 165s - | date: Mon Jan 01 00:00:11 2007 +0000 165s - | summary: add beta 165s - | 165s - @ changeset: 0:ff7a2f2d8d70 165s - bookmark: epsilon 165s - tag: default/epsilon 165s - tag: t_alpha 165s - phase: draft 165s - user: test 165s - date: Mon Jan 01 00:00:10 2007 +0000 165s - summary: add alpha 165s - 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s add a merge to the git repo, and delete the branch 165s $ cd gitrepo 165s $ git merge -q -m "Merge branch 'beta'" beta 165s @@ -252,60 +193,26 @@ 165s 165s pull the merge 165s $ hg -R hgrepo tags | grep default/beta 165s - default/beta 1:7fe02317c63d 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + [1] 165s $ hg -R hgrepo pull --config git.pull-prune-remote-branches=false 165s - pulling from $TESTTMP/gitrepo 165s - importing 1 git commits 165s - updating bookmark master 165s - deleting bookmark beta 165s - new changesets a02330f767a4 (1 drafts) 165s - (run 'hg update' to get a working copy) 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s $ hg -R hgrepo tags | grep default/beta 165s - default/beta 1:7fe02317c63d 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + [1] 165s $ hg -R hgrepo pull 165s - pulling from $TESTTMP/gitrepo 165s - no changes found 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s $ hg -R hgrepo tags | grep default/beta 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s [1] 165s $ hg -R hgrepo log --graph 165s - o changeset: 4:a02330f767a4 165s - |\ bookmark: master 165s - | | tag: default/master 165s - | | tag: tip 165s - | | parent: 3:6f898ad1f3e1 165s - | | parent: 1:7fe02317c63d 165s - | | user: test 165s - | | date: Mon Jan 01 00:00:13 2007 +0000 165s - | | summary: Merge branch 'beta' 165s - | | 165s - | o changeset: 3:6f898ad1f3e1 165s - | | parent: 0:ff7a2f2d8d70 165s - | | user: test 165s - | | date: Mon Jan 01 00:00:13 2007 +0000 165s - | | summary: add gamma 165s - | | 165s - | | o changeset: 2:678ebee93e38 165s - | |/ bookmark: delta 165s - | | tag: default/delta 165s - | | parent: 0:ff7a2f2d8d70 165s - | | user: test 165s - | | date: Mon Jan 01 00:00:12 2007 +0000 165s - | | summary: add delta 165s - | | 165s - o | changeset: 1:7fe02317c63d 165s - |/ tag: t_beta 165s - | user: test 165s - | date: Mon Jan 01 00:00:11 2007 +0000 165s - | summary: add beta 165s - | 165s - @ changeset: 0:ff7a2f2d8d70 165s - bookmark: epsilon 165s - tag: default/epsilon 165s - tag: t_alpha 165s - user: test 165s - date: Mon Jan 01 00:00:10 2007 +0000 165s - summary: add alpha 165s - 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s pull with wildcards 165s $ cd gitrepo 165s $ git checkout -qb releases/v1 master 165s @@ -324,66 +231,12 @@ 165s ensure that releases/v1 and releases/v2 are pulled but not notreleases/v1 165s $ cd .. 165s $ hg -R hgrepo pull -r 'releases/*' 165s - pulling from $TESTTMP/gitrepo 165s - importing 2 git commits 165s - adding bookmark releases/v1 165s - adding bookmark releases/v2 165s - new changesets 218b2d0660d3:a3f95e150b0a (2 drafts) 165s - (run 'hg heads .' to see heads, 'hg merge' to merge) 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s $ hg -R hgrepo log --graph 165s - o changeset: 6:a3f95e150b0a 165s - | bookmark: releases/v2 165s - | tag: default/releases/v2 165s - | tag: tip 165s - | parent: 4:a02330f767a4 165s - | user: test 165s - | date: Mon Jan 01 00:00:15 2007 +0000 165s - | summary: add eta 165s - | 165s - | o changeset: 5:218b2d0660d3 165s - |/ bookmark: releases/v1 165s - | tag: default/releases/v1 165s - | user: test 165s - | date: Mon Jan 01 00:00:14 2007 +0000 165s - | summary: add zeta 165s - | 165s - o changeset: 4:a02330f767a4 165s - |\ bookmark: master 165s - | | tag: default/master 165s - | | parent: 3:6f898ad1f3e1 165s - | | parent: 1:7fe02317c63d 165s - | | user: test 165s - | | date: Mon Jan 01 00:00:13 2007 +0000 165s - | | summary: Merge branch 'beta' 165s - | | 165s - | o changeset: 3:6f898ad1f3e1 165s - | | parent: 0:ff7a2f2d8d70 165s - | | user: test 165s - | | date: Mon Jan 01 00:00:13 2007 +0000 165s - | | summary: add gamma 165s - | | 165s - | | o changeset: 2:678ebee93e38 165s - | |/ bookmark: delta 165s - | | tag: default/delta 165s - | | parent: 0:ff7a2f2d8d70 165s - | | user: test 165s - | | date: Mon Jan 01 00:00:12 2007 +0000 165s - | | summary: add delta 165s - | | 165s - o | changeset: 1:7fe02317c63d 165s - |/ tag: t_beta 165s - | user: test 165s - | date: Mon Jan 01 00:00:11 2007 +0000 165s - | summary: add beta 165s - | 165s - @ changeset: 0:ff7a2f2d8d70 165s - bookmark: epsilon 165s - tag: default/epsilon 165s - tag: t_alpha 165s - user: test 165s - date: Mon Jan 01 00:00:10 2007 +0000 165s - summary: add alpha 165s - 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s 165s add old and new commits to the git repo -- make sure we're using the commit date 165s and not the author date 165s @@ -412,21 +265,19 @@ 165s Master is now filtered, so it's just stays there: 165s 165s $ hg -R hgrepo pull --config git.pull-prune-bookmarks=no 165s - pulling from $TESTTMP/gitrepo 165s - no changes found 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s $ hg -R hgrepo pull 165s - pulling from $TESTTMP/gitrepo 165s - no changes found 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s $ hg -R hgrepo log -r master 165s - changeset: 4:a02330f767a4 165s - bookmark: master 165s - tag: default/master 165s - parent: 3:6f898ad1f3e1 165s - parent: 1:7fe02317c63d 165s - user: test 165s - date: Mon Jan 01 00:00:13 2007 +0000 165s - summary: Merge branch 'beta' 165s - 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + abort: unknown revision 'master' 165s + [10] 165s 165s $ cd gitrepo 165s $ git checkout -q master 165s @@ -440,51 +291,13 @@ 165s > git tag -a -m 'tagging newtag' newtag 165s $ cd .. 165s $ hg -R hgrepo pull 165s - pulling from $TESTTMP/gitrepo 165s - importing 3 git commits 165s - updating bookmark master 165s - new changesets 49713da8f665:e103a73f33be (3 drafts) 165s - (run 'hg heads .' to see heads, 'hg merge' to merge) 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s $ hg -R hgrepo heads 165s - changeset: 9:e103a73f33be 165s - bookmark: master 165s - tag: default/master 165s - tag: tip 165s - user: test 165s - date: Wed Jan 01 00:00:00 2014 +0000 165s - summary: newcommit 165s - 165s - changeset: 7:49713da8f665 165s - tag: newtag 165s - tag: oldtag 165s - parent: 4:a02330f767a4 165s - user: test 165s - date: Sat Mar 01 00:00:00 2014 +0000 165s - summary: oldtag 165s - 165s - changeset: 6:a3f95e150b0a 165s - bookmark: releases/v2 165s - tag: default/releases/v2 165s - parent: 4:a02330f767a4 165s - user: test 165s - date: Mon Jan 01 00:00:15 2007 +0000 165s - summary: add eta 165s - 165s - changeset: 5:218b2d0660d3 165s - bookmark: releases/v1 165s - tag: default/releases/v1 165s - user: test 165s - date: Mon Jan 01 00:00:14 2007 +0000 165s - summary: add zeta 165s - 165s - changeset: 2:678ebee93e38 165s - bookmark: delta 165s - tag: default/delta 165s - parent: 0:ff7a2f2d8d70 165s - user: test 165s - date: Mon Jan 01 00:00:12 2007 +0000 165s - summary: add delta 165s - 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + [1] 165s 165s test for ssh vulnerability 165s 165s @@ -494,18 +307,21 @@ 165s > EOF 165s 165s $ hg init a 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s $ cd a 165s $ hg pull -q 'git+ssh://-oProxyCommand=rm${IFS}nonexistent/path' 165s - abort: potentially unsafe hostname: '-oProxyCommand=rm${IFS}nonexistent' 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + abort: repository git+ssh://-oProxyCommand%3Drm%24%7BIFS%7Dnonexistent/path not found 165s [255] 165s $ hg pull -q 'git+ssh://-oProxyCommand=rm%20nonexistent/path' 165s - abort: potentially unsafe hostname: '-oProxyCommand=rm nonexistent' 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + abort: repository git+ssh://-oProxyCommand%3Drm%20nonexistent/path not found 165s [255] 165s $ hg pull -q 'git+ssh://fakehost|shellcommand/path' 165s - ssh: * fakehost%7?shellcommand* (glob) 165s - abort: git remote error: The remote server unexpectedly closed the connection. 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + abort: repository git+ssh://fakehost%7Cshellcommand/path not found 165s [255] 165s $ hg pull -q 'git+ssh://fakehost%7Cshellcommand/path' 165s - ssh: * fakehost%7?shellcommand* (glob) 165s - abort: git remote error: The remote server unexpectedly closed the connection. 165s - [255] 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + abort: repository git+ssh://fakehost%7Cshellcommand/path not found 165s + [255] 165s 165s ERROR: test-pull.t#draft output changed 165s ! 165s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-pull.t 165s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-pull.t#secret.err 165s @@ -35,153 +35,132 @@ 165s 165s pull without a name 165s $ hg init hgrepo 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s $ cd hgrepo 165s $ hg pull ../gitrepo 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s pulling from ../gitrepo 165s - importing 3 git commits 165s - adding bookmark beta 165s - adding bookmark delta 165s - adding bookmark master 165s - new changesets ff7a2f2d8d70:678ebee93e38 (3 drafts) 165s - (run 'hg heads' to see heads, 'hg merge' to merge) 165s + abort: repository ../gitrepo not found 165s + [255] 165s $ git --git-dir .hg/git for-each-ref 165s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/tags/t_alpha 165s + fatal: not a git repository: '.hg/git' 165s + [128] 165s $ hg log -Tp 165s - 2|draft|delta|tip 165s - 1|draft|beta| 165s - 0|draft|master|t_alpha 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s $ cd .. 165s $ rm -rf hgrepo 165s 165s pull with an implied name 165s $ hg init hgrepo 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s $ cd hgrepo 165s $ echo "[paths]" >> .hg/hgrc 165s $ echo "default=$TESTTMP/gitrepo" >> .hg/hgrc 165s $ hg pull ../gitrepo 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s pulling from ../gitrepo 165s - importing 3 git commits 165s - adding bookmark beta 165s - adding bookmark delta 165s - adding bookmark master 165s - new changesets ff7a2f2d8d70:678ebee93e38 (3 drafts) 165s - (run 'hg heads' to see heads, 'hg merge' to merge) 165s + abort: repository ../gitrepo not found 165s + [255] 165s $ git --git-dir .hg/git for-each-ref 165s - 9497a4ee62e16ee641860d7677cdb2589ea15554 commit refs/remotes/default/beta 165s - 8cbeb817785fe2676ab0eda570534702b6b6f9cf commit refs/remotes/default/delta 165s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/remotes/default/master 165s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/tags/t_alpha 165s + fatal: not a git repository: '.hg/git' 165s + [128] 165s $ hg log -Tp 165s - 2|draft|delta|default/delta tip 165s - 1|draft|beta|default/beta 165s - 0|draft|master|default/master t_alpha 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s $ cd .. 165s $ rm -rf hgrepo 165s 165s pull with an explicit name 165s $ hg init hgrepo 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s $ cd hgrepo 165s $ echo "[paths]" >> .hg/hgrc 165s $ echo "default=$TESTTMP/gitrepo" >> .hg/hgrc 165s $ hg pull 165s - pulling from $TESTTMP/gitrepo 165s - importing 3 git commits 165s - adding bookmark beta 165s - adding bookmark delta 165s - adding bookmark master 165s - new changesets ff7a2f2d8d70:678ebee93e38 (3 drafts) 165s - (run 'hg heads' to see heads, 'hg merge' to merge) 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s $ git --git-dir .hg/git for-each-ref 165s - 9497a4ee62e16ee641860d7677cdb2589ea15554 commit refs/remotes/default/beta 165s - 8cbeb817785fe2676ab0eda570534702b6b6f9cf commit refs/remotes/default/delta 165s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/remotes/default/master 165s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/tags/t_alpha 165s + fatal: not a git repository: '.hg/git' 165s + [128] 165s $ hg log -Tp 165s - 2|draft|delta|default/delta tip 165s - 1|draft|beta|default/beta 165s - 0|draft|master|default/master t_alpha 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s $ cd .. 165s $ rm -rf hgrepo 165s 165s pull a tag 165s $ hg init hgrepo 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s $ echo "[paths]" >> hgrepo/.hg/hgrc 165s $ echo "default=$TESTTMP/gitrepo" >> hgrepo/.hg/hgrc 165s $ hg -R hgrepo pull -r t_alpha 165s - pulling from $TESTTMP/gitrepo 165s - importing 1 git commits 165s - adding bookmark master 165s - new changesets ff7a2f2d8d70 (1 drafts) 165s - (run 'hg update' to get a working copy) 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s $ hg -R hgrepo update t_alpha 165s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + abort: unknown revision 't_alpha' 165s + [10] 165s $ hg log -Tp -R hgrepo 165s - 0|draft|master|default/master t_alpha tip 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s 165s no-op pull 165s $ hg -R hgrepo pull -r t_alpha 165s - pulling from $TESTTMP/gitrepo 165s - no changes found 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s 165s no-op pull with added bookmark 165s $ cd gitrepo 165s $ git checkout -qb epsilon t_alpha 165s $ cd .. 165s $ hg -R hgrepo pull -r epsilon 165s - pulling from $TESTTMP/gitrepo 165s - no changes found 165s - adding bookmark epsilon 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s 165s pull something that doesn't exist 165s $ hg -R hgrepo pull -r kaflaflibob 165s - pulling from $TESTTMP/gitrepo 165s - abort: unknown revision 'kaflaflibob'!? (re) 165s - [10] 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s 165s pull an ambiguous reference 165s $ GIT_DIR=gitrepo/.git git branch t_alpha t_alpha 165s $ hg -R hgrepo pull -r t_alpha 165s - pulling from $TESTTMP/gitrepo 165s - abort: ambiguous reference t_alpha: refs/heads/t_alpha, refs/tags/t_alpha!? (re) 165s - [10] 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s $ GIT_DIR=gitrepo/.git git branch -qD t_alpha 165s 165s pull a branch 165s $ hg -R hgrepo pull -r beta 165s - pulling from $TESTTMP/gitrepo 165s - importing 1 git commits 165s - adding bookmark beta 165s - new changesets 7fe02317c63d (1 drafts) 165s - (run 'hg update' to get a working copy) 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s $ hg -R hgrepo log --graph --template=phases 165s - o changeset: 1:7fe02317c63d 165s - | bookmark: beta 165s - | tag: default/beta 165s - | tag: tip 165s - | phase: draft 165s - | user: test 165s - | date: Mon Jan 01 00:00:11 2007 +0000 165s - | summary: add beta 165s - | 165s - @ changeset: 0:ff7a2f2d8d70 165s - bookmark: epsilon 165s - bookmark: master 165s - tag: default/epsilon 165s - tag: default/master 165s - tag: t_alpha 165s - phase: draft 165s - user: test 165s - date: Mon Jan 01 00:00:10 2007 +0000 165s - summary: add alpha 165s - 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s 165s no-op pull should affect phases 165s $ hg -R hgrepo phase -fs beta 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + abort: unknown revision 'beta' 165s + [10] 165s $ hg -R hgrepo pull -r beta 165s - pulling from $TESTTMP/gitrepo 165s - no changes found 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s $ hg -R hgrepo phase beta 165s - 1: draft 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + abort: unknown revision 'beta' 165s + [10] 165s 165s 165s add another commit and tag to the git repo 165s @@ -196,50 +175,12 @@ 165s 165s pull everything else 165s $ hg -R hgrepo pull 165s - pulling from $TESTTMP/gitrepo 165s - importing 2 git commits 165s - adding bookmark delta 165s - updating bookmark master 165s - new changesets 678ebee93e38:6f898ad1f3e1 (2 drafts) 165s - (run 'hg heads' to see heads, 'hg merge' to merge) 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s $ hg -R hgrepo log --graph --template=phases 165s - o changeset: 3:6f898ad1f3e1 165s - | bookmark: master 165s - | tag: default/master 165s - | tag: tip 165s - | phase: draft 165s - | parent: 0:ff7a2f2d8d70 165s - | user: test 165s - | date: Mon Jan 01 00:00:13 2007 +0000 165s - | summary: add gamma 165s - | 165s - | o changeset: 2:678ebee93e38 165s - |/ bookmark: delta 165s - | tag: default/delta 165s - | phase: draft 165s - | parent: 0:ff7a2f2d8d70 165s - | user: test 165s - | date: Mon Jan 01 00:00:12 2007 +0000 165s - | summary: add delta 165s - | 165s - | o changeset: 1:7fe02317c63d 165s - |/ bookmark: beta 165s - | tag: default/beta 165s - | tag: t_beta 165s - | phase: draft 165s - | user: test 165s - | date: Mon Jan 01 00:00:11 2007 +0000 165s - | summary: add beta 165s - | 165s - @ changeset: 0:ff7a2f2d8d70 165s - bookmark: epsilon 165s - tag: default/epsilon 165s - tag: t_alpha 165s - phase: draft 165s - user: test 165s - date: Mon Jan 01 00:00:10 2007 +0000 165s - summary: add alpha 165s - 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s add a merge to the git repo, and delete the branch 165s $ cd gitrepo 165s $ git merge -q -m "Merge branch 'beta'" beta 165s @@ -252,60 +193,26 @@ 165s 165s pull the merge 165s $ hg -R hgrepo tags | grep default/beta 165s - default/beta 1:7fe02317c63d 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + [1] 165s $ hg -R hgrepo pull --config git.pull-prune-remote-branches=false 165s - pulling from $TESTTMP/gitrepo 165s - importing 1 git commits 165s - updating bookmark master 165s - deleting bookmark beta 165s - new changesets a02330f767a4 (1 drafts) 165s - (run 'hg update' to get a working copy) 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s $ hg -R hgrepo tags | grep default/beta 165s - default/beta 1:7fe02317c63d 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + [1] 165s $ hg -R hgrepo pull 165s - pulling from $TESTTMP/gitrepo 165s - no changes found 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s $ hg -R hgrepo tags | grep default/beta 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s [1] 165s $ hg -R hgrepo log --graph 165s - o changeset: 4:a02330f767a4 165s - |\ bookmark: master 165s - | | tag: default/master 165s - | | tag: tip 165s - | | parent: 3:6f898ad1f3e1 165s - | | parent: 1:7fe02317c63d 165s - | | user: test 165s - | | date: Mon Jan 01 00:00:13 2007 +0000 165s - | | summary: Merge branch 'beta' 165s - | | 165s - | o changeset: 3:6f898ad1f3e1 165s - | | parent: 0:ff7a2f2d8d70 165s - | | user: test 165s - | | date: Mon Jan 01 00:00:13 2007 +0000 165s - | | summary: add gamma 165s - | | 165s - | | o changeset: 2:678ebee93e38 165s - | |/ bookmark: delta 165s - | | tag: default/delta 165s - | | parent: 0:ff7a2f2d8d70 165s - | | user: test 165s - | | date: Mon Jan 01 00:00:12 2007 +0000 165s - | | summary: add delta 165s - | | 165s - o | changeset: 1:7fe02317c63d 165s - |/ tag: t_beta 165s - | user: test 165s - | date: Mon Jan 01 00:00:11 2007 +0000 165s - | summary: add beta 165s - | 165s - @ changeset: 0:ff7a2f2d8d70 165s - bookmark: epsilon 165s - tag: default/epsilon 165s - tag: t_alpha 165s - user: test 165s - date: Mon Jan 01 00:00:10 2007 +0000 165s - summary: add alpha 165s - 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s pull with wildcards 165s $ cd gitrepo 165s $ git checkout -qb releases/v1 master 165s @@ -324,66 +231,12 @@ 165s ensure that releases/v1 and releases/v2 are pulled but not notreleases/v1 165s $ cd .. 165s $ hg -R hgrepo pull -r 'releases/*' 165s - pulling from $TESTTMP/gitrepo 165s - importing 2 git commits 165s - adding bookmark releases/v1 165s - adding bookmark releases/v2 165s - new changesets 218b2d0660d3:a3f95e150b0a (2 drafts) 165s - (run 'hg heads .' to see heads, 'hg merge' to merge) 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s $ hg -R hgrepo log --graph 165s - o changeset: 6:a3f95e150b0a 165s - | bookmark: releases/v2 165s - | tag: default/releases/v2 165s - | tag: tip 165s - | parent: 4:a02330f767a4 165s - | user: test 165s - | date: Mon Jan 01 00:00:15 2007 +0000 165s - | summary: add eta 165s - | 165s - | o changeset: 5:218b2d0660d3 165s - |/ bookmark: releases/v1 165s - | tag: default/releases/v1 165s - | user: test 165s - | date: Mon Jan 01 00:00:14 2007 +0000 165s - | summary: add zeta 165s - | 165s - o changeset: 4:a02330f767a4 165s - |\ bookmark: master 165s - | | tag: default/master 165s - | | parent: 3:6f898ad1f3e1 165s - | | parent: 1:7fe02317c63d 165s - | | user: test 165s - | | date: Mon Jan 01 00:00:13 2007 +0000 165s - | | summary: Merge branch 'beta' 165s - | | 165s - | o changeset: 3:6f898ad1f3e1 165s - | | parent: 0:ff7a2f2d8d70 165s - | | user: test 165s - | | date: Mon Jan 01 00:00:13 2007 +0000 165s - | | summary: add gamma 165s - | | 165s - | | o changeset: 2:678ebee93e38 165s - | |/ bookmark: delta 165s - | | tag: default/delta 165s - | | parent: 0:ff7a2f2d8d70 165s - | | user: test 165s - | | date: Mon Jan 01 00:00:12 2007 +0000 165s - | | summary: add delta 165s - | | 165s - o | changeset: 1:7fe02317c63d 165s - |/ tag: t_beta 165s - | user: test 165s - | date: Mon Jan 01 00:00:11 2007 +0000 165s - | summary: add beta 165s - | 165s - @ changeset: 0:ff7a2f2d8d70 165s - bookmark: epsilon 165s - tag: default/epsilon 165s - tag: t_alpha 165s - user: test 165s - date: Mon Jan 01 00:00:10 2007 +0000 165s - summary: add alpha 165s - 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s 165s add old and new commits to the git repo -- make sure we're using the commit date 165s and not the author date 165s @@ -412,21 +265,19 @@ 165s Master is now filtered, so it's just stays there: 165s 165s $ hg -R hgrepo pull --config git.pull-prune-bookmarks=no 165s - pulling from $TESTTMP/gitrepo 165s - no changes found 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s $ hg -R hgrepo pull 165s - pulling from $TESTTMP/gitrepo 165s - no changes found 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s $ hg -R hgrepo log -r master 165s - changeset: 4:a02330f767a4 165s - bookmark: master 165s - tag: default/master 165s - parent: 3:6f898ad1f3e1 165s - parent: 1:7fe02317c63d 165s - user: test 165s - date: Mon Jan 01 00:00:13 2007 +0000 165s - summary: Merge branch 'beta' 165s - 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + abort: unknown revision 'master' 165s + [10] 165s 165s $ cd gitrepo 165s $ git checkout -q master 165s @@ -440,51 +291,13 @@ 165s > git tag -a -m 'tagging newtag' newtag 165s $ cd .. 165s $ hg -R hgrepo pull 165s - pulling from $TESTTMP/gitrepo 165s - importing 3 git commits 165s - updating bookmark master 165s - new changesets 49713da8f665:e103a73f33be (3 drafts) 165s - (run 'hg heads .' to see heads, 'hg merge' to merge) 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + pulling from $TESTTMP/gitrepo 165s + abort: repository $TESTTMP/gitrepo not found 165s + [255] 165s $ hg -R hgrepo heads 165s - changeset: 9:e103a73f33be 165s - bookmark: master 165s - tag: default/master 165s - tag: tip 165s - user: test 165s - date: Wed Jan 01 00:00:00 2014 +0000 165s - summary: newcommit 165s - 165s - changeset: 7:49713da8f665 165s - tag: newtag 165s - tag: oldtag 165s - parent: 4:a02330f767a4 165s - user: test 165s - date: Sat Mar 01 00:00:00 2014 +0000 165s - summary: oldtag 165s - 165s - changeset: 6:a3f95e150b0a 165s - bookmark: releases/v2 165s - tag: default/releases/v2 165s - parent: 4:a02330f767a4 165s - user: test 165s - date: Mon Jan 01 00:00:15 2007 +0000 165s - summary: add eta 165s - 165s - changeset: 5:218b2d0660d3 165s - bookmark: releases/v1 165s - tag: default/releases/v1 165s - user: test 165s - date: Mon Jan 01 00:00:14 2007 +0000 165s - summary: add zeta 165s - 165s - changeset: 2:678ebee93e38 165s - bookmark: delta 165s - tag: default/delta 165s - parent: 0:ff7a2f2d8d70 165s - user: test 165s - date: Mon Jan 01 00:00:12 2007 +0000 165s - summary: add delta 165s - 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + [1] 165s 165s test for ssh vulnerability 165s 165s @@ -494,18 +307,21 @@ 165s > EOF 165s 165s $ hg init a 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s $ cd a 165s $ hg pull -q 'git+ssh://-oProxyCommand=rm${IFS}nonexistent/path' 165s - abort: potentially unsafe hostname: '-oProxyCommand=rm${IFS}nonexistent' 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + abort: repository git+ssh://-oProxyCommand%3Drm%24%7BIFS%7Dnonexistent/path not found 165s [255] 165s $ hg pull -q 'git+ssh://-oProxyCommand=rm%20nonexistent/path' 165s - abort: potentially unsafe hostname: '-oProxyCommand=rm nonexistent' 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + abort: repository git+ssh://-oProxyCommand%3Drm%20nonexistent/path not found 165s [255] 165s $ hg pull -q 'git+ssh://fakehost|shellcommand/path' 165s - ssh: * fakehost%7?shellcommand* (glob) 165s - abort: git remote error: The remote server unexpectedly closed the connection. 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + abort: repository git+ssh://fakehost%7Cshellcommand/path not found 165s [255] 165s $ hg pull -q 'git+ssh://fakehost%7Cshellcommand/path' 165s - ssh: * fakehost%7?shellcommand* (glob) 165s - abort: git remote error: The remote server unexpectedly closed the connection. 165s - [255] 165s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 165s + abort: repository git+ssh://fakehost%7Cshellcommand/path not found 165s + [255] 165s 165s ERROR: test-pull.t#secret output changed 166s ! 166s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-git-submodules.t 166s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-git-submodules.t.err 166s @@ -188,261 +188,9 @@ 166s $ cd .. 166s 166s $ hg clone gitrepo2 hgrepo 166s - importing 10 git commits 166s - new changesets ff7a2f2d8d70:0ad944b2c4d8 (10 drafts) 166s - updating to bookmark master 166s - 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 166s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 166s + abort: repository gitrepo2 not found 166s + [255] 166s $ cd hgrepo 166s + $TESTTMP.sh: 133: cd: can't cd to hgrepo 166s $ hg log --graph 166s - @ changeset: 9:0ad944b2c4d8 166s - | bookmark: master 166s - | tag: default/master 166s - | tag: tip 166s - | user: test 166s - | date: Mon Jan 01 00:00:12 2007 +0000 166s - | summary: remove all subrepos 166s - | 166s - o changeset: 8:33da452ef22f 166s - | user: test 166s - | date: Mon Jan 01 00:00:12 2007 +0000 166s - | summary: replace subrepo with symlink 166s - | 166s - o changeset: 7:acebec53c0fc 166s - | user: test 166s - | date: Mon Jan 01 00:00:12 2007 +0000 166s - | summary: replace symlink with subrepo 166s - | 166s - o changeset: 6:78c2ea52db4b 166s - | user: test 166s - | date: Mon Jan 01 00:00:12 2007 +0000 166s - | summary: add symlink 166s - | 166s - o changeset: 5:c0d52ffc59b8 166s - | user: test 166s - | date: Mon Jan 01 00:00:12 2007 +0000 166s - | summary: replace file with subrepo 166s - | 166s - o changeset: 4:73e078a178a0 166s - | user: test 166s - | date: Mon Jan 01 00:00:12 2007 +0000 166s - | summary: replace subrepo with file 166s - | 166s - o changeset: 3:29e236ba4c06 166s - | user: test 166s - | date: Mon Jan 01 00:00:12 2007 +0000 166s - | summary: add another subrepo 166s - | 166s - o changeset: 2:a6075a162f62 166s - | user: test 166s - | date: Mon Jan 01 00:00:12 2007 +0000 166s - | summary: change subrepo commit 166s - | 166s - o changeset: 1:a4036e758995 166s - | user: test 166s - | date: Mon Jan 01 00:00:11 2007 +0000 166s - | summary: add subrepo 166s - | 166s - o changeset: 0:ff7a2f2d8d70 166s - user: test 166s - date: Mon Jan 01 00:00:10 2007 +0000 166s - summary: add alpha 166s - 166s - $ hg book 166s - * master 9:0ad944b2c4d8 166s - 166s -(add subrepo) 166s - $ hg cat -r 1 .hgsubstate 166s - 6e4ad8da50204560c00fa25e4987eb2e239029ba subrepo 166s - $ hg cat -r 1 .hgsub 166s - subrepo = [git]../gitsubrepo 166s - $ hg gverify -r 1 166s - verifying rev a4036e758995 against git commit e42b08b3cb7069b4594a4ee1d9cb641ee47b2355 166s - 166s -(change subrepo commit) 166s - $ hg cat -r 2 .hgsubstate 166s - aa2ead20c29b5cc6256408e1d9ef704870033afb subrepo 166s - $ hg cat -r 2 .hgsub 166s - subrepo = [git]../gitsubrepo 166s - $ hg gverify -r 2 166s - verifying rev a6075a162f62 against git commit a000567ceefbd9a2ce364e0dea6e298010b02b6d 166s - 166s -(add another subrepo) 166s - $ hg cat -r 3 .hgsubstate 166s - aa2ead20c29b5cc6256408e1d9ef704870033afb subrepo 166s - 6e4ad8da50204560c00fa25e4987eb2e239029ba subrepo2 166s - $ hg cat -r 3 .hgsub 166s - subrepo = [git]../gitsubrepo 166s - subrepo2 = [git]../gitsubrepo 166s - $ hg gverify -r 3 166s - verifying rev 29e236ba4c06 against git commit 6e219527869fa40eb6ffbdd013cd86d576b26b01 166s - 166s -(replace subrepo with file) 166s - $ hg cat -r 4 .hgsubstate 166s - 6e4ad8da50204560c00fa25e4987eb2e239029ba subrepo2 166s - $ hg cat -r 4 .hgsub 166s - subrepo2 = [git]../gitsubrepo 166s - $ hg manifest -r 4 166s - .hgsub 166s - .hgsubstate 166s - alpha 166s - subrepo 166s - $ hg gverify -r 4 166s - verifying rev 73e078a178a0 against git commit f6436a472da00f581d8d257e9bbaf3c358a5e88c 166s - 166s -(replace file with subrepo) 166s - $ hg cat -r 5 .hgsubstate 166s - 6e4ad8da50204560c00fa25e4987eb2e239029ba alpha 166s - 6e4ad8da50204560c00fa25e4987eb2e239029ba subrepo2 166s - $ hg cat -r 5 .hgsub 166s - subrepo2 = [git]../gitsubrepo 166s - alpha = [git]../gitsubrepo 166s - $ hg manifest -r 5 166s - .hgsub 166s - .hgsubstate 166s - subrepo 166s - $ hg gverify -r 5 166s - verifying rev c0d52ffc59b8 against git commit 88171163bf4795b5570924e51d5f8ede33f8bc28 166s - 166s -(replace symlink with subrepo) 166s - $ hg cat -r 7 .hgsub 166s - subrepo2 = [git]../gitsubrepo 166s - alpha = [git]../gitsubrepo 166s - foolink = [git]../gitsubrepo 166s - $ hg cat -r 7 .hgsubstate 166s - 6e4ad8da50204560c00fa25e4987eb2e239029ba alpha 166s - 6e4ad8da50204560c00fa25e4987eb2e239029ba foolink 166s - 6e4ad8da50204560c00fa25e4987eb2e239029ba subrepo2 166s - $ hg gverify -r 7 166s - verifying rev acebec53c0fc against git commit e3288fa737d429a60637b3b6782cb25b8298bc00 166s - 166s -(replace subrepo with symlink) 166s - $ hg cat -r 8 .hgsub .hgsubstate 166s - subrepo2 = [git]../gitsubrepo 166s - alpha = [git]../gitsubrepo 166s - 6e4ad8da50204560c00fa25e4987eb2e239029ba alpha 166s - 6e4ad8da50204560c00fa25e4987eb2e239029ba subrepo2 166s - 166s - $ hg gverify -r 8 166s - verifying rev 33da452ef22f against git commit d28364013fe1a0fde56c0e1921e49ecdeee8571d 166s - 166s -(remove all subrepos) 166s - $ hg cat -r 9 .hgsub .hgsubstate 166s - .hgsub: no such file in rev 0ad944b2c4d8 166s - .hgsubstate: no such file in rev 0ad944b2c4d8 166s - [1] 166s - $ hg gverify -r 9 166s - verifying rev 0ad944b2c4d8 against git commit 15ba94929481c654814178aac1dbca06ae688718 166s - 166s - $ hg debug-remove-hggit-state 166s - clearing out the git cache data 166s - $ hg gexport 166s - $ cd .hg/git 166s - $ git log --pretty=oneline 166s - 73c15b74fb81fa0cc60e9c59c73787a9f26c778b remove all subrepos 166s - d28364013fe1a0fde56c0e1921e49ecdeee8571d replace subrepo with symlink 166s - e3288fa737d429a60637b3b6782cb25b8298bc00 replace symlink with subrepo 166s - 2d1c135447d11df4dfe96dd5d4f37926dc5c821d add symlink 166s - 88171163bf4795b5570924e51d5f8ede33f8bc28 replace file with subrepo 166s - f6436a472da00f581d8d257e9bbaf3c358a5e88c replace subrepo with file 166s - 6e219527869fa40eb6ffbdd013cd86d576b26b01 add another subrepo 166s - a000567ceefbd9a2ce364e0dea6e298010b02b6d change subrepo commit 166s - e42b08b3cb7069b4594a4ee1d9cb641ee47b2355 add subrepo 166s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 add alpha 166s - 166s -test with rename detection enabled -- simply checking that the Mercurial hashes 166s -are the same is enough 166s - $ cd ../../.. 166s - $ hg --config git.similarity=100 clone gitrepo2 hgreporenames 166s - importing 10 git commits 166s - new changesets ff7a2f2d8d70:0ad944b2c4d8 (10 drafts) 166s - updating to bookmark master 166s - 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 166s - $ cd hgreporenames 166s - $ hg log --graph 166s - @ changeset: 9:0ad944b2c4d8 166s - | bookmark: master 166s - | tag: default/master 166s - | tag: tip 166s - | user: test 166s - | date: Mon Jan 01 00:00:12 2007 +0000 166s - | summary: remove all subrepos 166s - | 166s - o changeset: 8:33da452ef22f 166s - | user: test 166s - | date: Mon Jan 01 00:00:12 2007 +0000 166s - | summary: replace subrepo with symlink 166s - | 166s - o changeset: 7:acebec53c0fc 166s - | user: test 166s - | date: Mon Jan 01 00:00:12 2007 +0000 166s - | summary: replace symlink with subrepo 166s - | 166s - o changeset: 6:78c2ea52db4b 166s - | user: test 166s - | date: Mon Jan 01 00:00:12 2007 +0000 166s - | summary: add symlink 166s - | 166s - o changeset: 5:c0d52ffc59b8 166s - | user: test 166s - | date: Mon Jan 01 00:00:12 2007 +0000 166s - | summary: replace file with subrepo 166s - | 166s - o changeset: 4:73e078a178a0 166s - | user: test 166s - | date: Mon Jan 01 00:00:12 2007 +0000 166s - | summary: replace subrepo with file 166s - | 166s - o changeset: 3:29e236ba4c06 166s - | user: test 166s - | date: Mon Jan 01 00:00:12 2007 +0000 166s - | summary: add another subrepo 166s - | 166s - o changeset: 2:a6075a162f62 166s - | user: test 166s - | date: Mon Jan 01 00:00:12 2007 +0000 166s - | summary: change subrepo commit 166s - | 166s - o changeset: 1:a4036e758995 166s - | user: test 166s - | date: Mon Jan 01 00:00:11 2007 +0000 166s - | summary: add subrepo 166s - | 166s - o changeset: 0:ff7a2f2d8d70 166s - user: test 166s - date: Mon Jan 01 00:00:10 2007 +0000 166s - summary: add alpha 166s - 166s - $ cd .. 166s - 166s -test handling of an invalid .gitmodules file (#380) 166s - 166s - $ git init --quiet gitrepo-issue380 166s - $ cd gitrepo-issue380 166s - $ git submodule add ../gitsubrepo 166s - Cloning into '$TESTTMP/gitrepo-issue380/gitsubrepo'... 166s - done. 166s - $ fn_git_commit -m 'add a submodule' 166s - $ cat >> .gitmodules < <<<<<<< HEAD 166s - > EOF 166s - $ fn_git_commit -a -m 'b0rken .gitmodules' 166s - $ git status 166s - fatal: bad config line 4 in file $TESTTMP/gitrepo-issue380/.gitmodules 166s - [128] 166s - $ sed -i.orig /HEAD/d .gitmodules 166s - $ fn_git_commit -a -m 'fix .gitmodules' 166s - $ git status 166s - On branch master 166s - Untracked files: 166s - (use "git add ..." to include in what will be committed) 166s - .gitmodules.orig 166s - 166s - nothing added to commit but untracked files present (use "git add" to track) 166s - $ cd .. 166s - $ git clone gitrepo-issue380 gitrepo-issue380~ 166s - Cloning into 'gitrepo-issue380~'... 166s - done. 166s - $ hg clone -U gitrepo-issue380 hgrepo-issue380 166s - importing 3 git commits 166s - warning: failed to parse .gitmodules in 2e4ec4293822 166s - new changesets ed60e5fbc192:9dfc0cdf1787 (3 drafts) 166s 166s ERROR: test-git-submodules.t output changed 166s !s 166s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-renames.t 166s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-renames.t.err 166s @@ -95,494 +95,9 @@ 166s 166s $ cd .. 166s $ hg clone -q repo.git hgrepo 166s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 166s + abort: repository repo.git not found 166s + [255] 166s $ cd hgrepo 166s + $TESTTMP.sh: 115: cd: can't cd to hgrepo 166s $ hg book master -q 166s - $ hg log -p --graph --template "{rev} {node} {desc|firstline}\n{join(extras, ' ')}\n\n" 166s - @ 8 497105ddbe119aa40af691eb2b1a029c29bf5247 remove submodule and rename back 166s - | branch=default hg-git-rename-source=git 166s - | 166s - | diff --git a/.hgsub b/.hgsub 166s - | --- a/.hgsub 166s - | +++ b/.hgsub 166s - | @@ -1,2 +1,1 @@ 166s - | gitsubmodule2 = [git]../gitsubmodule 166s - | -gamma = [git]../gitsubmodule 166s - | diff --git a/.hgsubstate b/.hgsubstate 166s - | --- a/.hgsubstate 166s - | +++ b/.hgsubstate 166s - | @@ -1,2 +1,1 @@ 166s - | -5944b31ff85b415573d1a43eb942e2dea30ab8be gamma 166s - | 5944b31ff85b415573d1a43eb942e2dea30ab8be gitsubmodule2 166s - | diff --git a/gamma-new b/gamma 166s - | rename from gamma-new 166s - | rename to gamma 166s - | 166s - o 7 adfc1ce8461d3174dcf8425e112e2fa848de3913 rename and add submodule 166s - | branch=default hg-git-rename-source=git 166s - | 166s - | diff --git a/.hgsub b/.hgsub 166s - | --- a/.hgsub 166s - | +++ b/.hgsub 166s - | @@ -1,1 +1,2 @@ 166s - | gitsubmodule2 = [git]../gitsubmodule 166s - | +gamma = [git]../gitsubmodule 166s - | diff --git a/.hgsubstate b/.hgsubstate 166s - | --- a/.hgsubstate 166s - | +++ b/.hgsubstate 166s - | @@ -1,1 +1,2 @@ 166s - | +5944b31ff85b415573d1a43eb942e2dea30ab8be gamma 166s - | 5944b31ff85b415573d1a43eb942e2dea30ab8be gitsubmodule2 166s - | diff --git a/gamma b/gamma-new 166s - | rename from gamma 166s - | rename to gamma-new 166s - | 166s - o 6 62c1a4b07240b53a71be1b1a46e94e99132c5391 beta renamed back 166s - | branch=default hg-git-rename-source=git 166s - | 166s - | diff --git a/beta b/beta 166s - | old mode 120000 166s - | new mode 100644 166s - | --- a/beta 166s - | +++ b/beta 166s - | @@ -1,1 +1,12 @@ 166s - | -beta-new 166s - | \ No newline at end of file 166s - | +1 166s - | +2 166s - | +3 166s - | +4 166s - | +5 166s - | +6 166s - | +7 166s - | +8 166s - | +9 166s - | +10 166s - | +11 166s - | +12 166s - | diff --git a/beta-new b/beta-new 166s - | deleted file mode 100644 166s - | --- a/beta-new 166s - | +++ /dev/null 166s - | @@ -1,12 +0,0 @@ 166s - | -1 166s - | -2 166s - | -3 166s - | -4 166s - | -5 166s - | -6 166s - | -7 166s - | -8 166s - | -9 166s - | -10 166s - | -11 166s - | -12 166s - | 166s - o 5 f93fefed957cff2220d3f0d11182398350b5fa9a beta renamed 166s - | branch=default hg-git-rename-source=git 166s - | 166s - | diff --git a/beta b/beta 166s - | old mode 100644 166s - | new mode 120000 166s - | --- a/beta 166s - | +++ b/beta 166s - | @@ -1,12 +1,1 @@ 166s - | -1 166s - | -2 166s - | -3 166s - | -4 166s - | -5 166s - | -6 166s - | -7 166s - | -8 166s - | -9 166s - | -10 166s - | -11 166s - | -12 166s - | +beta-new 166s - | \ No newline at end of file 166s - | diff --git a/beta b/beta-new 166s - | copy from beta 166s - | copy to beta-new 166s - | 166s - o 4 b9e63d96abc2783afc59246e798a6936cf05a35e move submodule 166s - | branch=default hg-git-rename-source=git 166s - | 166s - | diff --git a/.hgsub b/.hgsub 166s - | --- a/.hgsub 166s - | +++ b/.hgsub 166s - | @@ -1,1 +1,1 @@ 166s - | -gitsubmodule = [git]../gitsubmodule 166s - | +gitsubmodule2 = [git]../gitsubmodule 166s - | diff --git a/.hgsubstate b/.hgsubstate 166s - | --- a/.hgsubstate 166s - | +++ b/.hgsubstate 166s - | @@ -1,1 +1,1 @@ 166s - | -5944b31ff85b415573d1a43eb942e2dea30ab8be gitsubmodule 166s - | +5944b31ff85b415573d1a43eb942e2dea30ab8be gitsubmodule2 166s - | 166s - o 3 55537ea256c28be1b5637f4f93a601fdde8a9a7f add submodule 166s - | branch=default hg-git-rename-source=git 166s - | 166s - | diff --git a/.hgsub b/.hgsub 166s - | new file mode 100644 166s - | --- /dev/null 166s - | +++ b/.hgsub 166s - | @@ -0,0 +1,1 @@ 166s - | +gitsubmodule = [git]../gitsubmodule 166s - | diff --git a/.hgsubstate b/.hgsubstate 166s - | new file mode 100644 166s - | --- /dev/null 166s - | +++ b/.hgsubstate 166s - | @@ -0,0 +1,1 @@ 166s - | +5944b31ff85b415573d1a43eb942e2dea30ab8be gitsubmodule 166s - | 166s - o 2 20f9e56b6d006d0403f853245e483d0892b8ac48 gamma 166s - | branch=default hg-git-rename-source=git 166s - | 166s - | diff --git a/beta b/beta 166s - | --- a/beta 166s - | +++ b/beta 166s - | @@ -9,3 +9,4 @@ 166s - | 9 166s - | 10 166s - | 11 166s - | +12 166s - | diff --git a/beta b/gamma 166s - | copy from beta 166s - | copy to gamma 166s - | --- a/beta 166s - | +++ b/gamma 166s - | @@ -9,3 +9,4 @@ 166s - | 9 166s - | 10 166s - | 11 166s - | +13 166s - | 166s - o 1 9f7744e68def81da3b394f11352f602ca9c8ab68 beta 166s - | branch=default hg-git-rename-source=git 166s - | 166s - | diff --git a/alpha b/beta 166s - | rename from alpha 166s - | rename to beta 166s - | --- a/alpha 166s - | +++ b/beta 166s - | @@ -8,3 +8,4 @@ 166s - | 8 166s - | 9 166s - | 10 166s - | +11 166s - | 166s - o 0 7bc844166f76e49562f81eacd54ea954d01a9e42 alpha 166s - branch=default hg-git-rename-source=git 166s - 166s - diff --git a/alpha b/alpha 166s - new file mode 100644 166s - --- /dev/null 166s - +++ b/alpha 166s - @@ -0,0 +1,10 @@ 166s - +1 166s - +2 166s - +3 166s - +4 166s - +5 166s - +6 166s - +7 166s - +8 166s - +9 166s - +10 166s - 166s - 166s -Make a new ordinary commit in Mercurial (no extra metadata) 166s - $ echo 14 >> gamma 166s - $ hg ci -m "gamma2" 166s - 166s -Make a new commit with a copy and a rename in Mercurial 166s - $ hg cp gamma delta 166s - $ echo 15 >> delta 166s - $ hg mv beta epsilon 166s - $ echo 16 >> epsilon 166s - $ hg ci -m "delta/epsilon" 166s - $ hg export . 166s - # HG changeset patch 166s - # User test 166s - # Date 0 0 166s - # Thu Jan 01 00:00:00 1970 +0000 166s - # Node ID ea6414fab78622fd53679e0593eddad96ff4178d 166s - # Parent ee9ec792d5866c313a4cb7a2f8772f2cffa90df4 166s - delta/epsilon 166s - 166s - diff --git a/gamma b/delta 166s - copy from gamma 166s - copy to delta 166s - --- a/gamma 166s - +++ b/delta 166s - @@ -11,3 +11,4 @@ 166s - 11 166s - 13 166s - 14 166s - +15 166s - diff --git a/beta b/epsilon 166s - rename from beta 166s - rename to epsilon 166s - --- a/beta 166s - +++ b/epsilon 166s - @@ -10,3 +10,4 @@ 166s - 10 166s - 11 166s - 12 166s - +16 166s - $ hg push 166s - pushing to $TESTTMP/repo.git 166s - searching for changes 166s - adding objects 166s - remote: found 0 deltas to reuse 166s - added 2 commits with 2 trees and 3 blobs 166s - updating reference refs/heads/master 166s - 166s - $ cd ../repo.git 166s - $ git log master --pretty=oneline 166s - 5f2948d029693346043f320620af99a615930dc4 delta/epsilon 166s - bbd2ec050f7fbc64f772009844f7d58a556ec036 gamma2 166s - 50d116676a308b7c22935137d944e725d2296f2a remove submodule and rename back 166s - 59fb8e82ea18f79eab99196f588e8948089c134f rename and add submodule 166s - f95497455dfa891b4cd9b524007eb9514c3ab654 beta renamed back 166s - 055f482277da6cd3dd37c7093d06983bad68f782 beta renamed 166s - d7f31298f27df8a9226eddb1e4feb96922c46fa5 move submodule 166s - c610256cb6959852d9e70d01902a06726317affc add submodule 166s - e1348449e0c3a417b086ed60fc13f068d4aa8b26 gamma 166s - cc83241f39927232f690d370894960b0d1943a0e beta 166s - 938bb65bb322eb4a3558bec4cdc8a680c4d1794c alpha 166s - 166s -Make sure the right metadata is stored 166s - $ git cat-file commit master^ 166s - tree 0adbde18545845f3b42ad1a18939ed60a9dec7a8 166s - parent 50d116676a308b7c22935137d944e725d2296f2a 166s - author test 0 +0000 166s - committer test 0 +0000 166s - HG:rename-source hg 166s - 166s - gamma2 166s - $ git cat-file commit master 166s - tree f8f32f4e20b56a5a74582c6a5952c175bf9ec155 166s - parent bbd2ec050f7fbc64f772009844f7d58a556ec036 166s - author test 0 +0000 166s - committer test 0 +0000 166s - HG:rename gamma:delta 166s - HG:rename beta:epsilon 166s - 166s - delta/epsilon 166s - 166s -Now make another clone and compare the hashes 166s - 166s - $ cd .. 166s - $ hg clone -q repo.git hgrepo2 166s - $ cd hgrepo2 166s - $ hg book master -qf 166s - $ hg export master 166s - # HG changeset patch 166s - # User test 166s - # Date 0 0 166s - # Thu Jan 01 00:00:00 1970 +0000 166s - # Node ID ea6414fab78622fd53679e0593eddad96ff4178d 166s - # Parent ee9ec792d5866c313a4cb7a2f8772f2cffa90df4 166s - delta/epsilon 166s - 166s - diff --git a/gamma b/delta 166s - copy from gamma 166s - copy to delta 166s - --- a/gamma 166s - +++ b/delta 166s - @@ -11,3 +11,4 @@ 166s - 11 166s - 13 166s - 14 166s - +15 166s - diff --git a/beta b/epsilon 166s - rename from beta 166s - rename to epsilon 166s - --- a/beta 166s - +++ b/epsilon 166s - @@ -10,3 +10,4 @@ 166s - 10 166s - 11 166s - 12 166s - +16 166s - 166s -Regenerate the Git metadata and compare the hashes 166s - $ hg debug-remove-hggit-state 166s - clearing out the git cache data 166s - $ hg gexport 166s - $ cd .hg/git 166s - $ git log master --pretty=oneline 166s - f3f6592447685566af9447c03ae262aa5432511d delta/epsilon (dulwich-rust !) 166s - c51ce14ec367c5ea72bf428dee3f8576f2fe1bb0 gamma2 (dulwich-rust !) 166s - df749cae534e3c7a0ad664cd0f214dd36e0ac259 remove submodule and rename back (dulwich-rust !) 166s - 8f9ec605ad0cc2532202f73cef8e35d3241797ee rename and add submodule (dulwich-rust !) 166s - 8a00d0fb75377c51c9a46e92ff154c919007f0e2 delta/epsilon (no-dulwich-rust !) 166s - dd7d4f1adb942a8d349dce585019f6949184bc64 gamma2 (no-dulwich-rust !) 166s - 3f1cdaf8b603816fcda02bd29e75198ae4cb13db remove submodule and rename back (no-dulwich-rust !) 166s - 2a4abf1178a999e2054158ceb0c7768079665d03 rename and add submodule (no-dulwich-rust !) 166s - 88c416e8d5e0e9dd1187d45ebafaa46111764196 beta renamed back 166s - 027d2a6e050705bf6f7e226e7e97f02ce5ae3200 beta renamed 166s - dc70e620634887e70ac5dd108bcc7ebd99c60ec3 move submodule 166s - c610256cb6959852d9e70d01902a06726317affc add submodule 166s - e1348449e0c3a417b086ed60fc13f068d4aa8b26 gamma 166s - cc83241f39927232f690d370894960b0d1943a0e beta 166s - 938bb65bb322eb4a3558bec4cdc8a680c4d1794c alpha 166s - 166s -Test findcopiesharder 166s - 166s - $ cd $TESTTMP 166s - $ git init -q gitcopyharder 166s - $ cd gitcopyharder 166s - $ cat >> file0 << EOF 166s - > 1 166s - > 2 166s - > 3 166s - > 4 166s - > 5 166s - > EOF 166s - $ git add file0 166s - $ fn_git_commit -m file0 166s - $ cp file0 file1 166s - $ git add file1 166s - $ fn_git_commit -m file1 166s - $ cp file0 file2 166s - $ echo 6 >> file2 166s - $ git add file2 166s - $ fn_git_commit -m file2 166s - 166s - $ cd .. 166s - 166s -Clone without findcopiesharder does not find copies from unmodified files 166s - 166s - $ hg clone gitcopyharder hgnocopyharder 166s - importing 3 git commits 166s - new changesets b45d023c6842:ec77ccdbefe0 (3 drafts) 166s - updating to bookmark master 166s - 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 166s - $ hg -R hgnocopyharder export 1::2 166s - # HG changeset patch 166s - # User test 166s - # Date 1167609621 0 166s - # Mon Jan 01 00:00:21 2007 +0000 166s - # Node ID 555831c93e2a250e5ba42efad45bf7ba71da13e4 166s - # Parent b45d023c6842337ffe694663a44aa672d311081c 166s - file1 166s - 166s - diff --git a/file1 b/file1 166s - new file mode 100644 166s - --- /dev/null 166s - +++ b/file1 166s - @@ -0,0 +1,5 @@ 166s - +1 166s - +2 166s - +3 166s - +4 166s - +5 166s - # HG changeset patch 166s - # User test 166s - # Date 1167609622 0 166s - # Mon Jan 01 00:00:22 2007 +0000 166s - # Node ID ec77ccdbefe023eb9898b0399f84f670c8c0f5fc 166s - # Parent 555831c93e2a250e5ba42efad45bf7ba71da13e4 166s - file2 166s - 166s - diff --git a/file2 b/file2 166s - new file mode 100644 166s - --- /dev/null 166s - +++ b/file2 166s - @@ -0,0 +1,6 @@ 166s - +1 166s - +2 166s - +3 166s - +4 166s - +5 166s - +6 166s - 166s -findcopiesharder finds copies from unmodified files if similarity is met 166s - 166s - $ hg --config git.findcopiesharder=true clone gitcopyharder hgcopyharder0 166s - importing 3 git commits 166s - new changesets b45d023c6842:9b3099834272 (3 drafts) 166s - updating to bookmark master 166s - 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 166s - $ hg -R hgcopyharder0 export 1::2 166s - # HG changeset patch 166s - # User test 166s - # Date 1167609621 0 166s - # Mon Jan 01 00:00:21 2007 +0000 166s - # Node ID cd05a87103eed9d270fc05b62b00f48e174ab960 166s - # Parent b45d023c6842337ffe694663a44aa672d311081c 166s - file1 166s - 166s - diff --git a/file0 b/file1 166s - copy from file0 166s - copy to file1 166s - # HG changeset patch 166s - # User test 166s - # Date 1167609622 0 166s - # Mon Jan 01 00:00:22 2007 +0000 166s - # Node ID 9b30998342729c7357d418bebed7399986cfe643 166s - # Parent cd05a87103eed9d270fc05b62b00f48e174ab960 166s - file2 166s - 166s - diff --git a/file0 b/file2 166s - copy from file0 166s - copy to file2 166s - --- a/file0 166s - +++ b/file2 166s - @@ -3,3 +3,4 @@ 166s - 3 166s - 4 166s - 5 166s - +6 166s - 166s - $ hg --config git.findcopiesharder=true --config git.similarity=95 clone gitcopyharder hgcopyharder1 166s - importing 3 git commits 166s - new changesets b45d023c6842:d9d2e8cbf050 (3 drafts) 166s - updating to bookmark master 166s - 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 166s - $ hg -R hgcopyharder1 export 1::2 166s - # HG changeset patch 166s - # User test 166s - # Date 1167609621 0 166s - # Mon Jan 01 00:00:21 2007 +0000 166s - # Node ID cd05a87103eed9d270fc05b62b00f48e174ab960 166s - # Parent b45d023c6842337ffe694663a44aa672d311081c 166s - file1 166s - 166s - diff --git a/file0 b/file1 166s - copy from file0 166s - copy to file1 166s - # HG changeset patch 166s - # User test 166s - # Date 1167609622 0 166s - # Mon Jan 01 00:00:22 2007 +0000 166s - # Node ID d9d2e8cbf050772be31dccf78851f71dc547d139 166s - # Parent cd05a87103eed9d270fc05b62b00f48e174ab960 166s - file2 166s - 166s - diff --git a/file2 b/file2 166s - new file mode 100644 166s - --- /dev/null 166s - +++ b/file2 166s - @@ -0,0 +1,6 @@ 166s - +1 166s - +2 166s - +3 166s - +4 166s - +5 166s - +6 166s - 166s -Config values out of range 166s - $ hg --config git.similarity=999 clone gitcopyharder hgcopyharder2 166s - importing 3 git commits 166s - abort: git.similarity must be between 0 and 100 166s - [255] 166s -Left-over on Windows with some pack files 166s - $ rm -rf hgcopyharder2 166s - $ hg --config git.renamelimit=-5 clone gitcopyharder hgcopyharder2 166s - importing 3 git commits 166s - abort: git.renamelimit must be non-negative 166s - [255] 166s 166s ERROR: test-renames.t output changed 166s ! 166s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-git-tags.t 166s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-git-tags.t#draft.err 166s @@ -41,337 +41,13 @@ 166s Clone it: 166s 166s $ hg clone repo.git hgrepo 166s - importing 2 git commits 166s - new changesets ff7a2f2d8d70:7fe02317c63d (2 drafts) 166s - updating to bookmark master 166s - 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 166s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 166s + abort: repository repo.git not found 166s + [255] 166s 166s $ cd hgrepo 166s + $TESTTMP.sh: 39: cd: can't cd to hgrepo 166s 166s Verify that annotated tags are unaffected by reexports: 166s 166s $ GIT_DIR=.hg/git git tag -ln 166s - beta added tag beta 166s - $ hg gexport 166s - $ GIT_DIR=.hg/git git tag -ln 166s - beta added tag beta 166s - 166s -Error checking on tag creation 166s - 166s - $ hg tag --git beta --remove 166s - abort: cannot remove git tags 166s - (the git documentation heavily discourages editing tags) 166s - [255] 166s - $ hg tag --git beta -r null 166s - abort: cannot remove git tags 166s - (the git documentation heavily discourages editing tags) 166s - [255] 166s - $ hg tag --git beta --remove -r 0 166s - abort: cannot specify both --rev and --remove 166s - [10] 166s - $ hg tag --git alpha 166s - abort: git tags require an explicit revision 166s - (please specify -r/--rev) 166s - [255] 166s - $ hg tag --git alpha alpha -r 0 166s - abort: tag names must be unique 166s - [255] 166s - $ hg tag --git alpha -r 0 -e 166s - abort: cannot specify both --git and --edit 166s - [10] 166s - $ hg tag --git alpha -r 0 -m 42 166s - abort: cannot specify both --git and --message 166s - [10] 166s - $ hg tag --git alpha -r 0 -d 42 166s - abort: cannot specify both --git and --date 166s - [10] 166s - $ hg tag --git alpha -r 0 -u user@example.com 166s - abort: cannot specify both --git and --user 166s - [10] 166s - $ hg tag --git 'with space' -r 0 166s - abort: the name 'with space' is not a valid git tag 166s - [255] 166s - $ hg tag --git ' beta' -r 0 166s - abort: the name 'beta' already exists 166s - [255] 166s - $ hg tag --git master -r 0 166s - abort: the name 'master' already exists 166s - [255] 166s - $ hg tag --git tip -r 0 166s - abort: the name 'tip' is reserved 166s - [10] 166s - 166s -Create a git tag from hg 166s - 166s - $ hg tag --git alpha --debug -r 0 166s - finding unexported changesets 166s - saving git map to $TESTTMP/hgrepo/.hg/git-mapfile 166s - adding git tag alpha 166s - $ hg log --graph 166s - @ changeset: 1:7fe02317c63d 166s - | bookmark: master 166s - | tag: beta 166s - | tag: default/master 166s - | tag: tip 166s - | user: test 166s - | date: Mon Jan 01 00:00:11 2007 +0000 166s - | summary: add beta 166s - | 166s - o changeset: 0:ff7a2f2d8d70 166s - tag: alpha 166s - user: test 166s - date: Mon Jan 01 00:00:10 2007 +0000 166s - summary: add alpha 166s - 166s - $ echo beta-fix >> beta 166s - $ fn_hg_commit -m 'fix for beta' 166s -#if secret 166s - $ hg phase -d 166s -#endif 166s - $ hg push 166s - pushing to $TESTTMP/repo.git 166s - searching for changes 166s - adding objects 166s - remote: found 0 deltas to reuse 166s - added 1 commits with 1 trees and 1 blobs 166s - updating reference refs/heads/master 166s - adding reference refs/tags/alpha 166s - 166s -Verify that amending commits known to remotes doesn't break anything 166s - 166s - $ cat >> $HGRCPATH << EOF 166s - > [experimental] 166s - > evolution = createmarkers 166s - > evolution.createmarkers = yes 166s - > EOF 166s - $ hg tags 166s - tip 2:61175962e488 166s - default/master 2:61175962e488 166s - beta 1:7fe02317c63d 166s - alpha 0:ff7a2f2d8d70 166s - $ echo beta-fix-again >> beta 166s - $ fn_hg_commit --amend 166s - $ hg log -T shorttags 166s - 3:3094b9e8da41 draft tip 166s - 2:61175962e488 draft default/master X 166s - 1:7fe02317c63d draft beta 166s - 0:ff7a2f2d8d70 draft alpha 166s - $ hg tags 166s - tip 3:3094b9e8da41 166s - default/master 2:61175962e488 166s - beta 1:7fe02317c63d 166s - alpha 0:ff7a2f2d8d70 166s - $ hg push 166s - pushing to $TESTTMP/repo.git 166s - searching for changes 166s - abort: pushing refs/heads/master overwrites 3094b9e8da41 166s - [255] 166s - $ hg push -f 166s - pushing to $TESTTMP/repo.git 166s - searching for changes 166s - adding objects 166s - remote: found 0 deltas to reuse 166s - added 1 commits with 1 trees and 1 blobs 166s - updating reference refs/heads/master 166s - 166s -Now create a tag for the old, obsolete master 166s - 166s - $ cd ../repo.git 166s - $ git tag detached $(hg log -R ../hgrepo --hidden -r 2 -T '{gitnode}\n') 166s - $ git tag 166s - alpha 166s - beta 166s - detached 166s - $ cd ../hgrepo 166s - $ hg pull 166s - pulling from $TESTTMP/repo.git 166s - no changes found 166s - $ hg log -T shorttags 166s - 3:3094b9e8da41 draft default/master tip 166s - 2:61175962e488 draft detached X 166s - 1:7fe02317c63d draft beta 166s - 0:ff7a2f2d8d70 draft alpha 166s - $ hg tags 166s - tip 3:3094b9e8da41 166s - default/master 3:3094b9e8da41 166s - detached 2:61175962e488 166s - beta 1:7fe02317c63d 166s - alpha 0:ff7a2f2d8d70 166s - $ hg push 166s - pushing to $TESTTMP/repo.git 166s - searching for changes 166s - no changes found 166s - [1] 166s - 166s - $ cd .. 166s - 166s -Verify that revsets can point out git tags; for that we need an 166s -untagged commit. 166s - 166s - $ cd hgrepo 166s - $ touch gamma 166s - $ fn_hg_commit -A -m 'add gamma' 166s -#if secret 166s - $ hg phase -d 166s -#endif 166s - $ hg log -T shorttags -r 'gittag()' 166s - 0:ff7a2f2d8d70 draft alpha 166s - 1:7fe02317c63d draft beta 166s - 2:61175962e488 draft detached X 166s - $ hg log -T shorttags -r 'gittag(detached)' 166s - 2:61175962e488 draft detached X 166s - $ hg log -T shorttags -r 'gittag("re:a$")' 166s - 0:ff7a2f2d8d70 draft alpha 166s - 1:7fe02317c63d draft beta 166s - 166s -Create a git tag from hg, but pointing to a new commit: 166s - 166s - $ hg tag --git gamma --debug -r tip 166s - invalid branch cache (visible): tip differs (?) 166s - finding unexported changesets 166s - exporting 1 changesets 166s - converting revision 0eb1ab0073a885a498d4ae3dc5cf0c26e750fa3d 166s - packing 3 loose objects... 166s - packed 3 loose objects! 166s - saving git map to $TESTTMP/hgrepo/.hg/git-mapfile 166s - adding git tag gamma 166s - $ hg push 166s - pushing to $TESTTMP/repo.git 166s - searching for changes 166s - adding objects 166s - remote: found 0 deltas to reuse 166s - added 1 commits with 1 trees and 1 blobs 166s - updating reference refs/heads/master 166s - adding reference refs/tags/gamma 166s - $ cd ../gitrepo 166s - $ git fetch --quiet --tags 166s - $ git tag 166s - alpha 166s - beta 166s - detached 166s - gamma 166s - $ cd .. 166s - 166s -Try to overwrite an annotated tag: 166s - 166s - $ cd hgrepo 166s - $ hg tags -v 166s - tip 4:0eb1ab0073a8 166s - gamma 4:0eb1ab0073a8 git 166s - default/master 4:0eb1ab0073a8 git-remote 166s - detached 2:61175962e488 git 166s - beta 1:7fe02317c63d git 166s - alpha 0:ff7a2f2d8d70 git 166s - $ hg book not-master 166s - $ hg tag beta 166s - abort: tag 'beta' already exists (use -f to force) 166s - [10] 166s - $ hg tag -f beta 166s -#if secret 166s - $ hg phase -d 166s -#endif 166s - $ hg push 166s - pushing to $TESTTMP/repo.git 166s - warning: not overwriting annotated tag 'beta' 166s - searching for changes 166s - adding objects 166s - remote: found 0 deltas to reuse 166s - added 1 commits with 1 trees and 1 blobs 166s - adding reference refs/heads/not-master 166s - $ hg tags 166s - tip 5:c49682c7cba4 166s - default/not-master 5:c49682c7cba4 166s - gamma 4:0eb1ab0073a8 166s - default/master 4:0eb1ab0073a8 166s - beta 4:0eb1ab0073a8 166s - detached 2:61175962e488 166s - alpha 0:ff7a2f2d8d70 166s - $ cd .. 166s - 166s -Check whether `gimport` handles tags 166s - 166s - $ cd hgrepo 166s - $ rm .hg/git-tags .hg/git-mapfile 166s - $ hg gimport 166s - importing 6 git commits 166s - $ hg tags -q 166s - tip 166s - default/not-master 166s - gamma 166s - default/master 166s - beta 166s - detached 166s - alpha 166s - $ cd .. 166s - 166s -Test how pulling an explicit branch with an annotated tag: 166s - 166s - $ hg clone -r master repo.git hgrepo-2 166s - importing 4 git commits 166s - new changesets ff7a2f2d8d70:0eb1ab0073a8 (4 drafts) 166s - updating to branch default 166s - 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 166s - $ hg log -r 'ancestors(master) and tagged()' -T shorttags -R hgrepo-2 166s - 0:ff7a2f2d8d70 draft alpha 166s - 1:7fe02317c63d draft beta 166s - 3:0eb1ab0073a8 draft default/master gamma tip 166s - $ hg tags -v -R hgrepo-2 166s - tip 3:0eb1ab0073a8 166s - gamma 3:0eb1ab0073a8 git 166s - default/master 3:0eb1ab0073a8 git-remote 166s - beta 1:7fe02317c63d git 166s - alpha 0:ff7a2f2d8d70 git 166s - $ GIT_DIR=hgrepo-2/.hg/git git fetch --quiet repo.git 166s - $ rm -rf hgrepo-2 166s - 166s - $ hg clone -r master repo.git hgrepo-2 166s - importing 4 git commits 166s - new changesets ff7a2f2d8d70:0eb1ab0073a8 (4 drafts) 166s - updating to branch default 166s - 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 166s - $ hg log -r 'tagged()' -T shorttags -R hgrepo-2 166s - 0:ff7a2f2d8d70 draft alpha 166s - 1:7fe02317c63d draft beta 166s - 3:0eb1ab0073a8 draft default/master gamma tip 166s -This used to die: 166s - $ hg -R hgrepo-2 gexport 166s -This used to fail, since we didn't actually pull the annotated tag: 166s - $ hg -R hgrepo-2 push 166s - pushing to $TESTTMP/repo.git 166s - searching for changes 166s - no changes found 166s - [1] 166s - $ rm -rf hgrepo-2 166s - 166s -Check that pulling will update phases only: 166s - 166s - $ cd hgrepo 166s - $ hg phase -fs gamma detached 166s - $ hg pull 166s - pulling from $TESTTMP/repo.git 166s - no changes found 166s - $ hg log -T shorttags -r gamma -r detached 166s - 4:0eb1ab0073a8 draft beta default/master gamma 166s - 2:61175962e488 draft detached X 166s - $ cd .. 166s - 166s -Check that we pull new tags to existing commits: 166s - $ cd gitrepo 166s - $ git tag 166s - alpha 166s - beta 166s - detached 166s - gamma 166s - $ fn_git_tag extra-simple-tag 166s - $ fn_git_tag -m annotated extra-annotated-tag 166s - $ git push --tags 166s - To $TESTTMP/repo.git 166s - * [new tag] extra-annotated-tag -> extra-annotated-tag 166s - * [new tag] extra-simple-tag -> extra-simple-tag 166s - $ cd ../hgrepo 166s - $ hg pull -r master 166s - pulling from $TESTTMP/repo.git 166s - no changes found 166s - $ hg tags -v | grep extra 166s - extra-simple-tag 1:7fe02317c63d git 166s - extra-annotated-tag 1:7fe02317c63d git 166s 166s ERROR: test-git-tags.t#draft output changed 166s ! 166s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-help.t 166s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-help.t.err 166s @@ -5,250 +5,14 @@ 166s 166s $ hg help | grep 'git' | sed 's/ */ /g' 166s git-cleanup clean up Git commit map after history editing (?) 166s - git-verify verify that a Mercurial rev matches the corresponding Git rev 166s - hggit push and pull from a Git server 166s - hggit-config Configuring hg-git 166s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 166s 166s $ hg help hggit-config 166s - Configuring hg-git 166s - """""""""""""""""" 166s - 166s - "git" 166s - ----- 166s - 166s - Control how the Hg-Git extension interacts with Git. 166s - 166s - "authors" 166s - Git uses a strict convention for "author names" when representing 166s - changesets, using the form "[realname] [email address]". Mercurial 166s - encourages this convention as well but is not as strict, so it's not 166s - uncommon for a Mercurial repository to have authors listed as, for 166s - example, simple usernames. hg-git by default will attempt to translate 166s - Mercurial usernames using the following rules: 166s - 166s - - If the Mercurial username fits the pattern "NAME ", the Git 166s - name will be set to NAME and the email to EMAIL. 166s - - If the Mercurial username looks like an email (if it contains an 166s - "@"), the Git name and email will both be set to that email. 166s - - If the Mercurial username consists of only a name, the email will be 166s - set to "none@none". 166s - - Illegal characters (stray "<"\ s or ">"\ s) will be stripped out, and 166s - for "NAME " usernames, any content after the right-bracket (for 166s - example, a second ">") will be turned into a url-encoded sigil like 166s - "ext:(%3E)" in the Git author name. 166s - 166s - Since these default behaviors may not be what you want ("none@none", for 166s - example, shows up unpleasantly on GitHub as "illegal email address"), 166s - the "git.authors" option provides for an "authors translation file" that 166s - will be used during outgoing transfers from Mercurial to Git only, by 166s - modifying "hgrc" as such: 166s - 166s - [git] 166s - authors = authors.txt 166s - 166s - Where "authors.txt" is the name of a text file containing author name 166s - translations, one per each line, using the following format: 166s - 166s - johnny = John Smith 166s - dougie = Doug Johnson 166s - 166s - Empty lines and lines starting with a "#" are ignored. 166s - 166s - It should be noted that this translation is in *the Mercurial to Git 166s - direction only*. Changesets coming from Git back to Mercurial will not 166s - translate back into Mercurial usernames, so it's best that the same 166s - username/email combination be used on both the Mercurial and Git sides; 166s - the author file is mostly useful for translating legacy changesets. 166s - 166s - "branch_bookmark_suffix" 166s - Hg-Git does not convert between Mercurial named branches and git 166s - branches as the two are conceptually different; instead, it uses 166s - Mercurial bookmarks to represent the concept of a Git branch. Therefore, 166s - when translating a Mercurial repository over to Git, you typically need 166s - to create bookmarks to mirror all the named branches that you'd like to 166s - see transferred over to Git. The major caveat with this is that you 166s - can't use the same name for your bookmark as that of the named branch, 166s - and furthermore there's no feasible way to rename a branch in Mercurial. 166s - For the use case where one would like to transfer a Mercurial repository 166s - over to Git, and maintain the same named branches as are present on the 166s - hg side, the "branch_bookmark_suffix" might be all that's needed. This 166s - presents a string "suffix" that will be recognized on each bookmark 166s - name, and stripped off as the bookmark is translated to a Git branch: 166s - 166s - [git] 166s - branch_bookmark_suffix=_bookmark 166s - 166s - Above, if a Mercurial repository had a named branch called 166s - "release_6_maintenance", you could then link it to a bookmark called 166s - "release_6_maintenance_bookmark". hg-git will then strip off the 166s - "_bookmark" suffix from this bookmark name, and create a Git branch 166s - called "release_6_maintenance". When pulling back from Git to hg, the 166s - "_bookmark" suffix is then applied back, if and only if a Mercurial 166s - named branch of that name exists. E.g., when changes to the 166s - "release_6_maintenance" branch are checked into Git, these will be 166s - placed into the "release_6_maintenance_bookmark" bookmark on hg. But if 166s - a new branch called "release_7_maintenance" were pulled over to hg, and 166s - there was not a "release_7_maintenance" named branch already, the 166s - bookmark will be named "release_7_maintenance" with no usage of the 166s - suffix. 166s - 166s - The "branch_bookmark_suffix" option is, like the "authors" option, 166s - intended for migrating legacy hg named branches. Going forward, a 166s - Mercurial repository that is to be linked with a Git repository should 166s - only use bookmarks for named branching. 166s - 166s - "findcopiesharder" 166s - Whether to consider unmodified files as copy sources. This is a very 166s - expensive operation for large projects, so use it with caution. Similar 166s - to "git diff"'s --find-copies-harder option. 166s - 166s - "intree" 166s - Hg-Git keeps a Git repository clone for reading and updating. By 166s - default, the Git clone is the subdirectory "git" in your local Mercurial 166s - repository. If you would like this Git clone to be at the same level of 166s - your Mercurial repository instead (named ".git"), add the following to 166s - your "hgrc": 166s - 166s - [git] 166s - intree = True 166s - 166s - Please note that changing this setting in an existing repository doesn't 166s - move the local Git repository. You will either have to do so yourself, 166s - or issue an 'hg pull' after the fact to repopulate the new location. 166s - 166s - "mindate" 166s - If set, branches where the latest commit's commit time is older than 166s - this will not be imported. Accepts any date formats that Mercurial does 166s - -- see 'hg help dates' for more. 166s - 166s - "public" 166s - A list of Git branches that should be considered "published", and 166s - therefore converted to Mercurial in the 'public' phase. This is only 166s - used if "hggit.usephases" is set. 166s - 166s - "pull-prune-remote-branches" 166s - Before fetching, remove any remote-tracking references, or pseudo-tags, 166s - that no longer exist on the remote. This is equivalent to the "--prune" 166s - option to "git fetch", and means that pseudo-tags for remotes -- such as 166s - "default/master" -- always actually reflect what's on the remote. 166s - 166s - This option is enabled by default. 166s - 166s - "pull-prune-bookmarks" 166s - On pull, delete any unchanged bookmarks removed on the remote. In other 166s - words, if e.g. the "thebranch" bookmark remains at "default/thebranch", 166s - and the branch is deleted in Git, pulling deletes the bookmark. 166s - 166s - This option is enabled by default. 166s - 166s - "renamelimit" 166s - The number of files to consider when performing the copy/rename 166s - detection. Detection is disabled if the number of files modified in a 166s - commit is above the limit. Detection is O(N^2) in the number of files 166s - modified, so be sure not to set the limit too high. Similar to Git's 166s - "diff.renameLimit" config. The default is "400", the same as Git. 166s - 166s - "similarity" 166s - Specify how similar files modified in a Git commit must be to be 166s - imported as Mercurial renames or copies, as a percentage between "0" 166s - (disabled) and "100" (files must be identical). For example, "90" means 166s - that a delete/add pair will be imported as a rename if more than 90% of 166s - the file has stayed the same. The default is "0" (disabled). 166s - 166s - "blame.ignoreRevsFile" 166s - Specify a file that lists Git commits to ignore when invoking 'hg 166s - annotate'. 166s - 166s - "hggit" 166s - ------- 166s - 166s - Control behavior of the Hg-Git extension. 166s - 166s - "mapsavefrequency" 166s - By default, hg-git only saves the results of a conversion at the end. 166s - Use this option to enable resuming long-running pulls and pushes. Set 166s - this to a number greater than 0 to allow resuming after converting that 166s - many commits. This can help when the conversion encounters an error 166s - partway through a large batch of changes. Otherwise, an error or 166s - interruption will roll back the transaction, similar to regular 166s - Mercurial. 166s - 166s - Defaults to 1000. 166s - 166s - Please note that this is disregarded for an initial clone, as any error 166s - or interruption will delete the destination. So instead of cloning a 166s - large Git repository, you might want to pull instead: 166s - 166s - $ hg init linux 166s - $ cd linux 166s - $ echo "[paths]\ndefault = https://github.com/torvalds/linux" > .hg/hgrc 166s - $ hg pull 166s - 166s - ...and be extremely patient. Please note that converting very large 166s - repositories may take *days* rather than mere *hours*, and may run into 166s - issues with available memory for very long running clones. Even any 166s - small, undiscovered leak will build up when processing hundreds of 166s - thousands of files and commits. Cloning the Linux kernel is likely a 166s - pathological case, but other storied repositories such as CPython do 166s - work well, even if the initial clone requires a some patience. 166s - 166s - "threads" 166s - 166s - During a push to Git, hg-git will pack loose objects at regular 166s - intervals whenever it saves its map. As this is a rather expensive 166s - operation, it's done in separate threads. 166s - 166s - Defaults to the system CPU count or 4, whichever is lower. 166s - 166s - "usephases" 166s - When converting Git revisions to Mercurial, place them in the 'public' 166s - phase as appropriate. Namely, revisions that are reachable from the 166s - remote Git repository's default branch, or "HEAD", will be marked 166s - *public*. For most repositories, this means the remote "master" branch 166s - will be converted as public. The same applies to any commits tagged in 166s - the remote. 166s - 166s - To restrict publishing to specific branches or tags, use the 166s - "git.public" option. 166s - 166s - Publishing commits prevents their modification, and speeds up many local 166s - Mercurial operations, such as 'hg shelve'. 166s - 166s - "fetchbuffer" 166s - Data fetched from Git is buffered in memory, unless it exceeds the given 166s - limit, in megabytes. By default, flush the buffer to disk when it 166s - exceeds 100MB. 166s - 166s - "retries" 166s - Interacting with a remote Git repository may require authentication. 166s - Normally, this will trigger a prompt and a retry, and this option 166s - restricts the amount of retries. Defaults to 3. 166s - 166s - "invalidpaths" 166s - Both Mercurial and Git consider paths as just bytestrings internally, 166s - and allow almost anything. The difference, however, is in the _almost_ 166s - part. For example, many Git servers will reject a push for security 166s - reasons if it contains a nested Git repository. Similarly, Mercurial 166s - cannot checkout commits with a nested repository, and it cannot even 166s - store paths containing an embedded newline or carrage return character. 166s - 166s - The default is to issue a warning and skip these paths. You can change 166s - this by setting "hggit.invalidpaths" in ".hgrc": 166s - 166s - [hggit] 166s - invalidpaths = keep 166s - 166s - Possible values are "keep", "skip" or "abort". Prior to 1.0, the default 166s - was "abort". 166s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 166s + abort: no such help topic: hggit-config 166s + (try 'hg help --keyword hggit-config') 166s + [10] 166s 166s $ hg help config.hggit | head -10 166s - "hggit" 166s - ------- 166s - 166s - Control behavior of the Hg-Git extension. 166s - 166s - "mapsavefrequency" 166s - By default, hg-git only saves the results of a conversion at the end. 166s - Use this option to enable resuming long-running pulls and pushes. Set 166s - this to a number greater than 0 to allow resuming after converting that 166s - many commits. This can help when the conversion encounters an error 166s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 166s + abort: help section not found: config.hggit 166s 166s ERROR: test-help.t output changed 166s ! 166s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-git-tags.t 166s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-git-tags.t#secret.err 166s @@ -41,337 +41,13 @@ 166s Clone it: 166s 166s $ hg clone repo.git hgrepo 166s - importing 2 git commits 166s - new changesets ff7a2f2d8d70:7fe02317c63d (2 drafts) 166s - updating to bookmark master 166s - 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 166s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 166s + abort: repository repo.git not found 166s + [255] 166s 166s $ cd hgrepo 166s + $TESTTMP.sh: 44: cd: can't cd to hgrepo 166s 166s Verify that annotated tags are unaffected by reexports: 166s 166s $ GIT_DIR=.hg/git git tag -ln 166s - beta added tag beta 166s - $ hg gexport 166s - $ GIT_DIR=.hg/git git tag -ln 166s - beta added tag beta 166s - 166s -Error checking on tag creation 166s - 166s - $ hg tag --git beta --remove 166s - abort: cannot remove git tags 166s - (the git documentation heavily discourages editing tags) 166s - [255] 166s - $ hg tag --git beta -r null 166s - abort: cannot remove git tags 166s - (the git documentation heavily discourages editing tags) 166s - [255] 166s - $ hg tag --git beta --remove -r 0 166s - abort: cannot specify both --rev and --remove 166s - [10] 166s - $ hg tag --git alpha 166s - abort: git tags require an explicit revision 166s - (please specify -r/--rev) 166s - [255] 166s - $ hg tag --git alpha alpha -r 0 166s - abort: tag names must be unique 166s - [255] 166s - $ hg tag --git alpha -r 0 -e 166s - abort: cannot specify both --git and --edit 166s - [10] 166s - $ hg tag --git alpha -r 0 -m 42 166s - abort: cannot specify both --git and --message 166s - [10] 166s - $ hg tag --git alpha -r 0 -d 42 166s - abort: cannot specify both --git and --date 166s - [10] 166s - $ hg tag --git alpha -r 0 -u user@example.com 166s - abort: cannot specify both --git and --user 166s - [10] 166s - $ hg tag --git 'with space' -r 0 166s - abort: the name 'with space' is not a valid git tag 166s - [255] 166s - $ hg tag --git ' beta' -r 0 166s - abort: the name 'beta' already exists 166s - [255] 166s - $ hg tag --git master -r 0 166s - abort: the name 'master' already exists 166s - [255] 166s - $ hg tag --git tip -r 0 166s - abort: the name 'tip' is reserved 166s - [10] 166s - 166s -Create a git tag from hg 166s - 166s - $ hg tag --git alpha --debug -r 0 166s - finding unexported changesets 166s - saving git map to $TESTTMP/hgrepo/.hg/git-mapfile 166s - adding git tag alpha 166s - $ hg log --graph 166s - @ changeset: 1:7fe02317c63d 166s - | bookmark: master 166s - | tag: beta 166s - | tag: default/master 166s - | tag: tip 166s - | user: test 166s - | date: Mon Jan 01 00:00:11 2007 +0000 166s - | summary: add beta 166s - | 166s - o changeset: 0:ff7a2f2d8d70 166s - tag: alpha 166s - user: test 166s - date: Mon Jan 01 00:00:10 2007 +0000 166s - summary: add alpha 166s - 166s - $ echo beta-fix >> beta 166s - $ fn_hg_commit -m 'fix for beta' 166s -#if secret 166s - $ hg phase -d 166s -#endif 166s - $ hg push 166s - pushing to $TESTTMP/repo.git 166s - searching for changes 166s - adding objects 166s - remote: found 0 deltas to reuse 166s - added 1 commits with 1 trees and 1 blobs 166s - updating reference refs/heads/master 166s - adding reference refs/tags/alpha 166s - 166s -Verify that amending commits known to remotes doesn't break anything 166s - 166s - $ cat >> $HGRCPATH << EOF 166s - > [experimental] 166s - > evolution = createmarkers 166s - > evolution.createmarkers = yes 166s - > EOF 166s - $ hg tags 166s - tip 2:61175962e488 166s - default/master 2:61175962e488 166s - beta 1:7fe02317c63d 166s - alpha 0:ff7a2f2d8d70 166s - $ echo beta-fix-again >> beta 166s - $ fn_hg_commit --amend 166s - $ hg log -T shorttags 166s - 3:3094b9e8da41 draft tip 166s - 2:61175962e488 draft default/master X 166s - 1:7fe02317c63d draft beta 166s - 0:ff7a2f2d8d70 draft alpha 166s - $ hg tags 166s - tip 3:3094b9e8da41 166s - default/master 2:61175962e488 166s - beta 1:7fe02317c63d 166s - alpha 0:ff7a2f2d8d70 166s - $ hg push 166s - pushing to $TESTTMP/repo.git 166s - searching for changes 166s - abort: pushing refs/heads/master overwrites 3094b9e8da41 166s - [255] 166s - $ hg push -f 166s - pushing to $TESTTMP/repo.git 166s - searching for changes 166s - adding objects 166s - remote: found 0 deltas to reuse 166s - added 1 commits with 1 trees and 1 blobs 166s - updating reference refs/heads/master 166s - 166s -Now create a tag for the old, obsolete master 166s - 166s - $ cd ../repo.git 166s - $ git tag detached $(hg log -R ../hgrepo --hidden -r 2 -T '{gitnode}\n') 166s - $ git tag 166s - alpha 166s - beta 166s - detached 166s - $ cd ../hgrepo 166s - $ hg pull 166s - pulling from $TESTTMP/repo.git 166s - no changes found 166s - $ hg log -T shorttags 166s - 3:3094b9e8da41 draft default/master tip 166s - 2:61175962e488 draft detached X 166s - 1:7fe02317c63d draft beta 166s - 0:ff7a2f2d8d70 draft alpha 166s - $ hg tags 166s - tip 3:3094b9e8da41 166s - default/master 3:3094b9e8da41 166s - detached 2:61175962e488 166s - beta 1:7fe02317c63d 166s - alpha 0:ff7a2f2d8d70 166s - $ hg push 166s - pushing to $TESTTMP/repo.git 166s - searching for changes 166s - no changes found 166s - [1] 166s - 166s - $ cd .. 166s - 166s -Verify that revsets can point out git tags; for that we need an 166s -untagged commit. 166s - 166s - $ cd hgrepo 166s - $ touch gamma 166s - $ fn_hg_commit -A -m 'add gamma' 166s -#if secret 166s - $ hg phase -d 166s -#endif 166s - $ hg log -T shorttags -r 'gittag()' 166s - 0:ff7a2f2d8d70 draft alpha 166s - 1:7fe02317c63d draft beta 166s - 2:61175962e488 draft detached X 166s - $ hg log -T shorttags -r 'gittag(detached)' 166s - 2:61175962e488 draft detached X 166s - $ hg log -T shorttags -r 'gittag("re:a$")' 166s - 0:ff7a2f2d8d70 draft alpha 166s - 1:7fe02317c63d draft beta 166s - 166s -Create a git tag from hg, but pointing to a new commit: 166s - 166s - $ hg tag --git gamma --debug -r tip 166s - invalid branch cache (visible): tip differs (?) 166s - finding unexported changesets 166s - exporting 1 changesets 166s - converting revision 0eb1ab0073a885a498d4ae3dc5cf0c26e750fa3d 166s - packing 3 loose objects... 166s - packed 3 loose objects! 166s - saving git map to $TESTTMP/hgrepo/.hg/git-mapfile 166s - adding git tag gamma 166s - $ hg push 166s - pushing to $TESTTMP/repo.git 166s - searching for changes 166s - adding objects 166s - remote: found 0 deltas to reuse 166s - added 1 commits with 1 trees and 1 blobs 166s - updating reference refs/heads/master 166s - adding reference refs/tags/gamma 166s - $ cd ../gitrepo 166s - $ git fetch --quiet --tags 166s - $ git tag 166s - alpha 166s - beta 166s - detached 166s - gamma 166s - $ cd .. 166s - 166s -Try to overwrite an annotated tag: 166s - 166s - $ cd hgrepo 166s - $ hg tags -v 166s - tip 4:0eb1ab0073a8 166s - gamma 4:0eb1ab0073a8 git 166s - default/master 4:0eb1ab0073a8 git-remote 166s - detached 2:61175962e488 git 166s - beta 1:7fe02317c63d git 166s - alpha 0:ff7a2f2d8d70 git 166s - $ hg book not-master 166s - $ hg tag beta 166s - abort: tag 'beta' already exists (use -f to force) 166s - [10] 166s - $ hg tag -f beta 166s -#if secret 166s - $ hg phase -d 166s -#endif 166s - $ hg push 166s - pushing to $TESTTMP/repo.git 166s - warning: not overwriting annotated tag 'beta' 166s - searching for changes 166s - adding objects 166s - remote: found 0 deltas to reuse 166s - added 1 commits with 1 trees and 1 blobs 166s - adding reference refs/heads/not-master 166s - $ hg tags 166s - tip 5:c49682c7cba4 166s - default/not-master 5:c49682c7cba4 166s - gamma 4:0eb1ab0073a8 166s - default/master 4:0eb1ab0073a8 166s - beta 4:0eb1ab0073a8 166s - detached 2:61175962e488 166s - alpha 0:ff7a2f2d8d70 166s - $ cd .. 166s - 166s -Check whether `gimport` handles tags 166s - 166s - $ cd hgrepo 166s - $ rm .hg/git-tags .hg/git-mapfile 166s - $ hg gimport 166s - importing 6 git commits 166s - $ hg tags -q 166s - tip 166s - default/not-master 166s - gamma 166s - default/master 166s - beta 166s - detached 166s - alpha 166s - $ cd .. 166s - 166s -Test how pulling an explicit branch with an annotated tag: 166s - 166s - $ hg clone -r master repo.git hgrepo-2 166s - importing 4 git commits 166s - new changesets ff7a2f2d8d70:0eb1ab0073a8 (4 drafts) 166s - updating to branch default 166s - 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 166s - $ hg log -r 'ancestors(master) and tagged()' -T shorttags -R hgrepo-2 166s - 0:ff7a2f2d8d70 draft alpha 166s - 1:7fe02317c63d draft beta 166s - 3:0eb1ab0073a8 draft default/master gamma tip 166s - $ hg tags -v -R hgrepo-2 166s - tip 3:0eb1ab0073a8 166s - gamma 3:0eb1ab0073a8 git 166s - default/master 3:0eb1ab0073a8 git-remote 166s - beta 1:7fe02317c63d git 166s - alpha 0:ff7a2f2d8d70 git 166s - $ GIT_DIR=hgrepo-2/.hg/git git fetch --quiet repo.git 166s - $ rm -rf hgrepo-2 166s - 166s - $ hg clone -r master repo.git hgrepo-2 166s - importing 4 git commits 166s - new changesets ff7a2f2d8d70:0eb1ab0073a8 (4 drafts) 166s - updating to branch default 166s - 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 166s - $ hg log -r 'tagged()' -T shorttags -R hgrepo-2 166s - 0:ff7a2f2d8d70 draft alpha 166s - 1:7fe02317c63d draft beta 166s - 3:0eb1ab0073a8 draft default/master gamma tip 166s -This used to die: 166s - $ hg -R hgrepo-2 gexport 166s -This used to fail, since we didn't actually pull the annotated tag: 166s - $ hg -R hgrepo-2 push 166s - pushing to $TESTTMP/repo.git 166s - searching for changes 166s - no changes found 166s - [1] 166s - $ rm -rf hgrepo-2 166s - 166s -Check that pulling will update phases only: 166s - 166s - $ cd hgrepo 166s - $ hg phase -fs gamma detached 166s - $ hg pull 166s - pulling from $TESTTMP/repo.git 166s - no changes found 166s - $ hg log -T shorttags -r gamma -r detached 166s - 4:0eb1ab0073a8 draft beta default/master gamma 166s - 2:61175962e488 draft detached X 166s - $ cd .. 166s - 166s -Check that we pull new tags to existing commits: 166s - $ cd gitrepo 166s - $ git tag 166s - alpha 166s - beta 166s - detached 166s - gamma 166s - $ fn_git_tag extra-simple-tag 166s - $ fn_git_tag -m annotated extra-annotated-tag 166s - $ git push --tags 166s - To $TESTTMP/repo.git 166s - * [new tag] extra-annotated-tag -> extra-annotated-tag 166s - * [new tag] extra-simple-tag -> extra-simple-tag 166s - $ cd ../hgrepo 166s - $ hg pull -r master 166s - pulling from $TESTTMP/repo.git 166s - no changes found 166s - $ hg tags -v | grep extra 166s - extra-simple-tag 1:7fe02317c63d git 166s - extra-annotated-tag 1:7fe02317c63d git 166s 166s ERROR: test-git-tags.t#secret output changed 167s ! 167s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-pull-after-rebase.t 167s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-pull-after-rebase.t.err 167s @@ -38,275 +38,9 @@ 167s Clone it and rebase the branch 167s 167s $ hg clone -U repo.git hgrepo 167s - importing 3 git commits 167s - new changesets ff7a2f2d8d70:205a004356ef (3 drafts) 167s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 167s + abort: repository repo.git not found 167s + [255] 167s $ cd hgrepo 167s + $TESTTMP.sh: 48: cd: can't cd to hgrepo 167s $ hg state 167s - o branch default/branch tip 2:205a004356ef32b8da782afb89d9179d12ca31e9 167s - | add gamma 167s - | o master default/master 1:7fe02317c63d9ee324d4b5df7c9296085162da1b 167s - |/ add beta 167s - o 0:ff7a2f2d8d7099694ae1e8b03838d40575bebb63 167s - add alpha 167s - $ hg up branch 167s - 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 167s - (activating bookmark branch) 167s - $ hg rebase --quiet -d master 167s - $ hg state 167s - @ branch tip 3:52def9937d74e43b83dfded6ce0e5adf731b9d22 167s - | add gamma 167s - | x default/branch 2:205a004356ef32b8da782afb89d9179d12ca31e9 167s - | | add gamma 167s - o | master default/master 1:7fe02317c63d9ee324d4b5df7c9296085162da1b 167s - |/ add beta 167s - o 0:ff7a2f2d8d7099694ae1e8b03838d40575bebb63 167s - add alpha 167s - 167s - $ hg push -fr tip 167s - pushing to $TESTTMP/repo.git 167s - searching for changes 167s - adding objects 167s - remote: found 0 deltas to reuse 167s - added 1 commits with 1 trees and 1 blobs 167s - updating reference refs/heads/branch 167s - $ cd .. 167s - 167s -Now switch back to git and create a new commit based on what we just rebased 167s - 167s - $ cd gitrepo 167s - $ git checkout --quiet -b otherbranch branch 167s - $ git log --oneline --graph --all --decorate 167s - * e5023f9 (HEAD -> otherbranch, origin/branch, branch) add gamma 167s - | * 9497a4e (origin/master, master) add beta 167s - |/ 167s - * 7eeab2e add alpha 167s - $ echo delta > delta 167s - $ git add delta 167s - $ fn_git_commit -m 'add delta' 167s - $ git push --quiet --set-upstream origin otherbranch 167s - Branch 'otherbranch' set up to track remote branch 'otherbranch' from 'origin'. (?) 167s - $ git log --oneline --graph --all --decorate 167s - * bba0011 (HEAD -> otherbranch, origin/otherbranch) add delta 167s - * e5023f9 (origin/branch, branch) add gamma 167s - | * 9497a4e (origin/master, master) add beta 167s - |/ 167s - * 7eeab2e add alpha 167s - $ cd .. 167s - 167s -Pull that 167s - 167s - $ cd hgrepo 167s - $ hg pull 167s - pulling from $TESTTMP/repo.git 167s - importing 1 git commits 167s - adding bookmark otherbranch 167s - 1 new orphan changesets 167s - new changesets 075302705298 (1 drafts) 167s - (run 'hg heads' to see heads, 'hg merge' to merge) 167s - $ hg state 167s - * otherbranch default/otherbranch tip 4:0753027052980aef9c9c37adb7d76d5719e8d818 167s - | add delta 167s - | @ branch default/branch 3:52def9937d74e43b83dfded6ce0e5adf731b9d22 167s - | | add gamma 167s - x | 2:205a004356ef32b8da782afb89d9179d12ca31e9 167s - | | add gamma 167s - | o master default/master 1:7fe02317c63d9ee324d4b5df7c9296085162da1b 167s - |/ add beta 167s - o 0:ff7a2f2d8d7099694ae1e8b03838d40575bebb63 167s - add alpha 167s - 167s - $ cd .. 167s - 167s -To reproduce bug #386, do like github and save the old commit in a 167s -ref, and create a clone containing just the converted git commits: 167s - 167s - $ cd repo.git 167s - $ git update-ref refs/pr/1 otherbranch 167s - $ cd .. 167s - $ hg clone -U repo.git hgrepo-issue386 167s - importing 5 git commits 167s - new changesets ff7a2f2d8d70:075302705298 (5 drafts) 167s - 167s -Now try rebasing that branch, from the Git side of things 167s - 167s - $ cd gitrepo 167s - $ git checkout -q otherbranch 167s - $ git log --oneline --graph --all --decorate 167s - * bba0011 (HEAD -> otherbranch, origin/otherbranch) add delta 167s - * e5023f9 (origin/branch, branch) add gamma 167s - | * 9497a4e (origin/master, master) add beta 167s - |/ 167s - * 7eeab2e add alpha 167s - $ fn_git_rebase --onto master branch otherbranch 167s - $ git log --oneline --graph --all --decorate 167s - * 9c58139 (HEAD -> otherbranch) add delta 167s - * 9497a4e (origin/master, master) add beta 167s - | * bba0011 (origin/otherbranch) add delta 167s - | * e5023f9 (origin/branch, branch) add gamma 167s - |/ 167s - * 7eeab2e add alpha 167s - $ git push -f 167s - To $TESTTMP/repo.git 167s - + bba0011...9c58139 otherbranch -> otherbranch (forced update) 167s - $ git log --oneline --graph --all --decorate 167s - * 9c58139 (HEAD -> otherbranch, origin/otherbranch) add delta 167s - * 9497a4e (origin/master, master) add beta 167s - | * e5023f9 (origin/branch, branch) add gamma 167s - |/ 167s - * 7eeab2e add alpha 167s - $ cd .. 167s - 167s -Now strip the old commit 167s - 167s - $ cd hgrepo-issue386 167s - $ hg up null 167s - 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 167s - $ hg id -qr otherbranch 167s - 075302705298 167s - $ hg pull 167s - pulling from $TESTTMP/repo.git 167s - importing 1 git commits 167s - not updating diverged bookmark otherbranch 167s - new changesets d64bf0521af6 (1 drafts) 167s - (run 'hg heads .' to see heads, 'hg merge' to merge) 167s - $ hg debugstrip --hidden --no-backup otherbranch 167s - $ hg book -d otherbranch 167s - $ hg git-cleanup 167s - git commit map cleaned 167s - $ hg pull 167s - pulling from $TESTTMP/repo.git 167s - no changes found 167s - adding bookmark otherbranch 167s - $ cd .. 167s - 167s -And check that pulling something else doesn't delete that branch. 167s - 167s - $ cd hgrepo 167s - $ hg pull -r master 167s - pulling from $TESTTMP/repo.git 167s - no changes found 167s - $ cd .. 167s - 167s -A special case, is that we can pull into a repository, where a commit 167s -corresponding to the new branch exists, but that commit is obsolete. 167s -In order to avoid “pinning” the obsolete commit, and thereby making it 167s -visible, we first pull from Git as an unnamed remote. 167s - 167s - $ hg clone --config phases.publish=no hgrepo hgrepo-clone 167s - updating to branch default 167s - 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 167s - $ cd hgrepo-clone 167s - $ hg pull ../repo.git 167s - pulling from ../repo.git 167s - importing 4 git commits 167s - not updating diverged bookmark otherbranch 167s - new changesets d64bf0521af6 (1 drafts) 167s - (run 'hg heads .' to see heads, 'hg merge' to merge) 167s - $ hg debugobsolete d64bf0521af68fe2160791a1b4ab9baf282a3879 167s - 1 new obsolescence markers 167s - obsoleted 1 changesets 167s - $ cp ../hgrepo/.hg/hgrc .hg 167s - $ hg pull 167s - pulling from $TESTTMP/repo.git 167s - no changes found 167s - not updating diverged bookmark otherbranch 167s - $ cd .. 167s - $ rm -rf hgrepo-clone 167s - 167s -Another special case, is that we should update commits over obsolete boundaries: 167s - 167s - $ hg clone --config phases.publish=no hgrepo hgrepo-clone 167s - updating to branch default 167s - 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 167s - $ cd hgrepo-clone 167s - $ hg pull ../repo.git 167s - pulling from ../repo.git 167s - importing 4 git commits 167s - not updating diverged bookmark otherbranch 167s - new changesets d64bf0521af6 (1 drafts) 167s - (run 'hg heads .' to see heads, 'hg merge' to merge) 167s - $ hg debugobsolete 0753027052980aef9c9c37adb7d76d5719e8d818 d64bf0521af68fe2160791a1b4ab9baf282a3879 167s - 1 new obsolescence markers 167s - obsoleted 1 changesets 167s - $ hg book -r 075302705298 otherbranch 167s - $ cp ../hgrepo/.hg/hgrc .hg 167s - $ hg pull 167s - pulling from $TESTTMP/repo.git 167s - no changes found 167s - updating bookmark otherbranch 167s - $ cd .. 167s - $ rm -rf hgrepo-clone 167s - 167s -Now just pull it: 167s - 167s - $ cd hgrepo 167s - $ hg pull 167s - pulling from $TESTTMP/repo.git 167s - importing 1 git commits 167s - not updating diverged bookmark otherbranch 167s - new changesets d64bf0521af6 (1 drafts) 167s - (run 'hg heads .' to see heads, 'hg merge' to merge) 167s - $ hg state 167s - o default/otherbranch tip 5:d64bf0521af68fe2160791a1b4ab9baf282a3879 167s - | add delta 167s - | * otherbranch 4:0753027052980aef9c9c37adb7d76d5719e8d818 167s - | | add delta 167s - +---@ branch default/branch 3:52def9937d74e43b83dfded6ce0e5adf731b9d22 167s - | | add gamma 167s - | x 2:205a004356ef32b8da782afb89d9179d12ca31e9 167s - | | add gamma 167s - o | master default/master 1:7fe02317c63d9ee324d4b5df7c9296085162da1b 167s - |/ add beta 167s - o 0:ff7a2f2d8d7099694ae1e8b03838d40575bebb63 167s - add alpha 167s - $ cd .. 167s - 167s -And finally, delete it: 167s - 167s - $ cd gitrepo 167s - $ git push origin :otherbranch 167s - To $TESTTMP/repo.git 167s - - [deleted] otherbranch 167s - $ cd .. 167s - 167s -And pull that: 167s - 167s - $ cd hgrepo 167s - $ hg pull 167s - pulling from $TESTTMP/repo.git 167s - no changes found 167s - not deleting diverged bookmark otherbranch 167s - $ hg state 167s - o tip 5:d64bf0521af68fe2160791a1b4ab9baf282a3879 167s - | add delta 167s - | * otherbranch 4:0753027052980aef9c9c37adb7d76d5719e8d818 167s - | | add delta 167s - +---@ branch default/branch 3:52def9937d74e43b83dfded6ce0e5adf731b9d22 167s - | | add gamma 167s - | x 2:205a004356ef32b8da782afb89d9179d12ca31e9 167s - | | add gamma 167s - o | master default/master 1:7fe02317c63d9ee324d4b5df7c9296085162da1b 167s - |/ add beta 167s - o 0:ff7a2f2d8d7099694ae1e8b03838d40575bebb63 167s - add alpha 167s - $ cd .. 167s - 167s -We only get that message once: 167s - 167s - $ hg -R hgrepo pull 167s - pulling from $TESTTMP/repo.git 167s - no changes found 167s - 167s -Now try deleting one already gone locally, which shouldn't output 167s -anything: 167s - 167s - $ cd gitrepo 167s - $ git push origin :branch 167s - To $TESTTMP/repo.git 167s - - [deleted] branch 167s - $ cd ../hgrepo 167s - $ hg book -d branch 167s - $ hg pull 167s - pulling from $TESTTMP/repo.git 167s - no changes found 167s - $ cd .. 167s 167s ERROR: test-pull-after-rebase.t output changed 167s ! 167s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-push.t 167s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-push.t.err 167s @@ -12,287 +12,10 @@ 167s 167s $ cd .. 167s $ hg clone -u tip gitrepo hgrepo 167s - importing 1 git commits 167s - new changesets ff7a2f2d8d70 (1 drafts) 167s - updating to branch default 167s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 167s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 167s + abort: repository gitrepo not found 167s + [255] 167s 167s $ cd hgrepo 167s + $TESTTMP.sh: 20: cd: can't cd to hgrepo 167s $ hg bookmark -q master 167s - $ echo beta > beta 167s - $ hg add beta 167s - $ fn_hg_commit -m 'add beta' 167s - 167s - 167s - $ echo gamma > gamma 167s - $ hg add gamma 167s - $ fn_hg_commit -m 'add gamma' 167s - 167s - $ hg book -r 1 beta 167s - $ hg push -r beta 167s - pushing to $TESTTMP/gitrepo 167s - searching for changes 167s - adding objects 167s - remote: found 0 deltas to reuse 167s - added 1 commits with 1 trees and 1 blobs 167s - adding reference refs/heads/beta 167s - 167s - $ cd .. 167s - 167s -should have two different branches 167s - $ cd gitrepo 167s - $ git branch -v 167s - beta 0f378ab add beta 167s - master 7eeab2e add alpha 167s - * not-master 7eeab2e add alpha 167s - 167s -some more work on master from git 167s - $ git checkout master 2>&1 | sed s/\'/\"/g 167s - Switched to branch "master" 167s - $ echo delta > delta 167s - $ git add delta 167s - $ fn_git_commit -m "add delta" 167s - $ git checkout not-master 2>&1 | sed s/\'/\"/g 167s - Switched to branch "not-master" 167s - 167s - $ cd .. 167s - 167s - $ cd hgrepo 167s -this should fail 167s - $ hg push -r master 167s - pushing to $TESTTMP/gitrepo 167s - searching for changes 167s - abort: branch 'refs/heads/master' changed on the server, please pull and merge before pushing 167s - [255] 167s - 167s -... even with -f 167s - $ hg push -fr master 167s - pushing to $TESTTMP/gitrepo 167s - searching for changes 167s - abort: branch 'refs/heads/master' changed on the server, please pull and merge before pushing 167s - [255] 167s - 167s - $ hg pull 2>&1 | grep -v 'divergent bookmark' 167s - pulling from $TESTTMP/gitrepo 167s - importing 1 git commits 167s - not updating diverged bookmark master 167s - new changesets 25eed24f5e8f (1 drafts) 167s - (run 'hg heads' to see heads, 'hg merge' to merge) 167s -TODO shouldn't need to do this since we're (in theory) pushing master explicitly, 167s -which should not implicitly also push the not-master ref. 167s - $ hg book not-master -r default/not-master --force 167s -master and default/master should be diferent 167s - $ hg log -r master 167s - changeset: 2:953796e1cfd8 167s - bookmark: master 167s - user: test 167s - date: Mon Jan 01 00:00:12 2007 +0000 167s - summary: add gamma 167s - 167s - $ hg log -r default/master 167s - changeset: 3:25eed24f5e8f 167s - tag: default/master 167s - tag: tip 167s - parent: 0:ff7a2f2d8d70 167s - user: test 167s - date: Mon Jan 01 00:00:13 2007 +0000 167s - summary: add delta 167s - 167s - 167s -this should also fail 167s - $ hg push -r master 167s - pushing to $TESTTMP/gitrepo 167s - searching for changes 167s - abort: pushing refs/heads/master overwrites 953796e1cfd8 167s - [255] 167s - 167s -... but succeed with -f 167s - $ hg push -fr master 167s - pushing to $TESTTMP/gitrepo 167s - searching for changes 167s - adding objects 167s - remote: found 0 deltas to reuse 167s - added 1 commits with 1 trees and 1 blobs 167s - updating reference refs/heads/master 167s - 167s -this should fail, no changes to push 167s - $ hg push -r master 167s - pushing to $TESTTMP/gitrepo 167s - searching for changes 167s - no changes found 167s - [1] 167s - 167s -hg-git issue103 -- directories can lose information at hg-git export time 167s - 167s - $ hg up master 167s - 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 167s - $ mkdir dir1 167s - $ echo alpha > dir1/alpha 167s - $ hg add dir1/alpha 167s - $ fn_hg_commit -m 'add dir1/alpha' 167s - $ hg push -r master 167s - pushing to $TESTTMP/gitrepo 167s - searching for changes 167s - adding objects 167s - remote: found 0 deltas to reuse 167s - added 1 commits with 2 trees and 0 blobs 167s - updating reference refs/heads/master 167s - 167s - $ echo beta > dir1/beta 167s - $ hg add dir1/beta 167s - $ fn_hg_commit -m 'add dir1/beta' 167s - $ hg push -r master 167s - pushing to $TESTTMP/gitrepo 167s - searching for changes 167s - adding objects 167s - remote: found 0 deltas to reuse 167s - added 1 commits with 2 trees and 0 blobs 167s - updating reference refs/heads/master 167s - $ hg log -r master 167s - changeset: 5:ba0476ff1899 167s - bookmark: master 167s - tag: default/master 167s - tag: tip 167s - user: test 167s - date: Mon Jan 01 00:00:15 2007 +0000 167s - summary: add dir1/beta 167s - 167s - 167s - $ cat >> .hg/hgrc << EOF 167s - > [paths] 167s - > default:pushurl = file:///$TESTTMP/gitrepo 167s - > EOF 167s -NB: the triple slashes are intentional, due to windows 167s - $ hg push -r master 167s - pushing to file:///$TESTTMP/gitrepo 167s - searching for changes 167s - no changes found 167s - [1] 167s - 167s - $ cd .. 167s - 167s - $ hg clone -u tip gitrepo hgrepo-test 167s - importing 5 git commits 167s - new changesets ff7a2f2d8d70:ba0476ff1899 (5 drafts) 167s - updating to branch default 167s - 5 files updated, 0 files merged, 0 files removed, 0 files unresolved 167s - $ hg -R hgrepo-test log -r master 167s - changeset: 4:ba0476ff1899 167s - bookmark: master 167s - tag: default/master 167s - tag: tip 167s - user: test 167s - date: Mon Jan 01 00:00:15 2007 +0000 167s - summary: add dir1/beta 167s - 167s - $ hg tags -R hgrepo-test | grep ^default/ 167s - default/master 4:ba0476ff1899 167s - default/beta 1:47580592d3d6 167s - default/not-master 0:ff7a2f2d8d70 167s - 167s -Push a fast-forward to a currently checked out branch, which sometimes 167s -fails: 167s - 167s - $ cd hgrepo 167s - $ hg book -r master not-master 167s - moving bookmark 'not-master' forward from ff7a2f2d8d70 167s - $ hg push 167s - pushing to file:///$TESTTMP/gitrepo 167s - searching for changes 167s - warning: failed to update HEAD; unable to set b'HEAD' to b'7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03' (?) 167s - updating reference refs/heads/not-master 167s -That should have updated the tag: 167s - $ hg tags | grep ^default/ 167s - default/not-master 5:ba0476ff1899 167s - default/master 5:ba0476ff1899 167s - default/beta 1:47580592d3d6 167s - $ cd .. 167s - 167s -We can push only one of two bookmarks on the same revision: 167s - 167s - $ cd hgrepo 167s - $ hg book -r 0 also-not-master really-not-master 167s - $ hg push -B also-not-master 167s - pushing to file:///$TESTTMP/gitrepo 167s - searching for changes 167s - adding reference refs/heads/also-not-master 167s - 167s -We can also push another bookmark to a path with another revision 167s -specified: 167s - 167s - $ hg book -r 3 also-not-master 167s - moving bookmark 'also-not-master' forward from ff7a2f2d8d70 167s - $ hg push -B also-not-master "file:///$TESTTMP/gitrepo#master" 167s - pushing to file:///$TESTTMP/gitrepo 167s - searching for changes 167s - adding objects 167s - remote: found 0 deltas to reuse 167s - added 1 commits with 1 trees and 1 blobs 167s - updating reference refs/heads/also-not-master 167s - 167s -And we can delete them again afterwards: 167s - 167s - $ hg book -d also-not-master really-not-master 167s - $ hg push -B also-not-master -B really-not-master 167s - pushing to file:///$TESTTMP/gitrepo 167s - searching for changes 167s - warning: unable to delete 'refs/heads/really-not-master' as it does not exist on the remote repository 167s - deleting reference refs/heads/also-not-master 167s - 167s -Push empty Hg repo to empty Git repo (issue #58) 167s - $ hg init hgrepo2 167s - $ git init -q --bare repo.git 167s - $ hg -R hgrepo2 push repo.git 167s - pushing to repo.git 167s - searching for changes 167s - abort: no bookmarks or tags to push to git 167s - (see "hg help bookmarks" for details on creating them) 167s - [255] 167s - 167s -The remote repo is empty and the local one doesn't have any bookmarks/tags 167s - $ cd hgrepo2 167s - $ echo init >> test.txt 167s - $ hg addremove 167s - adding test.txt 167s - $ fn_hg_commit -m init 167s - $ hg update null 167s - 0 files updated, 0 files merged, 1 files removed, 0 files unresolved 167s - $ hg push ../repo.git 167s - pushing to ../repo.git 167s - searching for changes 167s - abort: no bookmarks or tags to push to git 167s - (see "hg help bookmarks" for details on creating them) 167s - [255] 167s - $ hg summary 167s - parent: -1:000000000000 (no revision checked out) 167s - branch: default 167s - commit: (clean) 167s - update: 1 new changesets (update) 167s - phases: 1 draft 167s -That should not create any bookmarks 167s - $ hg bookmarks 167s - no bookmarks set 167s -And no tags for the remotes either: 167s - $ hg tags 167s - tip 0:8aded40be5af 167s - 167s -test for ssh vulnerability 167s - 167s - $ cat >> $HGRCPATH << EOF 167s - > [ui] 167s - > ssh = ssh -o ConnectTimeout=1 167s - > EOF 167s - $ hg push -q 'git+ssh://-oProxyCommand=rm${IFS}nonexistent/path' 167s - abort: potentially unsafe hostname: '-oProxyCommand=rm${IFS}nonexistent' 167s - [255] 167s - $ hg push -q 'git+ssh://-oProxyCommand=rm%20nonexistent/path' 167s - abort: potentially unsafe hostname: '-oProxyCommand=rm nonexistent' 167s - [255] 167s - $ hg push -q 'git+ssh://fakehost|rm%20nonexistent/path' 167s - ssh: * fakehost%7?rm%20nonexistent* (glob) 167s - abort: git remote error: The remote server unexpectedly closed the connection. 167s - [255] 167s - $ hg push -q 'git+ssh://fakehost%7Crm%20nonexistent/path' 167s - ssh: * fakehost%7?rm%20nonexistent* (glob) 167s - abort: git remote error: The remote server unexpectedly closed the connection. 167s - [255] 167s 167s ERROR: test-push.t output changed 171s ! 171s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-clone.t 171s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-clone.t#secret.err 171s @@ -38,60 +38,42 @@ 171s clone a tag 171s 171s $ hg clone -r alpha gitrepo hgrepo-a 171s - importing 1 git commits 171s - new changesets ff7a2f2d8d70 (1 drafts) 171s - updating to branch default 171s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository gitrepo not found 171s + [255] 171s $ hg -R hgrepo-a bookmarks 171s - master 0:ff7a2f2d8d70 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-a not found 171s + [255] 171s $ hg -R hgrepo-a log --graph --template=phases 171s - @ changeset: 0:ff7a2f2d8d70 171s - bookmark: master 171s - tag: alpha 171s - tag: default/master 171s - tag: tip 171s - phase: draft 171s - user: test 171s - date: Mon Jan 01 00:00:10 2007 +0000 171s - summary: add alpha 171s - 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-a not found 171s + [255] 171s $ git --git-dir hgrepo-a/.hg/git for-each-ref 171s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/remotes/default/master 171s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/tags/alpha 171s + fatal: not a git repository: 'hgrepo-a/.hg/git' 171s + [128] 171s Make sure this is still draft since we didn't pull remote's HEAD 171s $ hg -R hgrepo-a phase -r alpha 171s - 0: draft 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-a not found 171s + [255] 171s 171s clone a branch 171s $ hg clone -r beta gitrepo hgrepo-b 171s - importing 2 git commits 171s - new changesets ff7a2f2d8d70:7fe02317c63d (2 drafts) 171s - updating to branch default 171s - 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository gitrepo not found 171s + [255] 171s $ hg -R hgrepo-b bookmarks 171s - * beta 1:7fe02317c63d 171s - master 0:ff7a2f2d8d70 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-b not found 171s + [255] 171s $ hg -R hgrepo-b log --graph 171s - @ changeset: 1:7fe02317c63d 171s - | bookmark: beta 171s - | tag: default/beta 171s - | tag: tip 171s - | user: test 171s - | date: Mon Jan 01 00:00:11 2007 +0000 171s - | summary: add beta 171s - | 171s - o changeset: 0:ff7a2f2d8d70 171s - bookmark: master 171s - tag: alpha 171s - tag: default/master 171s - user: test 171s - date: Mon Jan 01 00:00:10 2007 +0000 171s - summary: add alpha 171s - 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-b not found 171s + [255] 171s $ git --git-dir hgrepo-b/.hg/git for-each-ref 171s - 9497a4ee62e16ee641860d7677cdb2589ea15554 commit refs/remotes/default/beta 171s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/remotes/default/master 171s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/tags/alpha 171s + fatal: not a git repository: 'hgrepo-b/.hg/git' 171s + [128] 171s 171s Make sure that a deleted .hgsubstate does not confuse hg-git 171s 171s @@ -104,48 +86,50 @@ 171s $ cd .. 171s 171s $ hg clone -r beta gitrepo hgrepo-c 171s - importing 4 git commits 171s - new changesets ff7a2f2d8d70:47d12948785d (4 drafts) 171s - updating to branch default 171s - 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository gitrepo not found 171s + [255] 171s $ hg -R hgrepo-c bookmarks 171s - * beta 3:47d12948785d 171s - master 0:ff7a2f2d8d70 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-c not found 171s + [255] 171s $ hg --cwd hgrepo-c status 171s + abort: No such file or directory: 'hgrepo-c' 171s + [255] 171s $ git --git-dir hgrepo-c/.hg/git for-each-ref 171s - b5329119ed77cb37a31fe523621d684eb55779a4 commit refs/remotes/default/beta 171s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/remotes/default/master 171s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/tags/alpha 171s + fatal: not a git repository: 'hgrepo-c/.hg/git' 171s + [128] 171s 171s test shared repositories 171s 171s $ hg clone gitrepo hgrepo-base 171s - importing 5 git commits 171s - new changesets ff7a2f2d8d70:47d12948785d (5 drafts) 171s - updating to bookmark beta 171s - 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository gitrepo not found 171s + [255] 171s $ hg -R hgrepo-base bookmarks 171s - * beta 4:47d12948785d 171s - gamma 2:ca33a262eb46 171s - master 0:ff7a2f2d8d70 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-base not found 171s + [255] 171s $ hg --config extensions.share= share hgrepo-base hgrepo-shared 171s - updating working directory 171s - 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-base not found 171s + [255] 171s $ hg -R hgrepo-shared pull gitrepo 171s - pulling from gitrepo 171s - no changes found 171s - adding bookmark beta 171s - adding bookmark gamma 171s - adding bookmark master 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-shared not found 171s + [255] 171s $ hg -R hgrepo-shared push gitrepo 171s - pushing to gitrepo 171s - searching for changes 171s - no changes found 171s - [1] 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-shared not found 171s + [255] 171s $ ls hgrepo-shared/.hg | grep git 171s + ls: cannot access 'hgrepo-shared/.hg': No such file or directory 171s [1] 171s $ hg -R hgrepo-shared git-cleanup 171s - git commit map cleaned 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + hg: unknown command 'git-cleanup' 171s + (did you mean clean?) 171s + [10] 171s $ rm -rf hgrepo-base hgrepo-shared 171s 171s test cloning HEAD 171s @@ -154,23 +138,21 @@ 171s $ git checkout -q master 171s $ cd .. 171s $ hg clone gitrepo hgrepo-2 171s - importing 5 git commits 171s - new changesets ff7a2f2d8d70:47d12948785d (5 drafts) 171s - updating to bookmark master 171s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository gitrepo not found 171s + [255] 171s $ git --git-dir hgrepo-2/.hg/git for-each-ref 171s - b5329119ed77cb37a31fe523621d684eb55779a4 commit refs/remotes/default/beta 171s - d338971a96e20113bb980a5dc4355ba77eed3714 commit refs/remotes/default/gamma 171s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/remotes/default/master 171s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/tags/alpha 171s + fatal: not a git repository: 'hgrepo-2/.hg/git' 171s + [128] 171s $ rm -rf hgrepo-2 171s 171s clone empty repo 171s $ git init empty 171s Initialized empty Git repository in $TESTTMP/empty/.git/ 171s $ hg clone empty emptyhg 171s - updating to branch default 171s - 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository empty not found 171s + [255] 171s $ rm -rf empty emptyhg 171s 171s test cloning detached HEAD, but pointing to a branch; we detect this 171s @@ -180,25 +162,20 @@ 171s $ git checkout -q -d master 171s $ cd .. 171s $ hg clone gitrepo hgrepo-2 171s - importing 5 git commits 171s - new changesets ff7a2f2d8d70:47d12948785d (5 drafts) 171s - updating to bookmark master 171s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository gitrepo not found 171s + [255] 171s $ hg -R hgrepo-2 book 171s - beta 4:47d12948785d 171s - gamma 2:ca33a262eb46 171s - * master 0:ff7a2f2d8d70 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-2 not found 171s + [255] 171s $ hg -R hgrepo-2 tags -v 171s - tip 4:47d12948785d 171s - default/beta 4:47d12948785d git-remote 171s - default/gamma 2:ca33a262eb46 git-remote 171s - default/master 0:ff7a2f2d8d70 git-remote 171s - alpha 0:ff7a2f2d8d70 git 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-2 not found 171s + [255] 171s $ git --git-dir hgrepo-2/.hg/git for-each-ref 171s - b5329119ed77cb37a31fe523621d684eb55779a4 commit refs/remotes/default/beta 171s - d338971a96e20113bb980a5dc4355ba77eed3714 commit refs/remotes/default/gamma 171s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/remotes/default/master 171s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/tags/alpha 171s + fatal: not a git repository: 'hgrepo-2/.hg/git' 171s + [128] 171s $ rm -rf hgrepo-2 171s 171s test cloning fully detached HEAD; we don't convert the 171s @@ -212,44 +189,45 @@ 171s $ fn_git_commit -m 'add delta' 171s $ cd .. 171s $ hg clone gitrepo hgrepo-2 171s - importing 5 git commits 171s - new changesets ff7a2f2d8d70:47d12948785d (5 drafts) 171s - warning: the git source repository has a detached head 171s - (you may want to update to a bookmark) 171s - updating to branch default 171s - 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository gitrepo not found 171s + [255] 171s $ hg -R hgrepo-2 book 171s - beta 4:47d12948785d 171s - gamma 2:ca33a262eb46 171s - master 0:ff7a2f2d8d70 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-2 not found 171s + [255] 171s $ hg -R hgrepo-2 id --tags 171s - default/beta tip 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-2 not found 171s + [255] 171s $ git --git-dir hgrepo-2/.hg/git for-each-ref 171s - b5329119ed77cb37a31fe523621d684eb55779a4 commit refs/remotes/default/beta 171s - d338971a96e20113bb980a5dc4355ba77eed3714 commit refs/remotes/default/gamma 171s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/remotes/default/master 171s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/tags/alpha 171s + fatal: not a git repository: 'hgrepo-2/.hg/git' 171s + [128] 171s $ rm -rf hgrepo-2 171s 171s test that cloning a regular mercurial repository does not introduce 171s git state 171s 171s $ hg init hgrepo-base 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s $ cd hgrepo-base 171s $ touch flaf 171s $ fn_hg_commit -A -m flaf 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s $ cd .. 171s $ hg clone -U hgrepo-base hgrepo-copy 171s - requesting all changes (secret !) 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + requesting all changes 171s $ ls hgrepo-copy/.hg | grep git 171s [1] 171s $ hg clone -U --pull hgrepo-base hgrepo-pull 171s - requesting all changes 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s adding changesets (draft !) 171s adding manifests (draft !) 171s adding file changes (draft !) 171s added 1 changesets with 1 changes to 1 files (draft !) 171s new changesets 76c919376257 (draft !) 171s + requesting all changes 171s $ ls hgrepo-pull | grep git 171s [1] 171s $ rm -r hgrepo-base hgrepo-copy hgrepo-pull 171s 171s ERROR: test-clone.t#secret output changed 171s ! 171s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-clone.t 171s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-clone.t#draft.err 171s @@ -38,60 +38,42 @@ 171s clone a tag 171s 171s $ hg clone -r alpha gitrepo hgrepo-a 171s - importing 1 git commits 171s - new changesets ff7a2f2d8d70 (1 drafts) 171s - updating to branch default 171s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository gitrepo not found 171s + [255] 171s $ hg -R hgrepo-a bookmarks 171s - master 0:ff7a2f2d8d70 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-a not found 171s + [255] 171s $ hg -R hgrepo-a log --graph --template=phases 171s - @ changeset: 0:ff7a2f2d8d70 171s - bookmark: master 171s - tag: alpha 171s - tag: default/master 171s - tag: tip 171s - phase: draft 171s - user: test 171s - date: Mon Jan 01 00:00:10 2007 +0000 171s - summary: add alpha 171s - 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-a not found 171s + [255] 171s $ git --git-dir hgrepo-a/.hg/git for-each-ref 171s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/remotes/default/master 171s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/tags/alpha 171s + fatal: not a git repository: 'hgrepo-a/.hg/git' 171s + [128] 171s Make sure this is still draft since we didn't pull remote's HEAD 171s $ hg -R hgrepo-a phase -r alpha 171s - 0: draft 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-a not found 171s + [255] 171s 171s clone a branch 171s $ hg clone -r beta gitrepo hgrepo-b 171s - importing 2 git commits 171s - new changesets ff7a2f2d8d70:7fe02317c63d (2 drafts) 171s - updating to branch default 171s - 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository gitrepo not found 171s + [255] 171s $ hg -R hgrepo-b bookmarks 171s - * beta 1:7fe02317c63d 171s - master 0:ff7a2f2d8d70 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-b not found 171s + [255] 171s $ hg -R hgrepo-b log --graph 171s - @ changeset: 1:7fe02317c63d 171s - | bookmark: beta 171s - | tag: default/beta 171s - | tag: tip 171s - | user: test 171s - | date: Mon Jan 01 00:00:11 2007 +0000 171s - | summary: add beta 171s - | 171s - o changeset: 0:ff7a2f2d8d70 171s - bookmark: master 171s - tag: alpha 171s - tag: default/master 171s - user: test 171s - date: Mon Jan 01 00:00:10 2007 +0000 171s - summary: add alpha 171s - 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-b not found 171s + [255] 171s $ git --git-dir hgrepo-b/.hg/git for-each-ref 171s - 9497a4ee62e16ee641860d7677cdb2589ea15554 commit refs/remotes/default/beta 171s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/remotes/default/master 171s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/tags/alpha 171s + fatal: not a git repository: 'hgrepo-b/.hg/git' 171s + [128] 171s 171s Make sure that a deleted .hgsubstate does not confuse hg-git 171s 171s @@ -104,48 +86,50 @@ 171s $ cd .. 171s 171s $ hg clone -r beta gitrepo hgrepo-c 171s - importing 4 git commits 171s - new changesets ff7a2f2d8d70:47d12948785d (4 drafts) 171s - updating to branch default 171s - 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository gitrepo not found 171s + [255] 171s $ hg -R hgrepo-c bookmarks 171s - * beta 3:47d12948785d 171s - master 0:ff7a2f2d8d70 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-c not found 171s + [255] 171s $ hg --cwd hgrepo-c status 171s + abort: No such file or directory: 'hgrepo-c' 171s + [255] 171s $ git --git-dir hgrepo-c/.hg/git for-each-ref 171s - b5329119ed77cb37a31fe523621d684eb55779a4 commit refs/remotes/default/beta 171s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/remotes/default/master 171s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/tags/alpha 171s + fatal: not a git repository: 'hgrepo-c/.hg/git' 171s + [128] 171s 171s test shared repositories 171s 171s $ hg clone gitrepo hgrepo-base 171s - importing 5 git commits 171s - new changesets ff7a2f2d8d70:47d12948785d (5 drafts) 171s - updating to bookmark beta 171s - 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository gitrepo not found 171s + [255] 171s $ hg -R hgrepo-base bookmarks 171s - * beta 4:47d12948785d 171s - gamma 2:ca33a262eb46 171s - master 0:ff7a2f2d8d70 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-base not found 171s + [255] 171s $ hg --config extensions.share= share hgrepo-base hgrepo-shared 171s - updating working directory 171s - 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-base not found 171s + [255] 171s $ hg -R hgrepo-shared pull gitrepo 171s - pulling from gitrepo 171s - no changes found 171s - adding bookmark beta 171s - adding bookmark gamma 171s - adding bookmark master 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-shared not found 171s + [255] 171s $ hg -R hgrepo-shared push gitrepo 171s - pushing to gitrepo 171s - searching for changes 171s - no changes found 171s - [1] 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-shared not found 171s + [255] 171s $ ls hgrepo-shared/.hg | grep git 171s + ls: cannot access 'hgrepo-shared/.hg': No such file or directory 171s [1] 171s $ hg -R hgrepo-shared git-cleanup 171s - git commit map cleaned 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + hg: unknown command 'git-cleanup' 171s + (did you mean clean?) 171s + [10] 171s $ rm -rf hgrepo-base hgrepo-shared 171s 171s test cloning HEAD 171s @@ -154,23 +138,21 @@ 171s $ git checkout -q master 171s $ cd .. 171s $ hg clone gitrepo hgrepo-2 171s - importing 5 git commits 171s - new changesets ff7a2f2d8d70:47d12948785d (5 drafts) 171s - updating to bookmark master 171s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository gitrepo not found 171s + [255] 171s $ git --git-dir hgrepo-2/.hg/git for-each-ref 171s - b5329119ed77cb37a31fe523621d684eb55779a4 commit refs/remotes/default/beta 171s - d338971a96e20113bb980a5dc4355ba77eed3714 commit refs/remotes/default/gamma 171s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/remotes/default/master 171s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/tags/alpha 171s + fatal: not a git repository: 'hgrepo-2/.hg/git' 171s + [128] 171s $ rm -rf hgrepo-2 171s 171s clone empty repo 171s $ git init empty 171s Initialized empty Git repository in $TESTTMP/empty/.git/ 171s $ hg clone empty emptyhg 171s - updating to branch default 171s - 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository empty not found 171s + [255] 171s $ rm -rf empty emptyhg 171s 171s test cloning detached HEAD, but pointing to a branch; we detect this 171s @@ -180,25 +162,20 @@ 171s $ git checkout -q -d master 171s $ cd .. 171s $ hg clone gitrepo hgrepo-2 171s - importing 5 git commits 171s - new changesets ff7a2f2d8d70:47d12948785d (5 drafts) 171s - updating to bookmark master 171s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository gitrepo not found 171s + [255] 171s $ hg -R hgrepo-2 book 171s - beta 4:47d12948785d 171s - gamma 2:ca33a262eb46 171s - * master 0:ff7a2f2d8d70 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-2 not found 171s + [255] 171s $ hg -R hgrepo-2 tags -v 171s - tip 4:47d12948785d 171s - default/beta 4:47d12948785d git-remote 171s - default/gamma 2:ca33a262eb46 git-remote 171s - default/master 0:ff7a2f2d8d70 git-remote 171s - alpha 0:ff7a2f2d8d70 git 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-2 not found 171s + [255] 171s $ git --git-dir hgrepo-2/.hg/git for-each-ref 171s - b5329119ed77cb37a31fe523621d684eb55779a4 commit refs/remotes/default/beta 171s - d338971a96e20113bb980a5dc4355ba77eed3714 commit refs/remotes/default/gamma 171s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/remotes/default/master 171s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/tags/alpha 171s + fatal: not a git repository: 'hgrepo-2/.hg/git' 171s + [128] 171s $ rm -rf hgrepo-2 171s 171s test cloning fully detached HEAD; we don't convert the 171s @@ -212,44 +189,45 @@ 171s $ fn_git_commit -m 'add delta' 171s $ cd .. 171s $ hg clone gitrepo hgrepo-2 171s - importing 5 git commits 171s - new changesets ff7a2f2d8d70:47d12948785d (5 drafts) 171s - warning: the git source repository has a detached head 171s - (you may want to update to a bookmark) 171s - updating to branch default 171s - 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository gitrepo not found 171s + [255] 171s $ hg -R hgrepo-2 book 171s - beta 4:47d12948785d 171s - gamma 2:ca33a262eb46 171s - master 0:ff7a2f2d8d70 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-2 not found 171s + [255] 171s $ hg -R hgrepo-2 id --tags 171s - default/beta tip 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository hgrepo-2 not found 171s + [255] 171s $ git --git-dir hgrepo-2/.hg/git for-each-ref 171s - b5329119ed77cb37a31fe523621d684eb55779a4 commit refs/remotes/default/beta 171s - d338971a96e20113bb980a5dc4355ba77eed3714 commit refs/remotes/default/gamma 171s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/remotes/default/master 171s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 commit refs/tags/alpha 171s + fatal: not a git repository: 'hgrepo-2/.hg/git' 171s + [128] 171s $ rm -rf hgrepo-2 171s 171s test that cloning a regular mercurial repository does not introduce 171s git state 171s 171s $ hg init hgrepo-base 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s $ cd hgrepo-base 171s $ touch flaf 171s $ fn_hg_commit -A -m flaf 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s $ cd .. 171s $ hg clone -U hgrepo-base hgrepo-copy 171s requesting all changes (secret !) 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s $ ls hgrepo-copy/.hg | grep git 171s [1] 171s $ hg clone -U --pull hgrepo-base hgrepo-pull 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s requesting all changes 171s - adding changesets (draft !) 171s - adding manifests (draft !) 171s - adding file changes (draft !) 171s - added 1 changesets with 1 changes to 1 files (draft !) 171s - new changesets 76c919376257 (draft !) 171s + adding changesets 171s + adding manifests 171s + adding file changes 171s + added 1 changesets with 1 changes to 1 files 171s + new changesets 76c919376257 171s $ ls hgrepo-pull | grep git 171s [1] 171s $ rm -r hgrepo-base hgrepo-copy hgrepo-pull 171s 171s ERROR: test-clone.t#draft output changed 171s ! 171s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-branch-bookmark-suffix.t 171s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-branch-bookmark-suffix.t#with-path.err 171s @@ -9,287 +9,12 @@ 171s $ git init -q --bare repo.git 171s 171s $ hg clone repo.git hgrepo 171s - updating to branch default 171s - 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository repo.git not found 171s + [255] 171s $ cd hgrepo 171s + $TESTTMP.sh: 14: cd: can't cd to hgrepo 171s #if without-path 171s $ rm .hg/hgrc 171s #endif 171s $ hg branch -q branch1 171s - $ hg bookmark branch1_bookmark 171s - $ echo f1 > f1 171s - $ hg add f1 171s - $ fn_hg_commit -m "add f1" 171s - $ hg branch -q branch2 171s - $ hg bookmark branch2_bookmark 171s - $ echo f2 > f2 171s - $ hg add f2 171s - $ fn_hg_commit -m "add f2" 171s - $ hg log --graph 171s - @ changeset: 1:600de9b6d498 171s - | branch: branch2 171s - | bookmark: branch2_bookmark 171s - | tag: tip 171s - | user: test 171s - | date: Mon Jan 01 00:00:11 2007 +0000 171s - | summary: add f2 171s - | 171s - o changeset: 0:40a840c1f8ae 171s - branch: branch1 171s - bookmark: branch1_bookmark 171s - user: test 171s - date: Mon Jan 01 00:00:10 2007 +0000 171s - summary: add f1 171s - 171s - 171s - $ hg push -B asdasd ../repo.git 171s - pushing to ../repo.git 171s - abort: the -B/--bookmarks option is not supported when branch_bookmark_suffix is set 171s - [255] 171s - 171s - $ hg push ../repo.git 171s - pushing to ../repo.git 171s - searching for changes 171s - adding objects 171s - remote: found 0 deltas to reuse 171s - added 2 commits with 2 trees and 2 blobs 171s - adding reference refs/heads/branch1 171s - adding reference refs/heads/branch2 171s - 171s - $ cd .. 171s - 171s - $ cd repo.git 171s - $ git symbolic-ref HEAD refs/heads/branch1 171s - $ git branch 171s - * branch1 171s - branch2 171s - $ cd .. 171s - 171s - $ git clone repo.git gitrepo 171s - Cloning into 'gitrepo'... 171s - done. 171s - $ cd gitrepo 171s - $ git checkout -q branch1 171s - $ echo g1 >> f1 171s - $ git add f1 171s - $ fn_git_commit -m "append f1" 171s - $ git checkout -q branch2 171s - $ echo g2 >> f2 171s - $ git add f2 171s - $ fn_git_commit -m "append f2" 171s - $ git checkout -b branch3 171s - Switched to a new branch 'branch3' 171s - $ echo g3 >> f3 171s - $ git add f3 171s - $ fn_git_commit -m "append f3" 171s - $ git push origin branch1 branch2 branch3 171s - To $TESTTMP/repo.git 171s - bbfe79a..d8aef79 branch1 -> branch1 171s - 288e92b..f8f8de5 branch2 -> branch2 171s - * [new branch] branch3 -> branch3 171s -make sure the commit doesn't have an HG:rename-source annotation 171s - $ git cat-file commit d8aef79 171s - tree b5644d8071b8a5963b8d1fd089fb3fdfb14b1203 171s - parent bbfe79acf62dcd6a97763e2a67424a6de8a96941 171s - author test 1167609612 +0000 171s - committer test 1167609612 +0000 171s - 171s - append f1 171s - $ cd .. 171s - 171s - $ cd hgrepo 171s - $ hg paths 171s - default = $TESTTMP/repo.git (with-path !) 171s - $ hg pull ../repo.git 171s - pulling from ../repo.git 171s - importing 3 git commits 171s - updating bookmark branch1_bookmark 171s - updating bookmark branch2_bookmark 171s - adding bookmark branch3_bookmark 171s - new changesets 8211cade99e4:faf44fc3a4e8 (3 drafts) 171s - (run 'hg heads' to see heads) 171s - $ hg log --graph 171s - o changeset: 4:faf44fc3a4e8 171s - | bookmark: branch3_bookmark 171s - | tag: default/branch3 (with-path !) 171s - | tag: tip 171s - | user: test 171s - | date: Mon Jan 01 00:00:14 2007 +0000 171s - | summary: append f3 171s - | 171s - o changeset: 3:ae8eb55f7090 171s - | bookmark: branch2_bookmark 171s - | tag: default/branch2 (with-path !) 171s - | parent: 1:600de9b6d498 171s - | user: test 171s - | date: Mon Jan 01 00:00:13 2007 +0000 171s - | summary: append f2 171s - | 171s - | o changeset: 2:8211cade99e4 171s - | | bookmark: branch1_bookmark 171s - | | tag: default/branch1 (with-path !) 171s - | | parent: 0:40a840c1f8ae 171s - | | user: test 171s - | | date: Mon Jan 01 00:00:12 2007 +0000 171s - | | summary: append f1 171s - | | 171s - @ | changeset: 1:600de9b6d498 171s - |/ branch: branch2 171s - | user: test 171s - | date: Mon Jan 01 00:00:11 2007 +0000 171s - | summary: add f2 171s - | 171s - o changeset: 0:40a840c1f8ae 171s - branch: branch1 171s - user: test 171s - date: Mon Jan 01 00:00:10 2007 +0000 171s - summary: add f1 171s - 171s - $ cd .. 171s - 171s -Try cloning a bookmark, and make sure it gets checked out: 171s - 171s - $ rm -r hgrepo 171s - $ hg clone -r branch3 repo.git hgrepo 171s - importing 4 git commits 171s - new changesets 40a840c1f8ae:faf44fc3a4e8 (4 drafts) 171s - updating to bookmark branch3_bookmark 171s - 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 171s - $ cd hgrepo 171s - $ hg bookmarks 171s - branch2_bookmark 2:ae8eb55f7090 171s - * branch3_bookmark 3:faf44fc3a4e8 171s - $ hg log --graph 171s - @ changeset: 3:faf44fc3a4e8 171s - | bookmark: branch3_bookmark 171s - | tag: default/branch3 171s - | tag: tip 171s - | user: test 171s - | date: Mon Jan 01 00:00:14 2007 +0000 171s - | summary: append f3 171s - | 171s - o changeset: 2:ae8eb55f7090 171s - | bookmark: branch2_bookmark 171s - | tag: default/branch2 171s - | user: test 171s - | date: Mon Jan 01 00:00:13 2007 +0000 171s - | summary: append f2 171s - | 171s - o changeset: 1:600de9b6d498 171s - | branch: branch2 171s - | user: test 171s - | date: Mon Jan 01 00:00:11 2007 +0000 171s - | summary: add f2 171s - | 171s - o changeset: 0:40a840c1f8ae 171s - branch: branch1 171s - user: test 171s - date: Mon Jan 01 00:00:10 2007 +0000 171s - summary: add f1 171s - 171s - $ cd .. 171s - 171s -Try cloning something that's both a bookmark and a branch, and see the 171s -results. They're a bit suprising as the bookmark does get activated, 171s -but the branch get checked out. Although this does seem a bit odd, so 171s -does the scenario. 171s - 171s - $ rm -r hgrepo 171s - $ hg clone -r branch1 repo.git hgrepo 171s - importing 2 git commits 171s - new changesets 40a840c1f8ae:8211cade99e4 (2 drafts) 171s - updating to branch branch1 171s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 171s - $ cd hgrepo 171s - $ hg bookmarks 171s - * branch1_bookmark 1:8211cade99e4 171s - $ hg log --graph 171s - o changeset: 1:8211cade99e4 171s - | bookmark: branch1_bookmark 171s - | tag: default/branch1 171s - | tag: tip 171s - | user: test 171s - | date: Mon Jan 01 00:00:12 2007 +0000 171s - | summary: append f1 171s - | 171s - @ changeset: 0:40a840c1f8ae 171s - branch: branch1 171s - user: test 171s - date: Mon Jan 01 00:00:10 2007 +0000 171s - summary: add f1 171s - 171s - 171s - $ cd .. 171s - 171s -Now try pulling a diverged bookmark: 171s - 171s - $ rm -r hgrepo 171s -#if with-path 171s - $ hg clone -U repo.git hgrepo 171s - importing 5 git commits 171s - new changesets 40a840c1f8ae:faf44fc3a4e8 (5 drafts) 171s -#else 171s - $ hg init hgrepo 171s - $ hg -R hgrepo pull repo.git 171s - pulling from repo.git 171s - importing 5 git commits 171s - adding bookmark branch1_bookmark 171s - adding bookmark branch2_bookmark 171s - adding bookmark branch3_bookmark 171s - new changesets 40a840c1f8ae:faf44fc3a4e8 (5 drafts) 171s - (run 'hg heads' to see heads, 'hg merge' to merge) 171s -#endif 171s - $ cd gitrepo 171s - $ git checkout -q branch1 171s - $ fn_git_rebase branch3 171s - $ git push -f 171s - To $TESTTMP/repo.git 171s - + d8aef79...ce1d1c5 branch1 -> branch1 (forced update) 171s - $ cd ../hgrepo 171s - $ hg pull ../repo.git 171s - pulling from ../repo.git 171s - importing 1 git commits 171s - not updating diverged bookmark branch1_bookmark 171s - new changesets 895d0307f8b7 (1 drafts) 171s - (run 'hg update' to get a working copy) 171s - $ hg log --graph 171s - o changeset: 5:895d0307f8b7 171s - | tag: default/branch1 (with-path !) 171s - | tag: tip 171s - | user: test 171s - | date: Mon Jan 01 00:00:12 2007 +0000 171s - | summary: append f1 171s - | 171s - o changeset: 4:faf44fc3a4e8 171s - | bookmark: branch3_bookmark 171s - | tag: default/branch3 (with-path !) 171s - | user: test 171s - | date: Mon Jan 01 00:00:14 2007 +0000 171s - | summary: append f3 171s - | 171s - o changeset: 3:ae8eb55f7090 171s - | bookmark: branch2_bookmark 171s - | tag: default/branch2 (with-path !) 171s - | user: test 171s - | date: Mon Jan 01 00:00:13 2007 +0000 171s - | summary: append f2 171s - | 171s - o changeset: 2:600de9b6d498 171s - | branch: branch2 171s - | parent: 0:40a840c1f8ae 171s - | user: test 171s - | date: Mon Jan 01 00:00:11 2007 +0000 171s - | summary: add f2 171s - | 171s - | o changeset: 1:8211cade99e4 171s - |/ bookmark: branch1_bookmark 171s - | user: test 171s - | date: Mon Jan 01 00:00:12 2007 +0000 171s - | summary: append f1 171s - | 171s - o changeset: 0:40a840c1f8ae 171s - branch: branch1 171s - user: test 171s - date: Mon Jan 01 00:00:10 2007 +0000 171s - summary: add f1 171s - 171s 171s ERROR: test-branch-bookmark-suffix.t#with-path output changed 171s ! 171s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-branch-bookmark-suffix.t 171s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-branch-bookmark-suffix.t#without-path.err 171s @@ -9,287 +9,10 @@ 171s $ git init -q --bare repo.git 171s 171s $ hg clone repo.git hgrepo 171s - updating to branch default 171s - 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 171s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 171s + abort: repository repo.git not found 171s + [255] 171s $ cd hgrepo 171s + $TESTTMP.sh: 14: cd: can't cd to hgrepo 171s #if without-path 171s $ rm .hg/hgrc 171s -#endif 171s - $ hg branch -q branch1 171s - $ hg bookmark branch1_bookmark 171s - $ echo f1 > f1 171s - $ hg add f1 171s - $ fn_hg_commit -m "add f1" 171s - $ hg branch -q branch2 171s - $ hg bookmark branch2_bookmark 171s - $ echo f2 > f2 171s - $ hg add f2 171s - $ fn_hg_commit -m "add f2" 171s - $ hg log --graph 171s - @ changeset: 1:600de9b6d498 171s - | branch: branch2 171s - | bookmark: branch2_bookmark 171s - | tag: tip 171s - | user: test 171s - | date: Mon Jan 01 00:00:11 2007 +0000 171s - | summary: add f2 171s - | 171s - o changeset: 0:40a840c1f8ae 171s - branch: branch1 171s - bookmark: branch1_bookmark 171s - user: test 171s - date: Mon Jan 01 00:00:10 2007 +0000 171s - summary: add f1 171s - 171s - 171s - $ hg push -B asdasd ../repo.git 171s - pushing to ../repo.git 171s - abort: the -B/--bookmarks option is not supported when branch_bookmark_suffix is set 171s - [255] 171s - 171s - $ hg push ../repo.git 171s - pushing to ../repo.git 171s - searching for changes 171s - adding objects 171s - remote: found 0 deltas to reuse 171s - added 2 commits with 2 trees and 2 blobs 171s - adding reference refs/heads/branch1 171s - adding reference refs/heads/branch2 171s - 171s - $ cd .. 171s - 171s - $ cd repo.git 171s - $ git symbolic-ref HEAD refs/heads/branch1 171s - $ git branch 171s - * branch1 171s - branch2 171s - $ cd .. 171s - 171s - $ git clone repo.git gitrepo 171s - Cloning into 'gitrepo'... 171s - done. 171s - $ cd gitrepo 171s - $ git checkout -q branch1 171s - $ echo g1 >> f1 171s - $ git add f1 171s - $ fn_git_commit -m "append f1" 171s - $ git checkout -q branch2 171s - $ echo g2 >> f2 171s - $ git add f2 171s - $ fn_git_commit -m "append f2" 171s - $ git checkout -b branch3 171s - Switched to a new branch 'branch3' 171s - $ echo g3 >> f3 171s - $ git add f3 171s - $ fn_git_commit -m "append f3" 171s - $ git push origin branch1 branch2 branch3 171s - To $TESTTMP/repo.git 171s - bbfe79a..d8aef79 branch1 -> branch1 171s - 288e92b..f8f8de5 branch2 -> branch2 171s - * [new branch] branch3 -> branch3 171s -make sure the commit doesn't have an HG:rename-source annotation 171s - $ git cat-file commit d8aef79 171s - tree b5644d8071b8a5963b8d1fd089fb3fdfb14b1203 171s - parent bbfe79acf62dcd6a97763e2a67424a6de8a96941 171s - author test 1167609612 +0000 171s - committer test 1167609612 +0000 171s - 171s - append f1 171s - $ cd .. 171s - 171s - $ cd hgrepo 171s - $ hg paths 171s - default = $TESTTMP/repo.git (with-path !) 171s - $ hg pull ../repo.git 171s - pulling from ../repo.git 171s - importing 3 git commits 171s - updating bookmark branch1_bookmark 171s - updating bookmark branch2_bookmark 171s - adding bookmark branch3_bookmark 171s - new changesets 8211cade99e4:faf44fc3a4e8 (3 drafts) 171s - (run 'hg heads' to see heads) 171s - $ hg log --graph 171s - o changeset: 4:faf44fc3a4e8 171s - | bookmark: branch3_bookmark 171s - | tag: default/branch3 (with-path !) 171s - | tag: tip 171s - | user: test 171s - | date: Mon Jan 01 00:00:14 2007 +0000 171s - | summary: append f3 171s - | 171s - o changeset: 3:ae8eb55f7090 171s - | bookmark: branch2_bookmark 171s - | tag: default/branch2 (with-path !) 171s - | parent: 1:600de9b6d498 171s - | user: test 171s - | date: Mon Jan 01 00:00:13 2007 +0000 171s - | summary: append f2 171s - | 171s - | o changeset: 2:8211cade99e4 171s - | | bookmark: branch1_bookmark 171s - | | tag: default/branch1 (with-path !) 171s - | | parent: 0:40a840c1f8ae 171s - | | user: test 171s - | | date: Mon Jan 01 00:00:12 2007 +0000 171s - | | summary: append f1 171s - | | 171s - @ | changeset: 1:600de9b6d498 171s - |/ branch: branch2 171s - | user: test 171s - | date: Mon Jan 01 00:00:11 2007 +0000 171s - | summary: add f2 171s - | 171s - o changeset: 0:40a840c1f8ae 171s - branch: branch1 171s - user: test 171s - date: Mon Jan 01 00:00:10 2007 +0000 171s - summary: add f1 171s - 171s - $ cd .. 171s - 171s -Try cloning a bookmark, and make sure it gets checked out: 171s - 171s - $ rm -r hgrepo 171s - $ hg clone -r branch3 repo.git hgrepo 171s - importing 4 git commits 171s - new changesets 40a840c1f8ae:faf44fc3a4e8 (4 drafts) 171s - updating to bookmark branch3_bookmark 171s - 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 171s - $ cd hgrepo 171s - $ hg bookmarks 171s - branch2_bookmark 2:ae8eb55f7090 171s - * branch3_bookmark 3:faf44fc3a4e8 171s - $ hg log --graph 171s - @ changeset: 3:faf44fc3a4e8 171s - | bookmark: branch3_bookmark 171s - | tag: default/branch3 171s - | tag: tip 171s - | user: test 171s - | date: Mon Jan 01 00:00:14 2007 +0000 171s - | summary: append f3 171s - | 171s - o changeset: 2:ae8eb55f7090 171s - | bookmark: branch2_bookmark 171s - | tag: default/branch2 171s - | user: test 171s - | date: Mon Jan 01 00:00:13 2007 +0000 171s - | summary: append f2 171s - | 171s - o changeset: 1:600de9b6d498 171s - | branch: branch2 171s - | user: test 171s - | date: Mon Jan 01 00:00:11 2007 +0000 171s - | summary: add f2 171s - | 171s - o changeset: 0:40a840c1f8ae 171s - branch: branch1 171s - user: test 171s - date: Mon Jan 01 00:00:10 2007 +0000 171s - summary: add f1 171s - 171s - $ cd .. 171s - 171s -Try cloning something that's both a bookmark and a branch, and see the 171s -results. They're a bit suprising as the bookmark does get activated, 171s -but the branch get checked out. Although this does seem a bit odd, so 171s -does the scenario. 171s - 171s - $ rm -r hgrepo 171s - $ hg clone -r branch1 repo.git hgrepo 171s - importing 2 git commits 171s - new changesets 40a840c1f8ae:8211cade99e4 (2 drafts) 171s - updating to branch branch1 171s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 171s - $ cd hgrepo 171s - $ hg bookmarks 171s - * branch1_bookmark 1:8211cade99e4 171s - $ hg log --graph 171s - o changeset: 1:8211cade99e4 171s - | bookmark: branch1_bookmark 171s - | tag: default/branch1 171s - | tag: tip 171s - | user: test 171s - | date: Mon Jan 01 00:00:12 2007 +0000 171s - | summary: append f1 171s - | 171s - @ changeset: 0:40a840c1f8ae 171s - branch: branch1 171s - user: test 171s - date: Mon Jan 01 00:00:10 2007 +0000 171s - summary: add f1 171s - 171s - 171s - $ cd .. 171s - 171s -Now try pulling a diverged bookmark: 171s - 171s - $ rm -r hgrepo 171s -#if with-path 171s - $ hg clone -U repo.git hgrepo 171s - importing 5 git commits 171s - new changesets 40a840c1f8ae:faf44fc3a4e8 (5 drafts) 171s -#else 171s - $ hg init hgrepo 171s - $ hg -R hgrepo pull repo.git 171s - pulling from repo.git 171s - importing 5 git commits 171s - adding bookmark branch1_bookmark 171s - adding bookmark branch2_bookmark 171s - adding bookmark branch3_bookmark 171s - new changesets 40a840c1f8ae:faf44fc3a4e8 (5 drafts) 171s - (run 'hg heads' to see heads, 'hg merge' to merge) 171s -#endif 171s - $ cd gitrepo 171s - $ git checkout -q branch1 171s - $ fn_git_rebase branch3 171s - $ git push -f 171s - To $TESTTMP/repo.git 171s - + d8aef79...ce1d1c5 branch1 -> branch1 (forced update) 171s - $ cd ../hgrepo 171s - $ hg pull ../repo.git 171s - pulling from ../repo.git 171s - importing 1 git commits 171s - not updating diverged bookmark branch1_bookmark 171s - new changesets 895d0307f8b7 (1 drafts) 171s - (run 'hg update' to get a working copy) 171s - $ hg log --graph 171s - o changeset: 5:895d0307f8b7 171s - | tag: default/branch1 (with-path !) 171s - | tag: tip 171s - | user: test 171s - | date: Mon Jan 01 00:00:12 2007 +0000 171s - | summary: append f1 171s - | 171s - o changeset: 4:faf44fc3a4e8 171s - | bookmark: branch3_bookmark 171s - | tag: default/branch3 (with-path !) 171s - | user: test 171s - | date: Mon Jan 01 00:00:14 2007 +0000 171s - | summary: append f3 171s - | 171s - o changeset: 3:ae8eb55f7090 171s - | bookmark: branch2_bookmark 171s - | tag: default/branch2 (with-path !) 171s - | user: test 171s - | date: Mon Jan 01 00:00:13 2007 +0000 171s - | summary: append f2 171s - | 171s - o changeset: 2:600de9b6d498 171s - | branch: branch2 171s - | parent: 0:40a840c1f8ae 171s - | user: test 171s - | date: Mon Jan 01 00:00:11 2007 +0000 171s - | summary: add f2 171s - | 171s - | o changeset: 1:8211cade99e4 171s - |/ bookmark: branch1_bookmark 171s - | user: test 171s - | date: Mon Jan 01 00:00:12 2007 +0000 171s - | summary: append f1 171s - | 171s - o changeset: 0:40a840c1f8ae 171s - branch: branch1 171s - user: test 171s - date: Mon Jan 01 00:00:10 2007 +0000 171s - summary: add f1 171s - 171s 171s ERROR: test-branch-bookmark-suffix.t#without-path output changed 171s ! 171s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-bundle.t 171s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-bundle.t.err 171s @@ -36,247 +36,12 @@ 171s Clone it! 171s 171s $ hg clone gitrepo hgrepo 171s - importing 3 git commits 172s - new changesets ff7a2f2d8d70:ca33a262eb46 (3 drafts) 172s - updating to bookmark master 172s - 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 172s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 172s + abort: repository gitrepo not found 172s + [255] 172s $ cd hgrepo 172s + $TESTTMP.sh: 45: cd: can't cd to hgrepo 172s 172s Create a bundle with our metadata, and inspect it: 172s 172s $ hg bundle --all ../bundle-w-git.hg 172s - 3 changesets found 172s - $ hg debugbundle --all ../bundle-w-git.hg | grep hg-git 172s - exp-hg-git-map -- {} (mandatory: False) 172s - exp-hg-git-tags -- {} (mandatory: False) 172s - $ hg debugbundle --all ../bundle-w-git.hg > bundle-w-git.out 172s - 172s -Create a bundle without our metadata, and inspect it: 172s - 172s - $ hg bundle --all ../bundle-wo-git.hg --config experimental.hg-git-bundle=no 172s - 3 changesets found 172s - $ hg debugbundle --all ../bundle-wo-git.hg | grep hg-git 172s - [1] 172s - 172s -Verify that those are different: 172s - 172s - $ hg debugbundle --all ../bundle-wo-git.hg > bundle-wo-git.out 172s - $ cmp -s bundle-w-git.out bundle-wo-git.out 172s - [1] 172s - 172s -Now create a bundle without hg-git enabled at all, which should be 172s -exactly similar to what you get when you disable metadata embedding; 172s -this verifies we don't accidentally pollute bundles. 172s - 172s - $ hg bundle --all --config extensions.hggit=! ../bundle-wo-hggit.hg 172s - 3 changesets found 172s - $ hg debugbundle --all ../bundle-wo-hggit.hg > bundle-wo-hggit.out 172s - $ cmp -s bundle-wo-git.hg bundle-wo-hggit.hg 172s - [2] 172s - $ cmp -s bundle-wo-git.out bundle-wo-hggit.out 172s - $ cd .. 172s - $ rm -r hgrepo 172s - 172s -Does unbundling transfer state? 172s - 172s - $ hg init hgrepo 172s - $ hg -R hgrepo unbundle bundle-w-git.hg 172s - adding changesets 172s - adding manifests 172s - adding file changes 172s - added 3 changesets with 3 changes to 3 files 172s - new changesets * (glob) 172s - (run 'hg update' to get a working copy) 172s - $ hg -R hgrepo log -T git 172s - 2:ca33a262eb46 | d338971a96e2 | tip | 172s - 1:7fe02317c63d | 9497a4ee62e1 | theothertag | 172s - 0:ff7a2f2d8d70 | 7eeab2ea75ec | thetag | 172s - $ hg -R hgrepo pull gitrepo 172s - pulling from gitrepo 172s - warning: created new git repository at $TESTTMP/hgrepo/.hg/git 172s - no changes found 172s - adding bookmark master 172s - $ rm -r hgrepo 172s - 172s -Can we unbundle something without git state? 172s - 172s - $ hg init hgrepo 172s - $ hg -R hgrepo unbundle bundle-wo-git.hg 172s - adding changesets 172s - adding manifests 172s - adding file changes 172s - added 3 changesets with 3 changes to 3 files 172s - new changesets * (glob) 172s - (run 'hg update' to get a working copy) 172s - $ hg -R hgrepo log -T git 172s - 2:ca33a262eb46 | | tip | 172s - 1:7fe02317c63d | | | 172s - 0:ff7a2f2d8d70 | | | 172s - $ hg -R hgrepo pull gitrepo 172s - pulling from gitrepo 172s - importing 3 git commits 172s - adding bookmark master 172s - (run 'hg update' to get a working copy) 172s - $ rm -r hgrepo 172s - 172s -Regular mercurial shouldn't choke on our bundle 172s - 172s - $ hg init hgrepo 172s - $ cat >> hgrepo/.hg/hgrc < [extensions] 172s - > hggit = ! 172s - > EOF 172s - $ hg -R hgrepo unbundle bundle-wo-git.hg 172s - adding changesets 172s - adding manifests 172s - adding file changes 172s - added 3 changesets with 3 changes to 3 files 172s - new changesets * (glob) 172s - (run 'hg update' to get a working copy) 172s - $ hg -R hgrepo log -T git 172s - 2:ca33a262eb46 | | tip | 172s - 1:7fe02317c63d | | | 172s - 0:ff7a2f2d8d70 | | | 172s - $ hg -R hgrepo pull gitrepo 172s - pulling from gitrepo 172s - abort: repository gitrepo not found!? (re) 172s - [255] 172s - $ rm -r hgrepo 172s - 172s - 172s -What happens if we unbundle twice? 172s - 172s - $ hg init hgrepo 172s - $ hg -R hgrepo unbundle bundle-w-git.hg 172s - adding changesets 172s - adding manifests 172s - adding file changes 172s - added 3 changesets with 3 changes to 3 files 172s - new changesets * (glob) 172s - (run 'hg update' to get a working copy) 172s - $ hg -R hgrepo unbundle bundle-w-git.hg 172s - adding changesets 172s - adding manifests 172s - adding file changes 172s - added 0 changesets with 0 changes to 3 files 172s - (run 'hg update' to get a working copy) 172s - $ hg -R hgrepo log -T git 172s - 2:ca33a262eb46 | d338971a96e2 | tip | 172s - 1:7fe02317c63d | 9497a4ee62e1 | theothertag | 172s - 0:ff7a2f2d8d70 | 7eeab2ea75ec | thetag | 172s - $ hg -R hgrepo pull gitrepo 172s - pulling from gitrepo 172s - warning: created new git repository at $TESTTMP/hgrepo/.hg/git 172s - no changes found 172s - adding bookmark master 172s - $ rm -r hgrepo 172s - 172s -Alas, cloning a bundle doesn't work yet: 172s - 172s -(Mercurial is apparently quite dumb here, so we won't try to fix this 172s -for now, but this test mostly exists so that we notice if ever starts 172s -working, or breaks entirely.) 172s - 172s - $ hg clone bundle-w-git.hg hgrepo 172s - requesting all changes 172s - adding changesets 172s - adding manifests 172s - adding file changes 172s - added 3 changesets with 3 changes to 3 files 172s - new changesets * (glob) 172s - updating to branch default 172s - 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 172s - $ hg -R hgrepo log -T git 172s - 2:ca33a262eb46 | | tip | 172s - 1:7fe02317c63d | | | 172s - 0:ff7a2f2d8d70 | | | 172s - $ rm -r hgrepo 172s - 172s -Now, lets try to be a bit evil. How does pulling partial state work? 172s - 172s -First, more git happenings: 172s - 172s - $ cd gitrepo 172s - $ git checkout -b otherbranch thetag 172s - Switched to a new branch 'otherbranch' 172s - $ echo 42 > baz 172s - $ git add baz 172s - $ fn_git_commit -m 3 172s - $ cd .. 172s - 172s -Pull, 'em, and create a partial bundle: 172s - 172s - $ hg clone gitrepo hgrepo 172s - importing 4 git commits 172s - new changesets ff7a2f2d8d70:d87bf3ef6a53 (4 drafts) 172s - updating to bookmark otherbranch 172s - 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 172s - $ hg -R hgrepo bundle --base 'p1(tip)' -r tip bundle-w-git-2.hg 172s - 1 changesets found 172s - $ rm -r hgrepo 172s - 172s -Now, load only that bundle into a repository without any git state 172s - 172s - $ hg clone -r 1 bundle-w-git.hg hgrepo --config extensions.hggit=! 172s - adding changesets 172s - adding manifests 172s - adding file changes 172s - added 2 changesets with 2 changes to 2 files 172s - new changesets * (glob) 172s - updating to branch default 172s - 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 172s - $ cd hgrepo 172s - $ hg unbundle ../bundle-w-git-2.hg 172s - adding changesets 172s - adding manifests 172s - adding file changes 172s - added 1 changesets with 1 changes to 1 files (+1 heads) 172s - new changesets * (glob) 172s - (run 'hg heads' to see heads, 'hg merge' to merge) 172s - $ hg pull ../gitrepo 172s - pulling from ../gitrepo 172s - warning: created new git repository at $TESTTMP/hgrepo/.hg/git 172s - importing 3 git commits 172s - adding bookmark master 172s - adding bookmark otherbranch 172s - new changesets ca33a262eb46 (1 drafts) 172s - (run 'hg update' to get a working copy) 172s - $ cd .. 172s - $ rm -r hgrepo 172s - 172s -Now, try pushing with only the metadata: 172s - 172s - $ hg init hgrepo 172s - $ cd hgrepo 172s - $ hg unbundle -u ../bundle-w-git.hg 172s - adding changesets 172s - adding manifests 172s - adding file changes 172s - added 3 changesets with 3 changes to 3 files 172s - new changesets * (glob) 172s - 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 172s - $ echo kaflaflibob > bajizmo 172s - $ fn_hg_commit -A -m 4 172s - $ hg book -r tip master 172s - $ hg push ../gitrepo 172s - pushing to ../gitrepo 172s - warning: created new git repository at $TESTTMP/hgrepo/.hg/git 172s - abort: cannot push git commit d338971a96e2 as it is not present locally 172s - (please try pulling first, or as a fallback run git-cleanup to re-export the missing commits) 172s - [255] 172s - 172s -Try to repopulate the git state from a bundle 172s - 172s - $ hg debug-remove-hggit-state 172s - clearing out the git cache data 172s - $ hg log -qr 'fromgit()' 172s - $ hg unbundle -u ../bundle-w-git.hg 172s - adding changesets 172s - adding manifests 172s - adding file changes 172s - added 0 changesets with 0 changes to 3 files 172s - 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 172s - $ hg log -qr 'fromgit()' 172s - 0:ff7a2f2d8d70 172s - 1:7fe02317c63d 172s - 2:ca33a262eb46 172s 172s ERROR: test-bundle.t output changed 172s ! 172s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-file-removal.t 172s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-file-removal.t.err 172s @@ -98,192 +98,9 @@ 172s $ git init -q --bare repo.git 172s 172s $ hg clone gitrepo hgrepo 172s - importing 9 git commits 172s - new changesets ff7a2f2d8d70:0995b8a0a943 (9 drafts) 172s - updating to bookmark master 172s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 172s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 172s + abort: repository gitrepo not found 172s + [255] 172s $ cd hgrepo 172s + $TESTTMP.sh: 72: cd: can't cd to hgrepo 172s $ hg log --graph 172s - @ changeset: 8:0995b8a0a943 172s - | bookmark: master 172s - | tag: default/master 172s - | tag: tip 172s - | user: test 172s - | date: Mon Jan 01 00:00:18 2007 +0000 172s - | summary: remove betalink 172s - | 172s - o changeset: 7:a316d3a96c89 172s - | user: test 172s - | date: Mon Jan 01 00:00:17 2007 +0000 172s - | summary: replace file with symlink 172s - | 172s - o changeset: 6:1804acb71f3e 172s - | user: test 172s - | date: Mon Jan 01 00:00:16 2007 +0000 172s - | summary: replace symlink with file 172s - | 172s - o changeset: 5:e19c85becc87 172s - | user: test 172s - | date: Mon Jan 01 00:00:15 2007 +0000 172s - | summary: add symlink to beta 172s - | 172s - o changeset: 4:0d3086c3f8c3 172s - | user: test 172s - | date: Mon Jan 01 00:00:14 2007 +0000 172s - | summary: remove foo/bar 172s - | 172s - o changeset: 3:b2406125ef5c 172s - | user: test 172s - | date: Mon Jan 01 00:00:13 2007 +0000 172s - | summary: remove alpha 172s - | 172s - o changeset: 2:8b3b2f4b4158 172s - | user: test 172s - | date: Mon Jan 01 00:00:12 2007 +0000 172s - | summary: add foo 172s - | 172s - o changeset: 1:7fe02317c63d 172s - | user: test 172s - | date: Mon Jan 01 00:00:11 2007 +0000 172s - | summary: add beta 172s - | 172s - o changeset: 0:ff7a2f2d8d70 172s - user: test 172s - date: Mon Jan 01 00:00:10 2007 +0000 172s - summary: add alpha 172s - 172s - 172s -make sure alpha is not in this manifest 172s - $ hg manifest -r 3 172s - beta 172s - foo/bar 172s - 172s -make sure that only beta is in the manifest 172s - $ hg manifest 172s - beta 172s - 172s - $ hg debug-remove-hggit-state 172s - clearing out the git cache data 172s - $ ls .hg | grep git 172s - [1] 172s - $ hg push ../repo.git 172s - pushing to ../repo.git 172s - searching for changes 172s - adding objects 172s - remote: found 0 deltas to reuse 172s - added 9 commits with 8 trees and 5 blobs 172s - adding reference refs/heads/master 172s - 172s - $ cd .. 172s - $ git --git-dir=repo.git log --pretty=medium 172s - commit 5ee11eeae239d6a99df5a99901ec00ffafbcc46b 172s - Author: test 172s - Date: Mon Jan 1 00:00:18 2007 +0000 172s - 172s - remove betalink 172s - 172s - commit 2c7b324faeccb1acf89c35b7ad38e7956f5705fa 172s - Author: test 172s - Date: Mon Jan 1 00:00:17 2007 +0000 172s - 172s - replace file with symlink 172s - 172s - commit ff0478d2ecc2571d01eb6d406ac29e4e63e5d3d5 172s - Author: test 172s - Date: Mon Jan 1 00:00:16 2007 +0000 172s - 172s - replace symlink with file 172s - 172s - commit 5492e6e410e42df527956be945286cd1ae45acb8 172s - Author: test 172s - Date: Mon Jan 1 00:00:15 2007 +0000 172s - 172s - add symlink to beta 172s - 172s - commit b991de8952c482a7cd51162674ffff8474862218 172s - Author: test 172s - Date: Mon Jan 1 00:00:14 2007 +0000 172s - 172s - remove foo/bar 172s - 172s - commit b0edaf0adac19392cf2867498b983bc5192b41dd 172s - Author: test 172s - Date: Mon Jan 1 00:00:13 2007 +0000 172s - 172s - remove alpha 172s - 172s - commit f2d0d5bfa905e12dee728b509b96cf265bb6ee43 172s - Author: test 172s - Date: Mon Jan 1 00:00:12 2007 +0000 172s - 172s - add foo 172s - 172s - commit 9497a4ee62e16ee641860d7677cdb2589ea15554 172s - Author: test 172s - Date: Mon Jan 1 00:00:11 2007 +0000 172s - 172s - add beta 172s - 172s - commit 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 172s - Author: test 172s - Date: Mon Jan 1 00:00:10 2007 +0000 172s - 172s - add alpha 172s - 172s -test with rename detection enabled 172s - $ hg --config git.similarity=100 clone gitrepo hgreporenames 172s - importing 9 git commits 172s - new changesets ff7a2f2d8d70:0995b8a0a943 (9 drafts) 172s - updating to bookmark master 172s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 172s - 172s - $ cd hgreporenames 172s - $ hg log --graph 172s - @ changeset: 8:0995b8a0a943 172s - | bookmark: master 172s - | tag: default/master 172s - | tag: tip 172s - | user: test 172s - | date: Mon Jan 01 00:00:18 2007 +0000 172s - | summary: remove betalink 172s - | 172s - o changeset: 7:a316d3a96c89 172s - | user: test 172s - | date: Mon Jan 01 00:00:17 2007 +0000 172s - | summary: replace file with symlink 172s - | 172s - o changeset: 6:1804acb71f3e 172s - | user: test 172s - | date: Mon Jan 01 00:00:16 2007 +0000 172s - | summary: replace symlink with file 172s - | 172s - o changeset: 5:e19c85becc87 172s - | user: test 172s - | date: Mon Jan 01 00:00:15 2007 +0000 172s - | summary: add symlink to beta 172s - | 172s - o changeset: 4:0d3086c3f8c3 172s - | user: test 172s - | date: Mon Jan 01 00:00:14 2007 +0000 172s - | summary: remove foo/bar 172s - | 172s - o changeset: 3:b2406125ef5c 172s - | user: test 172s - | date: Mon Jan 01 00:00:13 2007 +0000 172s - | summary: remove alpha 172s - | 172s - o changeset: 2:8b3b2f4b4158 172s - | user: test 172s - | date: Mon Jan 01 00:00:12 2007 +0000 172s - | summary: add foo 172s - | 172s - o changeset: 1:7fe02317c63d 172s - | user: test 172s - | date: Mon Jan 01 00:00:11 2007 +0000 172s - | summary: add beta 172s - | 172s - o changeset: 0:ff7a2f2d8d70 172s - user: test 172s - date: Mon Jan 01 00:00:10 2007 +0000 172s - summary: add alpha 172s - 172s 172s ERROR: test-file-removal.t output changed 172s ! 172s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-hg-author.t 172s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-hg-author.t.err 172s @@ -16,256 +16,10 @@ 172s 172s $ cd .. 172s $ hg clone repo.git hgrepo 172s - importing 1 git commits 172s - new changesets ff7a2f2d8d70 (1 drafts) 172s - updating to bookmark master 172s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 172s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 172s + abort: repository repo.git not found 172s + [255] 172s 172s $ cd hgrepo 172s + $TESTTMP.sh: 22: cd: can't cd to hgrepo 172s $ hg book master 172s - $ echo beta > beta 172s - $ hg add beta 172s - $ fn_hg_commit -u "test" -m 'add beta' 172s - $ hg push 172s - pushing to $TESTTMP/repo.git 172s - searching for changes 172s - adding objects 172s - remote: found 0 deltas to reuse 172s - added 1 commits with 1 trees and 1 blobs 172s - updating reference refs/heads/master 172s - 172s - $ echo gamma >> beta 172s - $ fn_hg_commit -u "test (comment)" -m 'modify beta' 172s - $ hg push 172s - pushing to $TESTTMP/repo.git 172s - searching for changes 172s - adding objects 172s - remote: found 0 deltas to reuse 172s - added 1 commits with 1 trees and 1 blobs 172s - updating reference refs/heads/master 172s - 172s - $ echo gamma > gamma 172s - $ hg add gamma 172s - $ fn_hg_commit -u "" -m 'add gamma' 172s - $ hg push 172s - pushing to $TESTTMP/repo.git 172s - searching for changes 172s - adding objects 172s - remote: found 0 deltas to reuse 172s - added 1 commits with 1 trees and 1 blobs 172s - updating reference refs/heads/master 172s - 172s - $ echo delta > delta 172s - $ hg add delta 172s - $ fn_hg_commit -u "name" -m 'add delta' 172s - $ hg push 172s - pushing to $TESTTMP/repo.git 172s - searching for changes 172s - adding objects 172s - remote: found 0 deltas to reuse 172s - added 1 commits with 1 trees and 1 blobs 172s - updating reference refs/heads/master 172s - 172s - $ echo epsilon > epsilon 172s - $ hg add epsilon 172s - $ fn_hg_commit -u "name zeta 172s - $ hg add zeta 172s - $ fn_hg_commit -u " test " -m 'add zeta' 172s - $ hg push 172s - pushing to $TESTTMP/repo.git 172s - searching for changes 172s - adding objects 172s - remote: found 0 deltas to reuse 172s - added 1 commits with 1 trees and 1 blobs 172s - updating reference refs/heads/master 172s - 172s - $ echo eta > eta 172s - $ hg add eta 172s - $ fn_hg_commit -u "test < test@example.com >" -m 'add eta' 172s - $ hg push 172s - pushing to $TESTTMP/repo.git 172s - searching for changes 172s - adding objects 172s - remote: found 0 deltas to reuse 172s - added 1 commits with 1 trees and 1 blobs 172s - updating reference refs/heads/master 172s - 172s - $ echo theta > theta 172s - $ hg add theta 172s - $ fn_hg_commit -u "test >test@example.com>" -m 'add theta' 172s - $ hg push 172s - pushing to $TESTTMP/repo.git 172s - searching for changes 172s - adding objects 172s - remote: found 0 deltas to reuse 172s - added 1 commits with 1 trees and 1 blobs 172s - updating reference refs/heads/master 172s - 172s - $ hg log --graph 172s - @ changeset: 8:c5d1976ab12c 172s - | bookmark: master 172s - | tag: default/master 172s - | tag: tip 172s - | user: test >test@example.com> 172s - | date: Mon Jan 01 00:00:18 2007 +0000 172s - | summary: add theta 172s - | 172s - o changeset: 7:0e2fb4d21667 172s - | user: test < test@example.com > 172s - | date: Mon Jan 01 00:00:17 2007 +0000 172s - | summary: add eta 172s - | 172s - o changeset: 6:faa3aae96199 172s - | user: test 172s - | date: Mon Jan 01 00:00:16 2007 +0000 172s - | summary: add zeta 172s - | 172s - o changeset: 5:2cf6ad5a1afc 172s - | user: name 172s - | date: Mon Jan 01 00:00:14 2007 +0000 172s - | summary: add delta 172s - | 172s - o changeset: 3:6b854d65d0d6 172s - | user: 172s - | date: Mon Jan 01 00:00:13 2007 +0000 172s - | summary: add gamma 172s - | 172s - o changeset: 2:46303c652e79 172s - | user: test (comment) 172s - | date: Mon Jan 01 00:00:12 2007 +0000 172s - | summary: modify beta 172s - | 172s - o changeset: 1:47580592d3d6 172s - | user: test 172s - | date: Mon Jan 01 00:00:11 2007 +0000 172s - | summary: add beta 172s - | 172s - o changeset: 0:ff7a2f2d8d70 172s - user: test 172s - date: Mon Jan 01 00:00:10 2007 +0000 172s - summary: add alpha 172s - 172s - 172s - $ cd .. 172s - $ hg clone repo.git hgrepo2 172s - importing 9 git commits 172s - new changesets ff7a2f2d8d70:1fbf3aa91221 (9 drafts) 172s - updating to bookmark master 172s - 8 files updated, 0 files merged, 0 files removed, 0 files unresolved 172s - $ hg -R hgrepo2 log --graph 172s - @ changeset: 8:1fbf3aa91221 172s - | bookmark: master 172s - | tag: default/master 172s - | tag: tip 172s - | user: test ?test@example.com 172s - | date: Mon Jan 01 00:00:18 2007 +0000 172s - | summary: add theta 172s - | 172s - o changeset: 7:20310508f06d 172s - | user: test 172s - | date: Mon Jan 01 00:00:17 2007 +0000 172s - | summary: add eta 172s - | 172s - o changeset: 6:e3d81af8a8c1 172s - | user: test 172s - | date: Mon Jan 01 00:00:16 2007 +0000 172s - | summary: add zeta 172s - | 172s - o changeset: 5:78f609fd208f 172s - | user: name 172s - | date: Mon Jan 01 00:00:15 2007 +0000 172s - | summary: add epsilon 172s - | 172s - o changeset: 4:42fa61d57718 172s - | user: name 172s - | date: Mon Jan 01 00:00:14 2007 +0000 172s - | summary: add delta 172s - | 172s - o changeset: 3:6b854d65d0d6 172s - | user: 172s - | date: Mon Jan 01 00:00:13 2007 +0000 172s - | summary: add gamma 172s - | 172s - o changeset: 2:46303c652e79 172s - | user: test (comment) 172s - | date: Mon Jan 01 00:00:12 2007 +0000 172s - | summary: modify beta 172s - | 172s - o changeset: 1:47580592d3d6 172s - | user: test 172s - | date: Mon Jan 01 00:00:11 2007 +0000 172s - | summary: add beta 172s - | 172s - o changeset: 0:ff7a2f2d8d70 172s - user: test 172s - date: Mon Jan 01 00:00:10 2007 +0000 172s - summary: add alpha 172s - 172s - $ git --git-dir=repo.git log --pretty=medium master 172s - commit 2fe60ba69727981e6ede78be70354c3a9e30e21d 172s - Author: test ?test@example.com 172s - Date: Mon Jan 1 00:00:18 2007 +0000 172s - 172s - add theta 172s - 172s - commit 9f2f7cafdbf2e467928db98de8275141001d3081 172s - Author: test 172s - Date: Mon Jan 1 00:00:17 2007 +0000 172s - 172s - add eta 172s - 172s - commit 172a6f8d8064d73dff7013e395a9fe3cfc3ff807 172s - Author: test 172s - Date: Mon Jan 1 00:00:16 2007 +0000 172s - 172s - add zeta 172s - 172s - commit 71badb8e343a7da391a9b5d98909fbd2ca7d78f2 172s - Author: name 172s - Date: Mon Jan 1 00:00:15 2007 +0000 172s - 172s - add epsilon 172s - 172s - commit 9a9ae7b7f310d4a1a3e732a747ca26f06934f8d8 172s - Author: name 172s - Date: Mon Jan 1 00:00:14 2007 +0000 172s - 172s - add delta 172s - 172s - commit e4149a32e81e380193f59aa8773349201b8ed7f7 172s - Author: 172s - Date: Mon Jan 1 00:00:13 2007 +0000 172s - 172s - add gamma 172s - 172s - commit fae95aef5889a80103c2fbd5d14ff6eb8c9daf93 172s - Author: test ext:(%20%28comment%29) 172s - Date: Mon Jan 1 00:00:12 2007 +0000 172s - 172s - modify beta 172s - 172s - commit 0f378ab6c2c6b5514bd873d3faf8ac4b8095b001 172s - Author: test 172s - Date: Mon Jan 1 00:00:11 2007 +0000 172s - 172s - add beta 172s - 172s - commit 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 172s - Author: test 172s - Date: Mon Jan 1 00:00:10 2007 +0000 172s - 172s - add alpha 172s 172s ERROR: test-hg-author.t output changed 172s ! 172s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-subrepos.t 172s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-subrepos.t.err 172s @@ -34,165 +34,8 @@ 172s $ cd .. 172s Ensure gitlinks are transformed to .hgsubstate on hg pull from git 172s $ hg clone -u tip repo.git hgrepo 2>&1 | grep -E -v '^(Cloning into|done)' 172s - importing 3 git commits 172s - new changesets e532b2bfda10:3c4fd561cbeb (3 drafts) 172s - updating to branch default 172s - cloning subrepo subrepo1 from $TESTTMP/gitsubrepo 172s - cloning subrepo xyz/subrepo2 from $TESTTMP/gitsubrepo 172s - 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 172s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 172s + abort: repository repo.git not found 172s $ cd hgrepo 172s + $TESTTMP.sh: 42: cd: can't cd to hgrepo 172s $ hg bookmarks -f -r default master 172s -1. Ensure gitlinks are transformed to .hgsubstate on hg <- git pull 172s -.hgsub shall list two [git] subrepos 172s - $ cat .hgsub 172s - subrepo1 = [git]../gitsubrepo 172s - xyz/subrepo2 = [git]../gitsubrepo 172s -.hgsubstate shall list two idenitcal revisions 172s - $ cat .hgsubstate 172s - 56f0304c5250308f14cfbafdc27bd12d40154d17 subrepo1 172s - 56f0304c5250308f14cfbafdc27bd12d40154d17 xyz/subrepo2 172s -hg status shall NOT report .hgsub and .hgsubstate as untracked - either ignored or unmodified 172s - $ hg status --unknown .hgsub .hgsubstate 172s - $ hg status --modified .hgsub .hgsubstate 172s - $ cd .. 172s - 172s -2. Check gitmodules are preserved during hg -> git push 172s - $ cd gitsubrepo 172s - $ echo gamma > gamma 172s - $ git add gamma 172s - $ fn_git_commit -m 'add gamma' 172s - $ cd .. 172s - $ cd hgrepo 172s - $ cd xyz/subrepo2 172s - $ git pull --ff-only | sed 's/files/file/;s/insertions/insertion/;s/, 0 deletions.*//' | sed 's/| */| /' 172s - From $TESTTMP/gitsubrepo 172s - 56f0304..aabf7cd master -> origin/master 172s - Updating 56f0304..aabf7cd 172s - Fast-forward 172s - gamma | 1 + 172s - 1 file changed, 1 insertion(+) 172s - create mode 100644 gamma 172s - $ cd ../.. 172s - $ echo xxx >> alpha 172s - $ fn_hg_commit -m 'Update subrepo2 from hg' | grep -v "committing subrepository" || true 172s - $ hg push 172s - pushing to $TESTTMP/repo.git 172s - searching for changes 172s - adding objects 172s - remote: found 0 deltas to reuse 172s - added 1 commits with 2 trees and 1 blobs 172s - updating reference refs/heads/master 172s - $ cd .. 172s - $ cd gitrepo 172s - $ git pull --ff-only 172s - From $TESTTMP/repo 172s - 89c22d7..275b0a5 master -> origin/master 172s - Fetching submodule xyz/subrepo2 172s - From $TESTTMP/gitsubrepo 172s - 56f0304..aabf7cd master -> origin/master 172s - Updating 89c22d7..275b0a5 172s - Fast-forward 172s - alpha | 1 + 172s - xyz/subrepo2 | 2 +- 172s - 2 files changed, 2 insertions(+), 1 deletion(-) 172s -there shall be two gitlink entries, with values matching that in .hgsubstate 172s - $ git ls-tree -r HEAD^{tree} | grep 'commit' 172s - 160000 commit 56f0304c5250308f14cfbafdc27bd12d40154d17 subrepo1 172s - 160000 commit aabf7cd015089aff0b84596e69aa37b24a3d090a xyz/subrepo2 172s -bring working copy to HEAD state (it's not bare repo) 172s - $ git reset --hard 172s - HEAD is now at 275b0a5 Update subrepo2 from hg 172s - $ cd .. 172s - 172s -3. Check .hgsub and .hgsubstate from git repository are merged, not overwritten 172s - $ hg init hgsub 172s - $ cd hgsub 172s - $ echo delta > delta 172s - $ hg add delta 172s - $ fn_hg_commit -m "add delta" 172s - $ hg tip --template '{node} hgsub\n' > ../gitrepo/.hgsubstate 172s - $ cat > ../gitrepo/.hgsub < hgsub = ../hgsub 172s - > EOF 172s - $ cd ../gitrepo 172s - $ git add .hgsubstate .hgsub 172s - $ fn_git_commit -m "Test3. Prepare .hgsub and .hgsubstate sources" 172s - $ git push 172s - To $TESTTMP/repo.git 172s - 275b0a5..e31d576 master -> master 172s - 172s - $ cd ../hgrepo 172s - $ hg pull 172s - pulling from $TESTTMP/repo.git 172s - importing 1 git commits 172s - updating bookmark master 172s - new changesets [0-9a-f]{12,12} \(1 drafts\) (re) 172s - (run 'hg update' to get a working copy) 172s - $ hg checkout -C 172s - updating to active bookmark master 172s - cloning subrepo hgsub from $TESTTMP/hgsub 172s - 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 172s - $ cd .. 172s -pull shall bring .hgsub entry which was added to the git repo 172s - $ cat hgrepo/.hgsub 172s - hgsub = ../hgsub 172s - subrepo1 = [git]../gitsubrepo 172s - xyz/subrepo2 = [git]../gitsubrepo 172s -.hgsubstate shall list revision of the subrepo added through git repo 172s - $ cat hgrepo/.hgsubstate 172s - 481ec30d580f333ae3a77f94c973ce37b69d5bda hgsub 172s - 56f0304c5250308f14cfbafdc27bd12d40154d17 subrepo1 172s - aabf7cd015089aff0b84596e69aa37b24a3d090a xyz/subrepo2 172s - 172s -4. Try changing the subrepos from the Mercurial side 172s - 172s - $ cd hgrepo 172s - $ cat >> .hgsub < subrepo2 = [git]../gitsubrepo 172s - > EOF 172s - $ git clone ../gitsubrepo subrepo2 172s - Cloning into 'subrepo2'... 172s - done. 172s - $ fn_hg_commit -m 'some stuff' 172s - $ hg push 172s - pushing to $TESTTMP/repo.git 172s - no changes made to subrepo hgsub since last push to $TESTTMP/hgsub 172s - searching for changes 172s - adding objects 172s - remote: found 0 deltas to reuse 172s - added 1 commits with 1 trees and 1 blobs 172s - updating reference refs/heads/master 172s - $ cd .. 172s - 172s -5. But we actually do something quite weird in this case: If a 172s -.gitmodules file exists in the repository, it always wins! In this 172s -case, we break the bidirectional convention, and modify the repository 172s -data. That's odd, so show it: 172s - 172s - $ hg id hgrepo 172s - 42c46c7eef3a default/master/tip master 172s - $ hg clone -U repo.git hgrepo2 172s - importing 6 git commits 172s - new changesets e532b2bfda10:42c46c7eef3a (6 drafts) 172s - $ hg -R hgrepo2 up :master 172s - Cloning into '$TESTTMP/hgrepo2/subrepo1'... 172s - done. 172s - cloning subrepo hgsub from $TESTTMP/hgsub 172s - cloning subrepo subrepo1 from $TESTTMP/gitsubrepo 172s - checking out detached HEAD in subrepository "subrepo1" 172s - check out a git branch if you intend to make changes 172s - Cloning into '$TESTTMP/hgrepo2/subrepo2'... 172s - done. 172s - Cloning into '$TESTTMP/hgrepo2/xyz/subrepo2'... 172s - done. 172s - cloning subrepo subrepo2 from $TESTTMP/gitsubrepo 172s - cloning subrepo xyz/subrepo2 from $TESTTMP/gitsubrepo 172s - 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 172s - 172s -We retained bidirectionality! 172s - 172s - $ git diff --stat hgrepo/.hgsub hgrepo2/.hgsub 172s - $ hg id hgrepo 172s - 42c46c7eef3a default/master/tip master 172s - $ hg id hgrepo2 172s - 42c46c7eef3a default/master/tip master 172s 172s ERROR: test-subrepos.t output changed 173s ! 173s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-extra.t 173s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-extra.t.err 173s @@ -12,190 +12,9 @@ 173s 173s $ cd .. 173s $ hg clone gitrepo hgrepo 173s - importing 1 git commits 173s - new changesets aa9eb6424386 (1 drafts) 173s - updating to bookmark not-master 173s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 173s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 173s + abort: repository gitrepo not found 173s + [255] 173s $ cd hgrepo 173s + $TESTTMP.sh: 20: cd: can't cd to hgrepo 173s $ hg mv a b 173s - $ fn_hg_commit -mb 173s - $ hg up 0 173s - 1 files updated, 0 files merged, 1 files removed, 0 files unresolved 173s - (leaving bookmark not-master) 173s - $ touch c 173s - $ hg add c 173s - $ fn_hg_commit -mc 173s - 173s -Rebase will add a rebase_source 173s - 173s - $ hg --config extensions.rebase= rebase -s 1 -d 2 173s - rebasing 1:4c7da7adf18b * (glob) 173s - saved backup bundle to $TESTTMP/*.hg (glob) 173s - $ hg up 2 173s - 1 files updated, 0 files merged, 1 files removed, 0 files unresolved 173s - 173s -Add a commit with multiple extra fields 173s - $ hg bookmark b1 173s - $ touch d 173s - $ hg add d 173s - $ fn_hg_commitextra --field zzzzzzz=datazzz --field aaaaaaa=dataaaa 173s - $ hg log --graph --template "{rev} {node} {desc|firstline}\n{join(extras, ' ')}\n\n" 173s - @ 3 f01651cfcc9337fbd9700d5018ca637a2911ed28 173s - | aaaaaaa=dataaaa branch=default zzzzzzz=datazzz 173s - | 173s - o 2 03f4cf3c429050e2204fb2bda3a0f93329bdf4fd b 173s - | branch=default rebase_source=4c7da7adf18b785726a7421ef0d585bb5762990d 173s - | 173s - o 1 a735dc0cd7cc0ccdbc16cfa4326b19c707c360f4 c 173s - | branch=default 173s - | 173s - o 0 aa9eb6424386df2b0638fe6f480c3767fdd0e6fd a 173s - branch=default hg-git-rename-source=git 173s - 173s - 173s - $ hg push -r b1 173s - pushing to $TESTTMP/gitrepo 173s - searching for changes 173s - adding objects 173s - remote: found 0 deltas to reuse 173s - added 3 commits with 3 trees and 0 blobs 173s - adding reference refs/heads/b1 173s - 173s - $ hg bookmark b2 173s - $ hg mv c c2 173s - $ hg mv d d2 173s - $ fn_hg_commitextra --field yyyyyyy=datayyy --field bbbbbbb=databbb 173s - 173s -Test some nutty filenames 173s - $ hg book b3 173s -#if windows 173s - $ hg mv c2 'c2 => c3' 173s - abort: filename contains '>', which is reserved on Windows: "c2 => c3" 173s - [255] 173s - $ hg mv c2 c3 173s - $ fn_hg_commit -m 'dummy commit' 173s - $ hg mv c3 c4 173s - $ fn_hg_commit -m 'dummy commit' 173s -#else 173s - $ hg mv c2 'c2 => c3' 173s - warning: filename contains '>', which is reserved on Windows: 'c2 => c3' 173s - $ fn_hg_commit -m 'test filename with arrow' 173s - $ hg mv 'c2 => c3' 'c3 => c4' 173s - warning: filename contains '>', which is reserved on Windows: 'c3 => c4' 173s - $ fn_hg_commit -m 'test filename with arrow 2' 173s - $ hg log --graph --template "{rev} {node} {desc|firstline}\n{join(extras, ' ')}\n\n" -l 3 --config "experimental.graphstyle.missing=|" 173s - @ 6 bca4ba69a6844c133b069e227dfa043d41e3c197 test filename with arrow 2 173s - | branch=default 173s - | 173s - o 5 864caad1f3493032f8d06f44a89dc9f1c039b09f test filename with arrow 173s - | branch=default 173s - | 173s - o 4 58f855ae26f4930ce857e648d3dd949901cce817 173s - | bbbbbbb=databbb branch=default yyyyyyy=datayyy 173s - | 173s -#endif 173s - $ hg push -r b2 -r b3 173s - pushing to $TESTTMP/gitrepo 173s - searching for changes 173s - adding objects 173s - remote: found 0 deltas to reuse 173s - added 3 commits with 3 trees and 0 blobs 173s - adding reference refs/heads/b2 173s - adding reference refs/heads/b3 173s - 173s - $ cd ../gitrepo 173s - $ git cat-file commit b1 173s - tree 1b773a2eb70f29397356f8069c285394835ff85a 173s - parent 54776dace5849bdf273fb26737a48ef64804909d 173s - author test 1167609613 +0000 173s - committer test 1167609613 +0000 173s - HG:extra aaaaaaa:dataaaa 173s - HG:extra zzzzzzz:datazzz 173s - 173s - 173s - 173s - $ git cat-file commit b2 173s - tree 34ad62c6d6ad9464bfe62db5b3d2fa16aaa9fa9e 173s - parent 15beadd92324c9b88060a4ec4ffb350f988d7075 173s - author test 1167609614 +0000 173s - committer test 1167609614 +0000 173s - HG:rename c:c2 173s - HG:rename d:d2 173s - HG:extra bbbbbbb:databbb 173s - HG:extra yyyyyyy:datayyy 173s - 173s - 173s - 173s -#if no-windows 173s - $ git cat-file commit b3 173s - tree e63df52695f9b06e54b37e7ef60d0c43994de620 173s - parent 5cafe2555a0666fcf661a3943277a9812a694a98 173s - author test 1167609616 +0000 173s - committer test 1167609616 +0000 173s - HG:rename c2%20%3D%3E%20c3:c3%20%3D%3E%20c4 173s - 173s - test filename with arrow 2 173s -#endif 173s - $ cd ../gitrepo 173s - $ git checkout b1 173s - Switched to branch 'b1' 173s - $ commit_sha=$(git rev-parse HEAD) 173s - $ tree_sha=$(git rev-parse HEAD^{tree}) 173s - 173s -There's no way to create a Git repo with extra metadata via the CLI. Dulwich 173s -lets you do that, though. 173s - 173s - >>> from dulwich.objects import Commit 173s - >>> from dulwich.porcelain import open_repo 173s - >>> repo = open_repo('.') 173s - >>> c = Commit() 173s - >>> c.author = b'test ' 173s - >>> c.author_time = 0 173s - >>> c.author_timezone = 0 173s - >>> c.committer = c.author 173s - >>> c.commit_time = 0 173s - >>> c.commit_timezone = 0 173s - >>> c.parents = [b'$commit_sha'] 173s - >>> c.tree = b'$tree_sha' 173s - >>> c.message = b'extra commit\n' 173s - >>> c.extra.extend([(b'zzz:zzz', b'data:zzz'), (b'aaa:aaa', b'data:aaa'), 173s - ... (b'HG:extra', b'hgaaa:dataaaa'), 173s - ... (b'HG:extra', b'hgzzz:datazzz')]) 173s - >>> repo.object_store.add_object(c) 173s - >>> repo.refs.set_if_equals(b'refs/heads/master', None, c.id) 173s - True 173s - 173s - $ git cat-file commit master 173s - tree 1b773a2eb70f29397356f8069c285394835ff85a 173s - parent 15beadd92324c9b88060a4ec4ffb350f988d7075 173s - author test 0 +0000 173s - committer test 0 +0000 173s - zzz:zzz data:zzz 173s - aaa:aaa data:aaa 173s - HG:extra hgaaa:dataaaa 173s - HG:extra hgzzz:datazzz 173s - 173s - extra commit 173s - 173s - $ cd .. 173s - $ hg clone -qU gitrepo hgrepo2 173s - $ cd hgrepo2 173s - $ hg log -G -r :5 -T "{rev} {node} {desc|firstline}\n{join(extras, ' ')}\n\n" 173s - o 5 58f855ae26f4930ce857e648d3dd949901cce817 173s - | bbbbbbb=databbb branch=default yyyyyyy=datayyy 173s - | 173s - | o 4 90acc8c23fcfaeb0930c03c849923a696fd9013c extra commit 173s - |/ GIT0-zzz%3Azzz=data%3Azzz GIT1-aaa%3Aaaa=data%3Aaaa branch=default hgaaa=dataaaa hgzzz=datazzz 173s - | 173s - o 3 f01651cfcc9337fbd9700d5018ca637a2911ed28 173s - | aaaaaaa=dataaaa branch=default zzzzzzz=datazzz 173s - | 173s - o 2 03f4cf3c429050e2204fb2bda3a0f93329bdf4fd b 173s - | branch=default rebase_source=4c7da7adf18b785726a7421ef0d585bb5762990d 173s - | 173s - o 1 a735dc0cd7cc0ccdbc16cfa4326b19c707c360f4 c 173s - | branch=default 173s - | 173s - o 0 aa9eb6424386df2b0638fe6f480c3767fdd0e6fd a 173s - branch=default hg-git-rename-source=git 173s - 173s 173s ERROR: test-extra.t output changed 174s ! 174s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-bookmark-workflow.t 174s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-bookmark-workflow.t.err 174s @@ -42,13 +42,21 @@ 174s 174s Initialize remote hg and git repos with equivalent initial contents 174s $ hg init hgremoterepo 174s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 174s $ cd hgremoterepo 174s $ hg bookmark master 174s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 174s $ for f in alpha beta gamma delta; do 174s > echo $f > $f; hg add $f; hgcommit -m "add $f" 174s > done 174s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 174s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 174s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 174s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 174s $ hg bookmark -r 1 b1 174s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 174s $ hgstate 174s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 174s 3 fc2664cac217 "add delta" bookmarks: [master] 174s 2 d85ced7ae9d6 "add gamma" bookmarks: [] 174s 1 7bcd915dc873 "add beta" bookmarks: [b1] 174s @@ -69,157 +77,19 @@ 174s 174s Cloning transfers all bookmarks from remote to local 174s $ hg clone -q hgremoterepo purehglocalrepo 174s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 174s $ cd purehglocalrepo 174s $ hgstate 174s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 174s 3 fc2664cac217 "add delta" bookmarks: [master] 174s 2 d85ced7ae9d6 "add gamma" bookmarks: [] 174s 1 7bcd915dc873 "add beta" bookmarks: [b1] 174s 0 3442585be8a6 "add alpha" bookmarks: [] 174s $ cd .. 174s $ hg clone -q gitremoterepo hggitlocalrepo --config hggit.usephases=True 174s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 174s + abort: repository gitremoterepo not found 174s + [255] 174s $ cd hggitlocalrepo 174s + $TESTTMP.sh: 78: cd: can't cd to hggitlocalrepo 174s $ hggitstate 174s - 3 03769a650ded 55b133e1d558 "add delta" bookmarks: [master] 174s - 2 ca33a262eb46 d338971a96e2 "add gamma" bookmarks: [] 174s - 1 7fe02317c63d 9497a4ee62e1 "add beta" bookmarks: [b1] 174s - 0 ff7a2f2d8d70 7eeab2ea75ec "add alpha" bookmarks: [] 174s - 174s -Make sure that master is public 174s - $ hg phase -r master 174s - 3: public 174s - $ cd .. 174s - 174s -No changes 174s - $ cd purehglocalrepo 174s - $ hg incoming -B 174s - comparing with $TESTTMP/hgremoterepo 174s - searching for changed bookmarks 174s - no changed bookmarks found 174s - [1] 174s - $ hg outgoing 174s - comparing with $TESTTMP/hgremoterepo 174s - searching for changes 174s - no changes found 174s - [1] 174s - $ hg outgoing -B 174s - comparing with $TESTTMP/hgremoterepo 174s - searching for changed bookmarks 174s - no changed bookmarks found 174s - [1] 174s - $ hg push 174s - pushing to $TESTTMP/hgremoterepo 174s - searching for changes 174s - no changes found 174s - [1] 174s - $ cd .. 174s - $ cd hggitlocalrepo 174s - $ hg incoming -B 174s - comparing with $TESTTMP/gitremoterepo 174s - searching for changed bookmarks 174s - no changed bookmarks found 174s - [1] 174s - $ hg outgoing 174s - comparing with $TESTTMP/gitremoterepo 174s - searching for changes 174s - no changes found 174s - [1] 174s - $ hg outgoing -B 174s - comparing with $TESTTMP/gitremoterepo 174s - searching for changed bookmarks 174s - no changed bookmarks found 174s - [1] 174s - $ hg push 174s - pushing to $TESTTMP/gitremoterepo 174s - searching for changes 174s - no changes found 174s - [1] 174s - $ cd .. 174s - 174s -Bookmarks on existing revs: 174s -- change b1 on local repo 174s -- introduce b2 on local repo 174s -- introduce b3 on remote repo 174s -Bookmarks on new revs 174s -- introduce b4 on a new rev on the remote 174s - $ cd hgremoterepo 174s - $ hg bookmark -r master b3 174s - $ hg bookmark -r master b4 174s - $ hg update -q b4 174s - $ echo epsilon > epsilon; hg add epsilon; hgcommit -m 'add epsilon' 174s - $ hgstate 174s - 4 d979bb8e0fbb "add epsilon" bookmarks: [b4] 174s - 3 fc2664cac217 "add delta" bookmarks: [b3 master] 174s - 2 d85ced7ae9d6 "add gamma" bookmarks: [] 174s - 1 7bcd915dc873 "add beta" bookmarks: [b1] 174s - 0 3442585be8a6 "add alpha" bookmarks: [] 174s - $ cd .. 174s - $ cd purehglocalrepo 174s - $ hg bookmark -fr 2 b1 174s - $ hg bookmark -r 0 b2 174s - $ hgstate 174s - 3 fc2664cac217 "add delta" bookmarks: [master] 174s - 2 d85ced7ae9d6 "add gamma" bookmarks: [b1] 174s - 1 7bcd915dc873 "add beta" bookmarks: [] 174s - 0 3442585be8a6 "add alpha" bookmarks: [b2] 174s - $ hg incoming -B 174s - comparing with $TESTTMP/hgremoterepo 174s - searching for changed bookmarks 174s - b3 fc2664cac217 174s - b4 d979bb8e0fbb 174s - $ hg outgoing 174s - comparing with $TESTTMP/hgremoterepo 174s - searching for changes 174s - no changes found 174s - [1] 174s -As of 2.3, Mercurial's outgoing -B doesn't actually show changed bookmarks 174s -It only shows "new" bookmarks. Thus, b1 doesn't show up. 174s -This changed in 3.4 to start showing changed and deleted bookmarks again. 174s - $ hg outgoing -B | grep -v -E -w 'b1|b3|b4' 174s - comparing with $TESTTMP/hgremoterepo 174s - searching for changed bookmarks 174s - b2 3442585be8a6 174s - $ cd .. 174s - 174s - $ cd gitremoterepo 174s - $ git branch b3 master 174s - $ git checkout -b b4 master 174s - Switched to a new branch 'b4' 174s - $ echo epsilon > epsilon 174s - $ git add epsilon 174s - $ gitcommit -m 'add epsilon' 174s - $ gitstate 174s - fcfd2c0 "add epsilon" refs: (*b4) (glob) 174s - 55b133e "add delta" refs: (master, b3) 174s - d338971 "add gamma" refs: 174s - 9497a4e "add beta" refs: (b1) 174s - 7eeab2e "add alpha" refs: 174s - $ cd .. 174s - $ cd hggitlocalrepo 174s - $ hg bookmark -fr 2 b1 174s - $ hg bookmark -r 0 b2 174s - $ hgstate 174s - 3 03769a650ded "add delta" bookmarks: [master] 174s - 2 ca33a262eb46 "add gamma" bookmarks: [b1] 174s - 1 7fe02317c63d "add beta" bookmarks: [] 174s - 0 ff7a2f2d8d70 "add alpha" bookmarks: [b2] 174s - $ hg incoming -B 174s - comparing with $TESTTMP/gitremoterepo 174s - searching for changed bookmarks 174s - b3 03769a650ded 174s - b4 fcfd2c0262db 174s - $ hg outgoing 174s - comparing with $TESTTMP/gitremoterepo 174s - searching for changes 174s - no changes found 174s - [1] 174s -As of 2.3, Mercurial's outgoing -B doesn't actually show changed bookmarks 174s -It only shows "new" bookmarks. Thus, b1 doesn't show up. 174s -This changed in 3.4 to start showing changed and deleted bookmarks again. 174s - $ hg outgoing -B 174s - comparing with $TESTTMP/gitremoterepo 174s - searching for changed bookmarks 174s - b1 ca33a262eb46 174s - b2 ff7a2f2d8d70 174s - b3 174s - b4 174s - $ cd .. 174s 174s ERROR: test-bookmark-workflow.t output changed 178s ! 178s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-illegal-contents.t 178s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-illegal-contents.t.err 178s @@ -5,6 +5,7 @@ 178s $ . "$TESTDIR/testutil" 178s 178s $ hg init hg 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s $ cd hg 178s $ mkdir -p .git/hooks 178s $ cat > .git/hooks/post-update < EOF 178s $ fn_touch_escaped foo/git~100/wat bar/.gi\\u200ct/wut this/is/safe 178s $ hg addremove 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s adding .git/hooks/post-update 178s adding bar/.gi\xe2\x80\x8ct/wut (esc) 178s adding foo/git~100/wat 178s adding this/is/safe 178s $ hg ci -m "we should refuse to export this" 178s - $ hg book master 178s - $ hg gexport 178s - warning: skipping invalid path '.git/hooks/post-update' 178s - warning: skipping invalid path 'bar/.gi\xe2\x80\x8ct/wut' 178s - warning: skipping invalid path 'foo/git~100/wat' 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s + $ hg book master 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s + $ hg gexport 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s + hg: unknown command 'gexport' 178s + (did you mean one of export, import?) 178s + [10] 178s $ GIT_DIR=.hg/git git ls-tree -r --name-only master 178s - this/is/safe 178s + fatal: not a git repository: '.hg/git' 178s + [128] 178s $ hg debug-remove-hggit-state 178s - clearing out the git cache data 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s + hg: unknown command 'debug-remove-hggit-state' 178s + (did you mean one of debug-revlog-stats, debugmergestate, debugrebuildstate, debugrevlogstats?) 178s + [10] 178s $ hg gexport --config hggit.invalidpaths=keep 178s - warning: path '.git/hooks/post-update' contains an invalid path component 178s - warning: path 'bar/.gi\xe2\x80\x8ct/wut' contains an invalid path component 178s - warning: path 'foo/git~100/wat' contains an invalid path component 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s + hg: unknown command 'gexport' 178s + (did you mean one of export, import?) 178s + [10] 178s $ GIT_DIR=.hg/git git ls-tree -r --name-only master 178s - .git/hooks/post-update 178s - "bar/.gi\342\200\214t/wut" 178s - foo/git~100/wat 178s - this/is/safe 178s - $ cd .. 178s - 178s - $ rm -rf hg 178s - $ hg init hg 178s + fatal: not a git repository: '.hg/git' 178s + [128] 178s + $ cd .. 178s + 178s + $ rm -rf hg 178s + $ hg init hg 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s $ cd hg 178s $ mkdir -p nested/.git/hooks/ 178s $ cat > nested/.git/hooks/post-update < EOF 178s $ chmod +x nested/.git/hooks/post-update 178s $ hg addremove 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s adding nested/.git/hooks/post-update 178s $ hg ci -m "also refuse to export this" 178s - $ hg book master 178s - $ hg gexport 178s - warning: skipping invalid path 'nested/.git/hooks/post-update' 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s + $ hg book master 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s + $ hg gexport 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s + hg: unknown command 'gexport' 178s + (did you mean one of export, import?) 178s + [10] 178s $ git clone .hg/git git 178s - Cloning into 'git'... 178s - done. 178s + fatal: repository '.hg/git' does not exist 178s + [128] 178s $ rm -rf git 178s 178s We can trigger an error: 178s 178s $ hg -q debug-remove-hggit-state 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s + hg: unknown command 'debug-remove-hggit-state' 178s + (did you mean one of debug-revlog-stats, debugmergestate, debugrebuildstate, debugrevlogstats?) 178s + [10] 178s $ hg --config hggit.invalidpaths=abort gexport 178s - abort: invalid path 'nested/.git/hooks/post-update' rejected by configuration 178s - (see 'hg help config.hggit.invalidpaths for details) 178s - [255] 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s + hg: unknown command 'gexport' 178s + (did you mean one of export, import?) 178s + [10] 178s 178s We can override if needed: 178s 178s $ hg --config hggit.invalidpaths=keep gexport 178s - warning: path 'nested/.git/hooks/post-update' contains an invalid path component 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s + hg: unknown command 'gexport' 178s + (did you mean one of export, import?) 178s + [10] 178s $ cd .. 178s $ # different git versions give different return codes 178s $ git clone hg/.hg/git git || true 178s - Cloning into 'git'... 178s - done. 178s - error: [Ii]nvalid path 'nested/\.git/hooks/post-update' (re) 178s + fatal: repository 'hg/.hg/git' does not exist 178s fatal: unable to checkout working tree (?) 178s warning: Clone succeeded, but checkout failed. (?) 178s You can inspect what was checked out with 'git status' (?) 178s @@ -88,6 +109,7 @@ 178s $ cd .. 178s $ rm -rf hg 178s $ hg init hg 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s $ cd hg 178s $ mkdir -p .GIT/hooks/ 178s $ cat > .GIT/hooks/post-checkout < EOF 178s $ chmod +x .GIT/hooks/post-checkout 178s $ hg addremove 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s adding .GIT/hooks/post-checkout 178s $ hg ci -m "also refuse to export this" 178s - $ hg book master 178s - $ hg gexport 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s + $ hg book master 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s + $ hg gexport 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s + hg: unknown command 'gexport' 178s + (did you mean one of export, import?) 178s + [10] 178s $ cd .. 178s 178s And the NTFS case: 178s $ cd .. 178s $ rm -rf hg 178s $ hg init hg 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s $ cd hg 178s $ mkdir -p GIT~1/hooks/ 178s $ cat > GIT~1/hooks/post-checkout < EOF 178s $ chmod +x GIT~1/hooks/post-checkout 178s $ hg addremove 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s adding GIT~1/hooks/post-checkout 178s $ hg ci -m "also refuse to export this" 178s - $ hg book master 178s - $ hg gexport 178s - warning: skipping invalid path 'GIT~1/hooks/post-checkout' 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s + $ hg book master 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s + $ hg gexport 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s + hg: unknown command 'gexport' 178s + (did you mean one of export, import?) 178s + [10] 178s $ cd .. 178s 178s Now check a Git repository containing a Mercurial repository, which 178s @@ -127,36 +163,29 @@ 178s $ rm -rf hg git nested 178s $ git init -q git 178s $ hg init nested 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s $ mv nested git 178s $ cd git 178s $ git add nested 178s $ fn_git_commit -m 'add a Mercurial repository' 178s $ cd .. 178s $ hg clone --config hggit.invalidpaths=abort git hg 178s - importing 1 git commits 178s - abort: invalid path 'nested/.hg/00changelog.i' rejected by configuration 178s - (see 'hg help config.hggit.invalidpaths for details) 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s + abort: repository git not found 178s [255] 178s $ rm -rf hg 178s $ hg clone --config hggit.invalidpaths=keep git hg 178s - importing 1 git commits 178s - warning: path 'nested/.hg/00changelog.i' contains an invalid path component 178s - warning: path 'nested/.hg/requires' contains an invalid path component 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s + abort: repository git not found 178s warning: path 'nested/.hg/store/requires' contains an invalid path component (?) 178s - new changesets [0-9a-f]{12,12} \(1 drafts\) (re) 178s warning: path 'nested/.hg/store/requires' is within a nested repository, which Mercurial cannot check out. (?) 178s - updating to bookmark master 178s - abort: path 'nested/.hg/00changelog.i' is inside nested repo 'nested' 178s - [10] 178s + [255] 178s $ rm -rf hg 178s $ hg clone git hg 178s - importing 1 git commits 178s - warning: skipping invalid path 'nested/.hg/00changelog.i' 178s - warning: skipping invalid path 'nested/.hg/requires' 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s + abort: repository git not found 178s warning: skipping invalid path 'nested/.hg/store/requires' (?) 178s - new changesets 3ea18a67c0e6 (1 drafts) 178s - updating to bookmark master 178s - 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 178s + [255] 178s $ cd .. 178s 178s Now check a Git repository containing paths with carriage return and 178s @@ -171,23 +200,16 @@ 178s $ fn_git_commit -m 'add files disallowed by mercurial' 178s $ cd .. 178s $ hg clone --config hggit.invalidpaths=abort git hg 178s - importing 1 git commits 178s - abort: invalid path 'Icon\r' rejected by configuration 178s - (see 'hg help config.hggit.invalidpaths for details) 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s + abort: repository git not found 178s [255] 178s $ hg clone --config hggit.invalidpaths=keep git hg 178s - importing 1 git commits 178s - warning: skipping invalid path 'Icon\r' 178s - warning: skipping invalid path 'the\nfile' 178s - new changesets 8354c06a5842 (1 drafts) 178s - updating to bookmark master 178s - 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s + abort: repository git not found 178s + [255] 178s $ rm -rf hg 178s $ hg clone git hg 178s - importing 1 git commits 178s - warning: skipping invalid path 'Icon\r' 178s - warning: skipping invalid path 'the\nfile' 178s - new changesets 8354c06a5842 (1 drafts) 178s - updating to bookmark master 178s - 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 178s - 178s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 178s + abort: repository git not found 178s + [255] 178s + 178s 178s ERROR: test-illegal-contents.t output changed 179s ! 179s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-phases-remote.t 179s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-phases-remote.t.err 179s @@ -26,193 +26,10 @@ 179s $ cd .. 179s 179s $ hg clone --config hggit.usephases=True -U gitrepo hgrepo 179s - importing 4 git commits 179s - new changesets ff7a2f2d8d70:25eed24f5e8f (1 drafts) 179s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 179s + abort: repository gitrepo not found 179s + [255] 179s 179s $ cd hgrepo 179s + $TESTTMP.sh: 48: cd: can't cd to hgrepo 179s $ hg log -G -T '{rev}|{phase}|{bookmarks}|{tags}\n' 179s - o 3|public||thetag tip 179s - | 179s - | o 2|draft|not-master|default/not-master 179s - |/ 179s - | o 1|public|master|default/master 179s - |/ 179s - o 0|public|| 179s - 179s - $ hg phase -r 'all()' | tee $TESTTMP/after-clone 179s - 0: public 179s - 1: public 179s - 2: draft 179s - 3: public 179s - $ cat >> .hg/hgrc < [paths] 179s - > other = $TESTTMP/gitrepo/.git 179s - > other:hg-git.publish = no 179s - > EOF 179s - $ cd .. 179s - 179s -that disables publishing from that remote 179s - 179s - $ cd hgrepo 179s - $ hg phase -fd 'all()' 179s - $ hg pull other 179s - pulling from $TESTTMP/gitrepo/.git 179s - no changes found 179s - $ hg log -qr 'public()' 179s - $ hg pull -v --config hggit.usephases=True other 179s - pulling from $TESTTMP/gitrepo/.git 179s - no changes found 179s - processing commits in batches of 1000 179s - bookmark master is up-to-date 179s - bookmark not-master is up-to-date 179s - $ hg log -qr 'public()' 179s - $ cd .. 179s - 179s -but not default when enable by the global setting 179s - 179s - $ cd hgrepo 179s - $ hg phase -fd 'all()' 179s - no phases changed 179s - $ hg pull -v --config hggit.usephases=True 179s - pulling from $TESTTMP/gitrepo 179s - publishing remote HEAD 179s - publishing tag thetag 179s - no changes found 179s - processing commits in batches of 1000 179s - bookmark master is up-to-date 179s - bookmark not-master is up-to-date 179s - publishing remote HEAD 179s - publishing tag thetag 179s - 3 local changesets published 179s - $ hg phase -r 'all()' > $TESTTMP/after-pull 179s - $ cmp $TESTTMP/after-clone $TESTTMP/after-pull 179s - $ cd .. 179s - 179s -or the path option 179s - 179s - $ cd hgrepo 179s - $ hg phase -fd 'all()' 179s - $ hg pull -v --config paths.default:hg-git.publish=yes 179s - pulling from $TESTTMP/gitrepo 179s - publishing remote HEAD 179s - publishing tag thetag 179s - no changes found 179s - processing commits in batches of 1000 179s - bookmark master is up-to-date 179s - bookmark not-master is up-to-date 179s - publishing remote HEAD 179s - publishing tag thetag 179s - 3 local changesets published 179s - $ hg phase -r 'all()' > $TESTTMP/after-pull 179s - $ cmp $TESTTMP/after-clone $TESTTMP/after-pull 179s - $ cd .. 179s - 179s -but we can specify individual branches 179s - 179s - $ cd hgrepo 179s - $ hg phase -fd 'all()' 179s - $ hg pull -v --config paths.default:hg-git.publish=not-master 179s - pulling from $TESTTMP/gitrepo 179s - publishing branch not-master 179s - no changes found 179s - processing commits in batches of 1000 179s - bookmark master is up-to-date 179s - bookmark not-master is up-to-date 179s - publishing branch not-master 179s - 2 local changesets published 179s - $ hg phase -r master -r not-master -r thetag 179s - 1: draft 179s - 2: public 179s - 3: draft 179s - $ cd .. 179s - 179s -and we can also specify the tag 179s - 179s - $ cd hgrepo 179s - $ hg phase -fd 'all()' 179s - $ hg pull -v --config paths.default:hg-git.publish=thetag 179s - pulling from $TESTTMP/gitrepo 179s - publishing tag thetag 179s - no changes found 179s - processing commits in batches of 1000 179s - bookmark master is up-to-date 179s - bookmark not-master is up-to-date 179s - publishing tag thetag 179s - 2 local changesets published 179s - $ hg phase -r master -r not-master -r thetag 179s - 1: draft 179s - 2: draft 179s - 3: public 179s - $ cd .. 179s - 179s - 179s -Check multiple paths behavior 179s -============================= 179s - 179s - 179s - $ cd hgrepo 179s - $ cat >> .hg/hgrc < [paths] 179s - > multi:multi-urls = yes 179s - > multi = path://other, path://default 179s - > recursive:multi-urls = yes 179s - > recursive = path://multi, default 179s - > EOF 179s - 179s -Using multiple path works fine: 179s - 179s - 179s - $ hg pull multi --config paths.default:hg-git.publish=yes 179s - abort: cannot use `path://multi`, "multi" is also defined as a `path://` 179s - [255] 179s - 179s -Recursive multiple path are tricker, but Mercurial don't work with them either. 179s -This test exist to make sure we bail out on our own. 179s - 179s - 179s -`yes` should abort (until we implement it) 179s - 179s - $ hg pull multi --config paths.default:hg-git.publish=yes 179s - abort: cannot use `path://multi`, "multi" is also defined as a `path://` 179s - [255] 179s - 179s -`some-value` should abort (until we implement it) 179s - 179s - $ hg pull multi --config paths.default:hg-git.publish=thetag 179s - abort: cannot use `path://multi`, "multi" is also defined as a `path://` 179s - [255] 179s - 179s -`no` is fine 179s - 179s - $ hg pull multi --config paths.default:hg-git.publish=no 179s - abort: cannot use `path://multi`, "multi" is also defined as a `path://` 179s - [255] 179s - 179s - $ cd .. 179s - 179s -Check conflicting paths behavior 179s -================================ 179s - 179s - $ cd hgrepo 179s - $ cat > .hg/hgrc < [paths] 179s - > default = $TESTTMP/gitrepo 179s - > default:hg-git.publish = yes 179s - > also-default = $TESTTMP/gitrepo 179s - > EOF 179s - $ hg pull also-default 179s - pulling from $TESTTMP/gitrepo 179s - abort: different publishing configurations for the same remote location 179s - (conflicting paths: also-default, default) 179s - [255] 179s - $ hg pull --config paths.also-default:hg-git.publish=no 179s - pulling from $TESTTMP/gitrepo 179s - abort: different publishing configurations for the same remote location 179s - (conflicting paths: also-default, default) 179s - [255] 179s - $ hg pull --config paths.also-default:hg-git.publish=true 179s - pulling from $TESTTMP/gitrepo 179s - no changes found 179s - 1 local changesets published 179s - $ cd .. 179s - 179s 179s ERROR: test-phases-remote.t output changed 181s ! 181s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-serve-hg-static.t 181s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-serve-hg-static.t.err 181s @@ -6,6 +6,7 @@ 181s $ . "$TESTDIR/testutil" 181s 181s $ hg clone http://localhost:$HGPORT/ copy 181s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 181s abort: * (glob) 181s [100] 181s $ test -d copy 181s @@ -18,14 +19,18 @@ 181s > --logfile server.log 181s $ cat dumb.pid >> $DAEMON_PIDS 181s $ hg init remote 181s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 181s $ cd remote 181s $ echo foo > bar 181s $ echo c2 > '.dotfile with spaces' 181s $ hg add 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s adding .dotfile with spaces 196s adding bar 196s $ hg commit -m"test" 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg tip 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s changeset: 0:02770d679fb8 196s tag: tip 196s user: test 196s @@ -34,6 +39,7 @@ 196s 196s $ cd .. 196s $ hg clone static-http://localhost:$HGPORT/remote local 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s requesting all changes 196s adding changesets 196s adding manifests 196s @@ -44,17 +50,20 @@ 196s 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 196s $ cd local 196s $ hg verify 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s checking changesets 196s checking manifests 196s crosschecking files in changesets and manifests 196s + checking dirstate (?) 196s checking files 196s - checking dirstate (?) 196s + checking dirstate 196s checked 1 changesets with 2 changes to 2 files 196s $ cat bar 196s foo 196s $ cd ../remote 196s $ echo baz > quux 196s $ hg commit -A -mtest2 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s adding quux 196s 196s check for HTTP opener failures when cachefile does not exist 196s @@ -62,6 +71,7 @@ 196s $ rm .hg/cache/* 196s $ cd ../local 196s $ hg pull 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s pulling from static-http://localhost:$HGPORT/remote 196s searching for changes 196s adding changesets 196s @@ -74,10 +84,13 @@ 196s trying to push 196s 196s $ hg update 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 196s $ echo more foo >> bar 196s $ hg commit -m"test" 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg push 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s pushing to static-http://localhost:$HGPORT/remote 196s abort: destination does not support push 196s [255] 196s @@ -86,9 +99,11 @@ 196s 196s $ cd .. 196s $ hg clone -r doesnotexist static-http://localhost:$HGPORT/remote local0 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s abort: unknown revision 'doesnotexist'!? (re) 196s [10] 196s $ hg clone -r 0 static-http://localhost:$HGPORT/remote local0 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s adding changesets 196s adding manifests 196s adding file changes 196s @@ -100,16 +115,23 @@ 196s test with "/" URI (issue747) and subrepo 196s 196s $ hg init 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg init sub 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ touch sub/test 196s $ hg -R sub commit -A -m "test" 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s adding test 196s $ hg -R sub tag not-empty 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ echo sub=sub > .hgsub 196s $ echo a > a 196s $ hg add a .hgsub 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg -q ci -ma 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg clone static-http://localhost:$HGPORT/ local2 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s requesting all changes 196s adding changesets 196s adding manifests 196s @@ -127,58 +149,75 @@ 196s 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 196s $ cd local2 196s $ hg verify 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s checking changesets 196s checking manifests 196s crosschecking files in changesets and manifests 196s + checking dirstate (?) 196s checking files 196s - checking dirstate (?) 196s + checking dirstate 196s checked 1 changesets with 3 changes to 3 files 196s checking subrepo links 196s $ cat a 196s a 196s $ hg paths 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s default = static-http://localhost:$HGPORT/ 196s 196s test with empty repo (issue965) 196s 196s $ cd .. 196s $ hg init remotempty 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg clone static-http://localhost:$HGPORT/remotempty local3 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s no changes found 196s updating to branch default 196s 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 196s $ cd local3 196s $ hg verify 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s checking changesets 196s checking manifests 196s crosschecking files in changesets and manifests 196s + checking dirstate (?) 196s checking files 196s - checking dirstate (?) 196s + checking dirstate 196s checked 0 changesets with 0 changes to 0 files 196s $ hg paths 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s default = static-http://localhost:$HGPORT/remotempty 196s $ cd .. 196s 196s Clone with tags and branches works 196s 196s $ hg init remote-with-names 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ cd remote-with-names 196s $ echo 0 > foo 196s $ hg -q commit -A -m initial 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ echo 1 > foo 196s $ hg commit -m 'commit 1' 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg -q up 0 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg branch mybranch 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s marked working directory as branch mybranch 196s (branches are permanent and global, did you want a bookmark?) 196s $ echo 2 > foo 196s $ hg commit -m 'commit 2 (mybranch)' 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg tag -r 1 'default-tag' 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg tag -r 2 'branch-tag' 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s 196s $ cd .. 196s 196s $ hg clone static-http://localhost:$HGPORT/remote-with-names local-with-names 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s requesting all changes 196s adding changesets 196s adding manifests 196s @@ -191,6 +230,7 @@ 196s Clone a specific branch works 196s 196s $ hg clone -r mybranch static-http://localhost:$HGPORT/remote-with-names local-with-names-branch 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s adding changesets 196s adding manifests 196s adding file changes 196s @@ -202,6 +242,7 @@ 196s Clone a specific tag works 196s 196s $ hg clone -r default-tag static-http://localhost:$HGPORT/remote-with-names local-with-names-tag 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s adding changesets 196s adding manifests 196s adding file changes 196s 196s ERROR: test-serve-hg-static.t output changed 196s ! 196s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-octopus.t 196s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-octopus.t.err 196s @@ -62,111 +62,9 @@ 196s $ git init -q --bare repo.git 196s 196s $ hg clone gitrepo hgrepo 196s - importing 8 git commits 196s - new changesets ff7a2f2d8d70:307506d6ae8a (10 drafts) 196s - updating to bookmark master 196s - 6 files updated, 0 files merged, 0 files removed, 0 files unresolved 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + abort: repository gitrepo not found 196s + [255] 196s $ cd hgrepo 196s + $TESTTMP.sh: 64: cd: can't cd to hgrepo 196s $ hg log --graph --style compact | sed 's/\[.*\]//g' 196s - @ 9:7,8 307506d6ae8a 2007-01-01 00:00 +0000 test 196s - |\ Merge branches 'branch3' and 'branch4' 196s - | | 196s - | o 8:3,4 2b07220e422e 2007-01-01 00:00 +0000 test 196s - | |\ Merge branches 'branch3' and 'branch4' 196s - | | | 196s - o | | 7:5,6 ccf2d65d982c 2007-01-01 00:00 +0000 test 196s - |\ \ \ Merge branches 'branch1' and 'branch2' 196s - | | | | 196s - | o | | 6:1,2 690b40256117 2007-01-01 00:00 +0000 test 196s - | |\ \ \ Merge branches 'branch1' and 'branch2' 196s - | | | | | 196s - o | | | | 5:0 e459c0629ca4 2007-01-01 00:00 +0000 test 196s - | | | | | add delta 196s - | | | | | 196s - +-------o 4:0 e857c9a04474 2007-01-01 00:00 +0000 test 196s - | | | | add zeta 196s - | | | | 196s - +-----o 3:0 0071dec0de0e 2007-01-01 00:00 +0000 test 196s - | | | add epsilon 196s - | | | 196s - +---o 2:0 205a004356ef 2007-01-01 00:00 +0000 test 196s - | | add gamma 196s - | | 196s - | o 1 7fe02317c63d 2007-01-01 00:00 +0000 test 196s - |/ add beta 196s - | 196s - o 0 ff7a2f2d8d70 2007-01-01 00:00 +0000 test 196s - add alpha 196s - 196s - $ hg gverify -r 9 196s - verifying rev 307506d6ae8a against git commit b32ff845df61df998206b630e4370a44f9b36845 196s - $ hg gverify -r 8 196s - abort: no git commit found for rev 2b07220e422e 196s - (if this is an octopus merge, verify against the last rev) 196s - [255] 196s - 196s - $ hg debug-remove-hggit-state 196s - clearing out the git cache data 196s - $ hg push ../repo.git 196s - pushing to ../repo.git 196s - searching for changes 196s - adding objects 196s - remote: found 0 deltas to reuse 196s - added 8 commits with 8 trees and 6 blobs 196s - adding reference refs/heads/branch1 196s - adding reference refs/heads/branch2 196s - adding reference refs/heads/branch3 196s - adding reference refs/heads/branch4 196s - adding reference refs/heads/master 196s - $ cd .. 196s - 196s - $ git --git-dir=repo.git log --pretty=medium | sed s/\\.\\.\\.//g 196s - commit b32ff845df61df998206b630e4370a44f9b36845 196s - Merge: 9ac68f9 7e9cd9f e695849 196s - Author: test 196s - Date: Mon Jan 1 00:00:15 2007 +0000 196s - 196s - Merge branches 'branch3' and 'branch4' 196s - 196s - commit 9ac68f982ae7426d9597ff16c74afb4e6053c582 196s - Merge: d40f375 9497a4e e5023f9 196s - Author: test 196s - Date: Mon Jan 1 00:00:15 2007 +0000 196s - 196s - Merge branches 'branch1' and 'branch2' 196s - 196s - commit d40f375a81b7d033e92cbad89487115fe2dd472f 196s - Author: test 196s - Date: Mon Jan 1 00:00:15 2007 +0000 196s - 196s - add delta 196s - 196s - commit e695849087f6c320c1a447620492b29a82ca41b1 196s - Author: test 196s - Date: Mon Jan 1 00:00:14 2007 +0000 196s - 196s - add zeta 196s - 196s - commit 7e9cd9f90b6d2c60579375eb796ce706d2d8bbe6 196s - Author: test 196s - Date: Mon Jan 1 00:00:13 2007 +0000 196s - 196s - add epsilon 196s - 196s - commit e5023f9e5cb24fdcec7b6c127cec45d8888e35a9 196s - Author: test 196s - Date: Mon Jan 1 00:00:12 2007 +0000 196s - 196s - add gamma 196s - 196s - commit 9497a4ee62e16ee641860d7677cdb2589ea15554 196s - Author: test 196s - Date: Mon Jan 1 00:00:11 2007 +0000 196s - 196s - add beta 196s - 196s - commit 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 196s - Author: test 196s - Date: Mon Jan 1 00:00:10 2007 +0000 196s - 196s - add alpha 196s 196s ERROR: test-octopus.t output changed 196s ! 196s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-hook.t 196s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-hook.t.err 196s @@ -10,6 +10,7 @@ 196s > fn_${1}_commit -m $2 196s > } 196s $ hg init hgrepo 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ cd hgrepo 196s $ cat > .hg/hgrc < [hooks] 196s @@ -22,7 +23,10 @@ 196s > incoming = python:testlib.hooks.showargs 196s > EOF 196s $ fn_commit hg a 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg book master 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s 196s $ git init -q --bare ../repo.git 196s $ cat >> .hg/hgrc < master 196s + * [new branch] master -> master 196s $ cd ../hgrepo 196s 196s Hooks on pull? 196s 196s $ hg pull -u 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s pulling from $TESTTMP/repo.git 196s - | gitimport.source=pull 196s - | gitimport.git=True 196s - | gitimport.names=[b'default'] 196s - | gitimport.refs={b'HEAD': b'1dab31e7bc9691ba42a2fe7b14680694770bc527', b'refs/heads/master': b'1dab31e7bc9691ba42a2fe7b14680694770bc527'} 196s - | gitimport.heads=None 196s - importing 2 git commits 196s - : pretxncommit 196s - | incoming.git=True 196s - | incoming.source=pull 196s - | incoming.node=382ad5fa1d7727210384d40fa1539af52ca632c5 196s - | incoming.git_node=92150d1529ccaea34a6b36fe4144993193080499 196s - : pretxncommit 196s - | incoming.git=True 196s - | incoming.source=pull 196s - | incoming.node=892115eea5c32152e09ae4013c9a119d7b534049 196s - | incoming.git_node=1dab31e7bc9691ba42a2fe7b14680694770bc527 196s - updating bookmark master 196s - | changegroup.source=push 196s - | changegroup.git=True 196s - | changegroup.node=382ad5fa1d7727210384d40fa1539af52ca632c5 196s - | changegroup.node_last=892115eea5c32152e09ae4013c9a119d7b534049 196s - new changesets 382ad5fa1d77:892115eea5c3 (2 drafts) 196s - updating to active bookmark master 196s - 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 196s + abort: repository $TESTTMP/repo.git not found 196s + [255] 196s 196s Hooks on push? 196s 196s $ fn_commit hg d 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ fn_commit hg e 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg push 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s pushing to $TESTTMP/repo.git 196s - | preoutgoing.git=True 196s - | preoutgoing.source=push 196s - | preoutgoing.url=$TESTTMP/repo.git 196s - | gitexport.nodes=[b'cc6164a17449d58d7811ff3918f33f89c2c83fa5', b'46737f6a4c9d8307b681cbb2e9e2e5419cc87f82'] 196s - | gitexport.git=True 196s - searching for changes 196s - | prechangegroup.source=push 196s - | prechangegroup.git=True 196s - | prechangegroup.url=$TESTTMP/repo.git 196s - adding objects 196s - remote: found 0 deltas to reuse 196s - added 2 commits with 2 trees and 2 blobs 196s - updating reference refs/heads/master 196s + abort: repository $TESTTMP/repo.git not found 196s + [255] 196s 196s 196s And what does Mercurial do? 196s @@ -124,7 +87,9 @@ 196s On push: 196s 196s $ hg init ../hgrepo-copy 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg push ../hgrepo-copy 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s pushing to ../hgrepo-copy 196s searching for changes 196s | preoutgoing.source=push 196s @@ -133,19 +98,29 @@ 196s adding changesets 196s adding manifests 196s adding file changes 196s - added 5 changesets with 5 changes to 5 files 196s + added 3 changesets with 3 changes to 3 files 196s 196s With more than one head: 196s 196s $ rm -r ../hgrepo-copy 196s $ hg init ../hgrepo-copy 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg book -i 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg branch -q abranch 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ fn_commit hg x 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg up -q default 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg branch -q alsoabranch 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ fn_commit hg y 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg push ../hgrepo-copy 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s pushing to ../hgrepo-copy 196s searching for changes 196s | preoutgoing.source=push 196s @@ -154,13 +129,15 @@ 196s adding changesets 196s adding manifests 196s adding file changes 196s - added 7 changesets with 7 changes to 7 files (+1 heads) 196s + added 5 changesets with 5 changes to 5 files (+1 heads) 196s 196s On pull: 196s 196s $ hg debugstrip --no-backup tip 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s 0 files updated, 0 files merged, 1 files removed, 0 files unresolved 196s $ hg pull ../hgrepo-copy 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s pulling from ../hgrepo-copy 196s searching for changes 196s | prechangegroup.txnname=pull 196s @@ -171,16 +148,16 @@ 196s adding manifests 196s adding file changes 196s added 1 changesets with 1 changes to 1 files (+1 heads) 196s - new changesets d4097d98a390 196s + new changesets 11a693974ec5 196s | changegroup.txnname=pull 196s file://$TESTTMP/hgrepo-copy 196s | changegroup.source=pull 196s | changegroup.url=file:$TESTTMP/hgrepo-copy 196s - | changegroup.node=d4097d98a3905be88e8a566039b1fdcca06e0d2e 196s - | changegroup.node_last=d4097d98a3905be88e8a566039b1fdcca06e0d2e 196s + | changegroup.node=11a693974ec530e32672629628dde90793335199 196s + | changegroup.node_last=11a693974ec530e32672629628dde90793335199 196s | incoming.txnname=pull 196s file://$TESTTMP/hgrepo-copy 196s | incoming.source=pull 196s | incoming.url=file:$TESTTMP/hgrepo-copy 196s - | incoming.node=d4097d98a3905be88e8a566039b1fdcca06e0d2e 196s + | incoming.node=11a693974ec530e32672629628dde90793335199 196s (run 'hg heads' to see heads) 196s 196s ERROR: test-hook.t output changed 196s ! 196s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-transactions.t 196s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-transactions.t.err 196s @@ -42,19 +42,29 @@ 196s 196s $ hg clone gitrepo hgrepo --config hggit.mapsavefrequency=10 --debug \ 196s > | grep -c saving 196s - 1 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "breakage" from /tmp/autopkgtest.TC6niP/build.0en/src/tests/testlib/ext-break-git-import.py: b'hggit' 196s + abort: repository gitrepo not found 196s + 0 196s + [1] 196s $ rm -rf hgrepo 196s 196s pull with mapsavefreq set 196s 196s $ hg init hgrepo 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "breakage" from /tmp/autopkgtest.TC6niP/build.0en/src/tests/testlib/ext-break-git-import.py: b'hggit' 196s $ cat >> hgrepo/.hg/hgrc < [paths] 196s > default = $TESTTMP/gitrepo 196s > EOF 196s $ hg -R hgrepo --config hggit.mapsavefrequency=10 pull --debug \ 196s > | grep -c saving 196s - 10 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "breakage" from /tmp/autopkgtest.TC6niP/build.0en/src/tests/testlib/ext-break-git-import.py: b'hggit' 196s + abort: repository $TESTTMP/gitrepo not found 196s + 0 196s + [1] 196s $ rm -rf hgrepo 196s 196s The user experience 196s @@ -66,6 +76,8 @@ 196s First, create a repository, set up to pull from git, and where we can interrupt the conversion. 196s 196s $ hg init hgrepo 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "breakage" from /tmp/autopkgtest.TC6niP/build.0en/src/tests/testlib/ext-break-git-import.py: b'hggit' 196s $ cat >> hgrepo/.hg/hgrc < [paths] 196s > default = $TESTTMP/gitrepo 196s @@ -75,39 +87,45 @@ 196s A low save interval causes a lot of reports: 196s 196s $ hg --config hggit.mapsavefrequency=25 pull 196s - pulling from $TESTTMP/gitrepo 196s - importing 100 git commits 196s - new changesets 1c8407413fa3:abc468b9e51b (25 drafts) 196s - new changesets 217c308baf47:d5d14eeedd08 (25 drafts) 196s - new changesets d9807ef6abcb:4678067bd500 (25 drafts) 196s - adding bookmark master 196s - new changesets c31a154888bb:eda59117ba04 (25 drafts) 196s - (run 'hg update' to get a working copy) 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "breakage" from /tmp/autopkgtest.TC6niP/build.0en/src/tests/testlib/ext-break-git-import.py: b'hggit' 196s + pulling from $TESTTMP/gitrepo 196s + abort: repository $TESTTMP/gitrepo not found 196s + [255] 196s 196s Reset the repository 196s 196s $ hg debugstrip --no-backup 'all()' 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "breakage" from /tmp/autopkgtest.TC6niP/build.0en/src/tests/testlib/ext-break-git-import.py: b'hggit' 196s $ hg debug-remove-hggit-state 196s - clearing out the git cache data 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "breakage" from /tmp/autopkgtest.TC6niP/build.0en/src/tests/testlib/ext-break-git-import.py: b'hggit' 196s + hg: unknown command 'debug-remove-hggit-state' 196s + (did you mean one of debug-revlog-stats, debugmergestate, debugrebuildstate, debugrevlogstats?) 196s + [10] 196s 196s And with phases? No mention of draft changesets, as we publish changes 196s during the conversion: 196s 196s $ hg --config hggit.mapsavefrequency=25 --config hggit.usephases=yes pull 196s - pulling from $TESTTMP/gitrepo 196s - importing 100 git commits 196s - new changesets 1c8407413fa3:abc468b9e51b 196s - new changesets 217c308baf47:d5d14eeedd08 196s - new changesets d9807ef6abcb:4678067bd500 196s - updating bookmark master 196s - new changesets c31a154888bb:eda59117ba04 196s - (run 'hg update' to get a working copy) 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "breakage" from /tmp/autopkgtest.TC6niP/build.0en/src/tests/testlib/ext-break-git-import.py: b'hggit' 196s + pulling from $TESTTMP/gitrepo 196s + abort: repository $TESTTMP/gitrepo not found 196s + [255] 196s 196s Reset the repository 196s 196s $ hg debugstrip --no-backup 'all()' 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "breakage" from /tmp/autopkgtest.TC6niP/build.0en/src/tests/testlib/ext-break-git-import.py: b'hggit' 196s $ hg debug-remove-hggit-state 196s - clearing out the git cache data 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "breakage" from /tmp/autopkgtest.TC6niP/build.0en/src/tests/testlib/ext-break-git-import.py: b'hggit' 196s + hg: unknown command 'debug-remove-hggit-state' 196s + (did you mean one of debug-revlog-stats, debugmergestate, debugrebuildstate, debugrevlogstats?) 196s + [10] 196s 196s Interruptions 196s ------------- 196s @@ -121,54 +139,51 @@ 196s Test an error in a pull: 196s 196s $ ABORT_AFTER=99 hg pull 196s - pulling from $TESTTMP/gitrepo 196s - importing 100 git commits 196s - transaction abort! 196s - rollback completed 196s - abort: aborted after 99 commits! 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "breakage" from /tmp/autopkgtest.TC6niP/build.0en/src/tests/testlib/ext-break-git-import.py: b'hggit' 196s + pulling from $TESTTMP/gitrepo 196s + abort: repository $TESTTMP/gitrepo not found 196s [255] 196s $ hg log -l 10 -T '{rev} {gitnode}\n' 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "breakage" from /tmp/autopkgtest.TC6niP/build.0en/src/tests/testlib/ext-break-git-import.py: b'hggit' 196s 196s Test the user exiting in the first transaction: 196s 196s $ EXIT_AFTER=5 hg --config hggit.mapsavefrequency=10 pull 196s - pulling from $TESTTMP/gitrepo 196s - importing 100 git commits 196s - transaction abort! 196s - rollback completed 196s - interrupted! 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "breakage" from /tmp/autopkgtest.TC6niP/build.0en/src/tests/testlib/ext-break-git-import.py: b'hggit' 196s + pulling from $TESTTMP/gitrepo 196s + abort: repository $TESTTMP/gitrepo not found 196s [255] 196s $ hg log -l 10 -T '{rev} {gitnode}\n' 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "breakage" from /tmp/autopkgtest.TC6niP/build.0en/src/tests/testlib/ext-break-git-import.py: b'hggit' 196s 196s Check that we have no state, but clear it just in case 196s 196s $ ls -d .hg/git* 196s - .hg/git 196s + ls: cannot access '.hg/git*': No such file or directory 196s + [2] 196s $ hg debug-remove-hggit-state 196s - clearing out the git cache data 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "breakage" from /tmp/autopkgtest.TC6niP/build.0en/src/tests/testlib/ext-break-git-import.py: b'hggit' 196s + hg: unknown command 'debug-remove-hggit-state' 196s + (did you mean one of debug-revlog-stats, debugmergestate, debugrebuildstate, debugrevlogstats?) 196s + [10] 196s 196s Test the user exiting in the middle of a conversion, after the first 196s transaction: 196s 196s $ EXIT_AFTER=15 hg --config hggit.mapsavefrequency=10 pull 196s - pulling from $TESTTMP/gitrepo 196s - importing 100 git commits 196s - new changesets 1c8407413fa3:7c8c534a5fbe (10 drafts) 196s - transaction abort! 196s - rollback completed 196s - interrupted! 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "breakage" from /tmp/autopkgtest.TC6niP/build.0en/src/tests/testlib/ext-break-git-import.py: b'hggit' 196s + pulling from $TESTTMP/gitrepo 196s + abort: repository $TESTTMP/gitrepo not found 196s [255] 196s $ hg log -l 10 -T '{rev} {gitnode}\n' 196s - 9 7cbb16ec981b308e1e2b181f8e1f22c8f409f44e 196s - 8 42da70ed92bbecf9f348ba59c93646be723d0bf2 196s - 7 17e841146e5744b81af9959634d82c20a5d7df52 196s - 6 c31065bf97bf014815e37cdfbdef2c32c687f314 196s - 5 fcf21b8e0520ec1cced1d7593d13f9ee54721269 196s - 4 46acd02d0352e4b92bd6a099bb0490305d847a18 196s - 3 61eeda444b37b8aa3892d5f04c66c5441d21dd66 196s - 2 e55db11bb0472791c7af3fc636772174cdea4a36 196s - 1 17a2672b3c24c02d568f99d8d55ccae2bf362d5c 196s - 0 4e195b4c6e77604b70a8ad3b01306adbb9b1c7e7 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "breakage" from /tmp/autopkgtest.TC6niP/build.0en/src/tests/testlib/ext-break-git-import.py: b'hggit' 196s $ cd .. 196s $ rm -rf hgrepo 196s 196s @@ -183,12 +198,10 @@ 196s > hg --config hggit.mapsavefrequency=10 --config git.intree=yes \ 196s > --cwd hgrepo \ 196s > clone -U $TESTTMP/gitrepo . 196s - importing 100 git commits 196s - transaction abort! 196s - rollback completed 196s - interrupted! 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "breakage" from /tmp/autopkgtest.TC6niP/build.0en/src/tests/testlib/ext-break-git-import.py: b'hggit' 196s + abort: repository $TESTTMP/gitrepo not found 196s [255] 196s the leftover below appeared in Mercurial 5.9+; it is unintentional 196s $ ls -A hgrepo 196s - .git 196s - $ rm -rf hgrepo 196s + $ rm -rf hgrepo 196s 196s ERROR: test-transactions.t output changed 196s ! 196s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-outgoing.t 196s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-outgoing.t.err 196s @@ -14,166 +14,10 @@ 196s 196s $ cd .. 196s $ hg clone gitrepo hgrepo 196s - importing 1 git commits 196s - new changesets ff7a2f2d8d70 (1 drafts) 196s - updating to bookmark master 196s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + abort: repository gitrepo not found 196s + [255] 196s 196s $ cd hgrepo 196s + $TESTTMP.sh: 22: cd: can't cd to hgrepo 196s $ hg book 196s - alpha 0:ff7a2f2d8d70 196s - * master 0:ff7a2f2d8d70 196s - $ hg update -q master 196s - $ echo beta > beta 196s - $ hg add beta 196s - $ fn_hg_commit -m 'add beta' 196s - 196s - 196s - $ echo gamma > gamma 196s - $ hg add gamma 196s - $ fn_hg_commit -m 'add gamma' 196s - 196s - $ hg book -r 1 beta 196s - 196s - $ hg outgoing | grep -v 'searching for changes' 196s - comparing with $TESTTMP/gitrepo 196s - changeset: 1:47580592d3d6 196s - bookmark: beta 196s - user: test 196s - date: Mon Jan 01 00:00:11 2007 +0000 196s - summary: add beta 196s - 196s - changeset: 2:953796e1cfd8 196s - bookmark: master 196s - tag: tip 196s - user: test 196s - date: Mon Jan 01 00:00:12 2007 +0000 196s - summary: add gamma 196s - 196s - $ hg outgoing -r beta 196s - comparing with $TESTTMP/gitrepo 196s - searching for changes 196s - changeset: 1:47580592d3d6 196s - bookmark: beta 196s - user: test 196s - date: Mon Jan 01 00:00:11 2007 +0000 196s - summary: add beta 196s - 196s - $ hg outgoing -r master 196s - comparing with $TESTTMP/gitrepo 196s - searching for changes 196s - changeset: 1:47580592d3d6 196s - bookmark: beta 196s - user: test 196s - date: Mon Jan 01 00:00:11 2007 +0000 196s - summary: add beta 196s - 196s - changeset: 2:953796e1cfd8 196s - bookmark: master 196s - tag: tip 196s - user: test 196s - date: Mon Jan 01 00:00:12 2007 +0000 196s - summary: add gamma 196s - 196s - 196s - $ cd .. 196s - 196s -some more work on master from git 196s - $ cd gitrepo 196s - 196s -Check state of refs after outgoing 196s - $ git show-ref 196s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 refs/heads/alpha 196s - 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 refs/heads/master 196s - 196s - $ git checkout master 2>&1 | sed s/\'/\"/g 196s - Already on "master" 196s - $ echo delta > delta 196s - $ git add delta 196s - $ fn_git_commit -m "add delta" 196s - 196s - $ cd .. 196s - 196s - $ cd hgrepo 196s -this will fail # maybe we should try to make it work 196s - $ hg outgoing 196s - comparing with $TESTTMP/gitrepo 196s - abort: branch 'refs/heads/master' changed on the server, please pull and merge before pushing 196s - [255] 196s -let's pull and try again 196s - $ hg pull 196s - pulling from */gitrepo (glob) 196s - importing 1 git commits 196s - not updating diverged bookmark master 196s - new changesets 25eed24f5e8f (1 drafts) 196s - (run 'hg heads' to see heads, 'hg merge' to merge) 196s - $ hg log --graph 196s - o changeset: 3:25eed24f5e8f 196s - | tag: default/master 196s - | tag: tip 196s - | parent: 0:ff7a2f2d8d70 196s - | user: test 196s - | date: Mon Jan 01 00:00:13 2007 +0000 196s - | summary: add delta 196s - | 196s - | @ changeset: 2:953796e1cfd8 196s - | | bookmark: master 196s - | | user: test 196s - | | date: Mon Jan 01 00:00:12 2007 +0000 196s - | | summary: add gamma 196s - | | 196s - | o changeset: 1:47580592d3d6 196s - |/ bookmark: beta 196s - | user: test 196s - | date: Mon Jan 01 00:00:11 2007 +0000 196s - | summary: add beta 196s - | 196s - o changeset: 0:ff7a2f2d8d70 196s - bookmark: alpha 196s - tag: default/alpha 196s - user: test 196s - date: Mon Jan 01 00:00:10 2007 +0000 196s - summary: add alpha 196s - 196s - $ hg outgoing 196s - comparing with $TESTTMP/gitrepo 196s - searching for changes 196s - changeset: 1:47580592d3d6 196s - bookmark: beta 196s - user: test 196s - date: Mon Jan 01 00:00:11 2007 +0000 196s - summary: add beta 196s - 196s - changeset: 2:953796e1cfd8 196s - bookmark: master 196s - user: test 196s - date: Mon Jan 01 00:00:12 2007 +0000 196s - summary: add gamma 196s - 196s - $ hg outgoing -r beta 196s - comparing with $TESTTMP/gitrepo 196s - searching for changes 196s - changeset: 1:47580592d3d6 196s - bookmark: beta 196s - user: test 196s - date: Mon Jan 01 00:00:11 2007 +0000 196s - summary: add beta 196s - 196s - $ hg outgoing -r master 196s - comparing with $TESTTMP/gitrepo 196s - searching for changes 196s - changeset: 1:47580592d3d6 196s - bookmark: beta 196s - user: test 196s - date: Mon Jan 01 00:00:11 2007 +0000 196s - summary: add beta 196s - 196s - changeset: 2:953796e1cfd8 196s - bookmark: master 196s - user: test 196s - date: Mon Jan 01 00:00:12 2007 +0000 196s - summary: add gamma 196s - 196s - 196s - 196s - $ cd .. 196s 196s ERROR: test-outgoing.t output changed 196s ! 196s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-gc.t 196s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-gc.t.err 196s @@ -25,188 +25,9 @@ 196s > done 196s $ cd .. 196s $ hg clone -U gitrepo hgrepo 196s - importing 100 git commits 196s - new changesets 1c8407413fa3:eda59117ba04 (100 drafts) 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + abort: repository gitrepo not found 196s + [255] 196s $ cd hgrepo 196s + $TESTTMP.sh: 24: cd: can't cd to hgrepo 196s $ hg debug-remove-hggit-state 196s - clearing out the git cache data 196s - 196s ------------ 196s - 196s -Test garbage collection of loose objects into packs. We first test 196s -this with two threads, which is closest to the expected usage 196s -scenario, as almost all computers have at least two cores these days. 196s -The main downside is that this makes the output order unreliable, so 196s -we just sort it. 196s - 196s - $ hg gexport --config hggit.mapsavefrequency=33 --config hggit.threads=2 --debug | grep pack | sort 196s - packed 3 loose objects! 196s - packed 75 loose objects! 196s - packed 78 loose objects! 196s - packed 86 loose objects! 196s - packing 3 loose objects... 196s - packing 75 loose objects... 196s - packing 78 loose objects... 196s - packing 86 loose objects... 196s - $ hg debug-remove-hggit-state 196s - clearing out the git cache data 196s - 196s -Test the actual order of operations -- this uses a single thread, 196s -which means that the packing happens synchronously in the main thread, 196s -giving us a reliable output order. 196s - 196s -In addition, the transaction size is set up such that we happen to do 196s -nothing in the final, synchronous packing that happens on every pull. 196s -Lots of other tests have a map save frequency higher than the total 196s -amount of commits pulled, but let's just trigger that other odd 196s -occurence here. 196s - 196s - $ hg gexport --debug \ 196s - > --config hggit.mapsavefrequency=10 --config hggit.threads=1 | \ 196s - > sed 's/^converting revision.*/./' 196s - finding unexported changesets 196s - exporting 100 changesets 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - saving git map to $TESTTMP/hgrepo/.hg/git-mapfile 196s - packing 30 loose objects... 196s - packed 30 loose objects! 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - saving git map to $TESTTMP/hgrepo/.hg/git-mapfile 196s - packing 25 loose objects... 196s - packed 25 loose objects! 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - saving git map to $TESTTMP/hgrepo/.hg/git-mapfile 196s - packing 25 loose objects... 196s - packed 25 loose objects! 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - saving git map to $TESTTMP/hgrepo/.hg/git-mapfile 196s - packing 24 loose objects... 196s - packed 24 loose objects! 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - saving git map to $TESTTMP/hgrepo/.hg/git-mapfile 196s - packing 24 loose objects... 196s - packed 24 loose objects! 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - saving git map to $TESTTMP/hgrepo/.hg/git-mapfile 196s - packing 24 loose objects... 196s - packed 24 loose objects! 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - saving git map to $TESTTMP/hgrepo/.hg/git-mapfile 196s - packing 24 loose objects... 196s - packed 24 loose objects! 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - saving git map to $TESTTMP/hgrepo/.hg/git-mapfile 196s - packing 23 loose objects... 196s - packed 23 loose objects! 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - saving git map to $TESTTMP/hgrepo/.hg/git-mapfile 196s - packing 22 loose objects... 196s - packed 22 loose objects! 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - . 196s - saving git map to $TESTTMP/hgrepo/.hg/git-mapfile 196s - packing 21 loose objects... 196s - packed 21 loose objects! 196s - packing 0 loose objects... 196s - packed 0 loose objects! 196s - saving git map to $TESTTMP/hgrepo/.hg/git-mapfile 196s - $ find .hg/git/objects -type f | grep -Fv .idx | sort 196s - .hg/git/objects/pack/pack-33903607b479000b976a29a349fe0f4dffb0aaac.pack 196s - .hg/git/objects/pack/pack-40d9440e392d9eab62fa38a2ed66cc763d77aca3.pack 196s - .hg/git/objects/pack/pack-4ab2dac268f94e407788d52d6ba087b626c41651.pack 196s - .hg/git/objects/pack/pack-543e3b37bd36218a4dc6611a96d7c218afb78429.pack 196s - .hg/git/objects/pack/pack-5fc80292253ee10d1b86b5c4d9c51b29d2b4ba47.pack 196s - .hg/git/objects/pack/pack-9c636f5f16302fc5fadf0cc4ed42aeb67fc51f6a.pack 196s - .hg/git/objects/pack/pack-ae74b1f0197dfb45cfb13889453860a40103969a.pack 196s - .hg/git/objects/pack/pack-b432e2f477cb765fc0aeaa850d56e04b10392e6c.pack 196s - .hg/git/objects/pack/pack-cf7023660ce10ede2896d1be117f6ba93a261ff9.pack 196s - .hg/git/objects/pack/pack-e601b2af6a91a9cf6817d71f4eb660d2218d4094.pack 196s 196s ERROR: test-gc.t output changed 196s ! 196s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-phases-public.t 196s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-phases-public.t#publish-defaults.err 196s @@ -24,149 +24,10 @@ 196s 196s cloning with hggit.usephases publishes cloned HEAD 196s $ hg --config hggit.usephases=True clone -U gitrepo hgrepo 196s - importing 1 git commits 196s - new changesets ff7a2f2d8d70 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + abort: repository gitrepo not found 196s + [255] 196s 196s $ cd hgrepo 196s + $TESTTMP.sh: 22: cd: can't cd to hgrepo 196s $ hg phase -r master 196s - 0: public 196s - $ cd .. 196s - 196s -pulled changesets are public 196s - $ cd gitrepo 196s - $ git checkout -q master 196s - $ echo beta > beta 196s - $ git add beta 196s - $ fn_git_commit -m 'add beta' 196s - $ git checkout -b not-master 196s - Switched to a new branch 'not-master' 196s - $ echo gamma > gamma 196s - $ git add gamma 196s - $ fn_git_commit -m 'add gamma' 196s - $ git tag thetag 196s - $ echo delta > delta 196s - $ git add delta 196s - $ fn_git_commit -m 'add delta' 196s - $ git checkout master 196s - Switched to branch 'master' 196s - $ cd .. 196s - 196s - $ cd hgrepo 196s - $ cat >>$HGRCPATH < [paths] 196s - > other = $TESTTMP/gitrepo/.git 196s - > [hggit] 196s - > usephases = True 196s - > EOF 196s - 196s - $ hg phase -fd 'all()' 196s - 196s -we can restrict publishing to the remote HEAD and that tag, which 196s -happens to be the same thing here 196s - 196s -#if publish-specific 196s - $ cat >>$HGRCPATH < [git] 196s - > public = default/master, thetag 196s - > EOF 196s -#endif 196s - 196s -pulling publishes the branch 196s - 196s - $ hg phase -r master 196s - 0: draft 196s -#if publish-defaults 196s - $ hg pull -r master other 196s - pulling from $TESTTMP/gitrepo/.git 196s - importing 1 git commits 196s - updating bookmark master 196s - new changesets 7fe02317c63d 196s - 1 local changesets published 196s - (run 'hg update' to get a working copy) 196s -#else 196s - $ hg pull -r master other 196s - pulling from $TESTTMP/gitrepo/.git 196s - importing 1 git commits 196s - updating bookmark master 196s - new changesets 7fe02317c63d (1 drafts) 196s - (run 'hg update' to get a working copy) 196s -#endif 196s - $ hg phase -r master 196s - 1: draft (publish-specific !) 196s - 1: public (publish-defaults !) 196s -#if publish-defaults 196s - $ hg phase -fd master 196s - $ hg pull 196s - pulling from $TESTTMP/gitrepo 196s - importing 2 git commits 196s - adding bookmark not-master 196s - new changesets ca33a262eb46:03769a650ded (1 drafts) 196s - 1 local changesets published 196s - (run 'hg update' to get a working copy) 196s -#else 196s - $ hg pull 196s - pulling from $TESTTMP/gitrepo 196s - importing 2 git commits 196s - adding bookmark not-master 196s - new changesets ca33a262eb46:03769a650ded (1 drafts) 196s - 2 local changesets published 196s - (run 'hg update' to get a working copy) 196s -#endif 196s - $ hg phase -r master -r not-master -r thetag 196s - 1: public 196s - 3: draft 196s - 2: public 196s - 196s -public bookmark not pushed is not published after pull 196s - 196s - $ hg update 0 196s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 196s - $ echo delta > delta 196s - $ hg bookmark not-pushed 196s - $ hg add delta 196s - $ hg commit -m 'add delta' 196s - created new head 196s - $ hg phase -r 'all()' > $TESTTMP/before 196s - $ hg pull --config git.public=master,not-pushed 196s - pulling from $TESTTMP/gitrepo 196s - no changes found 196s - $ hg phase -r 'all()' > $TESTTMP/after 196s - $ cmp -s $TESTTMP/before $TESTTMP/after 196s - $ hg phase -r not-pushed 196s - 4: draft 196s - $ rm $TESTTMP/before $TESTTMP/after 196s - 196s -pushing public bookmark publishes local changesets, but only those 196s -actually pushed 196s - 196s - $ hg update master 196s - 1 files updated, 0 files merged, 1 files removed, 0 files unresolved 196s - (activating bookmark master) 196s - $ echo epsilon > epsilon 196s - $ hg add epsilon 196s - $ hg commit -m 'add epsilon' 196s - created new head 196s - $ hg phase -r 'all() - master' > $TESTTMP/before 196s - $ hg push -B not-pushed 196s - pushing to $TESTTMP/gitrepo 196s - searching for changes 196s - adding objects 196s - remote: found 0 deltas to reuse 196s - added 1 commits with 1 trees and 1 blobs 196s - adding reference refs/heads/not-pushed 196s - $ hg phase -r 'all() - master' > $TESTTMP/after 196s - $ diff $TESTTMP/before $TESTTMP/after | tr '<>' '-+' 196s - $ hg phase -r not-pushed -r master 196s - 4: draft 196s - 5: draft 196s - $ hg push -B master 196s - pushing to $TESTTMP/gitrepo 196s - searching for changes 196s - adding objects 196s - remote: found 0 deltas to reuse 196s - added 1 commits with 1 trees and 1 blobs 196s - updating reference refs/heads/master 196s - $ hg phase -r 'all() - master' > $TESTTMP/after 196s - $ diff $TESTTMP/before $TESTTMP/after | tr '<>' '-+' 196s - $ hg phase -r master 196s - 5: public 196s 196s ERROR: test-phases-public.t#publish-defaults output changed 196s ! 196s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-phases-public.t 196s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-phases-public.t#publish-specific.err 196s @@ -24,149 +24,10 @@ 196s 196s cloning with hggit.usephases publishes cloned HEAD 196s $ hg --config hggit.usephases=True clone -U gitrepo hgrepo 196s - importing 1 git commits 196s - new changesets ff7a2f2d8d70 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + abort: repository gitrepo not found 196s + [255] 196s 196s $ cd hgrepo 196s + $TESTTMP.sh: 22: cd: can't cd to hgrepo 196s $ hg phase -r master 196s - 0: public 196s - $ cd .. 196s - 196s -pulled changesets are public 196s - $ cd gitrepo 196s - $ git checkout -q master 196s - $ echo beta > beta 196s - $ git add beta 196s - $ fn_git_commit -m 'add beta' 196s - $ git checkout -b not-master 196s - Switched to a new branch 'not-master' 196s - $ echo gamma > gamma 196s - $ git add gamma 196s - $ fn_git_commit -m 'add gamma' 196s - $ git tag thetag 196s - $ echo delta > delta 196s - $ git add delta 196s - $ fn_git_commit -m 'add delta' 196s - $ git checkout master 196s - Switched to branch 'master' 196s - $ cd .. 196s - 196s - $ cd hgrepo 196s - $ cat >>$HGRCPATH < [paths] 196s - > other = $TESTTMP/gitrepo/.git 196s - > [hggit] 196s - > usephases = True 196s - > EOF 196s - 196s - $ hg phase -fd 'all()' 196s - 196s -we can restrict publishing to the remote HEAD and that tag, which 196s -happens to be the same thing here 196s - 196s -#if publish-specific 196s - $ cat >>$HGRCPATH < [git] 196s - > public = default/master, thetag 196s - > EOF 196s -#endif 196s - 196s -pulling publishes the branch 196s - 196s - $ hg phase -r master 196s - 0: draft 196s -#if publish-defaults 196s - $ hg pull -r master other 196s - pulling from $TESTTMP/gitrepo/.git 196s - importing 1 git commits 196s - updating bookmark master 196s - new changesets 7fe02317c63d 196s - 1 local changesets published 196s - (run 'hg update' to get a working copy) 196s -#else 196s - $ hg pull -r master other 196s - pulling from $TESTTMP/gitrepo/.git 196s - importing 1 git commits 196s - updating bookmark master 196s - new changesets 7fe02317c63d (1 drafts) 196s - (run 'hg update' to get a working copy) 196s -#endif 196s - $ hg phase -r master 196s - 1: draft (publish-specific !) 196s - 1: public (publish-defaults !) 196s -#if publish-defaults 196s - $ hg phase -fd master 196s - $ hg pull 196s - pulling from $TESTTMP/gitrepo 196s - importing 2 git commits 196s - adding bookmark not-master 196s - new changesets ca33a262eb46:03769a650ded (1 drafts) 196s - 1 local changesets published 196s - (run 'hg update' to get a working copy) 196s -#else 196s - $ hg pull 196s - pulling from $TESTTMP/gitrepo 196s - importing 2 git commits 196s - adding bookmark not-master 196s - new changesets ca33a262eb46:03769a650ded (1 drafts) 196s - 2 local changesets published 196s - (run 'hg update' to get a working copy) 196s -#endif 196s - $ hg phase -r master -r not-master -r thetag 196s - 1: public 196s - 3: draft 196s - 2: public 196s - 196s -public bookmark not pushed is not published after pull 196s - 196s - $ hg update 0 196s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 196s - $ echo delta > delta 196s - $ hg bookmark not-pushed 196s - $ hg add delta 196s - $ hg commit -m 'add delta' 196s - created new head 196s - $ hg phase -r 'all()' > $TESTTMP/before 196s - $ hg pull --config git.public=master,not-pushed 196s - pulling from $TESTTMP/gitrepo 196s - no changes found 196s - $ hg phase -r 'all()' > $TESTTMP/after 196s - $ cmp -s $TESTTMP/before $TESTTMP/after 196s - $ hg phase -r not-pushed 196s - 4: draft 196s - $ rm $TESTTMP/before $TESTTMP/after 196s - 196s -pushing public bookmark publishes local changesets, but only those 196s -actually pushed 196s - 196s - $ hg update master 196s - 1 files updated, 0 files merged, 1 files removed, 0 files unresolved 196s - (activating bookmark master) 196s - $ echo epsilon > epsilon 196s - $ hg add epsilon 196s - $ hg commit -m 'add epsilon' 196s - created new head 196s - $ hg phase -r 'all() - master' > $TESTTMP/before 196s - $ hg push -B not-pushed 196s - pushing to $TESTTMP/gitrepo 196s - searching for changes 196s - adding objects 196s - remote: found 0 deltas to reuse 196s - added 1 commits with 1 trees and 1 blobs 196s - adding reference refs/heads/not-pushed 196s - $ hg phase -r 'all() - master' > $TESTTMP/after 196s - $ diff $TESTTMP/before $TESTTMP/after | tr '<>' '-+' 196s - $ hg phase -r not-pushed -r master 196s - 4: draft 196s - 5: draft 196s - $ hg push -B master 196s - pushing to $TESTTMP/gitrepo 196s - searching for changes 196s - adding objects 196s - remote: found 0 deltas to reuse 196s - added 1 commits with 1 trees and 1 blobs 196s - updating reference refs/heads/master 196s - $ hg phase -r 'all() - master' > $TESTTMP/after 196s - $ diff $TESTTMP/before $TESTTMP/after | tr '<>' '-+' 196s - $ hg phase -r master 196s - 5: public 196s 196s ERROR: test-phases-public.t#publish-specific output changed 196s ! 196s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-push-r.t 196s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-push-r.t.err 196s @@ -2,34 +2,43 @@ 196s $ . "$TESTDIR/testutil" 196s 196s $ hg init test 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ cd test 196s $ cat >>afile < 0 196s > EOF 196s $ hg add afile 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ fn_hg_commit -m "0.0" 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ cat >>afile < 1 196s > EOF 196s $ fn_hg_commit -m "0.1" 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ cat >>afile < 2 196s > EOF 196s $ fn_hg_commit -m "0.2" 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ cat >>afile < 3 196s > EOF 196s $ fn_hg_commit -m "0.3" 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg update -C 0 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 196s $ cat >>afile < 1 196s > EOF 196s $ fn_hg_commit -m "1.1" 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ cat >>afile < 2 196s > EOF 196s $ fn_hg_commit -m "1.2" 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ cat >fred < a line 196s > EOF 196s @@ -37,13 +46,20 @@ 196s > 3 196s > EOF 196s $ hg add fred 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ fn_hg_commit -m "1.3" 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg mv afile adifferentfile 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ fn_hg_commit -m "1.3m" 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg update -C 3 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s 1 files updated, 0 files merged, 2 files removed, 0 files unresolved 196s $ hg mv afile anotherfile 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ fn_hg_commit -m "0.3m" 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ cd .. 196s $ for i in 0 1 2 3 4 5 6 7 8; do 196s > mkdir test-"$i" 196s @@ -53,128 +69,166 @@ 196s > hg verify 196s > cd .. 196s > done 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s pushing to test-0 196s searching for changes 196s adding changesets 196s adding manifests 196s adding file changes 196s added 1 changesets with 1 changes to 1 files 196s - checking changesets 196s - checking manifests 196s - crosschecking files in changesets and manifests 196s - checking files 196s - checking dirstate (?) 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + checking changesets 196s + checking dirstate (?) 196s + checking manifests 196s + crosschecking files in changesets and manifests 196s + checking files 196s + checking dirstate 196s checked 1 changesets with 1 changes to 1 files 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s pushing to test-1 196s searching for changes 196s adding changesets 196s adding manifests 196s + checking dirstate (?) 196s adding file changes 196s added 2 changesets with 2 changes to 1 files 196s - checking changesets 196s - checking manifests 196s - crosschecking files in changesets and manifests 196s - checking files 196s - checking dirstate (?) 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + checking changesets 196s + checking manifests 196s + crosschecking files in changesets and manifests 196s + checking files 196s + checking dirstate 196s checked 2 changesets with 2 changes to 1 files 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + checking dirstate (?) 196s pushing to test-2 196s searching for changes 196s adding changesets 196s adding manifests 196s adding file changes 196s added 3 changesets with 3 changes to 1 files 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s checking changesets 196s checking manifests 196s crosschecking files in changesets and manifests 196s checking files 196s checking dirstate (?) 196s checked 3 changesets with 3 changes to 1 files 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s pushing to test-3 196s searching for changes 196s adding changesets 196s adding manifests 196s adding file changes 196s added 4 changesets with 4 changes to 1 files 196s - checking changesets 196s - checking manifests 196s - crosschecking files in changesets and manifests 196s - checking files 196s - checking dirstate (?) 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + checking changesets 196s + checking dirstate (?) 196s + checking manifests 196s + crosschecking files in changesets and manifests 196s + checking files 196s + checking dirstate 196s checked 4 changesets with 4 changes to 1 files 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s pushing to test-4 196s searching for changes 196s adding changesets 196s adding manifests 196s + checking dirstate (?) 196s adding file changes 196s added 2 changesets with 2 changes to 1 files 196s - checking changesets 196s - checking manifests 196s - crosschecking files in changesets and manifests 196s - checking files 196s - checking dirstate (?) 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + checking changesets 196s + checking manifests 196s + crosschecking files in changesets and manifests 196s + checking files 196s + checking dirstate 196s checked 2 changesets with 2 changes to 1 files 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + checking dirstate (?) 196s pushing to test-5 196s searching for changes 196s adding changesets 196s adding manifests 196s adding file changes 196s added 3 changesets with 3 changes to 1 files 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s checking changesets 196s checking manifests 196s crosschecking files in changesets and manifests 196s checking files 196s checking dirstate (?) 196s checked 3 changesets with 3 changes to 1 files 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s pushing to test-6 196s searching for changes 196s adding changesets 196s adding manifests 196s adding file changes 196s added 4 changesets with 5 changes to 2 files 196s - checking changesets 196s - checking manifests 196s - crosschecking files in changesets and manifests 196s - checking files 196s - checking dirstate (?) 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + checking changesets 196s + checking dirstate (?) 196s + checking manifests 196s + crosschecking files in changesets and manifests 196s + checking files 196s + checking dirstate 196s checked 4 changesets with 5 changes to 2 files 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s pushing to test-7 196s searching for changes 196s adding changesets 196s adding manifests 196s adding file changes 196s added 5 changesets with 6 changes to 3 files 196s - checking changesets 196s - checking manifests 196s - crosschecking files in changesets and manifests 196s - checking files 196s - checking dirstate (?) 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + checking changesets 196s + checking manifests 196s + crosschecking files in changesets and manifests 196s + checking files 196s + checking dirstate 196s checked 5 changesets with 6 changes to 3 files 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s pushing to test-8 196s searching for changes 196s adding changesets 196s adding manifests 196s adding file changes 196s added 5 changesets with 5 changes to 2 files 196s - checking changesets 196s - checking manifests 196s - crosschecking files in changesets and manifests 196s - checking files 196s - checking dirstate (?) 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + checking changesets 196s + checking manifests 196s + crosschecking files in changesets and manifests 196s + checking files 196s + checking dirstate 196s checked 5 changesets with 5 changes to 2 files 196s $ cd test-8 196s $ hg pull ../test-7 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s pulling from ../test-7 196s searching for changes 196s adding changesets 196s adding manifests 196s adding file changes 196s + new changesets c29287bce33f:e70c8671c3d4 (?) 196s added 4 changesets with 2 changes to 3 files (+1 heads) 196s - new changesets c29287bce33f:e70c8671c3d4 (?) 196s + new changesets c29287bce33f:e70c8671c3d4 196s (run 'hg heads' to see heads, 'hg merge' to merge) 196s $ hg verify 196s - checking changesets 196s - checking manifests 196s - crosschecking files in changesets and manifests 196s - checking files 196s - checking dirstate (?) 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + checking changesets 196s + checking manifests 196s + crosschecking files in changesets and manifests 196s + checking dirstate (?) 196s + checking files 196s + checking dirstate 196s checked 9 changesets with 7 changes to 4 files 196s 196s ERROR: test-push-r.t output changed 196s !s 196s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-invalid-refs.t 196s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-invalid-refs.t.err 196s @@ -12,115 +12,10 @@ 196s 196s $ cd .. 196s $ hg clone -U gitrepo hgrepo 196s - importing 1 git commits 196s - new changesets ff7a2f2d8d70 (1 drafts) 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + abort: repository gitrepo not found 196s + [255] 196s 196s $ cd hgrepo 196s + $TESTTMP.sh: 20: cd: can't cd to hgrepo 196s $ hg up master 196s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 196s - (activating bookmark master) 196s - $ fn_hg_tag alph#a 196s - $ fn_hg_tag bet*a 196s - $ fn_hg_tag 'gamm a' 196s - $ hg book -r . delt#a 196s - $ hg book -r . epsil*on 196s - 196s - $ hg gexport 196s - warning: not exporting tag 'bet*a' due to invalid name 196s - warning: not exporting bookmark 'epsil*on' due to invalid name 196s - 196s - $ hg push 196s - pushing to $TESTTMP/gitrepo 196s - warning: not exporting tag 'bet*a' due to invalid name 196s - warning: not exporting bookmark 'epsil*on' due to invalid name 196s - searching for changes 196s - adding objects 196s - remote: found 0 deltas to reuse 196s - added 3 commits with 3 trees and 3 blobs 196s - adding reference refs/heads/delt#a 196s - updating reference refs/heads/master 196s - adding reference refs/tags/alph#a 196s - adding reference refs/tags/gamm_a 196s - 196s - $ hg log --graph 196s - @ changeset: 3:0950ab44ea23 196s - | bookmark: delt#a 196s - | bookmark: epsil*on 196s - | bookmark: master 196s - | tag: default/delt#a 196s - | tag: default/master 196s - | tag: tip 196s - | user: test 196s - | date: Mon Jan 01 00:00:13 2007 +0000 196s - | summary: Added tag gamm a for changeset 0b27ab2b3df6 196s - | 196s - o changeset: 2:0b27ab2b3df6 196s - | tag: gamm a 196s - | user: test 196s - | date: Mon Jan 01 00:00:12 2007 +0000 196s - | summary: Added tag bet*a for changeset 491ceeb1b0f1 196s - | 196s - o changeset: 1:491ceeb1b0f1 196s - | tag: bet*a 196s - | user: test 196s - | date: Mon Jan 01 00:00:11 2007 +0000 196s - | summary: Added tag alph#a for changeset ff7a2f2d8d70 196s - | 196s - o changeset: 0:ff7a2f2d8d70 196s - bookmark: not-master 196s - tag: alph#a 196s - tag: default/not-master 196s - user: test 196s - date: Mon Jan 01 00:00:10 2007 +0000 196s - summary: add alpha 196s - 196s - 196s - $ cd .. 196s - $ cd gitrepo 196s -git should have only the valid tag alph#a but have full commit log including the missing invalid bet*a tag commit 196s - $ git tag -l 196s - alph#a 196s - gamm_a 196s - 196s - $ cd .. 196s - $ hg clone -U gitrepo hgrepo2 196s - importing 4 git commits 196s - new changesets ff7a2f2d8d70:0950ab44ea23 (4 drafts) 196s - $ hg -R hgrepo2 log --graph 196s - o changeset: 3:0950ab44ea23 196s - | bookmark: delt#a 196s - | bookmark: master 196s - | tag: default/delt#a 196s - | tag: default/master 196s - | tag: tip 196s - | user: test 196s - | date: Mon Jan 01 00:00:13 2007 +0000 196s - | summary: Added tag gamm a for changeset 0b27ab2b3df6 196s - | 196s - o changeset: 2:0b27ab2b3df6 196s - | tag: gamm a 196s - | tag: gamm_a 196s - | user: test 196s - | date: Mon Jan 01 00:00:12 2007 +0000 196s - | summary: Added tag bet*a for changeset 491ceeb1b0f1 196s - | 196s - o changeset: 1:491ceeb1b0f1 196s - | tag: bet*a 196s - | user: test 196s - | date: Mon Jan 01 00:00:11 2007 +0000 196s - | summary: Added tag alph#a for changeset ff7a2f2d8d70 196s - | 196s - o changeset: 0:ff7a2f2d8d70 196s - bookmark: not-master 196s - tag: alph#a 196s - tag: default/not-master 196s - user: test 196s - date: Mon Jan 01 00:00:10 2007 +0000 196s - summary: add alpha 196s - 196s - 196s -the tag should be in .hgtags 196s - $ hg cat -r master hgrepo2/.hgtags 196s - ff7a2f2d8d7099694ae1e8b03838d40575bebb63 alph#a 196s - 491ceeb1b0f10d65d956dfcdd3470ac2bc2c96a8 bet*a 196s - 0b27ab2b3df69c6f7defd7040b93e539136db5be gamm a 196s 196s ERROR: test-invalid-refs.t output changed 196s ! 196s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-serve-hg.t 196s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-serve-hg.t#with-hggit.err 196s @@ -31,11 +31,11 @@ 196s $ cd .. 196s 196s $ hg clone gitrepo hgrepo 196s - importing 2 git commits 196s - new changesets f488b65fa424:c61c38c3d614 (2 drafts) 196s - updating to bookmark master 196s - 4 files updated, 0 files merged, 0 files removed, 0 files unresolved 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + abort: repository gitrepo not found 196s + [255] 196s $ cd hgrepo 196s + $TESTTMP.sh: 41: cd: can't cd to hgrepo 196s $ cat >> .hg/hgrc < [push] 196s > pushvars.server = true 196s @@ -45,81 +45,3 @@ 196s > [hooks] 196s > pretxnchangegroup = env | grep HG_USERVAR_ || true 196s > EOF 196s - $ hg serve -p $HGPORT -d --pid-file=../hg1.pid -E ../error.log 196s - $ hg --config server.uncompressed=False serve -p $HGPORT1 -d --pid-file=../hg2.pid 196s - 196s -Test server address cannot be reused 196s - 196s -#if windows 196s - $ hg serve -p $HGPORT1 2>&1 196s - abort: cannot start server at '*:$HGPORT1': * (glob) 196s - [255] 196s -#else 196s - $ hg serve -p $HGPORT1 2>&1 196s - abort: cannot start server at '*:$HGPORT1': Address* in use (glob) 196s - [255] 196s -#endif 196s - $ cd .. 196s - $ cat hg1.pid hg2.pid >> $DAEMON_PIDS 196s - 196s -Make sure that clone regular mercurial repos over http doesn't break, 196s -and that we can transfer the hg-git metadata 196s - 196s - $ hg clone http://localhost:$HGPORT/ copy 2>&1 196s - requesting all changes 196s - adding changesets 196s - adding manifests 196s - adding file changes 196s - added 2 changesets with 4 changes to 4 files 196s - new changesets f488b65fa424:c61c38c3d614 (?) 196s - updating to branch default 196s - 4 files updated, 0 files merged, 0 files removed, 0 files unresolved 196s - 196s -And it shouldn't create a Git repository needlessly: 196s - $ test -e copy/git 196s - [1] 196s - $ cd copy 196s - 196s -#if without-hggit 196s - $ hg tags 196s - tip 1:c61c38c3d614 196s - $ hg log -T '{rev}:{node|short} | {bookmarks} | {gitnode} |\n' 196s - 1:c61c38c3d614 | master | | 196s - 0:f488b65fa424 | | | 196s - $ hg pull -u ../gitrepo 196s - pulling from ../gitrepo 196s - importing 2 git commits 196s - 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 196s -#else 196s - $ hg tags 196s - tip 1:c61c38c3d614 196s - thetag 0:f488b65fa424 196s - $ hg log -T '{rev}:{node|short} | {bookmarks} | {gitnode} |\n' 196s - 1:c61c38c3d614 | master | 95bcbb72932335c132c10950b5e5dc1066138ea1 | 196s - 0:f488b65fa424 | | a874aa4c9506ed30ef2c2c7313abd2c518e9e71e | 196s - $ hg pull -u ../gitrepo 196s - pulling from ../gitrepo 196s - warning: created new git repository at $TESTTMP/copy/.hg/git 196s - no changes found 196s -#endif 196s - 196s - $ hg tags 196s - tip 1:c61c38c3d614 196s - thetag 0:f488b65fa424 196s - $ hg log -T '{rev}:{node|short} | {bookmarks} | {gitnode} |\n' 196s - 1:c61c38c3d614 | master | 95bcbb72932335c132c10950b5e5dc1066138ea1 | 196s - 0:f488b65fa424 | | a874aa4c9506ed30ef2c2c7313abd2c518e9e71e | 196s - 196s -Furthermore, make sure that we pass all arguments when pushing: 196s - 196s - $ echo baz > baz 196s - $ fn_hg_commit -A -m baz 196s - $ hg push --pushvars FOO=BAR 196s - pushing to http://localhost:$HGPORT/ 196s - searching for changes 196s - remote: adding changesets 196s - remote: adding manifests 196s - remote: adding file changes 196s - remote: HG_USERVAR_FOO=BAR 196s - remote: added 1 changesets with 1 changes to 1 files 196s - $ cd .. 196s 196s ERROR: test-serve-hg.t#with-hggit output changed 196s ! 196s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-git-workflow.t 196s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-git-workflow.t.err 196s @@ -2,13 +2,20 @@ 196s $ . "$TESTDIR/testutil" 196s 196s $ hg init hgrepo 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ cd hgrepo 196s $ hg debuggitdir 196s - $TESTTMP/hgrepo/.hg/git 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + hg: unknown command 'debuggitdir' 196s + (did you mean one of debugdag, debugdirstate, debugdiscovery, debugfileset, debuggetbundle, debugignore, debugindex, debuginstall?) 196s + [10] 196s $ echo alpha > alpha 196s $ hg add alpha 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ fn_hg_commit -m "add alpha" 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg log --graph --debug | grep -v phase: 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s @ changeset: 0:0221c246a56712c6aa64e5ee382244d8a471b1e2 196s tag: tip 196s parent: -1:0000000000000000000000000000000000000000 196s @@ -27,49 +34,54 @@ 196s 196s configure for use from git 196s $ hg clone hgrepo gitrepo 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s updating to branch default 196s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 196s $ cd gitrepo 196s $ hg book master 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg up null 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s 0 files updated, 0 files merged, 1 files removed, 0 files unresolved 196s (leaving bookmark master) 196s $ echo "[git]" >> .hg/hgrc 196s $ echo "intree = True" >> .hg/hgrc 196s $ hg debuggitdir 196s - $TESTTMP/gitrepo/.git 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + hg: unknown command 'debuggitdir' 196s + (did you mean one of debugdag, debugdirstate, debugdiscovery, debugfileset, debuggetbundle, debugignore, debugindex, debuginstall?) 196s + [10] 196s $ hg gexport 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + hg: unknown command 'gexport' 196s + (did you mean one of export, import?) 196s + [10] 196s 196s do some work 196s $ git config core.bare false 196s + fatal: not in a git directory 196s + [128] 196s $ git checkout master 2>&1 | sed s/\'/\"/g 196s - Already on "master" 196s + fatal: not a git repository (or any of the parent directories): .git 196s $ echo beta > beta 196s $ git add beta 196s + fatal: not a git repository (or any of the parent directories): .git 196s + [128] 196s $ fn_git_commit -m 'add beta' 196s + fatal: not a git repository (or any of the parent directories): .git 196s + git commit error 196s 196s get things back to hg 196s $ hg gimport 196s - importing 1 git commits 196s - updating bookmark master 196s - new changesets 9f124f3c1fc2 (1 drafts) 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + hg: unknown command 'gimport' 196s + (did you mean one of export, import?) 196s + [10] 196s $ hg log --graph --debug | grep -v phase: 196s - o changeset: 1:9f124f3c1fc29a14f5eb027c24811b0ac9d5ff10 196s - | bookmark: master 196s - | tag: tip 196s - | parent: 0:0221c246a56712c6aa64e5ee382244d8a471b1e2 196s - | parent: -1:0000000000000000000000000000000000000000 196s - | manifest: 1:f0bd6fbafbaebe4bb59c35108428f6fce152431d 196s - | user: test 196s - | date: Mon Jan 01 00:00:11 2007 +0000 196s - | files+: beta 196s - | extra: branch=default 196s - | extra: hg-git-rename-source=git 196s - | description: 196s - | add beta 196s - | 196s - | 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s o changeset: 0:0221c246a56712c6aa64e5ee382244d8a471b1e2 196s + bookmark: master 196s + tag: tip 196s parent: -1:0000000000000000000000000000000000000000 196s parent: -1:0000000000000000000000000000000000000000 196s manifest: 0:8b8a0e87dfd7a0706c0524afa8ba67e20544cbf0 196s @@ -83,7 +95,8 @@ 196s 196s gimport should have updated the bookmarks as well 196s $ hg bookmarks 196s - master 1:9f124f3c1fc2 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + master 0:0221c246a567 196s 196s gimport support for git.mindate 196s $ cat >> .hg/hgrc << EOF 196s @@ -92,20 +105,23 @@ 196s > EOF 196s $ echo oldcommit > oldcommit 196s $ git add oldcommit 196s + fatal: not a git repository (or any of the parent directories): .git 196s + [128] 196s $ GIT_AUTHOR_DATE="2014-03-01 00:00:00 +0000" \ 196s > GIT_COMMITTER_DATE="2009-01-01 00:00:00 +0000" \ 196s > git commit -m oldcommit > /dev/null || echo "git commit error" 196s + fatal: not a git repository (or any of the parent directories): .git 196s + git commit error 196s $ hg gimport 196s - no changes found 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + hg: unknown command 'gimport' 196s + (did you mean one of export, import?) 196s + [10] 196s $ hg log --graph 196s - o changeset: 1:9f124f3c1fc2 196s - | bookmark: master 196s - | tag: tip 196s - | user: test 196s - | date: Mon Jan 01 00:00:11 2007 +0000 196s - | summary: add beta 196s - | 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s o changeset: 0:0221c246a567 196s + bookmark: master 196s + tag: tip 196s user: test 196s date: Mon Jan 01 00:00:10 2007 +0000 196s summary: add alpha 196s @@ -113,32 +129,23 @@ 196s 196s $ echo newcommit > newcommit 196s $ git add newcommit 196s + fatal: not a git repository (or any of the parent directories): .git 196s + [128] 196s $ GIT_AUTHOR_DATE="2014-01-01 00:00:00 +0000" \ 196s > GIT_COMMITTER_DATE="2014-01-02 00:00:00 +0000" \ 196s > git commit -m newcommit > /dev/null || echo "git commit error" 196s + fatal: not a git repository (or any of the parent directories): .git 196s + git commit error 196s $ hg gimport 196s - importing 2 git commits 196s - updating bookmark master 196s - new changesets befdecd14df5:3d10b7289d79 (2 drafts) 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + hg: unknown command 'gimport' 196s + (did you mean one of export, import?) 196s + [10] 196s $ hg log --graph 196s - o changeset: 3:3d10b7289d79 196s - | bookmark: master 196s - | tag: tip 196s - | user: test 196s - | date: Wed Jan 01 00:00:00 2014 +0000 196s - | summary: newcommit 196s - | 196s - o changeset: 2:befdecd14df5 196s - | user: test 196s - | date: Sat Mar 01 00:00:00 2014 +0000 196s - | summary: oldcommit 196s - | 196s - o changeset: 1:9f124f3c1fc2 196s - | user: test 196s - | date: Mon Jan 01 00:00:11 2007 +0000 196s - | summary: add beta 196s - | 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s o changeset: 0:0221c246a567 196s + bookmark: master 196s + tag: tip 196s user: test 196s date: Mon Jan 01 00:00:10 2007 +0000 196s summary: add alpha 196s 196s ERROR: test-git-workflow.t output changed 196s ! 196s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-serve-hg.t 196s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-serve-hg.t#without-hggit.err 196s @@ -31,11 +31,11 @@ 196s $ cd .. 196s 196s $ hg clone gitrepo hgrepo 196s - importing 2 git commits 196s - new changesets f488b65fa424:c61c38c3d614 (2 drafts) 196s - updating to bookmark master 196s - 4 files updated, 0 files merged, 0 files removed, 0 files unresolved 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + abort: repository gitrepo not found 196s + [255] 196s $ cd hgrepo 196s + $TESTTMP.sh: 36: cd: can't cd to hgrepo 196s $ cat >> .hg/hgrc < [push] 196s > pushvars.server = true 196s @@ -45,81 +45,3 @@ 196s > [hooks] 196s > pretxnchangegroup = env | grep HG_USERVAR_ || true 196s > EOF 196s - $ hg serve -p $HGPORT -d --pid-file=../hg1.pid -E ../error.log 196s - $ hg --config server.uncompressed=False serve -p $HGPORT1 -d --pid-file=../hg2.pid 196s - 196s -Test server address cannot be reused 196s - 196s -#if windows 196s - $ hg serve -p $HGPORT1 2>&1 196s - abort: cannot start server at '*:$HGPORT1': * (glob) 196s - [255] 196s -#else 196s - $ hg serve -p $HGPORT1 2>&1 196s - abort: cannot start server at '*:$HGPORT1': Address* in use (glob) 196s - [255] 196s -#endif 196s - $ cd .. 196s - $ cat hg1.pid hg2.pid >> $DAEMON_PIDS 196s - 196s -Make sure that clone regular mercurial repos over http doesn't break, 196s -and that we can transfer the hg-git metadata 196s - 196s - $ hg clone http://localhost:$HGPORT/ copy 2>&1 196s - requesting all changes 196s - adding changesets 196s - adding manifests 196s - adding file changes 196s - added 2 changesets with 4 changes to 4 files 196s - new changesets f488b65fa424:c61c38c3d614 (?) 196s - updating to branch default 196s - 4 files updated, 0 files merged, 0 files removed, 0 files unresolved 196s - 196s -And it shouldn't create a Git repository needlessly: 196s - $ test -e copy/git 196s - [1] 196s - $ cd copy 196s - 196s -#if without-hggit 196s - $ hg tags 196s - tip 1:c61c38c3d614 196s - $ hg log -T '{rev}:{node|short} | {bookmarks} | {gitnode} |\n' 196s - 1:c61c38c3d614 | master | | 196s - 0:f488b65fa424 | | | 196s - $ hg pull -u ../gitrepo 196s - pulling from ../gitrepo 196s - importing 2 git commits 196s - 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 196s -#else 196s - $ hg tags 196s - tip 1:c61c38c3d614 196s - thetag 0:f488b65fa424 196s - $ hg log -T '{rev}:{node|short} | {bookmarks} | {gitnode} |\n' 196s - 1:c61c38c3d614 | master | 95bcbb72932335c132c10950b5e5dc1066138ea1 | 196s - 0:f488b65fa424 | | a874aa4c9506ed30ef2c2c7313abd2c518e9e71e | 196s - $ hg pull -u ../gitrepo 196s - pulling from ../gitrepo 196s - warning: created new git repository at $TESTTMP/copy/.hg/git 196s - no changes found 196s -#endif 196s - 196s - $ hg tags 196s - tip 1:c61c38c3d614 196s - thetag 0:f488b65fa424 196s - $ hg log -T '{rev}:{node|short} | {bookmarks} | {gitnode} |\n' 196s - 1:c61c38c3d614 | master | 95bcbb72932335c132c10950b5e5dc1066138ea1 | 196s - 0:f488b65fa424 | | a874aa4c9506ed30ef2c2c7313abd2c518e9e71e | 196s - 196s -Furthermore, make sure that we pass all arguments when pushing: 196s - 196s - $ echo baz > baz 196s - $ fn_hg_commit -A -m baz 196s - $ hg push --pushvars FOO=BAR 196s - pushing to http://localhost:$HGPORT/ 196s - searching for changes 196s - remote: adding changesets 196s - remote: adding manifests 196s - remote: adding file changes 196s - remote: HG_USERVAR_FOO=BAR 196s - remote: added 1 changesets with 1 changes to 1 files 196s - $ cd .. 196s 196s ERROR: test-serve-hg.t#without-hggit output changed 196s ! 196s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-push-authors.t 196s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-push-authors.t.err 196s @@ -8,127 +8,9 @@ 196s Create a Mercurial repository 196s 196s $ hg clone repo.git hgrepo 196s - updating to branch default 196s - 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + abort: repository repo.git not found 196s + [255] 196s $ cd hgrepo 196s + $TESTTMP.sh: 8: cd: can't cd to hgrepo 196s $ hg book master 196s - 196s -Configure an author map 196s - 196s - $ touch authors.txt 196s - $ cat >> $HGRCPATH < [git] 196s - > authors = $TESTTMP/authors.txt 196s - > EOF 196s - 196s -Create a commit user that maps to a fully valid user 196s - 196s - $ cat >> $TESTTMP/authors.txt < user1 = User no. 1 196s - > EOF 196s - $ touch alpha 196s - $ hg add alpha 196s - $ fn_hg_commit -m alpha -u user1 196s - 196s -And one that maps to an email address 196s - 196s - $ cat >> $TESTTMP/authors.txt < user2@example.com = user2 196s - > EOF 196s - $ touch beta 196s - $ hg add beta 196s - $ fn_hg_commit -m beta -u user2@example.com 196s - 196s -And one that maps to a "simple" user 196s - 196s - $ cat >> $TESTTMP/authors.txt < User #3 = user3@example.com 196s - > EOF 196s - $ touch gamma 196s - $ hg add gamma 196s - $ fn_hg_commit -m gamma -u "User #3 " 196s - 196s -And one that maps to nothing 196s - 196s - $ cat >> $TESTTMP/authors.txt < user4 = 196s - > EOF 196s - $ touch delta 196s - $ hg add delta 196s - $ fn_hg_commit -m delta -u user4 196s - 196s -And one that doesn't map 196s - 196s - $ touch epsilon 196s - $ hg add epsilon 196s - $ fn_hg_commit -m epsilon -u "User #5 " 196s - 196s -Check the test default 196s - 196s - $ touch zeta 196s - $ hg add zeta 196s - $ fn_hg_commit -m zeta 196s - 196s -Push it! 196s - 196s - $ hg push 196s - pushing to $TESTTMP/repo.git 196s - searching for changes 196s - adding objects 196s - remote: found 0 deltas to reuse 196s - added 6 commits with 6 trees and 1 blobs 196s - adding reference refs/heads/master 196s - 196s -Check the results: 196s - 196s - $ hg log --template='Commit: {gitnode}\nAuthor: {author}\n---\n' 196s - Commit: 869e310765d5d7ad92f83bf036e12b0341922a65 196s - Author: test 196s - --- 196s - Commit: b5c0fcb75f876b158ece64859400d36b07570ce9 196s - Author: User #5 196s - --- 196s - Commit: 2833824a870810915f7a7a27c05cccad0448bfd7 196s - Author: user4 196s - --- 196s - Commit: fe63bf29ef0bd4af50e85b8aec8d2fbeff255845 196s - Author: User #3 196s - --- 196s - Commit: eba936dd13172a2f17936785e3604845aed9170d 196s - Author: user2@example.com 196s - --- 196s - Commit: 796162e5747a7ba57f31fb828b88319caf7b1f7b 196s - Author: user1 196s - --- 196s - $ cd ../repo.git 196s - $ cat $TESTTMP/authors.txt 196s - user1 = User no. 1 196s - user2@example.com = user2 196s - User #3 = user3@example.com 196s - user4 = 196s - $ git log --pretty='tformat:Commit: %H%nAuthor: %an <%ae>%nCommitter: %cn <%ce>%n---' 196s - Commit: 869e310765d5d7ad92f83bf036e12b0341922a65 196s - Author: test 196s - Committer: test 196s - --- 196s - Commit: b5c0fcb75f876b158ece64859400d36b07570ce9 196s - Author: User #5 196s - Committer: User #5 196s - --- 196s - Commit: 2833824a870810915f7a7a27c05cccad0448bfd7 196s - Author: 196s - Committer: 196s - --- 196s - Commit: fe63bf29ef0bd4af50e85b8aec8d2fbeff255845 196s - Author: user3@example.com 196s - Committer: user3@example.com 196s - --- 196s - Commit: eba936dd13172a2f17936785e3604845aed9170d 196s - Author: user2 196s - Committer: user2 196s - --- 196s - Commit: 796162e5747a7ba57f31fb828b88319caf7b1f7b 196s - Author: User no. 1 196s - Committer: User no. 1 196s - --- 196s - $ cd .. 196s 196s ERROR: test-push-authors.t output changed 196s ! 196s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-push-to-head.t 196s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-push-to-head.t.err 196s @@ -14,65 +14,9 @@ 196s Clone it, and push back to master: 196s 196s $ hg clone gitrepo hgrepo 196s - importing 1 git commits 196s - new changesets ff7a2f2d8d70 (1 drafts) 196s - updating to bookmark master 196s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + abort: repository gitrepo not found 196s + [255] 196s $ cd hgrepo 196s + $TESTTMP.sh: 18: cd: can't cd to hgrepo 196s $ echo beta > beta 196s - $ fn_hg_commit -A -m "add beta" 196s - 196s -The output is confusing, and this even more-so: 196s - 196s - $ hg push 196s - pushing to $TESTTMP/gitrepo 196s - searching for changes 196s - adding objects 196s - remote: found 0 deltas to reuse 196s - remote: error: refusing to update checked out branch: refs/heads/master 196s - remote: error: By default, updating the current branch in a non-bare repository 196s - remote: is denied, because it will make the index and work tree inconsistent 196s - remote: with what you pushed, and will require 'git reset --hard' to match 196s - remote: the work tree to HEAD. 196s - remote: 196s - remote: You can set the 'receive.denyCurrentBranch' configuration variable 196s - remote: to 'ignore' or 'warn' in the remote repository to allow pushing into 196s - remote: its current branch; however, this is not recommended unless you 196s - remote: arranged to update its work tree to match what you pushed in some 196s - remote: other way. 196s - remote: 196s - remote: To squelch this message and still keep the default behaviour, set 196s - remote: 'receive.denyCurrentBranch' configuration variable to 'refuse'. 196s - added 1 commits with 1 trees and 1 blobs 196s - warning: failed to update refs/heads/master; branch is currently checked out 196s - 196s - $ hg push 196s - pushing to $TESTTMP/gitrepo 196s - searching for changes 196s - adding objects 196s - remote: found 0 deltas to reuse 196s - remote: error: refusing to update checked out branch: refs/heads/master 196s - remote: error: By default, updating the current branch in a non-bare repository 196s - remote: is denied, because it will make the index and work tree inconsistent 196s - remote: with what you pushed, and will require 'git reset --hard' to match 196s - remote: the work tree to HEAD. 196s - remote: 196s - remote: You can set the 'receive.denyCurrentBranch' configuration variable 196s - remote: to 'ignore' or 'warn' in the remote repository to allow pushing into 196s - remote: its current branch; however, this is not recommended unless you 196s - remote: arranged to update its work tree to match what you pushed in some 196s - remote: other way. 196s - remote: 196s - remote: To squelch this message and still keep the default behaviour, set 196s - remote: 'receive.denyCurrentBranch' configuration variable to 'refuse'. 196s - added 1 commits with 1 trees and 1 blobs 196s - warning: failed to update refs/heads/master; branch is currently checked out 196s - 196s -Show that it really didn't get pushed: 196s - 196s - $ hg tags 196s - tip 1:47580592d3d6 196s - default/master 0:ff7a2f2d8d70 196s - $ cd ../gitrepo 196s - $ git log --all --oneline --decorate 196s - 7eeab2e (HEAD -> master) add alpha 196s 196s ERROR: test-push-to-head.t output changed 196s ! 196s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-orphan-tags.t 196s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-orphan-tags.t.err 196s @@ -61,17 +61,17 @@ 196s Create a Mercurial clone 196s 196s $ hg clone -U repo.git hgrepo 196s - importing 4 git commits 196s - new changesets b8e77484829b:387d03400596 (4 drafts) 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + abort: repository repo.git not found 196s + [255] 196s $ hg outgoing -R hgrepo 196s - comparing with $TESTTMP/repo.git 196s - searching for changes 196s - no changes found 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + abort: repository hgrepo not found 196s + [255] 196s + $ hg push --debug -R hgrepo | grep -e reference -e found 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + abort: repository hgrepo not found 196s [1] 196s - $ hg push --debug -R hgrepo | grep -e reference -e found 196s - unchanged reference default::refs/heads/master => GIT:996e5084 196s - unchanged reference default::refs/tags/the_tag => GIT:e4338156 196s - no changes found 196s 196s Verify that we can push this tag, and that outgoing doesn't report 196s them (#358) 196s @@ -83,33 +83,5 @@ 196s To $TESTTMP/repo.git 196s - [deleted] the_tag 196s $ cd ../hgrepo 196s + $TESTTMP.sh: 72: cd: can't cd to ../hgrepo 196s $ hg outgoing 196s - comparing with $TESTTMP/repo.git 196s - searching for changes 196s - changeset: 2:7b35eb0afb3f 196s - tag: the_tag 196s - user: test 196s - date: Mon Jan 01 00:00:12 2007 +0000 196s - summary: add foo3 196s - 196s - $ hg push --debug 196s - pushing to $TESTTMP/repo.git 196s - finding unexported changesets 196s - saving git map to $TESTTMP/hgrepo/.hg/git-mapfile 196s - searching for changes 196s - remote: counting objects: 5, done. 196s - 1 commits found 196s - list of commits: 196s - e12852326ef72772e9696b008ad6546b5266ff13 196s - adding objects 196s - remote: counting objects: 5, done. 196s - remote: found 0 deltas to reuse 196s - added 1 commits with 1 trees and 0 blobs 196s - unchanged reference default::refs/heads/master => GIT:996e5084 196s - adding reference default::refs/tags/the_tag => GIT:e4338156 196s - $ cd ../gitrepo 196s - $ git fetch 196s - From $TESTTMP/repo 196s - * [new tag] the_tag -> the_tag 196s - $ git tag -ln 196s - the_tag Tag message 196s 196s ERROR: test-orphan-tags.t output changed 196s ! 196s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-verify-fail.t 196s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-verify-fail.t.err 196s @@ -25,6 +25,7 @@ 196s $ cd .. 196s 196s $ hg init hgrepo 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ cd hgrepo 196s $ echo normalf > normalf 196s $ echo differentf2 > differentf 196s @@ -32,63 +33,93 @@ 196s $ echo exef > exef 196s $ ln -s foo linkf 196s $ hg add normalf differentf unexpectedf exef linkf 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ fn_hg_commit -m 'add files' 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ git clone --mirror ../gitrepo .hg/git 196s Cloning into bare repository '.hg/git'... 196s done. 196s $ echo "$(cd ../gitrepo && git rev-parse HEAD) $(hg log -r . --template '{node}')" >> .hg/git-mapfile 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg gverify 196s - verifying rev 3f1601c3cf54 against git commit 039c1cd9fdda382c9d1e8ec85de6b5b59518ca80 196s - difference in: differentf 196s - file has different flags: exef (hg '', git 'x') 196s - file has different flags: linkf (hg 'l', git '') 196s - file found in git but not hg: missingf 196s - file found in hg but not git: unexpectedf 196s - [1] 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + hg: unknown command 'gverify' 196s + (did you mean verify?) 196s + [10] 196s 196s $ echo newf > newf 196s $ hg add newf 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ fn_hg_commit -m 'new hg commit' 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg gverify 196s - abort: no git commit found for rev 4e582b4eb862 196s - (if this is an octopus merge, verify against the last rev) 196s - [255] 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + hg: unknown command 'gverify' 196s + (did you mean verify?) 196s + [10] 196s 196s invalid git SHA 196s $ echo "ffffffffffffffffffffffffffffffffffffffff $(hg log -r . --template '{node}')" >> .hg/git-mapfile 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg gverify 196s - abort: git equivalent ffffffffffffffffffffffffffffffffffffffff for rev 4e582b4eb862 not found! 196s - [255] 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + hg: unknown command 'gverify' 196s + (did you mean verify?) 196s + [10] 196s 196s git SHA is not a commit 196s $ echo new2 >> newf 196s $ fn_hg_commit -m 'new hg commit 2' 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s this gets the tree pointed to by the commit at HEAD 196s $ echo "$(cd ../gitrepo && git show --format=%T HEAD | head -n 1) $(hg log -r . --template '{node}')" >> .hg/git-mapfile 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg gverify 196s - abort: git equivalent f477b00e4a9907617f346a529cc0fe9ba5d6f6d3 for rev 5c2eb98af3e2 is not a commit! 196s - [255] 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + hg: unknown command 'gverify' 196s + (did you mean verify?) 196s + [10] 196s 196s corrupt git repository 196s 196s $ hg debug-remove-hggit-state 196s - clearing out the git cache data 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + hg: unknown command 'debug-remove-hggit-state' 196s + (did you mean one of debug-revlog-stats, debugmergestate, debugrebuildstate, debugrevlogstats?) 196s + [10] 196s $ hg gexport 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + hg: unknown command 'gexport' 196s + (did you mean one of export, import?) 196s + [10] 196s $ mv .hg/git/objects/pack $TESTTMP/pack-old 196s $ for packfile in $TESTTMP/pack-old/*.pack 196s > do 196s > git --git-dir .hg/git unpack-objects < $packfile 196s > done 196s + $TESTTMP.sh: 78: cannot open $TESTTMP/pack-old/*.pack: No such file 196s + [2] 196s $ mv -f .hg/git/objects/82/166b4cbde0f025d20aacb93fd085aa1462cd4e .hg/git/objects/6d/ff77b710b6f0961ac0b6d91d85902195133d74 196s + mv: cannot stat '.hg/git/objects/82/166b4cbde0f025d20aacb93fd085aa1462cd4e': No such file or directory 196s + [1] 196s $ hg gverify --fsck 196s - abort: git repository is corrupt! 196s - [255] 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + hg: unknown command 'gverify' 196s + (did you mean verify?) 196s + [10] 196s $ hg gverify 196s - abort: git equivalent 6dff77b710b6f0961ac0b6d91d85902195133d74 for rev 5c2eb98af3e2 is not a commit! 196s - [255] 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + hg: unknown command 'gverify' 196s + (did you mean verify?) 196s + [10] 196s $ chmod +w .hg/git/objects/6d/ff77b710b6f0961ac0b6d91d85902195133d74 196s + chmod: cannot access '.hg/git/objects/6d/ff77b710b6f0961ac0b6d91d85902195133d74': No such file or directory 196s + [1] 196s $ echo 42 > .hg/git/objects/6d/ff77b710b6f0961ac0b6d91d85902195133d74 196s + $TESTTMP.sh: 89: cannot create .hg/git/objects/6d/ff77b710b6f0961ac0b6d91d85902195133d74: Directory nonexistent 196s + [2] 196s $ hg gverify 196s - abort: git equivalent 6dff77b710b6f0961ac0b6d91d85902195133d74 for rev 5c2eb98af3e2 is corrupt! 196s - (re-run with --traceback for details) 196s - [255] 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + hg: unknown command 'gverify' 196s + (did you mean verify?) 196s + [10] 196s 196s ERROR: test-verify-fail.t output changed 196s ! 196s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-push-missing-commit.t 196s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-push-missing-commit.t.err 196s @@ -22,75 +22,9 @@ 196s clone it and create a commit building on the git history 196s 196s $ hg clone -U repo.git hgrepo 196s - importing 1 git commits 196s - new changesets fb68c5a534ce (1 drafts) 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + abort: repository repo.git not found 196s + [255] 196s $ cd hgrepo 196s + $TESTTMP.sh: 20: cd: can't cd to hgrepo 196s $ hg up -q master 196s - $ echo other > thefile 196s - $ fn_hg_commit -m 'change thefile' 196s - $ cd .. 196s - 196s -now remove the git commit from the cache repository used internally by 196s -hg-git — actually, changing `git.intree` is equivalent to this, and how 196s -a user noticed it in #376. 196s - 196s - $ rm -rf hgrepo/.hg/git 196s - 196s -what happens when we push it? 196s - 196s - $ hg -R hgrepo push 196s - pushing to $TESTTMP/repo.git 196s - warning: created new git repository at $TESTTMP/hgrepo/.hg/git 196s - abort: cannot push git commit 533d4e670a8b as it is not present locally 196s - (please try pulling first, or as a fallback run git-cleanup to re-export the missing commits) 196s - [255] 196s - 196s -try to follow the hint: 196s - 196s -(and just to see that the warning is useful, try re-resetting first) 196s - 196s - $ rm -rf hgrepo/.hg/git hgrepo/.git 196s - $ hg -R hgrepo pull 196s - pulling from $TESTTMP/repo.git 196s - warning: created new git repository at $TESTTMP/hgrepo/.hg/git 196s - no changes found 196s - not updating diverged bookmark master 196s - $ hg -R hgrepo push 196s - pushing to $TESTTMP/repo.git 196s - searching for changes 196s - adding objects 196s - remote: found 0 deltas to reuse 196s - added 1 commits with 1 trees and 1 blobs 196s - updating reference refs/heads/master 196s - 196s -and as an extra test, what if we want to push a commit that's 196s -converted, but gone? 196s - 196s -simply pushing doesn't suffice: 196s - 196s - $ cd hgrepo 196s - $ rm -rf .hg/git 196s - $ hg push 196s - pushing to $TESTTMP/repo.git 196s - warning: created new git repository at $TESTTMP/hgrepo/.hg/git 196s - searching for changes 196s - no changes found 196s - [1] 196s - $ cd .. 196s - 196s -but we can't create another commit building on the git history, export 196s -it, and push: 196s - 196s - $ cd hgrepo 196s - $ echo not that > thefile 196s - $ fn_hg_commit -m 'change thefile again' 196s - $ hg gexport 196s - $ rm -rf .hg/git 196s - $ hg push 196s - pushing to $TESTTMP/repo.git 196s - warning: created new git repository at $TESTTMP/hgrepo/.hg/git 196s - searching for changes 196s - abort: cannot push git commit 61619410916a as it is not present locally 196s - (please try pulling first, or as a fallback run git-cleanup to re-export the missing commits) 196s - [255] 196s - $ cd .. 196s 196s ERROR: test-push-missing-commit.t output changed 196s ! 196s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-hg-branch.t 196s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-hg-branch.t.err 196s @@ -12,82 +12,10 @@ 196s 196s $ cd .. 196s $ hg clone gitrepo hgrepo 196s - importing 1 git commits 196s - new changesets ff7a2f2d8d70 (1 drafts) 196s - updating to bookmark not-master 196s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + abort: repository gitrepo not found 196s + [255] 196s 196s $ cd hgrepo 196s + $TESTTMP.sh: 20: cd: can't cd to hgrepo 196s $ hg co master 196s - 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 196s - (activating bookmark master) 196s - $ hg mv alpha beta 196s - $ fn_hg_commit -m 'rename alpha to beta' 196s - $ hg push 196s - pushing to $TESTTMP/gitrepo 196s - searching for changes 196s - adding objects 196s - remote: found 0 deltas to reuse 196s - added 1 commits with 1 trees and 0 blobs 196s - updating reference refs/heads/master 196s - 196s - $ hg branch gamma | grep -v 'permanent and global' 196s - marked working directory as branch gamma 196s - $ fn_hg_commit -m 'started branch gamma' 196s - $ hg push 196s - pushing to $TESTTMP/gitrepo 196s - searching for changes 196s - adding objects 196s - remote: found 0 deltas to reuse 196s - added 1 commits with 1 trees and 0 blobs 196s - updating reference refs/heads/master 196s - 196s - $ hg log --graph 196s - @ changeset: 2:400db38f4f64 196s - | branch: gamma 196s - | bookmark: master 196s - | tag: default/master 196s - | tag: tip 196s - | user: test 196s - | date: Mon Jan 01 00:00:12 2007 +0000 196s - | summary: started branch gamma 196s - | 196s - o changeset: 1:3baa67317a4d 196s - | user: test 196s - | date: Mon Jan 01 00:00:11 2007 +0000 196s - | summary: rename alpha to beta 196s - | 196s - o changeset: 0:ff7a2f2d8d70 196s - bookmark: not-master 196s - tag: default/not-master 196s - user: test 196s - date: Mon Jan 01 00:00:10 2007 +0000 196s - summary: add alpha 196s - 196s - 196s - $ cd .. 196s - $ hg clone -U gitrepo hgrepo2 196s - importing 3 git commits 196s - new changesets ff7a2f2d8d70:400db38f4f64 (3 drafts) 196s - $ hg -R hgrepo2 log --graph 196s - o changeset: 2:400db38f4f64 196s - | branch: gamma 196s - | bookmark: master 196s - | tag: default/master 196s - | tag: tip 196s - | user: test 196s - | date: Mon Jan 01 00:00:12 2007 +0000 196s - | summary: started branch gamma 196s - | 196s - o changeset: 1:3baa67317a4d 196s - | user: test 196s - | date: Mon Jan 01 00:00:11 2007 +0000 196s - | summary: rename alpha to beta 196s - | 196s - o changeset: 0:ff7a2f2d8d70 196s - bookmark: not-master 196s - tag: default/not-master 196s - user: test 196s - date: Mon Jan 01 00:00:10 2007 +0000 196s - summary: add alpha 196s - 196s 196s ERROR: test-hg-branch.t output changed 196s ! 196s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-pull-after-strip.t 196s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-pull-after-strip.t.err 196s @@ -15,82 +15,9 @@ 196s 196s $ cd .. 196s $ hg clone -U gitrepo hgrepo 196s - importing 2 git commits 196s - new changesets ff7a2f2d8d70:7fe02317c63d (2 drafts) 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + abort: repository gitrepo not found 196s + [255] 196s $ cd hgrepo 196s + $TESTTMP.sh: 26: cd: can't cd to hgrepo 196s $ hg up master 196s - 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 196s - (activating bookmark master) 196s - $ hg log --graph 196s - @ changeset: 1:7fe02317c63d 196s - | bookmark: master 196s - | tag: default/master 196s - | tag: thetag 196s - | tag: tip 196s - | user: test 196s - | date: Mon Jan 01 00:00:11 2007 +0000 196s - | summary: add beta 196s - | 196s - o changeset: 0:ff7a2f2d8d70 196s - user: test 196s - date: Mon Jan 01 00:00:10 2007 +0000 196s - summary: add alpha 196s - 196s - $ cd ../gitrepo 196s - $ echo beta line 2 >> beta 196s - $ git add beta 196s - $ fn_git_commit -m 'add to beta' 196s - 196s - $ cd .. 196s - $ cd hgrepo 196s - $ hg debugstrip --no-backup tip 196s - 0 files updated, 0 files merged, 1 files removed, 0 files unresolved 196s - $ hg pull 196s - pulling from $TESTTMP/gitrepo 196s - importing 1 git commits 196s - abort: you appear to have run strip - please run hg git-cleanup 196s - [255] 196s - $ hg tags 196s - tip 0:ff7a2f2d8d70 196s - $ hg git-cleanup 196s - git commit map cleaned 196s - 196s -pull works after 'hg git-cleanup' 196s - 196s - $ hg pull 196s - pulling from $TESTTMP/gitrepo 196s - importing 2 git commits 196s - updating bookmark master 196s - new changesets 7fe02317c63d:cc1e605d90db (2 drafts) 196s - (run 'hg update' to get a working copy) 196s - $ hg log --graph 196s - o changeset: 2:cc1e605d90db 196s - | bookmark: master 196s - | tag: default/master 196s - | tag: tip 196s - | user: test 196s - | date: Mon Jan 01 00:00:12 2007 +0000 196s - | summary: add to beta 196s - | 196s - o changeset: 1:7fe02317c63d 196s - | tag: thetag 196s - | user: test 196s - | date: Mon Jan 01 00:00:11 2007 +0000 196s - | summary: add beta 196s - | 196s - @ changeset: 0:ff7a2f2d8d70 196s - user: test 196s - date: Mon Jan 01 00:00:10 2007 +0000 196s - summary: add alpha 196s - 196s - 196s - $ cd .. 196s - 196s -Check that we also remove bad refs: 196s - 196s - $ cd hgrepo 196s - $ echo e93b671cb24bff41779187edff99178e2597c2 > .hg/git/refs/tags/bad-tag 196s - $ hg git-cleanup 196s - git commit map cleaned 196s - $ test -e .hg/git/refs/tags/bad-tag 196s - [1] 196s 196s ERROR: test-pull-after-strip.t output changed 196s ! 196s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-subrepos-syntax.t 196s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-subrepos-syntax.t.err 196s @@ -38,54 +38,9 @@ 196s $ cd .. 196s 196s $ hg clone -U repo.git hgrepo 196s - importing 3 git commits 196s - new changesets e532b2bfda10:3c4fd561cbeb (3 drafts) 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + abort: repository repo.git not found 196s + [255] 196s $ cd hgrepo 196s + $TESTTMP.sh: 42: cd: can't cd to hgrepo 196s $ hg up master 196s - Cloning into '$TESTTMP/hgrepo/subrepo1'... 196s - done. 196s - Cloning into '$TESTTMP/hgrepo/xyz/subrepo2'... 196s - done. 196s - cloning subrepo subrepo1 from $TESTTMP/gitsubrepo 196s - cloning subrepo xyz/subrepo2 from $TESTTMP/gitsubrepo 196s - 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 196s - (activating bookmark master) 196s - $ cat >> .hgsub < # this is a comment 196s - > [subpaths] 196s - > flaf = blyf 196s - > EOF 196s - $ fn_hg_commit -m 'add comment & subsection' 196s - $ hg push 196s - pushing to $TESTTMP/repo.git 196s - searching for changes 196s - adding objects 196s - remote: found 0 deltas to reuse 196s - added 1 commits with 1 trees and 0 blobs 196s - updating reference refs/heads/master 196s - $ cd .. 196s - 196s - $ cd gitrepo 196s - $ git pull --ff-only 196s - From $TESTTMP/repo 196s - 89c22d7..106b34e master -> origin/master 196s - Updating 89c22d7..106b34e 196s - Fast-forward 196s - $ cat .gitmodules 196s - [submodule "subrepo1"] 196s - path = subrepo1 196s - url = ../gitsubrepo 196s - [submodule "xyz/subrepo2"] 196s - path = xyz/subrepo2 196s - url = ../gitsubrepo 196s - $ cd .. 196s - 196s -We broke bidirectionality: 196s - 196s - $ hg clone -U repo.git hgrepo2 196s - importing 4 git commits 196s - new changesets e532b2bfda10:cbf584fe001b (4 drafts) 196s - $ hg id -r tip hgrepo 196s - c58a542b18bc default/master/tip master 196s - $ hg id -r tip hgrepo2 196s - cbf584fe001b default/master/tip master 196s 196s ERROR: test-subrepos-syntax.t output changed 196s ! 196s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-gitignore.t 196s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-gitignore.t.err 196s @@ -2,12 +2,14 @@ 196s $ . "$TESTDIR/testutil" 196s 196s $ hg init repo 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ cd repo 196s 196s Create a commit that we can export later on 196s 196s $ touch thefile 196s $ hg commit -A -m "initial commit" 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s adding thefile 196s 196s We should only read .gitignore files in a hg-git repo (i.e. one with .hg/git 196s @@ -18,6 +20,7 @@ 196s $ touch bar 196s $ echo 'foo*' > .gitignore 196s $ hg status 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s ? .gitignore 196s ? bar 196s ? foo 196s @@ -27,103 +30,140 @@ 196s it's gone: 196s 196s $ hg gexport 196s - $ hg status 196s - ? .gitignore 196s - ? bar 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + hg: unknown command 'gexport' 196s + (did you mean one of export, import?) 196s + [10] 196s + $ hg status 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + ? .gitignore 196s + ? bar 196s + ? foo 196s + ? foobar 196s 196s $ echo '*bar' > .gitignore 196s $ hg status 196s - ? .gitignore 196s - ? foo 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + ? .gitignore 196s + ? bar 196s + ? foo 196s + ? foobar 196s 196s $ mkdir dir 196s $ touch dir/foo 196s $ echo 'foo' > .gitignore 196s $ hg status 196s - ? .gitignore 196s - ? bar 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + ? .gitignore 196s + ? bar 196s + ? dir/foo 196s + ? foo 196s ? foobar 196s 196s $ echo '/foo' > .gitignore 196s $ hg status 196s - ? .gitignore 196s - ? bar 196s - ? dir/foo 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + ? .gitignore 196s + ? bar 196s + ? dir/foo 196s + ? foo 196s ? foobar 196s 196s $ rm .gitignore 196s $ echo 'foo' > dir/.gitignore 196s $ hg status 196s - ? bar 196s - ? dir/.gitignore 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + ? bar 196s + ? dir/.gitignore 196s + ? dir/foo 196s ? foo 196s ? foobar 196s 196s $ touch dir/bar 196s $ echo 'bar' > .gitignore 196s $ hg status 196s - ? .gitignore 196s - ? dir/.gitignore 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + ? .gitignore 196s + ? bar 196s + ? dir/.gitignore 196s + ? dir/bar 196s + ? dir/foo 196s ? foo 196s ? foobar 196s 196s $ echo '/bar' > .gitignore 196s $ hg status 196s - ? .gitignore 196s - ? dir/.gitignore 196s - ? dir/bar 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + ? .gitignore 196s + ? bar 196s + ? dir/.gitignore 196s + ? dir/bar 196s + ? dir/foo 196s ? foo 196s ? foobar 196s 196s $ echo 'foo*' > .gitignore 196s $ echo '!*bar' >> .gitignore 196s $ hg status 196s - .gitignore: unsupported ignore pattern '!*bar' 196s - ? .gitignore 196s - ? bar 196s - ? dir/.gitignore 196s - ? dir/bar 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + ? .gitignore 196s + ? bar 196s + ? dir/.gitignore 196s + ? dir/bar 196s + ? dir/foo 196s + ? foo 196s + ? foobar 196s 196s $ echo '.hg/' > .gitignore 196s $ hg status 196s - ? .gitignore 196s - ? bar 196s - ? dir/.gitignore 196s - ? dir/bar 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + ? .gitignore 196s + ? bar 196s + ? dir/.gitignore 196s + ? dir/bar 196s + ? dir/foo 196s ? foo 196s ? foobar 196s 196s $ echo 'dir/.hg/' > .gitignore 196s $ hg status 196s - ? .gitignore 196s - ? bar 196s - ? dir/.gitignore 196s - ? dir/bar 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + ? .gitignore 196s + ? bar 196s + ? dir/.gitignore 196s + ? dir/bar 196s + ? dir/foo 196s ? foo 196s ? foobar 196s 196s $ echo '.hg/foo' > .gitignore 196s $ hg status 196s - ? .gitignore 196s - ? bar 196s - ? dir/.gitignore 196s - ? dir/bar 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + ? .gitignore 196s + ? bar 196s + ? dir/.gitignore 196s + ? dir/bar 196s + ? dir/foo 196s ? foo 196s ? foobar 196s 196s $ touch foo.hg 196s $ echo 'foo.hg' > .gitignore 196s $ hg status 196s - ? .gitignore 196s - ? bar 196s - ? dir/.gitignore 196s - ? dir/bar 196s - ? foo 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s + ? .gitignore 196s + ? bar 196s + ? dir/.gitignore 196s + ? dir/bar 196s + ? dir/foo 196s + ? foo 196s + ? foo.hg 196s ? foobar 196s $ rm foo.hg 196s 196s $ touch .hgignore 196s $ hg status 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s ? .gitignore 196s ? .hgignore 196s ? bar 196s @@ -137,6 +177,7 @@ 196s $ echo 'foo.*$(?> .hgignore 196s $ echo 'dir/foo' >> .hgignore 196s $ hg status 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s ? .gitignore 196s ? .hgignore 196s ? bar 196s @@ -145,14 +186,18 @@ 196s ? foobar 196s 196s $ hg add .gitignore 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ hg commit -m "add and commit .gitignore" 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s $ rm .gitignore 196s $ rm .hgignore 196s $ hg status 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s ! .gitignore 196s ? bar 196s ? dir/.gitignore 196s ? dir/bar 196s + ? dir/foo 196s ? foo 196s ? foobar 196s 196s @@ -164,6 +209,7 @@ 196s > foo( 196s > EOF 196s $ hg status --config ui.ignore=$TESTTMP/invalidhgignore 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s abort: $TESTTMP/invalidhgignore: invalid pattern (relre): foo( 196s [255] 196s 196s @@ -172,5 +218,6 @@ 196s > foo( 196s > EOF 196s $ hg status 196s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 196s abort: $TESTTMP/repo/.hgignore: invalid pattern (relre): foo( 196s [255] 196s 196s ERROR: test-gitignore.t output changed 197s ! 197s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-merge.t 197s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-merge.t.err 197s @@ -30,60 +30,11 @@ 197s $ git init -q --bare repo.git 197s 197s $ hg clone gitrepo hgrepo 197s - importing 4 git commits 197s - new changesets ff7a2f2d8d70:89ca4a68d6b9 (4 drafts) 197s - updating to bookmark master 197s - 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 197s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 197s + abort: repository gitrepo not found 197s + [255] 197s $ cd hgrepo 197s + $TESTTMP.sh: 40: cd: can't cd to hgrepo 197s 197s clear the cache to be sure it is regenerated correctly 197s $ hg debug-remove-hggit-state 197s - clearing out the git cache data 197s - $ hg push ../repo.git 197s - pushing to ../repo.git 197s - searching for changes 197s - adding objects 197s - remote: found 0 deltas to reuse 197s - added 4 commits with 4 trees and 3 blobs 197s - adding reference refs/heads/beta 197s - adding reference refs/heads/master 197s - 197s - $ cd .. 197s -git log in repo pushed from hg 197s - $ git --git-dir=repo.git log --pretty=medium master | sed 's/\.\.\.//g' 197s - commit 5806851511aaf3bfe813ae3a86c5027165fa9b96 197s - Merge: e5023f9 9497a4e 197s - Author: test 197s - Date: Mon Jan 1 00:00:12 2007 +0000 197s - 197s - Merge branch 'beta' 197s - 197s - commit e5023f9e5cb24fdcec7b6c127cec45d8888e35a9 197s - Author: test 197s - Date: Mon Jan 1 00:00:12 2007 +0000 197s - 197s - add gamma 197s - 197s - commit 9497a4ee62e16ee641860d7677cdb2589ea15554 197s - Author: test 197s - Date: Mon Jan 1 00:00:11 2007 +0000 197s - 197s - add beta 197s - 197s - commit 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 197s - Author: test 197s - Date: Mon Jan 1 00:00:10 2007 +0000 197s - 197s - add alpha 197s - $ git --git-dir=repo.git log --pretty=medium beta | sed 's/\.\.\.//g' 197s - commit 9497a4ee62e16ee641860d7677cdb2589ea15554 197s - Author: test 197s - Date: Mon Jan 1 00:00:11 2007 +0000 197s - 197s - add beta 197s - 197s - commit 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 197s - Author: test 197s - Date: Mon Jan 1 00:00:10 2007 +0000 197s - 197s - add alpha 197s 197s ERROR: test-merge.t output changed 197s ! 197s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-hg-tags.t 197s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-hg-tags.t.err 197s @@ -16,69 +16,10 @@ 197s 197s $ cd .. 197s $ hg clone -U repo.git hgrepo 197s - importing 1 git commits 197s - new changesets ff7a2f2d8d70 (1 drafts) 197s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 197s + abort: repository repo.git not found 197s + [255] 197s 197s $ cd hgrepo 197s + $TESTTMP.sh: 22: cd: can't cd to hgrepo 197s $ hg co master 197s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 197s - (activating bookmark master) 197s - $ fn_hg_tag alpha 197s - $ hg push 197s - pushing to $TESTTMP/repo.git 197s - searching for changes 197s - adding objects 197s - remote: found 0 deltas to reuse 197s - added 1 commits with 1 trees and 1 blobs 197s - updating reference refs/heads/master 197s - adding reference refs/tags/alpha 197s - 197s - $ hg log --graph 197s - @ changeset: 1:e8b150f84560 197s - | bookmark: master 197s - | tag: default/master 197s - | tag: tip 197s - | user: test 197s - | date: Mon Jan 01 00:00:11 2007 +0000 197s - | summary: Added tag alpha for changeset ff7a2f2d8d70 197s - | 197s - o changeset: 0:ff7a2f2d8d70 197s - tag: alpha 197s - user: test 197s - date: Mon Jan 01 00:00:10 2007 +0000 197s - summary: add alpha 197s - 197s - 197s - $ cd .. 197s - $ cd gitrepo 197s -git should have the tag alpha 197s - $ git fetch origin 197s - From $TESTTMP/repo 197s - 7eeab2e..bbae830 master -> origin/master 197s - * [new tag] alpha -> alpha 197s - $ cd .. 197s - 197s - $ hg clone repo.git hgrepo2 197s - importing 2 git commits 197s - new changesets ff7a2f2d8d70:e8b150f84560 (2 drafts) 197s - updating to bookmark master 197s - 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 197s - $ hg -R hgrepo2 log --graph 197s - @ changeset: 1:e8b150f84560 197s - | bookmark: master 197s - | tag: default/master 197s - | tag: tip 197s - | user: test 197s - | date: Mon Jan 01 00:00:11 2007 +0000 197s - | summary: Added tag alpha for changeset ff7a2f2d8d70 197s - | 197s - o changeset: 0:ff7a2f2d8d70 197s - tag: alpha 197s - user: test 197s - date: Mon Jan 01 00:00:10 2007 +0000 197s - summary: add alpha 197s - 197s - 197s -the tag should be in .hgtags 197s - $ cat hgrepo2/.hgtags 197s - ff7a2f2d8d7099694ae1e8b03838d40575bebb63 alpha 197s 197s ERROR: test-hg-tags.t output changed 197s ! 197s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-multiple-remotes.t 197s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-multiple-remotes.t.err 197s @@ -14,6 +14,7 @@ 197s $ git clone --bare --quiet gitrepo repo.git 197s 197s $ hg init hgrepo 197s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 197s $ cd hgrepo 197s $ cat > .hg/hgrc < [paths] 197s @@ -26,52 +27,28 @@ 197s > EOF 197s 197s $ hg pull 197s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 197s pulling from $TESTTMP/gitrepo 197s - importing 1 git commits 197s - adding bookmark master 197s - adding bookmark not-master 197s - new changesets ff7a2f2d8d70 (1 drafts) 197s - (run 'hg update' to get a working copy) 197s - pulling from $TESTTMP/repo.git 197s - no changes found 197s + abort: repository $TESTTMP/gitrepo not found 197s + [255] 197s $ hg tags 197s - tip 0:ff7a2f2d8d70 197s - git/not-master 0:ff7a2f2d8d70 197s - git/master 0:ff7a2f2d8d70 197s - bare/not-master 0:ff7a2f2d8d70 197s - bare/master 0:ff7a2f2d8d70 197s - also-git/not-master 0:ff7a2f2d8d70 197s - also-git/master 0:ff7a2f2d8d70 197s - also-bare/not-master 0:ff7a2f2d8d70 197s - also-bare/master 0:ff7a2f2d8d70 197s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 197s + tip -1:000000000000 197s 197s $ hg up master 197s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 197s - (activating bookmark master) 197s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 197s + abort: unknown revision 'master' 197s + [10] 197s $ echo beta > beta 197s $ fn_hg_commit -A -m "add beta" 197s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 197s $ hg push 197s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 197s pushing to $TESTTMP/gitrepo 197s - searching for changes 197s - adding objects 197s - remote: found 0 deltas to reuse 197s - added 1 commits with 1 trees and 1 blobs 197s - updating reference refs/heads/master 197s - pushing to $TESTTMP/repo.git 197s - searching for changes 197s - adding objects 197s - remote: found 0 deltas to reuse 197s - added 1 commits with 1 trees and 1 blobs 197s - updating reference refs/heads/master 197s + abort: repository $TESTTMP/gitrepo not found 197s + [255] 197s 197s $ hg tags 197s - tip 1:47580592d3d6 197s - git/master 1:47580592d3d6 197s - bare/master 1:47580592d3d6 197s - also-git/master 1:47580592d3d6 197s - also-bare/master 1:47580592d3d6 197s - git/not-master 0:ff7a2f2d8d70 197s - bare/not-master 0:ff7a2f2d8d70 197s - also-git/not-master 0:ff7a2f2d8d70 197s - also-bare/not-master 0:ff7a2f2d8d70 197s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 197s + tip 0:59e1f63242de 197s 197s 197s ERROR: test-multiple-remotes.t output changed 197s ! 197s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-hg-clone.t 197s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-hg-clone.t.err 197s @@ -11,88 +11,17 @@ 197s $ cd .. 197s 197s $ hg clone -U gitrepo hgrepo 197s - importing 1 git commits 197s - new changesets ff7a2f2d8d70 (1 drafts) 197s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 197s + abort: repository gitrepo not found 197s + [255] 197s 197s By default, the Git state isn't preserved across a copying/linking 197s clone 197s 197s $ hg clone -U hgrepo otherhgrepo 197s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 197s + abort: repository hgrepo not found 197s + [255] 197s $ cd otherhgrepo 197s + $TESTTMP.sh: 22: cd: can't cd to otherhgrepo 197s $ find .hg -name 'git*' | sort 197s - $ hg tags -v 197s - tip 0:ff7a2f2d8d70 197s - $ hg log -r 'fromgit()' -T '{rev}:{node|short} {gitnode|short}\n' 197s - $ cd .. 197s - $ rm -r otherhgrepo 197s - 197s -Nor using a pull clone 197s - 197s - $ hg clone -U --pull hgrepo otherhgrepo 197s - requesting all changes 197s - adding changesets 197s - adding manifests 197s - adding file changes 197s - added 1 changesets with 1 changes to 1 files 197s - new changesets ff7a2f2d8d70 197s - $ cd otherhgrepo 197s - $ find .hg -name 'git*' | sort 197s - $ hg tags -v 197s - tip 0:ff7a2f2d8d70 197s - $ hg log -r 'fromgit()' -T '{rev}:{node|short} {gitnode|short}\n' 197s - $ cd .. 197s - $ rm -r otherhgrepo 197s - 197s -But we can enable it! 197s - 197s - $ cat >> $HGRCPATH < [experimental] 197s - > hg-git-serve = yes 197s - > EOF 197s - 197s -Check transferring between Mercurial repositories using a 197s -copying/linking clone 197s - 197s - $ hg clone -U hgrepo otherhgrepo 197s - $ cd otherhgrepo 197s - $ find .hg -name 'git*' | sort 197s - $ hg tags -q 197s - tip 197s - $ hg log -r 'fromgit()' -T '{rev}:{node|short} {gitnode|short}\n' 197s - $ cd .. 197s - 197s -Checking using a pull clone 197s - 197s - $ rm -rf otherhgrepo 197s - $ hg clone -U --pull hgrepo otherhgrepo 197s - requesting all changes 197s - adding changesets 197s - adding manifests 197s - adding file changes 197s - added 1 changesets with 1 changes to 1 files 197s - new changesets ff7a2f2d8d70 197s - $ cd otherhgrepo 197s - $ hg tags -q 197s - tip 197s - alpha 197s - $ hg log -r 'fromgit()' -T '{rev}:{node|short} {gitnode|short}\n' 197s - 0:ff7a2f2d8d70 7eeab2ea75ec 197s - $ cd .. 197s - 197s -Can we repopulate the state from a Mercurial repository? 197s - 197s - $ cd otherhgrepo 197s - $ hg debug-remove-hggit-state 197s - clearing out the git cache data 197s - $ hg log -qr 'fromgit()' 197s - $ hg tags 197s - tip 0:ff7a2f2d8d70 197s - $ hg pull 197s - pulling from $TESTTMP/hgrepo 197s - searching for changes 197s - no changes found 197s - $ hg log -qr 'fromgit()' 197s - $ hg tags 197s - tip 0:ff7a2f2d8d70 197s - 197s -Sadly, no. 197s 197s ERROR: test-hg-clone.t output changed 197s ! 197s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-push-detached.t 197s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-push-detached.t.err 197s @@ -40,37 +40,9 @@ 197s in this case continues to work. 197s 197s $ hg clone gitrepo hgrepo 197s - importing 1 git commits 197s - new changesets ff7a2f2d8d70 (1 drafts) 197s - updating to bookmark master 197s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 197s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 197s + abort: repository gitrepo not found 197s + [255] 197s $ cd hgrepo 197s + $TESTTMP.sh: 20: cd: can't cd to hgrepo 197s $ echo beta > beta 197s - $ hg add beta 197s - $ fn_hg_commit -m "add beta" 197s - 197s -Pushing that changeset, with phases, publishes the detached HEAD. 197s -Whether this should happen is debatable, but it's a side effect from 197s -the fact that pushing to the remote HEAD, with HEAD being the usual 197s -symref, should publish it. 197s - 197s - $ hg push -v --config hggit.usephases=yes 197s - pushing to $TESTTMP/gitrepo 197s - finding unexported changesets 197s - exporting 1 changesets 197s - converting revision 47580592d3d6492421a1e6cebc5c2d701a2e858b 197s - packing 3 loose objects... 197s - searching for changes 197s - remote: counting objects: 5, done. 197s - 1 commits found 197s - adding objects 197s - remote: counting objects: 5, done. 197s - remote: found 0 deltas to reuse 197s - added 1 commits with 1 trees and 1 blobs 197s - updating reference default::refs/heads/master => GIT:0f378ab6 197s - publishing remote HEAD 197s - $ hg phase 'all()' 197s - 0: public 197s - 1: draft 197s - $ cd .. 197s - 197s 197s ERROR: test-push-detached.t output changed 198s ! 198s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-serve-git.t 198s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-serve-git.t.err 198s @@ -33,28 +33,14 @@ 198s Make sure that clone over the old git protocol doesn't break 198s 198s $ hg clone -U git://localhost:$HGPORT/test copy 2>&1 198s - \r (no-eol) (esc) 198s - Counting objects 1/6 [=====> ]\r (no-eol) (esc) 198s - Counting objects 2/6 [===========> ]\r (no-eol) (esc) 198s - Counting objects 3/6 [=================> ]\r (no-eol) (esc) 198s - Counting objects 4/6 [=======================> ]\r (no-eol) (esc) 198s - Counting objects 5/6 [=============================> ]\r (no-eol) (esc) 198s - Counting objects 6/6 [===================================>]\r (no-eol) (esc) 198s - \r (no-eol) (esc) 198s - \r (no-eol) (esc) 198s - Compressing objects 1/3 [==========> ]\r (no-eol) (esc) 198s - Compressing objects 2/3 [=====================> ]\r (no-eol) (esc) 198s - Compressing objects 3/3 [================================>]\r (no-eol) (esc) 198s - \r (no-eol) (esc) 198s - \r (no-eol) (esc) 198s - importing commits 1/2 b23744d34f97 [======> ]\r (no-eol) (esc) 198s - importing commits 2/2 3af9773036a9 [=============>]\r (no-eol) (esc) 198s - \r (no-eol) (esc) 198s - importing 2 git commits 198s - new changesets c4d188f6e13d:221dd250e933 198s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 198s + abort: repository git://localhost:$HGPORT/test not found 198s + [255] 198s $ hg log -T 'HG:{node|short} GIT:{gitnode|short}\n' -R copy 198s - HG:221dd250e933 GIT:3af9773036a9 198s - HG:c4d188f6e13d GIT:b23744d34f97 198s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 198s + abort: repository copy not found 198s + [255] 198s $ hg tags -v -R copy 198s - tip 1:221dd250e933 198s - default/master 1:221dd250e933 git-remote 198s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 198s + abort: repository copy not found 198s + [255] 198s 198s ERROR: test-serve-git.t output changed 200s ! 200s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-convergedmerge.t 200s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-convergedmerge.t.err 200s @@ -2,29 +2,39 @@ 200s $ . "$TESTDIR/testutil" 200s 200s $ hg init hgrepo1 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s $ cd hgrepo1 200s $ echo A > afile 200s $ hg add afile 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s $ hg ci -m "origin" 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s 200s $ echo B > afile 200s $ hg ci -m "A->B" 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s 200s $ echo C > afile 200s $ hg ci -m "B->C" 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s 200s $ hg up -r0 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 200s $ echo C > afile 200s $ hg ci -m "A->C" 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s created new head 200s 200s $ hg merge -r2 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 200s (branch merge, don't forget to commit) 200s $ hg ci -m "merge" 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s 200s $ hg log --graph --style compact | sed 's/\[.*\]//g' 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s @ 4:3,2 eaa21d002113 1970-01-01 00:00 +0000 test 200s |\ merge 200s | | 200s @@ -47,36 +57,23 @@ 200s 200s $ cd hgrepo1 200s $ hg bookmark -r4 master 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s $ hg push -r master ../repo.git 200s - pushing to ../repo.git 200s - searching for changes 200s - adding objects 200s - remote: found 0 deltas to reuse 200s - added 5 commits with 3 trees and 3 blobs 200s - adding reference refs/heads/master 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s + abort: repository ../repo.git does not exist 200s + [255] 200s $ cd .. 200s 200s $ hg clone repo.git hgrepo2 200s - importing 5 git commits 200s - new changesets 5d1a6b64f9d0:eaa21d002113 (5 drafts) 200s - updating to bookmark master 200s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s + abort: repository repo.git not found 200s + [255] 200s expect the same revision ids as above 200s $ hg -R hgrepo2 log --graph --style compact | sed 's/\[.*\]//g' 200s - @ 4:1,3 eaa21d002113 1970-01-01 00:00 +0000 test 200s - |\ merge 200s - | | 200s - | o 3 0dbe4ac1a758 1970-01-01 00:00 +0000 test 200s - | | B->C 200s - | | 200s - | o 2:0 7205e83b5a3f 1970-01-01 00:00 +0000 test 200s - | | A->B 200s - | | 200s - o | 1 ea82b67264a1 1970-01-01 00:00 +0000 test 200s - |/ A->C 200s - | 200s - o 0 5d1a6b64f9d0 1970-01-01 00:00 +0000 test 200s - origin 200s - 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s + abort: repository hgrepo2 not found 200s $ hg -R hgrepo2 gverify 200s - verifying rev eaa21d002113 against git commit fb8c9e2afe5418cfff337eeed79fad5dd58826f0 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s + hg: unknown command 'gverify' 200s + (did you mean verify?) 200s + [10] 200s 200s ERROR: test-convergedmerge.t output changed 200s ! 200s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-conflict-2.t 200s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-conflict-2.t.err 200s @@ -2,30 +2,40 @@ 200s $ . "$TESTDIR/testutil" 200s 200s $ hg init hgrepo1 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s $ cd hgrepo1 200s $ echo A > afile 200s $ hg add afile 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s $ hg ci -m "origin" 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s 200s $ echo B > afile 200s $ hg ci -m "A->B" 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s 200s $ hg up -r0 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 200s $ echo C > afile 200s $ hg ci -m "A->C" 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s created new head 200s 200s $ hg merge -r1 2>&1 | sed 's/-C ./-C/' | grep -E -v '^merging afile' | sed 's/incomplete.*/failed!/' 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s warning: conflicts.* (re) 200s 0 files updated, 0 files merged, 0 files removed, 1 files unresolved 200s use 'hg resolve' to retry unresolved file merges or 'hg *' to abandon (glob) 200s resolve using second parent 200s $ echo B > afile 200s $ hg resolve -m afile | grep -E -v 'no more unresolved files' || true 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s $ hg ci -m "merge to B" 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s 200s $ hg log --graph --style compact | sed 's/\[.*\]//g' 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s @ 3:2,1 120385945d08 1970-01-01 00:00 +0000 test 200s |\ merge to B 200s | | 200s @@ -45,31 +55,18 @@ 200s 200s $ cd hgrepo1 200s $ hg bookmark -r tip master 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s $ hg push -r master ../repo.git 200s - pushing to ../repo.git 200s - searching for changes 200s - adding objects 200s - remote: found 0 deltas to reuse 200s - added 4 commits with 3 trees and 3 blobs 200s - adding reference refs/heads/master 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s + abort: repository ../repo.git does not exist 200s + [255] 200s $ cd .. 200s 200s $ hg clone repo.git hgrepo2 200s - importing 4 git commits 200s - new changesets 5d1a6b64f9d0:120385945d08 (4 drafts) 200s - updating to bookmark master 200s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s + abort: repository repo.git not found 200s + [255] 200s expect the same revision ids as above 200s $ hg -R hgrepo2 log --graph --style compact | sed 's/\[.*\]//g' 200s - @ 3:1,2 120385945d08 1970-01-01 00:00 +0000 test 200s - |\ merge to B 200s - | | 200s - | o 2:0 7205e83b5a3f 1970-01-01 00:00 +0000 test 200s - | | A->B 200s - | | 200s - o | 1 ea82b67264a1 1970-01-01 00:00 +0000 test 200s - |/ A->C 200s - | 200s - o 0 5d1a6b64f9d0 1970-01-01 00:00 +0000 test 200s - origin 200s - 200s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 200s + abort: repository hgrepo2 not found 200s 200s ERROR: test-conflict-2.t output changed 201s ! 201s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-phases-draft.t 201s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-phases-draft.t.err 201s @@ -12,73 +12,10 @@ 201s cloning without hggit.usephases does not publish local changesets 201s $ cd .. 201s $ hg clone gitrepo hgrepo | grep -v '^updating' 201s - importing 1 git commits 201s - new changesets ff7a2f2d8d70 (1 drafts) 201s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 201s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 201s + abort: repository gitrepo not found 201s + [1] 201s 201s $ cd hgrepo 201s + $TESTTMP.sh: 20: cd: can't cd to hgrepo 201s $ hg phase -r master 201s - 0: draft 201s - 201s -pulling advances the draft phase, though 201s - 201s - $ hg phase -fs 0 201s - $ hg pull 201s - pulling from $TESTTMP/gitrepo 201s - no changes found 201s - $ hg phase tip 201s - 0: draft 201s - 201s -even if we don't have a name? 201s - 201s - $ hg phase -fs 0 201s - $ mv .hg/hgrc .hg/hgrc.bak 201s - $ hg pull ../gitrepo 201s - pulling from ../gitrepo 201s - no changes found 201s - $ hg phase tip 201s - 0: draft 201s - $ mv .hg/hgrc.bak .hg/hgrc 201s - $ cd .. 201s - 201s - 201s -pulling without hggit.usephases does not publish local changesets 201s - $ cd gitrepo 201s - $ git checkout -q master 201s - $ echo beta > beta 201s - $ git add beta 201s - $ fn_git_commit -m 'add beta' 201s - $ cd .. 201s - 201s - $ cd hgrepo 201s - $ hg pull 201s - pulling from $TESTTMP/gitrepo 201s - importing 1 git commits 201s - updating bookmark master 201s - new changesets 7fe02317c63d (1 drafts) 201s - (run 'hg update' to get a working copy) 201s - $ hg phase -r master 201s - 1: draft 201s - 201s -pulling with git.public does not publish local changesets 201s - $ hg --config git.public=master pull 201s - pulling from $TESTTMP/gitrepo 201s - no changes found 201s - $ hg phase -r master 201s - 1: draft 201s - 201s -pushing without hggit.usephases does not publish local changesets 201s - $ hg update master 201s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 201s - $ echo gamma > gamma 201s - $ hg add gamma 201s - $ hg commit -m 'gamma' 201s - $ hg push 201s - pushing to $TESTTMP/gitrepo 201s - searching for changes 201s - adding objects 201s - remote: found 0 deltas to reuse 201s - added 1 commits with 1 trees and 1 blobs 201s - updating reference refs/heads/master 201s - $ hg phase -r master 201s - 2: draft 201s 201s ERROR: test-phases-draft.t output changed 201s ! 201s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-subrepos-push.t 201s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-subrepos-push.t.err 201s @@ -5,10 +5,13 @@ 201s Initialized empty Git repository in $TESTTMP/repo.git/ 201s 201s $ hg init hgsubrepo 201s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 201s $ cd hgsubrepo 201s $ echo thefile > thefile 201s $ hg add thefile 201s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 201s $ fn_hg_commit -m 'add thefile' 201s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 201s $ cd .. 201s 201s $ git init gitsubrepo 201s @@ -20,59 +23,9 @@ 201s $ cd .. 201s 201s $ hg clone repo.git hgrepo 201s - updating to branch default 201s - 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 201s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 201s + abort: repository repo.git not found 201s + [255] 201s $ cd hgrepo 201s + $TESTTMP.sh: 32: cd: can't cd to hgrepo 201s $ hg book master 201s - $ echo alpha > alpha 201s - $ hg add alpha 201s - $ fn_hg_commit -m 'add alpha' 201s - $ touch .hgsub 201s - $ hg add .hgsub 201s - $ fn_hg_commit -m "add .hgsub" 201s - $ hg clone -q ../hgsubrepo hg 201s - $ echo "hg = ../hgsubrepo" >> .hgsub 201s - $ fn_hg_commit -m 'add hg subrepo' 201s - $ git clone --quiet ../gitsubrepo git 201s - $ echo "git = [git]../gitsubrepo" >> .hgsub 201s - $ fn_hg_commit -m 'add git subrepo' 201s - $ hg push 201s - pushing to $TESTTMP/repo.git 201s - pushing subrepo hg to $TESTTMP/hgsubrepo 201s - searching for changes 201s - no changes found 201s - searching for changes 201s - adding objects 201s - remote: found 0 deltas to reuse 201s - added 4 commits with 2 trees and 2 blobs 201s - adding reference refs/heads/master 201s - $ cat .hgsub 201s - hg = ../hgsubrepo 201s - git = [git]../gitsubrepo 201s - $ cat .hgsubstate 201s - aaae5224095dca7403147c0e20cbac1f450b0e95 git 201s - df643c539c7541d48eacc76745581e00cbaf3d45 hg 201s - $ cd .. 201s - 201s -Now clone it. Note that no Mercurial state persists: 201s - 201s - $ git clone --recurse-submodules repo.git gitrepo 201s - Cloning into 'gitrepo'... 201s - done. 201s - Submodule 'git' ($TESTTMP/gitsubrepo) registered for path 'git' 201s - Cloning into '$TESTTMP/gitrepo/git'... 201s - done. 201s - Submodule path 'git': checked out 'aaae5224095dca7403147c0e20cbac1f450b0e95' 201s - $ cd gitrepo 201s - $ ls -A 201s - .git 201s - .gitmodules 201s - alpha 201s - git 201s - $ cat .gitmodules 201s - [submodule "git"] 201s - path = git 201s - url = ../gitsubrepo 201s - $ ls -A git 201s - .git 201s - thefile 201s 201s ERROR: test-subrepos-push.t output changed 202s ! 202s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-conflict-1.t 202s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-conflict-1.t.err 202s @@ -2,30 +2,40 @@ 202s $ . "$TESTDIR/testutil" 202s 202s $ hg init hgrepo1 202s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 202s $ cd hgrepo1 202s $ echo A > afile 202s $ hg add afile 202s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 202s $ hg ci -m "origin" 202s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 202s 202s $ echo B > afile 202s $ hg ci -m "A->B" 202s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 202s 202s $ hg up -r0 202s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 202s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 202s $ echo C > afile 202s $ hg ci -m "A->C" 202s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 202s created new head 202s 202s $ hg merge -r1 2>&1 | sed 's/-C ./-C/' | grep -E -v '^merging afile' | sed 's/incomplete.*/failed!/' 202s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 202s warning: conflicts.* (re) 202s 0 files updated, 0 files merged, 0 files removed, 1 files unresolved 202s use 'hg resolve' to retry unresolved file merges or 'hg *' to abandon (glob) 202s resolve using first parent 202s $ echo C > afile 202s $ hg resolve -m afile | grep -E -v 'no more unresolved files' || true 202s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 202s $ hg ci -m "merge to C" 202s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 202s 202s $ hg log --graph --style compact | sed 's/\[.*\]//g' 202s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 202s @ 3:2,1 6c53bc0f062f 1970-01-01 00:00 +0000 test 202s |\ merge to C 202s | | 202s @@ -45,31 +55,18 @@ 202s 202s $ cd hgrepo1 202s $ hg bookmark -r tip master 202s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 202s $ hg push -r master ../repo.git 202s - pushing to ../repo.git 202s - searching for changes 202s - adding objects 202s - remote: found 0 deltas to reuse 202s - added 4 commits with 3 trees and 3 blobs 202s - adding reference refs/heads/master 202s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 202s + abort: repository ../repo.git does not exist 202s + [255] 202s $ cd .. 202s 202s $ hg clone repo.git hgrepo2 202s - importing 4 git commits 202s - new changesets 5d1a6b64f9d0:6c53bc0f062f (4 drafts) 202s - updating to bookmark master 202s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 202s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 202s + abort: repository repo.git not found 202s + [255] 202s expect the same revision ids as above 202s $ hg -R hgrepo2 log --graph --style compact | sed 's/\[.*\]//g' 202s - @ 3:1,2 6c53bc0f062f 1970-01-01 00:00 +0000 test 202s - |\ merge to C 202s - | | 202s - | o 2:0 7205e83b5a3f 1970-01-01 00:00 +0000 test 202s - | | A->B 202s - | | 202s - o | 1 ea82b67264a1 1970-01-01 00:00 +0000 test 202s - |/ A->C 202s - | 202s - o 0 5d1a6b64f9d0 1970-01-01 00:00 +0000 test 202s - origin 202s - 202s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 202s + abort: repository hgrepo2 not found 202s 202s ERROR: test-conflict-1.t output changed 202s ! 202s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-pull-after-obsolete.t 202s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-pull-after-obsolete.t.err 202s @@ -20,52 +20,9 @@ 202s 202s $ cd .. 202s $ hg clone -U gitrepo hgrepo 202s - importing 2 git commits 202s - new changesets ff7a2f2d8d70:7fe02317c63d (2 drafts) 202s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 202s + abort: repository gitrepo not found 202s + [255] 202s $ cd hgrepo 202s + $TESTTMP.sh: 31: cd: can't cd to hgrepo 202s $ hg up master 202s - 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 202s - (activating bookmark master) 202s - $ hg log --graph 202s - @ changeset: 1:7fe02317c63d 202s - | bookmark: master 202s - | tag: default/master 202s - | tag: thetag 202s - | tag: tip 202s - | user: test 202s - | date: Mon Jan 01 00:00:11 2007 +0000 202s - | summary: add beta 202s - | 202s - o changeset: 0:ff7a2f2d8d70 202s - user: test 202s - date: Mon Jan 01 00:00:10 2007 +0000 202s - summary: add alpha 202s - 202s - $ cd ../gitrepo 202s - $ echo beta line 2 >> beta 202s - $ git add beta 202s - $ fn_git_commit -m 'add to beta' 202s - 202s -Create a commit, obsolete it, and pull, to ensure that we can pull if 202s -the tipmost commit is hidden. 202s - 202s - $ cd ../hgrepo 202s - $ hg bookmark --inactive 202s - $ echo gamma > gamma 202s - $ hg add gamma 202s - $ fn_hg_commit -m 'add gamma' 202s - $ hg up master 202s - 0 files updated, 0 files merged, 1 files removed, 0 files unresolved 202s - (activating bookmark master) 202s - $ hg log -T '{rev}:{node} {desc}\n' -r tip 202s - 2:4090a1266584bc1a47ce562e9349b1e0f1b44611 add gamma 202s - $ hg debugobsolete 4090a1266584bc1a47ce562e9349b1e0f1b44611 202s - 1 new obsolescence markers 202s - obsoleted 1 changesets 202s - 202s - $ hg pull 202s - pulling from $TESTTMP/gitrepo 202s - importing 1 git commits 202s - updating bookmark master 202s - new changesets cc1e605d90db (1 drafts) 202s - (run 'hg update' to get a working copy) 202s 202s ERROR: test-pull-after-obsolete.t output changed 203s ! 203s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-git-clone.t 203s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-git-clone.t.err 203s @@ -14,30 +14,24 @@ 203s $ cd .. 203s 203s $ hg clone gitrepo hgrepo 203s - importing 2 git commits 203s - new changesets ff7a2f2d8d70:7fe02317c63d (2 drafts) 203s - updating to bookmark master 203s - 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 203s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 203s + abort: repository gitrepo not found 203s + [255] 203s $ hg -R hgrepo log --graph 203s - @ changeset: 1:7fe02317c63d 203s - | bookmark: master 203s - | tag: default/master 203s - | tag: tip 203s - | user: test 203s - | date: Mon Jan 01 00:00:11 2007 +0000 203s - | summary: add beta 203s - | 203s - o changeset: 0:ff7a2f2d8d70 203s - user: test 203s - date: Mon Jan 01 00:00:10 2007 +0000 203s - summary: add alpha 203s - 203s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 203s + abort: repository hgrepo not found 203s + [255] 203s 203s we should have some bookmarks 203s $ hg -R hgrepo book 203s - * master 1:7fe02317c63d 203s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 203s + abort: repository hgrepo not found 203s + [255] 203s $ hg -R hgrepo gverify 203s - verifying rev 7fe02317c63d against git commit 9497a4ee62e16ee641860d7677cdb2589ea15554 203s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 203s + hg: unknown command 'gverify' 203s + (did you mean verify?) 203s + [10] 203s 203s test for ssh vulnerability 203s 203s @@ -47,16 +41,18 @@ 203s > EOF 203s 203s $ hg clone -q 'git+ssh://-oProxyCommand=rm${IFS}nonexistent/path' 203s - abort: potentially unsafe hostname: '-oProxyCommand=rm${IFS}nonexistent' 203s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 203s + abort: repository git+ssh://-oProxyCommand%3Drm%24%7BIFS%7Dnonexistent/path not found 203s [255] 203s $ hg clone -q 'git+ssh://%2DoProxyCommand=rm${IFS}nonexistent/path' 203s - abort: potentially unsafe hostname: '-oProxyCommand=rm${IFS}nonexistent' 203s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 203s + abort: repository git+ssh://-oProxyCommand%3Drm%24%7BIFS%7Dnonexistent/path not found 203s [255] 203s $ hg clone -q 'git+ssh://fakehost|rm${IFS}nonexistent/path' 203s - ssh: * fakehost%7?rm%24%7????%7?nonexistent* (glob) 203s - abort: git remote error: The remote server unexpectedly closed the connection. 203s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 203s + abort: repository git+ssh://fakehost%7Crm%24%7BIFS%7Dnonexistent/path not found 203s [255] 203s $ hg clone -q 'git+ssh://fakehost%7Crm${IFS}nonexistent/path' 203s - ssh: * fakehost%7?rm%24%7????%7?nonexistent* (glob) 203s - abort: git remote error: The remote server unexpectedly closed the connection. 203s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 203s + abort: repository git+ssh://fakehost%7Crm%24%7BIFS%7Dnonexistent/path not found 203s [255] 203s 203s ERROR: test-git-clone.t output changed 203s ! 203s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-git-gpg.t 203s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-git-gpg.t.err 203s @@ -55,23 +55,10 @@ 203s Hg clone it 203s 203s $ hg clone gitrepo hgrepo 203s - importing 2 git commits 203s - new changesets ab60c5e55bd6:[0-9a-f]{12,12} \(2 drafts\) (re) 203s - updating to bookmark signed 203s - 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 203s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 203s + abort: repository gitrepo not found 203s + [255] 203s 203s $ cd hgrepo 203s + $TESTTMP.sh: 46: cd: can't cd to hgrepo 203s $ hg push ../gitrepo2 -B signed 203s - pushing to ../gitrepo2 203s - searching for changes 203s - adding objects 203s - remote: found 0 deltas to reuse 203s - added 1 commits with 1 trees and 0 blobs 203s - adding reference refs/heads/signed 203s - $ cd .. 203s - 203s -Verify the commit 203s - 203s - $ cd gitrepo2 203s - $ git show --show-signature signed | grep "Good signature from" 203s - gpg: Good signature from "hgtest" [ultimate] 203s 203s ERROR: test-git-gpg.t output changed 204s ! 204s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-push-phases.t 204s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-push-phases.t.err 204s @@ -9,68 +9,13 @@ 204s $ git init -q --bare repo.git 204s 204s $ hg clone repo.git hgrepo 204s - updating to branch default 204s - 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 204s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 204s + abort: repository repo.git not found 204s + [255] 204s 204s $ cd hgrepo 204s + $TESTTMP.sh: 13: cd: can't cd to hgrepo 204s 204s Create two commits, one secret: 204s 204s $ touch alpha 204s - $ hg add alpha 204s - $ fn_hg_commit -m alpha 204s - $ hg book -r . master 204s - $ touch beta 204s - $ hg add beta 204s - $ fn_hg_commit --secret -m beta 204s - $ hg book -r . secret 204s - $ hg push 204s - pushing to $TESTTMP/repo.git 204s - warning: not exporting secret bookmark 'secret' 204s - searching for changes 204s - adding objects 204s - remote: found 0 deltas to reuse 204s - added 1 commits with 1 trees and 1 blobs 204s - adding reference refs/heads/master 204s - $ cd .. 204s - $ hg -R hgrepo log --graph --template phases 204s - @ changeset: 1:62966756ea96 204s - | bookmark: secret 204s - | tag: tip 204s - | phase: secret 204s - | user: test 204s - | date: Mon Jan 01 00:00:11 2007 +0000 204s - | summary: beta 204s - | 204s - o changeset: 0:d4b83afc35d1 204s - bookmark: master 204s - tag: default/master 204s - phase: public 204s - user: test 204s - date: Mon Jan 01 00:00:10 2007 +0000 204s - summary: alpha 204s - 204s - 204s -What happens when we push the secret? 204s - 204s - $ hg -R hgrepo push -B secret 204s - pushing to $TESTTMP/repo.git 204s - warning: not exporting secret bookmark 'secret' 204s - searching for changes 204s - abort: revision 62966756ea96 cannot be pushed since it doesn't have a bookmark 204s - [255] 204s - 204s -Only one changeset was pushed: 204s - 204s - $ GIT_DIR=repo.git git log --graph --all --decorate=short 204s - * commit 2cc4e3d19551e459a0dd606f4cf890de571c7d33 (HEAD -> master) 204s - Author: test 204s - Date: Mon Jan 1 00:00:10 2007 +0000 204s - 204s - alpha 204s - 204s -And this published the remote head: 204s - 204s - $ hg -R hgrepo phase 'all()' 204s - 0: public 204s - 1: secret 204s 204s ERROR: test-push-phases.t output changed 204s ! 204s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-keywords.t 204s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-keywords.t.err 204s @@ -21,29 +21,9 @@ 204s $ cd .. 204s 204s $ hg clone gitrepo hgrepo 204s - importing 3 git commits 204s - new changesets ff7a2f2d8d70:8e3f0ecc9aef (3 drafts) 204s - updating to bookmark master 204s - 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 204s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 204s + abort: repository gitrepo not found 204s + [255] 204s $ cd hgrepo 204s + $TESTTMP.sh: 30: cd: can't cd to hgrepo 204s $ echo gamma > gamma 204s - $ hg add gamma 204s - $ hg commit -m 'add gamma' 204s - 204s - $ hg log --template "{rev} {node} {node|short} {gitnode} {gitnode|short}\n" 204s - 3 965bf7d08d3ac847dd8eb9e72ee0bf547d1a65d9 965bf7d08d3a 204s - 2 8e3f0ecc9aefd4ea2fdf8e2d5299cac548762a1c 8e3f0ecc9aef 7e2a5465ff4e3b992c429bb87a392620a0ac97b7 7e2a5465ff4e 204s - 1 7fe02317c63d9ee324d4b5df7c9296085162da1b 7fe02317c63d 9497a4ee62e16ee641860d7677cdb2589ea15554 9497a4ee62e1 204s - 0 ff7a2f2d8d7099694ae1e8b03838d40575bebb63 ff7a2f2d8d70 7eeab2ea75ec1ac0ff3d500b5b6f8a3447dd7c03 7eeab2ea75ec 204s - $ hg log --template "fromgit {rev}\n" --rev "fromgit()" 204s - fromgit 0 204s - fromgit 1 204s - fromgit 2 204s - $ hg log --template "gitnode_existsA {rev}\n" --rev "gitnode(9497a4ee62e16ee641860d7677cdb2589ea15554)" 204s - gitnode_existsA 1 204s - $ hg log --template "gitnode_existsB {rev}\n" --rev "gitnode(7eeab)" 204s - gitnode_existsB 0 204s - $ hg log --rev "gitnode(7e)" 204s - abort: git-mapfile@7e: ambiguous identifier!? (re) 204s - [50] 204s - $ hg log --template "gitnode_notexists {rev}\n" --rev "gitnode(1234567890ab)" 204s 204s ERROR: test-keywords.t output changed 204s ! 204s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-subrepos-delete.t 204s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-subrepos-delete.t.err 204s @@ -52,22 +52,9 @@ 204s And there should be nothing in Mercurial either: 204s 204s $ hg clone -U repo.git hgrepo 204s - importing 3 git commits 204s - new changesets e532b2bfda10:cc611d35fb62 (3 drafts) 204s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 204s + abort: repository repo.git not found 204s + [255] 204s $ cd hgrepo 204s + $TESTTMP.sh: 50: cd: can't cd to hgrepo 204s $ hg log --graph --template info 204s - o 204s - | commit: 2:cc611d35fb62 delete subrepo 204s - | added: 204s - | removed: .hgsub .hgsubstate 204s - o 204s - | commit: 1:8d549bcc5179 add subrepo 204s - | added: .hgsub .hgsubstate 204s - | removed: 204s - o 204s - commit: 0:e532b2bfda10 add alpha 204s - added: alpha 204s - removed: 204s - $ hg manifest -r tip 204s - alpha 204s - $ cd .. 204s 204s ERROR: test-subrepos-delete.t output changed 205s ! 205s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-tree-decomposition.t 205s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-tree-decomposition.t.err 205s @@ -24,45 +24,9 @@ 205s $ git init -q --bare repo.git 205s 205s $ hg clone gitrepo hgrepo 205s - importing 3 git commits 205s - new changesets d4d3d2417141:541f27994b81 (3 drafts) 205s - updating to bookmark master 205s - 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 205s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 205s + abort: repository gitrepo not found 205s + [255] 205s $ cd hgrepo 205s + $TESTTMP.sh: 38: cd: can't cd to hgrepo 205s $ hg log --template 'adds: {file_adds}\ndels: {file_dels}\n' 205s - adds: d1 205s - dels: d1/f1 205s - adds: d2/f2 205s - dels: d1/f2 205s - adds: d1/f1 d1/f2 205s - dels: 205s - 205s - $ hg debug-remove-hggit-state 205s - clearing out the git cache data 205s - $ hg push ../repo.git 205s - pushing to ../repo.git 205s - searching for changes 205s - adding objects 205s - remote: found 0 deltas to reuse 205s - added 3 commits with 6 trees and 3 blobs 205s - adding reference refs/heads/master 205s - $ cd .. 205s - 205s - $ git --git-dir=repo.git log --pretty=medium 205s - commit 6e0dbd8cd92ed4823c69cb48d8a2b81f904e6e69 205s - Author: test 205s - Date: Mon Jan 1 00:00:12 2007 +0000 205s - 205s - replace a dir with a file 205s - 205s - commit a1874d5cd0b1549ed729e36f0da4a93ed36259ee 205s - Author: test 205s - Date: Mon Jan 1 00:00:11 2007 +0000 205s - 205s - rename 205s - 205s - commit 102c17a5deda49db3f10ec5573f9378867098b7c 205s - Author: test 205s - Date: Mon Jan 1 00:00:10 2007 +0000 205s - 205s - initial 205s 205s ERROR: test-tree-decomposition.t output changed 205s ! 205s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-annotate.t 205s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-annotate.t.err 205s @@ -10,6 +10,7 @@ 205s init 205s 205s $ hg init repo 205s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 205s $ cd repo 205s 205s commit 205s @@ -19,37 +20,48 @@ 205s > a 205s > EOF 205s $ hg add a 205s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 205s $ fn_hg_commit -m 1 205s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 205s $ cat < a 205s > a 205s > a 205s > a 205s > EOF 205s $ fn_hg_commit -m 2 205s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 205s $ cat < a 205s > a 205s > b 205s > a 205s > EOF 205s $ fn_hg_commit -m 3 205s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 205s 205s annotate multiple files 205s 205s $ hg annotate a 205s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 205s 0: a 205s 2: b 205s 1: a 205s 205s $ hg annotate --skip 1 a 205s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 205s 0: a 205s 2: b 205s 0* a 205s 205s $ hg gexport 205s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 205s + hg: unknown command 'gexport' 205s + (did you mean one of export, import?) 205s + [10] 205s $ hg log -T '{rev}:{node} {gitnode}\n' 205s - 2:beb139b96eec386addc02d48db524b7646ef1605 19388575d02e71e917e7013aa854d4a21c509819 205s - 1:a9a255d66663f9216bdcf8dda69211d7280f7278 debec50a14cc4830584dd4fa1507c51cce1c098f 205s - 0:8d4731bd0f4a57e123a79463b5294325be6cf8f0 88f28c06a1ede9a70852ab1bf9818150fabaaaa9 205s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 205s + 2:beb139b96eec386addc02d48db524b7646ef1605 205s + 1:a9a255d66663f9216bdcf8dda69211d7280f7278 205s + 0:8d4731bd0f4a57e123a79463b5294325be6cf8f0 205s 205s $ cat < .git-blame-ignore-revs 205s > # this is a comment, and the next line should be ignored 205s @@ -59,39 +71,43 @@ 205s > EOF 205s 205s $ hg annotate a 205s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 205s 0: a 205s 2: b 205s 1: a 205s $ hg annotate a \ 205s > --debug \ 205s > --config git.blame.ignoreRevsFile=.git-blame-ignore-revs 205s - skipping debec50a14cc -> a9a255d66663 205s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 205s 0: a 205s 2: b 205s - 0* a 205s + 1: a 205s $ hg add .git-blame-ignore-revs 205s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 205s $ hg annotate a \ 205s > --debug \ 205s > --config git.blame.ignoreRevsFile=.git-blame-ignore-revs 205s - skipping debec50a14cc -> a9a255d66663 205s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 205s 0: a 205s 2: b 205s - 0* a 205s + 1: a 205s $ hg annotate a \ 205s > --config git.blame.ignoreRevsFile=badfile 205s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 205s 0: a 205s 2: b 205s 1: a 205s $ hg annotate -T'{lines % "{rev}:{node|short} {gitnode|short}: {line}"}' a 205s - 0:8d4731bd0f4a 88f28c06a1ed: a 205s - 2:beb139b96eec 19388575d02e: b 205s - 1:a9a255d66663 debec50a14cc: a 205s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 205s + 0:8d4731bd0f4a : a 205s + 2:beb139b96eec : b 205s + 1:a9a255d66663 : a 205s 205s $ cd .. 205s $ hg -R repo annotate repo/a \ 205s > --debug \ 205s > --config git.blame.ignoreRevsFile=.git-blame-ignore-revs 205s - skipping debec50a14cc -> a9a255d66663 205s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 205s 0: a 205s 2: b 205s - 0* a 205s + 1: a 205s 205s ERROR: test-annotate.t output changed 205s ! 205s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-subrepos-drop.t 205s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-subrepos-drop.t.err 205s @@ -17,52 +17,9 @@ 205s Create a Mercurial repository with a .gitmodules file: 205s 205s $ hg clone repo.git hgrepo 205s - updating to branch default 205s - 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 205s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 205s + abort: repository repo.git not found 205s + [255] 205s $ cd hgrepo 205s + $TESTTMP.sh: 16: cd: can't cd to hgrepo 205s $ hg book master 205s - $ touch this 205s - $ fn_hg_commit -A -m 'add this' 205s - $ cat > .gitmodules < [submodule "subrepo"] 205s - > path = subrepo 205s - > url = ../gitsubrepo 205s - > EOF 205s - $ hg add .gitmodules 205s - $ fn_hg_commit -m "add .gitmodules file" 205s - $ cd .. 205s - 205s -What happens if we push that to Git? 205s - 205s - $ hg -R hgrepo push 205s - pushing to $TESTTMP/repo.git 205s - warning: ignoring modifications to '.gitmodules' file; please use '.hgsub' instead 205s - searching for changes 205s - adding objects 205s - remote: found 0 deltas to reuse 205s - added 2 commits with 1 trees and 1 blobs 205s - adding reference refs/heads/master 205s - 205s -But we don't get a warning if we don't touch .gitmodules: 205s - 205s - $ cd hgrepo 205s - $ touch that 205s - $ fn_hg_commit -A -m 'add that' 205s - $ hg push 205s - pushing to $TESTTMP/repo.git 205s - searching for changes 205s - adding objects 205s - remote: found 0 deltas to reuse 205s - added 1 commits with 1 trees and 0 blobs 205s - updating reference refs/heads/master 205s - $ cd .. 205s - 205s -Check that it didn't silenty come through, or something: 205s - 205s - $ git clone repo.git gitrepo 205s - Cloning into 'gitrepo'... 205s - done. 205s - $ ls -A gitrepo 205s - .git 205s - that 205s - this 205s 205s ERROR: test-subrepos-drop.t output changed 205s ! 205s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-push-anonymous.t 205s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-push-anonymous.t.err 205s @@ -25,28 +25,9 @@ 205s Clone it, deactivate the bookmark, add a commit, and push! 205s 205s $ hg clone -U gitrepo hgrepo 205s - importing 1 git commits 205s - new changesets ff7a2f2d8d70 (1 drafts) 205s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 205s + abort: repository gitrepo not found 205s + [255] 205s $ cd hgrepo 205s + $TESTTMP.sh: 20: cd: can't cd to hgrepo 205s $ hg up tip 205s - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 205s - $ echo beta > beta 205s - $ hg add beta 205s - $ fn_hg_commit -m "add beta" 205s - 205s -Pushing that changeset should print a helpful message: 205s - 205s - $ hg push 205s - pushing to $TESTTMP/gitrepo 205s - searching for changes 205s - no changes found (ignoring 1 changesets without bookmarks or tags) 205s - [1] 205s - 205s -But what about untagged, but secret changesets? 205s - 205s - $ hg phase -fs tip 205s - $ hg push 205s - pushing to $TESTTMP/gitrepo 205s - searching for changes 205s - no changes found 205s - [1] 205s 205s ERROR: test-push-anonymous.t output changed 205s ! 205s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-empty-working-tree.t 205s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-empty-working-tree.t.err 205s @@ -10,29 +10,9 @@ 205s $ git init -q --bare repo.git 205s 205s $ hg clone gitrepo hgrepo 205s - importing 1 git commits 205s - new changesets 01708ca54a8f (1 drafts) 205s - updating to bookmark master 205s - 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 205s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 205s + abort: repository gitrepo not found 205s + [255] 205s $ cd hgrepo 205s + $TESTTMP.sh: 16: cd: can't cd to hgrepo 205s $ hg log -r tip --template 'files: {files}\n' 205s - files: 205s - $ hg gverify 205s - verifying rev 01708ca54a8f against git commit 678256865a8c85ae925bf834369264193c88f8de 205s - 205s - $ hg debug-remove-hggit-state 205s - clearing out the git cache data 205s - $ hg push ../repo.git 205s - pushing to ../repo.git 205s - searching for changes 205s - adding objects 205s - remote: found 0 deltas to reuse 205s - added 1 commits with 1 trees and 0 blobs 205s - adding reference refs/heads/master 205s - $ cd .. 205s - $ git --git-dir=repo.git log --pretty=medium 205s - commit 678256865a8c85ae925bf834369264193c88f8de 205s - Author: test 205s - Date: Mon Jan 1 00:00:00 2007 +0000 205s - 205s - empty 205s 205s ERROR: test-empty-working-tree.t output changed 206s ! 206s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-gitignore-permissions.t 206s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-gitignore-permissions.t.err 206s @@ -4,6 +4,7 @@ 206s $ . "$TESTDIR/testutil" 206s 206s $ hg init repo 206s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 206s $ cd repo 206s 206s $ if test `whoami` = root 206s @@ -16,8 +17,14 @@ 206s 206s $ touch thefile 206s $ hg add thefile 206s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 206s $ hg ci -A -m commit 206s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 206s $ hg gexport 206s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 206s + hg: unknown command 'gexport' 206s + (did you mean one of export, import?) 206s + [10] 206s 206s Create a file that we can ignore 206s 206s @@ -33,9 +40,10 @@ 206s 206s $ echo nothingtoseehere > .gitignore 206s $ hg status 206s - not_readable: Permission denied 206s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 206s not_readable: Permission denied 206s ? .gitignore 206s + ? nothingtoseehere 206s 206s And notice that we really did ignore it! 206s 206s 206s ERROR: test-gitignore-permissions.t output changed 207s ! 207s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-ambiguousprefix.t 207s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-ambiguousprefix.t.err 207s @@ -21,13 +21,11 @@ 207s $ cd .. 207s 207s $ hg clone gitrepo hgrepo 207s - importing 3 git commits 207s - new changesets ff7a2f2d8d70:8e3f0ecc9aef (3 drafts) 207s - updating to bookmark master 207s - 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 207s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 207s + abort: repository gitrepo not found 207s + [255] 207s 207s $ cd hgrepo 207s + $TESTTMP.sh: 30: cd: can't cd to hgrepo 207s 207s $ hg log -r 'gitnode(7e)' 207s - abort: git-mapfile@7e: ambiguous identifier!? (re) 207s - [50] 207s 207s ERROR: test-ambiguousprefix.t output changed 207s ! 207s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-gitignore-share.t 207s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-gitignore-share.t.err 207s @@ -9,6 +9,7 @@ 207s $ git init --quiet --bare repo.git 207s 207s $ hg init hgrepo 207s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 207s $ cd hgrepo 207s $ cat > .hg/hgrc < [paths] 207s @@ -16,26 +17,31 @@ 207s > EOF 207s $ echo ignored > .gitignore 207s $ hg add .gitignore 207s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 207s $ hg ci -m ignore 207s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 207s $ hg book master 207s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 207s $ hg push 207s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 207s pushing to $TESTTMP/repo.git 207s - searching for changes 207s - adding objects 207s - remote: found 0 deltas to reuse 207s - added 1 commits with 1 trees and 1 blobs 207s - adding reference refs/heads/master 207s + abort: repository $TESTTMP/repo.git not found 207s + [255] 207s $ cd .. 207s 207s We should also ignore the file in a shared repository: 207s 207s $ hg share hgrepo sharerepo 207s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 207s updating working directory 207s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 207s $ cd sharerepo 207s $ hg paths 207s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 207s default = $TESTTMP/repo.git 207s $ cat .gitignore 207s ignored 207s $ touch ignored 207s $ hg status 207s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 207s + ? ignored 207s 207s ERROR: test-gitignore-share.t output changed 208s ! 208s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-timezone.t 208s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-timezone.t.err 208s @@ -8,10 +8,13 @@ 208s $ . "$TESTDIR/testutil" 208s 208s $ hg init hgrepo 208s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 208s $ cd hgrepo 208s $ touch beta 208s $ hg add beta 208s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 208s $ fn_hg_commit -m "test commit" 208s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 208s $ cat >patch2 < # HG changeset patch 208s > # User J. User 208s @@ -28,5 +31,10 @@ 208s > +alpha 208s > EOF 208s $ hg import patch2 208s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 208s applying patch2 208s $ hg gexport 208s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 208s + hg: unknown command 'gexport' 208s + (did you mean one of export, import?) 208s + [10] 208s 208s ERROR: test-timezone.t output changed 209s ! 209s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-transplant.t 209s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-transplant.t.err 209s @@ -11,12 +11,20 @@ 209s > EOF 209s 209s $ hg init baserepo 209s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 209s $ cd baserepo 209s $ for c in A B C 209s > do 209s > echo $c > $c && hg add $c && fn_hg_commit -m $c 209s > done 209s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 209s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 209s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 209s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 209s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 209s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 209s $ hg clone -r 2 . ../otherrepo 209s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 209s adding changesets 209s adding manifests 209s adding file changes 209s @@ -26,6 +34,8 @@ 209s 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 209s $ cd ../otherrepo 209s $ hg up 1 209s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 209s 0 files updated, 0 files merged, 1 files removed, 0 files unresolved 209s $ hg transplant -s ../baserepo tip 209s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 209s no changes found 209s 209s ERROR: test-transplant.t output changed 209s !s 209s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-url-parsing.py.out 209s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-url-parsing.py.err 209s @@ -1,46 +1,11 @@ 209s -% expect '/webjam/webjam.git' 209s -/webjam/webjam.git 209s -% expect 'github.com' 209s -github.com 209s -% expect '/webjam/webjam.git' 209s -/webjam/webjam.git 209s -% expect 'github.com' 209s -github.com 209s -% expect '19418' 209s -19418 209s -% expect 'webjam.git' 209s -webjam.git 209s -% expect 'git@heroku.com' 209s -git@heroku.com 209s -% expect '999' 209s -999 209s -% expect 'webjam/webjam.git' 209s -webjam/webjam.git 209s -% expect 'git@github.com' 209s -git@github.com 209s -% expect '42qu/vps.git' 209s -42qu/vps.git 209s -% expect 'git@github.com' 209s -git@github.com 209s -% expect '/webjam/webjam.git' 209s -/webjam/webjam.git 209s -% expect 'git@github.com' 209s -git@github.com 209s -% expect '/webjam/webjam.git' 209s -/webjam/webjam.git 209s -% expect 'git@github.com' 209s -git@github.com 209s -% expect '10022' 209s -10022 209s -% expect 'webjam.git' 209s -webjam.git 209s -% expect 'git@heroku.com' 209s -git@heroku.com 209s -% expect 'webjam.git' 209s -webjam.git 209s -% expect 'git@compatible.com' 209s -git@compatible.com 209s -% expect 'webjam.git' 209s -webjam.git 209s -% expect 'git@heroku.com' 209s -git@heroku.com 209s +Traceback (most recent call last): 209s + File "/tmp/autopkgtest.TC6niP/build.0en/src/tests/test-url-parsing.py", line 14, in 209s + from hggit.git_handler import GitHandler 209s + File "/usr/lib/python3/dist-packages/hggit/__init__.py", line 163, in 209s + from . import gitdirstate 209s + File "/usr/lib/python3/dist-packages/hggit/gitdirstate.py", line 19, in 209s + from . import gitrepo 209s + File "/usr/lib/python3/dist-packages/hggit/gitrepo.py", line 20, in 209s + class gitrepo(repository.peer): 209s + ^^^^^^^^^^^^^^^ 209s +AttributeError: module 'mercurial.interfaces.repository' has no attribute 'peer'. Did you mean: 'IPeer'? 209s 209s ERROR: test-url-parsing.py output changed 209s !. 209s --- /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-addbranchrevs.t 209s +++ /tmp/autopkgtest.TC6niP/build.0en/src/tests/test-addbranchrevs.t.err 209s @@ -7,14 +7,23 @@ 209s caused the pull to not update to the passed revision. 209s 209s $ hg init orig 209s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 209s $ cd orig 209s $ echo a > a; hg add a; hg ci -m a 209s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 209s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 209s $ hg branch foo -q 209s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 209s $ echo b > b; hg add b; hg ci -m b 209s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 209s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 209s 209s $ cd .. 209s $ hg clone orig clone -r 0 -q 209s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 209s $ cd clone 209s $ hg pull -u -r 1 -q 209s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 209s $ hg id -n 209s + *** failed to import extension "hggit" from /tmp/autopkgtest.TC6niP/build.0en/src/hggit: module 'mercurial.interfaces.repository' has no attribute 'peer' 209s 1 209s 209s ERROR: test-addbranchrevs.t output changed 209s ! 209s Skipped test-check-black.t: missing feature: the black formatter for python (>= 22.3) 209s Skipped test-check-commit.t: missing feature: running tests from repository 209s Skipped test-check-pyflakes.t: missing feature: Pyflakes python linter 209s Skipped test-check-pylint.t: missing feature: Pylint python linter 209s Skipped test-encoding.t: blacklisted 209s Skipped test-gitignore-windows.t: missing feature: Windows 209s Skipped test-incoming.t: blacklisted 209s Skipped test-serve-ci.t: skipped 209s Skipped test-serve-dulwich.t: blacklisted 209s Failed test-addbranchrevs.t: output changed 209s Failed test-ambiguousprefix.t: output changed and returned error code 1 209s Failed test-annotate.t: output changed 209s Failed test-bookmark-workflow.t: output changed and returned error code 1 209s Failed test-branch-bookmark-suffix.t#with-path: output changed and returned error code 1 209s Failed test-branch-bookmark-suffix.t#without-path: output changed and returned error code 1 209s Failed test-bundle.t: output changed and returned error code 1 209s Failed test-clone.t#draft: output changed 209s Failed test-clone.t#secret: output changed 209s Failed test-conflict-1.t: output changed 209s Failed test-conflict-2.t: output changed 209s Failed test-convergedmerge.t: output changed 209s Failed test-empty-working-tree.t: output changed and returned error code 1 209s Failed test-extra.t: output changed and returned error code 1 209s Failed test-file-removal.t: output changed and returned error code 1 209s Failed test-gc.t: output changed and returned error code 1 209s Failed test-git-clone.t: output changed 209s Failed test-git-gpg.t: output changed and returned error code 1 209s Failed test-git-submodules.t: output changed and returned error code 1 209s Failed test-git-tags.t#draft: output changed and returned error code 1 209s Failed test-git-tags.t#secret: output changed and returned error code 1 209s Failed test-git-workflow.t: output changed 209s Failed test-gitignore-permissions.t: output changed 209s Failed test-gitignore-share.t: output changed 209s Failed test-gitignore.t: output changed 209s Failed test-help.t: output changed 209s Failed test-hg-author.t: output changed and returned error code 1 209s Failed test-hg-branch.t: output changed and returned error code 1 209s Failed test-hg-clone.t: output changed and returned error code 1 209s Failed test-hg-tags.t: output changed and returned error code 1 209s Failed test-hook.t: output changed 209s Failed test-illegal-contents.t: output changed 209s Failed test-invalid-refs.t: output changed and returned error code 1 209s Failed test-keywords.t: output changed and returned error code 1 209s Failed test-merge.t: output changed and returned error code 1 209s Failed test-multiple-remotes.t: output changed 209s Failed test-octopus.t: output changed and returned error code 1 209s Failed test-orphan-tags.t: output changed and returned error code 1 209s Failed test-outgoing.t: output changed and returned error code 1 209s Failed test-phases-draft.t: output changed and returned error code 1 209s Failed test-phases-public.t#publish-defaults: output changed and returned error code 1 209s Failed test-phases-public.t#publish-specific: output changed and returned error code 1 209s Failed test-phases-remote.t: output changed and returned error code 1 209s Failed test-pull-after-obsolete.t: output changed and returned error code 1 209s Failed test-pull-after-rebase.t: output changed and returned error code 1 209s Failed test-pull-after-strip.t: output changed and returned error code 1 209s Failed test-pull.t#draft: output changed 209s Failed test-pull.t#secret: output changed 209s Failed test-push-anonymous.t: output changed and returned error code 1 209s Failed test-push-authors.t: output changed and returned error code 1 209s Failed test-push-detached.t: output changed and returned error code 1 209s Failed test-push-missing-commit.t: output changed and returned error code 1 209s Failed test-push-phases.t: output changed and returned error code 1 209s Failed test-push-r.t: output changed 209s Failed test-push-to-head.t: output changed and returned error code 1 209s Failed test-push.t: output changed and returned error code 1 209s Failed test-renames.t: output changed and returned error code 1 209s Failed test-serve-git.t: output changed 209s Failed test-serve-hg-static.t: output changed 209s Failed test-serve-hg.t#with-hggit: output changed and returned error code 1 209s Failed test-serve-hg.t#without-hggit: output changed and returned error code 1 209s Failed test-subrepos-delete.t: output changed and returned error code 1 209s Failed test-subrepos-drop.t: output changed and returned error code 1 209s Failed test-subrepos-push.t: output changed and returned error code 1 209s Failed test-subrepos-syntax.t: output changed and returned error code 1 209s Failed test-subrepos.t: output changed and returned error code 1 209s Failed test-timezone.t: output changed 209s Failed test-transactions.t: output changed 209s Failed test-transplant.t: output changed 209s Failed test-tree-decomposition.t: output changed and returned error code 1 209s Failed test-url-parsing.py: output changed and returned error code 1 209s Failed test-verify-fail.t: output changed 209s # Ran 73 tests, 9 skipped, 72 failed. 209s python hash seed: 455306223 209s make: *** [Makefile:15: tests] Error 1 210s autopkgtest [06:59:32]: test testsuite: -----------------------] 210s testsuite FAIL non-zero exit status 2 210s autopkgtest [06:59:32]: test testsuite: - - - - - - - - - - results - - - - - - - - - - 210s autopkgtest [06:59:32]: test mercurial-git: preparing testbed 229s Creating nova instance adt-resolute-i386-hg-git-20260210-065601-juju-7f2275-prod-proposed-migration-environment-15-ad71c6f6-99db-4e46-9288-a51f8181beee from image adt/ubuntu-resolute-amd64-server-20260204.img (UUID fedf54b4-458b-493e-8072-6425c19717b4)... 300s autopkgtest [07:01:02]: testbed dpkg architecture: amd64 300s autopkgtest [07:01:02]: testbed apt version: 3.1.14 300s autopkgtest [07:01:02]: @@@@@@@@@@@@@@@@@@@@ test bed setup 301s autopkgtest [07:01:03]: testbed release detected to be: resolute 301s autopkgtest [07:01:03]: updating testbed package index (apt update) 301s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 301s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 301s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 301s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 301s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [178 kB] 302s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1727 kB] 302s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [31.1 kB] 302s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [219 kB] 302s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [266 kB] 302s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [6184 B] 302s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [120 B] 302s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [792 kB] 302s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [1787 kB] 302s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [32.5 kB] 302s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [5020 B] 302s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [26.4 kB] 302s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [996 B] 303s Fetched 5197 kB in 1s (5503 kB/s) 303s Reading package lists... 304s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 304s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 304s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 304s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 305s Reading package lists... 305s Reading package lists... 305s Building dependency tree... 305s Reading state information... 305s Calculating upgrade... 305s The following package was automatically installed and is no longer required: 305s libpython3.13 305s Use 'sudo apt autoremove' to remove it. 305s The following NEW packages will be installed: 305s gcc-16-base libpython3.14 libpython3.14-minimal libpython3.14-stdlib 305s linux-headers-6.19.0-3 linux-headers-6.19.0-3-generic 305s linux-image-6.19.0-3-generic linux-modules-6.19.0-3-generic 305s linux-tools-6.19.0-3 linux-tools-6.19.0-3-generic 305s The following packages will be upgraded: 305s 3cpio amd64-microcode apt bpftool busybox-initramfs busybox-static 305s cryptsetup-bin dash dbus dbus-bin dbus-daemon dbus-session-bus-common 305s dbus-system-bus-common dbus-user-session debianutils dmsetup dracut-install 305s ethtool findutils gir1.2-girepository-3.0 gir1.2-glib-2.0 hwdata iproute2 305s iptables less libapt-pkg7.0 libatomic1 libattr1 libbpf1 libbrotli1 libbsd0 305s libcryptsetup12 libdbus-1-3 libdevmapper1.02.1 libdrm-amdgpu1 libdrm-common 305s libdrm2 libevent-core-2.1-7t64 libgcc-s1 libgdbm-compat4t64 libgdbm6t64 305s libgirepository-2.0-0 libglib2.0-0t64 libglib2.0-data libgpm2 libgudev-1.0-0 305s libidn2-0 libip4tc2 libip6tc2 libjansson4 libkeyutils1 liblsof0 305s libmaxminddb0 libnetfilter-conntrack3 libnpth0t64 libonig5 libpcap0.8t64 305s libpci3 libsensors-config libsensors5 libstdc++6 libusb-1.0-0 libwrap0 305s libxau6 libxkbcommon0 libxtables12 linux-generic linux-headers-generic 305s linux-headers-virtual linux-image-generic linux-image-virtual linux-perf 305s linux-tools-common linux-virtual lsof man-db mawk patch pciutils pnp.ids 305s pollinate python3-linkify-it python3-markdown-it python3-referencing sed 305s shared-mime-info tar tcpdump ubuntu-kernel-accessories ubuntu-standard wget 305s 91 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. 305s Need to get 237 MB of archives. 305s After this operation, 339 MB of additional disk space will be used. 305s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 debianutils amd64 5.23.2build1 [93.3 kB] 305s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 dash amd64 0.5.12-12ubuntu3 [96.0 kB] 305s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 findutils amd64 4.10.0-3build2 [307 kB] 305s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 sed amd64 4.9-2build3 [195 kB] 305s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 tar amd64 1.35+dfsg-3.1build2 [257 kB] 305s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 libattr1 amd64 1:2.5.2-3build2 [11.4 kB] 305s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-16-base amd64 16-20260208-1ubuntu1 [59.7 kB] 305s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 libgcc-s1 amd64 16-20260208-1ubuntu1 [80.3 kB] 305s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 libbsd0 amd64 0.12.2-2build2 [42.3 kB] 305s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 mawk amd64 1.3.4.20260129-1 [133 kB] 305s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 libstdc++6 amd64 16-20260208-1ubuntu1 [844 kB] 305s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 libapt-pkg7.0 amd64 3.1.15 [1151 kB] 305s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 apt amd64 3.1.15 [1479 kB] 305s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus-system-bus-common all 1.16.2-2ubuntu3 [55.8 kB] 305s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus-session-bus-common all 1.16.2-2ubuntu3 [54.4 kB] 305s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus-user-session amd64 1.16.2-2ubuntu3 [9696 B] 305s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus-daemon amd64 1.16.2-2ubuntu3 [119 kB] 305s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus-bin amd64 1.16.2-2ubuntu3 [40.1 kB] 305s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus amd64 1.16.2-2ubuntu3 [24.2 kB] 305s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 libdbus-1-3 amd64 1.16.2-2ubuntu3 [185 kB] 305s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libdevmapper1.02.1 amd64 2:1.02.205-2ubuntu3 [142 kB] 305s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 dmsetup amd64 2:1.02.205-2ubuntu3 [79.4 kB] 305s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 ethtool amd64 1:6.15-3build1 [318 kB] 305s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-girepository-3.0 amd64 2.87.2-2 [25.2 kB] 305s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 libgirepository-2.0-0 amd64 2.87.2-2 [76.1 kB] 305s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 libatomic1 amd64 16-20260208-1ubuntu1 [11.4 kB] 305s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-glib-2.0 amd64 2.87.2-2 [182 kB] 305s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-0t64 amd64 2.87.2-2 [1613 kB] 305s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 libbpf1 amd64 1:1.6.2-1build1 [184 kB] 305s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 iptables amd64 1.8.11-2ubuntu3 [381 kB] 305s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 libip4tc2 amd64 1.8.11-2ubuntu3 [24.2 kB] 305s Get:32 http://ftpmaster.internal/ubuntu resolute/main amd64 libip6tc2 amd64 1.8.11-2ubuntu3 [24.4 kB] 305s Get:33 http://ftpmaster.internal/ubuntu resolute/main amd64 libnetfilter-conntrack3 amd64 1.1.1-1 [47.5 kB] 305s Get:34 http://ftpmaster.internal/ubuntu resolute/main amd64 libxtables12 amd64 1.8.11-2ubuntu3 [36.6 kB] 305s Get:35 http://ftpmaster.internal/ubuntu resolute/main amd64 iproute2 amd64 6.18.0-1ubuntu1 [1178 kB] 305s Get:36 http://ftpmaster.internal/ubuntu resolute/main amd64 less amd64 668-1build1 [172 kB] 305s Get:37 http://ftpmaster.internal/ubuntu resolute/main amd64 libcryptsetup12 amd64 2:2.8.0-1ubuntu3 [283 kB] 305s Get:38 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-data all 2.87.2-2 [58.2 kB] 305s Get:39 http://ftpmaster.internal/ubuntu resolute/main amd64 libidn2-0 amd64 2.3.8-4build1 [67.6 kB] 305s Get:40 http://ftpmaster.internal/ubuntu resolute/main amd64 libkeyutils1 amd64 1.6.3-6ubuntu3 [10.6 kB] 305s Get:41 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-linkify-it all 2.0.3-1ubuntu3 [19.4 kB] 305s Get:42 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-markdown-it all 3.0.0-3build1 [54.4 kB] 305s Get:43 http://ftpmaster.internal/ubuntu resolute/main amd64 shared-mime-info amd64 2.4-5build3 [476 kB] 305s Get:44 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-static amd64 1:1.37.0-7ubuntu1 [1034 kB] 305s Get:45 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-common all 2.4.131-1 [9774 B] 305s Get:46 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm2 amd64 2.4.131-1 [42.3 kB] 305s Get:47 http://ftpmaster.internal/ubuntu resolute/main amd64 libgdbm6t64 amd64 1.26-1build1 [36.5 kB] 305s Get:48 http://ftpmaster.internal/ubuntu resolute/main amd64 libgpm2 amd64 1.20.7-12build1 [14.4 kB] 305s Get:49 http://ftpmaster.internal/ubuntu resolute/main amd64 libjansson4 amd64 2.14-2build4 [33.2 kB] 305s Get:50 http://ftpmaster.internal/ubuntu resolute/main amd64 lsof amd64 4.99.4+dfsg-2build2 [239 kB] 305s Get:51 http://ftpmaster.internal/ubuntu resolute/main amd64 liblsof0 amd64 4.99.4+dfsg-2build2 [56.5 kB] 305s Get:52 http://ftpmaster.internal/ubuntu resolute/main amd64 libmaxminddb0 amd64 1.12.2-1build2 [18.9 kB] 305s Get:53 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcap0.8t64 amd64 1.10.5-2ubuntu3 [154 kB] 305s Get:54 http://ftpmaster.internal/ubuntu resolute/main amd64 pciutils amd64 1:3.14.0-1build2 [95.5 kB] 305s Get:55 http://ftpmaster.internal/ubuntu resolute/main amd64 libpci3 amd64 1:3.14.0-1build2 [38.1 kB] 305s Get:56 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors-config all 1:3.6.2-2build1 [6862 B] 305s Get:57 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors5 amd64 1:3.6.2-2build1 [28.9 kB] 305s Get:58 http://ftpmaster.internal/ubuntu resolute/main amd64 libusb-1.0-0 amd64 2:1.0.29-2build1 [56.9 kB] 305s Get:59 http://ftpmaster.internal/ubuntu resolute/main amd64 libxau6 amd64 1:1.0.11-1build2 [7502 B] 305s Get:60 http://ftpmaster.internal/ubuntu resolute/main amd64 libxkbcommon0 amd64 1.13.1-1 [159 kB] 306s Get:61 http://ftpmaster.internal/ubuntu resolute/main amd64 man-db amd64 2.13.1-1build1 [1392 kB] 306s Get:62 http://ftpmaster.internal/ubuntu resolute/main amd64 tcpdump amd64 4.99.5-2ubuntu3 [477 kB] 306s Get:63 http://ftpmaster.internal/ubuntu resolute/main amd64 wget amd64 1.25.0-2ubuntu4 [353 kB] 306s Get:64 http://ftpmaster.internal/ubuntu resolute/main amd64 ubuntu-standard amd64 1.564 [13.3 kB] 306s Get:65 http://ftpmaster.internal/ubuntu resolute/main amd64 3cpio amd64 0.14.0-1ubuntu1 [285 kB] 306s Get:66 http://ftpmaster.internal/ubuntu resolute/main amd64 bpftool amd64 7.7.0+6.19.0-3.3 [1229 kB] 306s Get:67 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-initramfs amd64 1:1.37.0-7ubuntu1 [191 kB] 306s Get:68 http://ftpmaster.internal/ubuntu resolute/main amd64 cryptsetup-bin amd64 2:2.8.0-1ubuntu3 [228 kB] 306s Get:69 http://ftpmaster.internal/ubuntu resolute/main amd64 dracut-install amd64 109-11ubuntu1 [45.8 kB] 306s Get:70 http://ftpmaster.internal/ubuntu resolute/main amd64 hwdata all 0.394-1build1 [1566 B] 306s Get:71 http://ftpmaster.internal/ubuntu resolute/main amd64 pnp.ids all 0.394-1build1 [29.6 kB] 306s Get:72 http://ftpmaster.internal/ubuntu resolute/main amd64 libbrotli1 amd64 1.2.0-3 [343 kB] 306s Get:73 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-amdgpu1 amd64 2.4.131-1 [23.2 kB] 306s Get:74 http://ftpmaster.internal/ubuntu resolute/main amd64 libevent-core-2.1-7t64 amd64 2.1.12-stable-10build2 [93.1 kB] 306s Get:75 http://ftpmaster.internal/ubuntu resolute/main amd64 libgdbm-compat4t64 amd64 1.26-1build1 [6796 B] 306s Get:76 http://ftpmaster.internal/ubuntu resolute/main amd64 libgudev-1.0-0 amd64 1:238-7build1 [15.9 kB] 306s Get:77 http://ftpmaster.internal/ubuntu resolute/main amd64 libnpth0t64 amd64 1.8-3build1 [9302 B] 306s Get:78 http://ftpmaster.internal/ubuntu resolute/main amd64 libonig5 amd64 6.9.10-1build1 [174 kB] 306s Get:79 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-minimal amd64 3.14.2-1 [920 kB] 306s Get:80 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-stdlib amd64 3.14.2-1 [2398 kB] 306s Get:81 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14 amd64 3.14.2-1 [2568 kB] 306s Get:82 http://ftpmaster.internal/ubuntu resolute/main amd64 libwrap0 amd64 7.6.q-36build2 [48.5 kB] 306s Get:83 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-modules-6.19.0-3-generic amd64 6.19.0-3.3 [171 MB] 308s Get:84 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-6.19.0-3-generic amd64 6.19.0-3.3+1 [16.8 MB] 308s Get:85 http://ftpmaster.internal/ubuntu resolute/main amd64 amd64-microcode amd64 3.20251202.1ubuntu1 [459 kB] 308s Get:86 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-generic amd64 6.19.0-3.3 [1698 B] 308s Get:87 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-generic amd64 6.19.0-3.3 [12.2 kB] 308s Get:88 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-virtual amd64 6.19.0-3.3 [1700 B] 308s Get:89 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-virtual amd64 6.19.0-3.3 [12.1 kB] 308s Get:90 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-virtual amd64 6.19.0-3.3 [1646 B] 308s Get:91 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-6.19.0-3 all 6.19.0-3.3 [14.9 MB] 309s Get:92 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-6.19.0-3-generic amd64 6.19.0-3.3 [4330 kB] 309s Get:93 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-generic amd64 6.19.0-3.3 [12.0 kB] 309s Get:94 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-perf amd64 6.19.0-3.3 [4480 kB] 309s Get:95 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-common all 6.19.0-3.3 [345 kB] 309s Get:96 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-6.19.0-3 amd64 6.19.0-3.3 [1455 kB] 309s Get:97 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-6.19.0-3-generic amd64 6.19.0-3.3 [1612 B] 309s Get:98 http://ftpmaster.internal/ubuntu resolute/main amd64 patch amd64 2.8-2build1 [95.7 kB] 309s Get:99 http://ftpmaster.internal/ubuntu resolute/main amd64 pollinate all 4.33-4ubuntu5 [14.0 kB] 309s Get:100 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-referencing all 0.36.2-1ubuntu2 [22.2 kB] 309s Get:101 http://ftpmaster.internal/ubuntu resolute/main amd64 ubuntu-kernel-accessories amd64 1.564 [13.1 kB] 309s dpkg-preconfigure: unable to re-open stdin: No such file or directory 309s Fetched 237 MB in 4s (60.6 MB/s) 309s (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 ... 83957 files and directories currently installed.) 309s Preparing to unpack .../debianutils_5.23.2build1_amd64.deb ... 309s Unpacking debianutils (5.23.2build1) over (5.23.2) ... 309s Setting up debianutils (5.23.2build1) ... 309s (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 ... 83957 files and directories currently installed.) 309s Preparing to unpack .../dash_0.5.12-12ubuntu3_amd64.deb ... 309s Unpacking dash (0.5.12-12ubuntu3) over (0.5.12-12ubuntu2) ... 310s Setting up dash (0.5.12-12ubuntu3) ... 310s (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 ... 83957 files and directories currently installed.) 310s Preparing to unpack .../findutils_4.10.0-3build2_amd64.deb ... 310s Unpacking findutils (4.10.0-3build2) over (4.10.0-3build1) ... 310s Setting up findutils (4.10.0-3build2) ... 310s (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 ... 83957 files and directories currently installed.) 310s Preparing to unpack .../sed_4.9-2build3_amd64.deb ... 310s Unpacking sed (4.9-2build3) over (4.9-2build2) ... 310s Setting up sed (4.9-2build3) ... 310s (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 ... 83957 files and directories currently installed.) 310s Preparing to unpack .../tar_1.35+dfsg-3.1build2_amd64.deb ... 310s Unpacking tar (1.35+dfsg-3.1build2) over (1.35+dfsg-3.1build1) ... 310s Setting up tar (1.35+dfsg-3.1build2) ... 310s (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 ... 83957 files and directories currently installed.) 310s Preparing to unpack .../libattr1_1%3a2.5.2-3build2_amd64.deb ... 310s Unpacking libattr1:amd64 (1:2.5.2-3build2) over (1:2.5.2-3build1) ... 310s Setting up libattr1:amd64 (1:2.5.2-3build2) ... 310s Selecting previously unselected package gcc-16-base:amd64. 310s (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 ... 83957 files and directories currently installed.) 310s Preparing to unpack .../gcc-16-base_16-20260208-1ubuntu1_amd64.deb ... 310s Unpacking gcc-16-base:amd64 (16-20260208-1ubuntu1) ... 310s Setting up gcc-16-base:amd64 (16-20260208-1ubuntu1) ... 310s (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 ... 83962 files and directories currently installed.) 310s Preparing to unpack .../libgcc-s1_16-20260208-1ubuntu1_amd64.deb ... 310s Unpacking libgcc-s1:amd64 (16-20260208-1ubuntu1) over (15.2.0-12ubuntu1) ... 310s Setting up libgcc-s1:amd64 (16-20260208-1ubuntu1) ... 310s (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 ... 83962 files and directories currently installed.) 310s Preparing to unpack .../00-libbsd0_0.12.2-2build2_amd64.deb ... 310s Unpacking libbsd0:amd64 (0.12.2-2build2) over (0.12.2-2build1) ... 310s Preparing to unpack .../01-mawk_1.3.4.20260129-1_amd64.deb ... 310s Unpacking mawk (1.3.4.20260129-1) over (1.3.4.20250131-2) ... 310s Preparing to unpack .../02-libstdc++6_16-20260208-1ubuntu1_amd64.deb ... 310s Unpacking libstdc++6:amd64 (16-20260208-1ubuntu1) over (15.2.0-12ubuntu1) ... 310s Preparing to unpack .../03-libapt-pkg7.0_3.1.15_amd64.deb ... 310s Unpacking libapt-pkg7.0:amd64 (3.1.15) over (3.1.14) ... 310s Preparing to unpack .../04-apt_3.1.15_amd64.deb ... 310s Unpacking apt (3.1.15) over (3.1.14) ... 310s Preparing to unpack .../05-dbus-system-bus-common_1.16.2-2ubuntu3_all.deb ... 310s Unpacking dbus-system-bus-common (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 310s Preparing to unpack .../06-dbus-session-bus-common_1.16.2-2ubuntu3_all.deb ... 310s Unpacking dbus-session-bus-common (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 310s Preparing to unpack .../07-dbus-user-session_1.16.2-2ubuntu3_amd64.deb ... 310s Unpacking dbus-user-session (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 310s Preparing to unpack .../08-dbus-daemon_1.16.2-2ubuntu3_amd64.deb ... 310s Unpacking dbus-daemon (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 310s Preparing to unpack .../09-dbus-bin_1.16.2-2ubuntu3_amd64.deb ... 310s Unpacking dbus-bin (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 311s Preparing to unpack .../10-dbus_1.16.2-2ubuntu3_amd64.deb ... 311s Unpacking dbus (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 311s Preparing to unpack .../11-libdbus-1-3_1.16.2-2ubuntu3_amd64.deb ... 311s Unpacking libdbus-1-3:amd64 (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 311s Preparing to unpack .../12-libdevmapper1.02.1_2%3a1.02.205-2ubuntu3_amd64.deb ... 311s Unpacking libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ... 311s Preparing to unpack .../13-dmsetup_2%3a1.02.205-2ubuntu3_amd64.deb ... 311s Unpacking dmsetup (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ... 311s Preparing to unpack .../14-ethtool_1%3a6.15-3build1_amd64.deb ... 311s Unpacking ethtool (1:6.15-3build1) over (1:6.15-3) ... 311s Preparing to unpack .../15-gir1.2-girepository-3.0_2.87.2-2_amd64.deb ... 311s Unpacking gir1.2-girepository-3.0:amd64 (2.87.2-2) over (2.86.3-4) ... 311s Preparing to unpack .../16-libgirepository-2.0-0_2.87.2-2_amd64.deb ... 311s Unpacking libgirepository-2.0-0:amd64 (2.87.2-2) over (2.86.3-4) ... 311s Preparing to unpack .../17-libatomic1_16-20260208-1ubuntu1_amd64.deb ... 311s Unpacking libatomic1:amd64 (16-20260208-1ubuntu1) over (15.2.0-12ubuntu1) ... 311s Preparing to unpack .../18-gir1.2-glib-2.0_2.87.2-2_amd64.deb ... 311s Unpacking gir1.2-glib-2.0:amd64 (2.87.2-2) over (2.86.3-4) ... 311s Preparing to unpack .../19-libglib2.0-0t64_2.87.2-2_amd64.deb ... 311s Unpacking libglib2.0-0t64:amd64 (2.87.2-2) over (2.86.3-4) ... 311s Preparing to unpack .../20-libbpf1_1%3a1.6.2-1build1_amd64.deb ... 311s Unpacking libbpf1:amd64 (1:1.6.2-1build1) over (1:1.6.2-1) ... 311s Preparing to unpack .../21-iptables_1.8.11-2ubuntu3_amd64.deb ... 311s Unpacking iptables (1.8.11-2ubuntu3) over (1.8.11-2ubuntu2) ... 311s Preparing to unpack .../22-libip4tc2_1.8.11-2ubuntu3_amd64.deb ... 311s Unpacking libip4tc2:amd64 (1.8.11-2ubuntu3) over (1.8.11-2ubuntu2) ... 311s Preparing to unpack .../23-libip6tc2_1.8.11-2ubuntu3_amd64.deb ... 311s Unpacking libip6tc2:amd64 (1.8.11-2ubuntu3) over (1.8.11-2ubuntu2) ... 311s Preparing to unpack .../24-libnetfilter-conntrack3_1.1.1-1_amd64.deb ... 311s Unpacking libnetfilter-conntrack3:amd64 (1.1.1-1) over (1.1.0-1build1) ... 311s Preparing to unpack .../25-libxtables12_1.8.11-2ubuntu3_amd64.deb ... 311s Unpacking libxtables12:amd64 (1.8.11-2ubuntu3) over (1.8.11-2ubuntu2) ... 311s Preparing to unpack .../26-iproute2_6.18.0-1ubuntu1_amd64.deb ... 311s Unpacking iproute2 (6.18.0-1ubuntu1) over (6.16.0-1ubuntu3) ... 311s Preparing to unpack .../27-less_668-1build1_amd64.deb ... 311s Unpacking less (668-1build1) over (668-1) ... 311s Preparing to unpack .../28-libcryptsetup12_2%3a2.8.0-1ubuntu3_amd64.deb ... 311s Unpacking libcryptsetup12:amd64 (2:2.8.0-1ubuntu3) over (2:2.8.0-1ubuntu2) ... 311s Preparing to unpack .../29-libglib2.0-data_2.87.2-2_all.deb ... 311s Unpacking libglib2.0-data (2.87.2-2) over (2.86.3-4) ... 311s Preparing to unpack .../30-libidn2-0_2.3.8-4build1_amd64.deb ... 311s Unpacking libidn2-0:amd64 (2.3.8-4build1) over (2.3.8-4) ... 311s Preparing to unpack .../31-libkeyutils1_1.6.3-6ubuntu3_amd64.deb ... 311s Unpacking libkeyutils1:amd64 (1.6.3-6ubuntu3) over (1.6.3-6ubuntu2) ... 311s Preparing to unpack .../32-python3-linkify-it_2.0.3-1ubuntu3_all.deb ... 311s Unpacking python3-linkify-it (2.0.3-1ubuntu3) over (2.0.3-1ubuntu2) ... 312s Preparing to unpack .../33-python3-markdown-it_3.0.0-3build1_all.deb ... 312s Unpacking python3-markdown-it (3.0.0-3build1) over (3.0.0-3) ... 312s Preparing to unpack .../34-shared-mime-info_2.4-5build3_amd64.deb ... 312s Unpacking shared-mime-info (2.4-5build3) over (2.4-5build2) ... 312s Preparing to unpack .../35-busybox-static_1%3a1.37.0-7ubuntu1_amd64.deb ... 312s Unpacking busybox-static (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ... 312s Preparing to unpack .../36-libdrm-common_2.4.131-1_all.deb ... 312s Unpacking libdrm-common (2.4.131-1) over (2.4.129-1) ... 312s Preparing to unpack .../37-libdrm2_2.4.131-1_amd64.deb ... 312s Unpacking libdrm2:amd64 (2.4.131-1) over (2.4.129-1) ... 312s Preparing to unpack .../38-libgdbm6t64_1.26-1build1_amd64.deb ... 312s Unpacking libgdbm6t64:amd64 (1.26-1build1) over (1.26-1) ... 312s Preparing to unpack .../39-libgpm2_1.20.7-12build1_amd64.deb ... 312s Unpacking libgpm2:amd64 (1.20.7-12build1) over (1.20.7-12) ... 312s Preparing to unpack .../40-libjansson4_2.14-2build4_amd64.deb ... 312s Unpacking libjansson4:amd64 (2.14-2build4) over (2.14-2build3) ... 312s Preparing to unpack .../41-lsof_4.99.4+dfsg-2build2_amd64.deb ... 312s Unpacking lsof (4.99.4+dfsg-2build2) over (4.99.4+dfsg-2build1) ... 312s Preparing to unpack .../42-liblsof0_4.99.4+dfsg-2build2_amd64.deb ... 312s Unpacking liblsof0 (4.99.4+dfsg-2build2) over (4.99.4+dfsg-2build1) ... 312s Preparing to unpack .../43-libmaxminddb0_1.12.2-1build2_amd64.deb ... 312s Unpacking libmaxminddb0:amd64 (1.12.2-1build2) over (1.12.2-1build1) ... 312s Preparing to unpack .../44-libpcap0.8t64_1.10.5-2ubuntu3_amd64.deb ... 312s Unpacking libpcap0.8t64:amd64 (1.10.5-2ubuntu3) over (1.10.5-2ubuntu2) ... 312s Preparing to unpack .../45-pciutils_1%3a3.14.0-1build2_amd64.deb ... 312s Unpacking pciutils (1:3.14.0-1build2) over (1:3.14.0-1build1) ... 312s Preparing to unpack .../46-libpci3_1%3a3.14.0-1build2_amd64.deb ... 312s Unpacking libpci3:amd64 (1:3.14.0-1build2) over (1:3.14.0-1build1) ... 312s Preparing to unpack .../47-libsensors-config_1%3a3.6.2-2build1_all.deb ... 312s Unpacking libsensors-config (1:3.6.2-2build1) over (1:3.6.2-2) ... 312s Preparing to unpack .../48-libsensors5_1%3a3.6.2-2build1_amd64.deb ... 312s Unpacking libsensors5:amd64 (1:3.6.2-2build1) over (1:3.6.2-2) ... 312s Preparing to unpack .../49-libusb-1.0-0_2%3a1.0.29-2build1_amd64.deb ... 312s Unpacking libusb-1.0-0:amd64 (2:1.0.29-2build1) over (2:1.0.29-2) ... 312s Preparing to unpack .../50-libxau6_1%3a1.0.11-1build2_amd64.deb ... 312s Unpacking libxau6:amd64 (1:1.0.11-1build2) over (1:1.0.11-1build1) ... 312s Preparing to unpack .../51-libxkbcommon0_1.13.1-1_amd64.deb ... 312s Unpacking libxkbcommon0:amd64 (1.13.1-1) over (1.12.3-1) ... 312s Preparing to unpack .../52-man-db_2.13.1-1build1_amd64.deb ... 312s Unpacking man-db (2.13.1-1build1) over (2.13.1-1) ... 312s Preparing to unpack .../53-tcpdump_4.99.5-2ubuntu3_amd64.deb ... 312s Unpacking tcpdump (4.99.5-2ubuntu3) over (4.99.5-2ubuntu2) ... 312s Preparing to unpack .../54-wget_1.25.0-2ubuntu4_amd64.deb ... 312s Unpacking wget (1.25.0-2ubuntu4) over (1.25.0-2ubuntu3) ... 312s Preparing to unpack .../55-ubuntu-standard_1.564_amd64.deb ... 312s Unpacking ubuntu-standard (1.564) over (1.563) ... 312s Preparing to unpack .../56-3cpio_0.14.0-1ubuntu1_amd64.deb ... 312s Unpacking 3cpio (0.14.0-1ubuntu1) over (0.13.1-1ubuntu1) ... 312s Preparing to unpack .../57-bpftool_7.7.0+6.19.0-3.3_amd64.deb ... 312s Unpacking bpftool (7.7.0+6.19.0-3.3) over (7.7.0+6.18.0-9.9) ... 312s Preparing to unpack .../58-busybox-initramfs_1%3a1.37.0-7ubuntu1_amd64.deb ... 312s Unpacking busybox-initramfs (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ... 313s Preparing to unpack .../59-cryptsetup-bin_2%3a2.8.0-1ubuntu3_amd64.deb ... 313s Unpacking cryptsetup-bin (2:2.8.0-1ubuntu3) over (2:2.8.0-1ubuntu2) ... 313s Preparing to unpack .../60-dracut-install_109-11ubuntu1_amd64.deb ... 313s Unpacking dracut-install (109-11ubuntu1) over (109-9ubuntu1) ... 313s Preparing to unpack .../61-hwdata_0.394-1build1_all.deb ... 313s Unpacking hwdata (0.394-1build1) over (0.394-1) ... 313s Preparing to unpack .../62-pnp.ids_0.394-1build1_all.deb ... 313s Unpacking pnp.ids (0.394-1build1) over (0.394-1) ... 313s Preparing to unpack .../63-libbrotli1_1.2.0-3_amd64.deb ... 313s Unpacking libbrotli1:amd64 (1.2.0-3) over (1.1.0-2build6) ... 313s Preparing to unpack .../64-libdrm-amdgpu1_2.4.131-1_amd64.deb ... 313s Unpacking libdrm-amdgpu1:amd64 (2.4.131-1) over (2.4.129-1) ... 313s Preparing to unpack .../65-libevent-core-2.1-7t64_2.1.12-stable-10build2_amd64.deb ... 313s Unpacking libevent-core-2.1-7t64:amd64 (2.1.12-stable-10build2) over (2.1.12-stable-10build1) ... 313s Preparing to unpack .../66-libgdbm-compat4t64_1.26-1build1_amd64.deb ... 313s Unpacking libgdbm-compat4t64:amd64 (1.26-1build1) over (1.26-1) ... 313s Preparing to unpack .../67-libgudev-1.0-0_1%3a238-7build1_amd64.deb ... 313s Unpacking libgudev-1.0-0:amd64 (1:238-7build1) over (1:238-7) ... 313s Preparing to unpack .../68-libnpth0t64_1.8-3build1_amd64.deb ... 313s Unpacking libnpth0t64:amd64 (1.8-3build1) over (1.8-3) ... 313s Preparing to unpack .../69-libonig5_6.9.10-1build1_amd64.deb ... 313s Unpacking libonig5:amd64 (6.9.10-1build1) over (6.9.10-1) ... 313s Selecting previously unselected package libpython3.14-minimal:amd64. 313s Preparing to unpack .../70-libpython3.14-minimal_3.14.2-1_amd64.deb ... 313s Unpacking libpython3.14-minimal:amd64 (3.14.2-1) ... 313s Selecting previously unselected package libpython3.14-stdlib:amd64. 313s Preparing to unpack .../71-libpython3.14-stdlib_3.14.2-1_amd64.deb ... 313s Unpacking libpython3.14-stdlib:amd64 (3.14.2-1) ... 313s Selecting previously unselected package libpython3.14:amd64. 313s Preparing to unpack .../72-libpython3.14_3.14.2-1_amd64.deb ... 313s Unpacking libpython3.14:amd64 (3.14.2-1) ... 313s Preparing to unpack .../73-libwrap0_7.6.q-36build2_amd64.deb ... 313s Unpacking libwrap0:amd64 (7.6.q-36build2) over (7.6.q-36build1) ... 313s Selecting previously unselected package linux-modules-6.19.0-3-generic. 313s Preparing to unpack .../74-linux-modules-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 313s Unpacking linux-modules-6.19.0-3-generic (6.19.0-3.3) ... 314s Selecting previously unselected package linux-image-6.19.0-3-generic. 314s Preparing to unpack .../75-linux-image-6.19.0-3-generic_6.19.0-3.3+1_amd64.deb ... 314s Unpacking linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 314s Preparing to unpack .../76-amd64-microcode_3.20251202.1ubuntu1_amd64.deb ... 314s Unpacking amd64-microcode (3.20251202.1ubuntu1) over (3.20250708.1ubuntu1) ... 314s Preparing to unpack .../77-linux-generic_6.19.0-3.3_amd64.deb ... 314s Unpacking linux-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 314s Preparing to unpack .../78-linux-image-generic_6.19.0-3.3_amd64.deb ... 314s Unpacking linux-image-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 314s Preparing to unpack .../79-linux-virtual_6.19.0-3.3_amd64.deb ... 314s Unpacking linux-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 314s Preparing to unpack .../80-linux-image-virtual_6.19.0-3.3_amd64.deb ... 314s Unpacking linux-image-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 314s Preparing to unpack .../81-linux-headers-virtual_6.19.0-3.3_amd64.deb ... 314s Unpacking linux-headers-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 314s Selecting previously unselected package linux-headers-6.19.0-3. 314s Preparing to unpack .../82-linux-headers-6.19.0-3_6.19.0-3.3_all.deb ... 314s Unpacking linux-headers-6.19.0-3 (6.19.0-3.3) ... 315s Selecting previously unselected package linux-headers-6.19.0-3-generic. 315s Preparing to unpack .../83-linux-headers-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 315s Unpacking linux-headers-6.19.0-3-generic (6.19.0-3.3) ... 316s Preparing to unpack .../84-linux-headers-generic_6.19.0-3.3_amd64.deb ... 316s Unpacking linux-headers-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 316s Preparing to unpack .../85-linux-perf_6.19.0-3.3_amd64.deb ... 316s Unpacking linux-perf (6.19.0-3.3) over (6.18.0-9.9) ... 316s Preparing to unpack .../86-linux-tools-common_6.19.0-3.3_all.deb ... 316s Unpacking linux-tools-common (6.19.0-3.3) over (6.18.0-9.9) ... 316s Selecting previously unselected package linux-tools-6.19.0-3. 316s Preparing to unpack .../87-linux-tools-6.19.0-3_6.19.0-3.3_amd64.deb ... 316s Unpacking linux-tools-6.19.0-3 (6.19.0-3.3) ... 316s Selecting previously unselected package linux-tools-6.19.0-3-generic. 316s Preparing to unpack .../88-linux-tools-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 316s Unpacking linux-tools-6.19.0-3-generic (6.19.0-3.3) ... 316s Preparing to unpack .../89-patch_2.8-2build1_amd64.deb ... 316s Unpacking patch (2.8-2build1) over (2.8-2) ... 316s Preparing to unpack .../90-pollinate_4.33-4ubuntu5_all.deb ... 316s Unpacking pollinate (4.33-4ubuntu5) over (4.33-4ubuntu4) ... 316s Preparing to unpack .../91-python3-referencing_0.36.2-1ubuntu2_all.deb ... 316s Unpacking python3-referencing (0.36.2-1ubuntu2) over (0.36.2-1ubuntu1) ... 316s Preparing to unpack .../92-ubuntu-kernel-accessories_1.564_amd64.deb ... 316s Unpacking ubuntu-kernel-accessories (1.564) over (1.563) ... 316s Setting up libip4tc2:amd64 (1.8.11-2ubuntu3) ... 316s Setting up 3cpio (0.14.0-1ubuntu1) ... 316s Setting up libxau6:amd64 (1:1.0.11-1build2) ... 316s Setting up libnpth0t64:amd64 (1.8-3build1) ... 316s Setting up libkeyutils1:amd64 (1.6.3-6ubuntu3) ... 316s Setting up ubuntu-kernel-accessories (1.564) ... 316s Setting up libgpm2:amd64 (1.20.7-12build1) ... 316s Setting up libgdbm6t64:amd64 (1.26-1build1) ... 316s Setting up linux-modules-6.19.0-3-generic (6.19.0-3.3) ... 317s Setting up libgdbm-compat4t64:amd64 (1.26-1build1) ... 317s Setting up bpftool (7.7.0+6.19.0-3.3) ... 317s Setting up libip6tc2:amd64 (1.8.11-2ubuntu3) ... 317s Setting up liblsof0 (4.99.4+dfsg-2build2) ... 317s Setting up libmaxminddb0:amd64 (1.12.2-1build2) ... 317s Setting up libbrotli1:amd64 (1.2.0-3) ... 317s Setting up libpython3.14-minimal:amd64 (3.14.2-1) ... 317s Setting up libsensors-config (1:3.6.2-2build1) ... 317s Setting up less (668-1build1) ... 317s Setting up linux-headers-6.19.0-3 (6.19.0-3.3) ... 317s Setting up libidn2-0:amd64 (2.3.8-4build1) ... 317s Setting up amd64-microcode (3.20251202.1ubuntu1) ... 317s amd64-microcode: microcode will be updated at next boot 317s Setting up man-db (2.13.1-1build1) ... 318s Updating database of manual pages ... 319s man-db.service is a disabled or a static unit not running, not starting it. 319s Setting up libjansson4:amd64 (2.14-2build4) ... 319s Setting up libglib2.0-data (2.87.2-2) ... 319s Setting up pollinate (4.33-4ubuntu5) ... 329s Setting up busybox-static (1:1.37.0-7ubuntu1) ... 329s Setting up libwrap0:amd64 (7.6.q-36build2) ... 329s Setting up linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 331s I: /boot/vmlinuz is now a symlink to vmlinuz-6.19.0-3-generic 331s I: /boot/initrd.img is now a symlink to initrd.img-6.19.0-3-generic 331s Setting up libdbus-1-3:amd64 (1.16.2-2ubuntu3) ... 331s Setting up libatomic1:amd64 (16-20260208-1ubuntu1) ... 331s Setting up patch (2.8-2build1) ... 331s Setting up libsensors5:amd64 (1:3.6.2-2build1) ... 331s Setting up busybox-initramfs (1:1.37.0-7ubuntu1) ... 331s Setting up libxtables12:amd64 (1.8.11-2ubuntu3) ... 331s Setting up lsof (4.99.4+dfsg-2build2) ... 331s Setting up libpci3:amd64 (1:3.14.0-1build2) ... 331s Setting up libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) ... 331s Setting up dracut-install (109-11ubuntu1) ... 331s Setting up dmsetup (2:1.02.205-2ubuntu3) ... 331s Setting up libnetfilter-conntrack3:amd64 (1.1.1-1) ... 331s Setting up pnp.ids (0.394-1build1) ... 331s Setting up dbus-session-bus-common (1.16.2-2ubuntu3) ... 331s Setting up python3-linkify-it (2.0.3-1ubuntu3) ... 331s Setting up libpcap0.8t64:amd64 (1.10.5-2ubuntu3) ... 331s Setting up libcryptsetup12:amd64 (2:2.8.0-1ubuntu3) ... 331s Setting up mawk (1.3.4.20260129-1) ... 331s Setting up libevent-core-2.1-7t64:amd64 (2.1.12-stable-10build2) ... 331s Setting up libusb-1.0-0:amd64 (2:1.0.29-2build1) ... 331s Setting up linux-image-virtual (6.19.0-3.3) ... 331s Setting up dbus-system-bus-common (1.16.2-2ubuntu3) ... 331s Setting up libbsd0:amd64 (0.12.2-2build2) ... 331s Setting up libdrm-common (2.4.131-1) ... 331s Setting up libstdc++6:amd64 (16-20260208-1ubuntu1) ... 331s Setting up dbus-bin (1.16.2-2ubuntu3) ... 331s Setting up libonig5:amd64 (6.9.10-1build1) ... 331s Setting up libbpf1:amd64 (1:1.6.2-1build1) ... 331s Setting up ethtool (1:6.15-3build1) ... 331s Setting up python3-referencing (0.36.2-1ubuntu2) ... 331s Setting up libxkbcommon0:amd64 (1.13.1-1) ... 331s Setting up cryptsetup-bin (2:2.8.0-1ubuntu3) ... 331s Setting up linux-headers-6.19.0-3-generic (6.19.0-3.3) ... 331s Setting up tcpdump (4.99.5-2ubuntu3) ... 331s Setting up linux-image-generic (6.19.0-3.3) ... 331s Setting up wget (1.25.0-2ubuntu4) ... 331s Setting up libpython3.14-stdlib:amd64 (3.14.2-1) ... 331s Setting up iptables (1.8.11-2ubuntu3) ... 331s Setting up iproute2 (6.18.0-1ubuntu1) ... 331s Setting up linux-headers-generic (6.19.0-3.3) ... 331s Setting up dbus-daemon (1.16.2-2ubuntu3) ... 331s Setting up hwdata (0.394-1build1) ... 331s Setting up dbus-user-session (1.16.2-2ubuntu3) ... 331s Setting up libglib2.0-0t64:amd64 (2.87.2-2) ... 331s No schema files found: doing nothing. 331s Setting up dbus (1.16.2-2ubuntu3) ... 331s A reboot is required to replace the running dbus-daemon. 331s Please reboot the system when convenient. 331s Setting up shared-mime-info (2.4-5build3) ... 332s Setting up gir1.2-glib-2.0:amd64 (2.87.2-2) ... 332s Setting up pciutils (1:3.14.0-1build2) ... 332s Setting up python3-markdown-it (3.0.0-3build1) ... 332s Setting up libdrm2:amd64 (2.4.131-1) ... 332s Setting up libpython3.14:amd64 (3.14.2-1) ... 332s Setting up libapt-pkg7.0:amd64 (3.1.15) ... 332s Setting up linux-tools-common (6.19.0-3.3) ... 332s Setting up libgudev-1.0-0:amd64 (1:238-7build1) ... 332s Setting up libdrm-amdgpu1:amd64 (2.4.131-1) ... 332s Setting up apt (3.1.15) ... 333s Setting up linux-headers-virtual (6.19.0-3.3) ... 333s Setting up linux-generic (6.19.0-3.3) ... 333s Setting up libgirepository-2.0-0:amd64 (2.87.2-2) ... 333s Setting up linux-tools-6.19.0-3 (6.19.0-3.3) ... 333s Setting up ubuntu-standard (1.564) ... 333s Setting up gir1.2-girepository-3.0:amd64 (2.87.2-2) ... 333s Setting up linux-virtual (6.19.0-3.3) ... 333s Setting up linux-perf (6.19.0-3.3) ... 333s Setting up linux-tools-6.19.0-3-generic (6.19.0-3.3) ... 333s Processing triggers for debianutils (5.23.2build1) ... 333s Processing triggers for install-info (7.2-5) ... 333s Processing triggers for initramfs-tools (0.150ubuntu7) ... 333s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic 337s Processing triggers for libc-bin (2.42-2ubuntu4) ... 337s Processing triggers for linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 337s /etc/kernel/postinst.d/initramfs-tools: 337s update-initramfs: Generating /boot/initrd.img-6.19.0-3-generic 341s /etc/kernel/postinst.d/zz-update-grub: 341s Sourcing file `/etc/default/grub' 341s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 341s Sourcing file `/etc/default/grub.d/90-autopkgtest.cfg' 341s Generating grub configuration file ... 341s Found linux image: /boot/vmlinuz-6.19.0-3-generic 341s Found initrd image: /boot/initrd.img-6.19.0-3-generic 341s Found linux image: /boot/vmlinuz-6.18.0-9-generic 341s Found initrd image: /boot/initrd.img-6.18.0-9-generic 341s Warning: os-prober will not be executed to detect other bootable partitions. 341s Systems on them will not be added to the GRUB boot configuration. 341s Check GRUB_DISABLE_OS_PROBER documentation entry. 341s Adding boot menu entry for UEFI Firmware Settings ... 341s done 341s autopkgtest [07:01:43]: upgrading testbed (apt dist-upgrade and autopurge) 342s Reading package lists... 342s Building dependency tree... 342s Reading state information... 342s Calculating upgrade... 342s The following package was automatically installed and is no longer required: 342s libpython3.13 342s Use 'sudo apt autoremove' to remove it. 342s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 342s Reading package lists... 342s Building dependency tree... 342s Reading state information... 342s Solving dependencies... 342s The following packages will be REMOVED: 342s libpython3.13* 343s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 343s After this operation, 7599 kB disk space will be freed. 343s (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 ... 125273 files and directories currently installed.) 343s Removing libpython3.13:amd64 (3.13.11-1) ... 343s Processing triggers for libc-bin (2.42-2ubuntu4) ... 343s autopkgtest [07:01:45]: rebooting testbed after setup commands that affected boot 374s Reading package lists... 374s Building dependency tree... 374s Reading state information... 374s Solving dependencies... 374s The following NEW packages will be installed: 374s git git-man liberror-perl mercurial mercurial-common mercurial-git 374s python3-dulwich 374s 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. 374s Need to get 9175 kB of archives. 374s After this operation, 48.5 MB of additional disk space will be used. 374s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 liberror-perl all 0.17030-1 [23.5 kB] 374s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 git-man all 1:2.51.0-1ubuntu1 [1179 kB] 376s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 git amd64 1:2.51.0-1ubuntu1 [4414 kB] 376s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 mercurial-common all 7.2-2 [2853 kB] 376s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 mercurial amd64 7.2-2 [461 kB] 376s Get:6 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-dulwich amd64 0.22.7-1 [183 kB] 376s Get:7 http://ftpmaster.internal/ubuntu resolute/universe amd64 mercurial-git all 1.2.0-1 [60.9 kB] 376s Fetched 9175 kB in 2s (5557 kB/s) 376s Selecting previously unselected package liberror-perl. 376s (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 ... 125269 files and directories currently installed.) 376s Preparing to unpack .../0-liberror-perl_0.17030-1_all.deb ... 376s Unpacking liberror-perl (0.17030-1) ... 376s Selecting previously unselected package git-man. 376s Preparing to unpack .../1-git-man_1%3a2.51.0-1ubuntu1_all.deb ... 376s Unpacking git-man (1:2.51.0-1ubuntu1) ... 376s Selecting previously unselected package git. 376s Preparing to unpack .../2-git_1%3a2.51.0-1ubuntu1_amd64.deb ... 376s Unpacking git (1:2.51.0-1ubuntu1) ... 377s Selecting previously unselected package mercurial-common. 377s Preparing to unpack .../3-mercurial-common_7.2-2_all.deb ... 377s Unpacking mercurial-common (7.2-2) ... 377s Selecting previously unselected package mercurial. 377s Preparing to unpack .../4-mercurial_7.2-2_amd64.deb ... 377s Unpacking mercurial (7.2-2) ... 377s Selecting previously unselected package python3-dulwich. 377s Preparing to unpack .../5-python3-dulwich_0.22.7-1_amd64.deb ... 377s Unpacking python3-dulwich (0.22.7-1) ... 377s Selecting previously unselected package mercurial-git. 377s Preparing to unpack .../6-mercurial-git_1.2.0-1_all.deb ... 377s Unpacking mercurial-git (1.2.0-1) ... 377s Setting up mercurial-common (7.2-2) ... 378s Setting up liberror-perl (0.17030-1) ... 378s Setting up python3-dulwich (0.22.7-1) ... 378s Setting up git-man (1:2.51.0-1ubuntu1) ... 378s Setting up mercurial (7.2-2) ... 378s Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version 378s Setting up mercurial-git (1.2.0-1) ... 378s mercurial-git extension is disabled by default. 378s You can follow the instructions in /usr/share/doc/mercurial-git/README.Debian to enable it. 378s Setting up git (1:2.51.0-1ubuntu1) ... 378s Processing triggers for man-db (2.13.1-1build1) ... 381s autopkgtest [07:02:23]: test environment configured for cross building 381s autopkgtest [07:02:23]: test mercurial-git: [----------------------- 381s Initialized empty Git repository in /tmp/autopkgtest.TC6niP/build.0en/src/git_server/ 381s Cloning into 'git_clone'... 381s warning: You appear to have cloned an empty repository. 381s done. 381s [master (root-commit) c2e258c] a 381s 1 file changed, 1 insertion(+) 381s create mode 100644 a 381s To /tmp/autopkgtest.TC6niP/build.0en/src/git_server 381s * [new branch] master -> master 381s Traceback (most recent call last): 381s File "/usr/lib/python3/dist-packages/mercurial/extensions.py", line 291, in _runextsetup 381s extsetup(ui) 381s ~~~~~~~~^^^^ 381s File "/usr/lib/python3/dist-packages/mercurial/exthelper.py", line 227, in finalextsetup 381s c(ui) 381s ~^^^^ 381s File "/usr/lib/python3/dist-packages/hggit/bundle.py", line 76, in install_server_support 381s @bundle2.parthandler(BUNDLEPART_MAP) 381s ^^^^^^^^^^^^^^^^^^^ 381s AttributeError: module 'mercurial.bundle2' has no attribute 'parthandler' 381s *** failed to set up extension hggit: module 'mercurial.bundle2' has no attribute 'parthandler' 381s abort: repository git_server not found 381s autopkgtest [07:02:23]: test mercurial-git: -----------------------] 382s autopkgtest [07:02:24]: test mercurial-git: - - - - - - - - - - results - - - - - - - - - - 382s mercurial-git FAIL non-zero exit status 253 382s autopkgtest [07:02:24]: test mercurial-git: - - - - - - - - - - stderr - - - - - - - - - - 382s Traceback (most recent call last): 382s File "/usr/lib/python3/dist-packages/mercurial/extensions.py", line 291, in _runextsetup 382s extsetup(ui) 382s ~~~~~~~~^^^^ 382s File "/usr/lib/python3/dist-packages/mercurial/exthelper.py", line 227, in finalextsetup 382s c(ui) 382s ~^^^^ 382s File "/usr/lib/python3/dist-packages/hggit/bundle.py", line 76, in install_server_support 382s @bundle2.parthandler(BUNDLEPART_MAP) 382s ^^^^^^^^^^^^^^^^^^^ 382s AttributeError: module 'mercurial.bundle2' has no attribute 'parthandler' 382s *** failed to set up extension hggit: module 'mercurial.bundle2' has no attribute 'parthandler' 382s abort: repository git_server not found 382s autopkgtest [07:02:24]: @@@@@@@@@@@@@@@@@@@@ summary 382s testsuite FAIL non-zero exit status 2 382s mercurial-git FAIL non-zero exit status 253