0s autopkgtest [17:20:05]: starting date and time: 2025-10-18 17:20:05+0000 0s autopkgtest [17:20:05]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [17:20:05]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.2es_8iza/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults --apt-upgrade git-remote-hg --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.13.7-2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-arm64-17.secgroup --name adt-resolute-arm64-git-remote-hg-20251018-172005-juju-7f2275-prod-proposed-migration-environment-20-36e4d63c-784b-464d-b55f-d1b2fed23979 --image adt/ubuntu-resolute-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-arm64-git-remote-hg-20251018-172005-juju-7f2275-prod-proposed-migration-environment-20-36e4d63c-784b-464d-b55f-d1b2fed23979 from image adt/ubuntu-resolute-arm64-server-20251018.img (UUID f7a49384-4e4d-4350-9a26-1f59236f89dd)... 76s autopkgtest [17:21:21]: testbed dpkg architecture: arm64 77s autopkgtest [17:21:22]: testbed apt version: 3.1.6ubuntu2 77s autopkgtest [17:21:22]: @@@@@@@@@@@@@@@@@@@@ test bed setup 77s autopkgtest [17:21:22]: testbed release detected to be: None 78s autopkgtest [17:21:23]: updating testbed package index (apt update) 79s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 79s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 79s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 79s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 79s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [345 kB] 79s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 79s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [28.4 kB] 79s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [15.4 kB] 79s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [81.1 kB] 79s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [43.8 kB] 79s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [223 kB] 79s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [5672 B] 80s Fetched 831 kB in 1s (857 kB/s) 81s Reading package lists... 82s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 82s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 82s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 82s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 84s Reading package lists... 84s Reading package lists... 84s Building dependency tree... 84s Reading state information... 85s Calculating upgrade... 85s The following packages will be upgraded: 85s apt flash-kernel gir1.2-girepository-2.0 libapt-pkg7.0 libgirepository-1.0-1 85s libpython3-stdlib lto-disabled-list python3 python3-minimal 85s 9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 85s Need to get 2671 kB of archives. 85s After this operation, 66.6 kB of additional disk space will be used. 85s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 python3-minimal arm64 3.13.7-2 [27.8 kB] 86s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 python3 arm64 3.13.7-2 [23.9 kB] 86s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libpython3-stdlib arm64 3.13.7-2 [10.6 kB] 86s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 libapt-pkg7.0 arm64 3.1.8ubuntu1 [1055 kB] 86s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 apt arm64 3.1.8ubuntu1 [1373 kB] 86s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 libgirepository-1.0-1 arm64 1.86.0-6 [84.5 kB] 86s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 gir1.2-girepository-2.0 arm64 1.86.0-6 [25.3 kB] 86s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 flash-kernel arm64 3.109ubuntu7 [58.8 kB] 86s Get:9 http://ftpmaster.internal/ubuntu resolute/main arm64 lto-disabled-list all 71 [12.5 kB] 87s dpkg-preconfigure: unable to re-open stdin: No such file or directory 87s Fetched 2671 kB in 1s (2627 kB/s) 88s (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 ... 83359 files and directories currently installed.) 88s Preparing to unpack .../python3-minimal_3.13.7-2_arm64.deb ... 88s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 88s Setting up python3-minimal (3.13.7-2) ... 89s (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 ... 83359 files and directories currently installed.) 89s Preparing to unpack .../0-python3_3.13.7-2_arm64.deb ... 89s running python pre-rtupdate hooks for python3.13... 89s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 89s Preparing to unpack .../1-libpython3-stdlib_3.13.7-2_arm64.deb ... 89s Unpacking libpython3-stdlib:arm64 (3.13.7-2) over (3.13.7-1) ... 89s Preparing to unpack .../2-libapt-pkg7.0_3.1.8ubuntu1_arm64.deb ... 89s Unpacking libapt-pkg7.0:arm64 (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 89s Preparing to unpack .../3-apt_3.1.8ubuntu1_arm64.deb ... 90s Unpacking apt (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 90s Preparing to unpack .../4-libgirepository-1.0-1_1.86.0-6_arm64.deb ... 90s Unpacking libgirepository-1.0-1:arm64 (1.86.0-6) over (1.84.0-1) ... 90s Preparing to unpack .../5-gir1.2-girepository-2.0_1.86.0-6_arm64.deb ... 90s Unpacking gir1.2-girepository-2.0:arm64 (1.86.0-6) over (1.84.0-1) ... 91s Preparing to unpack .../6-flash-kernel_3.109ubuntu7_arm64.deb ... 91s Unpacking flash-kernel (3.109ubuntu7) over (3.109ubuntu6) ... 91s Preparing to unpack .../7-lto-disabled-list_71_all.deb ... 91s Unpacking lto-disabled-list (71) over (69) ... 91s Setting up lto-disabled-list (71) ... 91s Setting up libgirepository-1.0-1:arm64 (1.86.0-6) ... 91s Setting up libapt-pkg7.0:arm64 (3.1.8ubuntu1) ... 91s Setting up libpython3-stdlib:arm64 (3.13.7-2) ... 91s Setting up apt (3.1.8ubuntu1) ... 92s Setting up python3 (3.13.7-2) ... 92s running python rtupdate hooks for python3.13... 92s running python post-rtupdate hooks for python3.13... 92s Setting up gir1.2-girepository-2.0:arm64 (1.86.0-6) ... 92s Setting up flash-kernel (3.109ubuntu7) ... 94s flash-kernel: deferring update (trigger activated) 94s Processing triggers for libc-bin (2.42-0ubuntu3) ... 94s Processing triggers for man-db (2.13.1-1) ... 98s Processing triggers for initramfs-tools (0.150ubuntu3) ... 98s update-initramfs: Generating /boot/initrd.img-6.17.0-5-generic 134s System running in EFI mode, skipping. 134s Processing triggers for flash-kernel (3.109ubuntu7) ... 134s System running in EFI mode, skipping. 134s autopkgtest [17:22:19]: upgrading testbed (apt dist-upgrade and autopurge) 136s Reading package lists... 137s Building dependency tree... 137s Reading state information... 137s Calculating upgrade... 138s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 138s Reading package lists... 138s Building dependency tree... 138s Reading state information... 139s Solving dependencies... 139s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 139s autopkgtest [17:22:24]: rebooting testbed after setup commands that affected boot 180s autopkgtest [17:23:05]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 09:50:31 UTC 2025 182s autopkgtest [17:23:07]: @@@@@@@@@@@@@@@@@@@@ apt-source git-remote-hg 185s Get:1 http://ftpmaster.internal/ubuntu resolute/universe git-remote-hg 1.0.4~ds-3 (dsc) [2146 B] 185s Get:2 http://ftpmaster.internal/ubuntu resolute/universe git-remote-hg 1.0.4~ds-3 (tar) [51.2 kB] 185s Get:3 http://ftpmaster.internal/ubuntu resolute/universe git-remote-hg 1.0.4~ds-3 (diff) [6096 B] 185s gpgv: Signature made Fri Feb 21 20:16:13 2025 UTC 185s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 185s gpgv: issuer "tchet@debian.org" 185s gpgv: Can't check signature: No public key 185s dpkg-source: warning: cannot verify inline signature for ./git-remote-hg_1.0.4~ds-3.dsc: no acceptable signature found 185s autopkgtest [17:23:10]: testing package git-remote-hg version 1.0.4~ds-3 186s autopkgtest [17:23:11]: build not needed 186s autopkgtest [17:23:11]: test upstream-test-suite: preparing testbed 186s Reading package lists... 187s Building dependency tree... 187s Reading state information... 187s Solving dependencies... 187s The following NEW packages will be installed: 187s git git-man git-remote-hg liberror-perl mercurial mercurial-common 187s mercurial-git python3-dulwich python3-zombie-imp sharness 188s 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. 188s Need to get 9132 kB of archives. 188s After this operation, 47.0 MB of additional disk space will be used. 188s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 liberror-perl all 0.17030-1 [23.5 kB] 188s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 git-man all 1:2.51.0-1ubuntu1 [1179 kB] 188s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 git arm64 1:2.51.0-1ubuntu1 [4431 kB] 189s Get:4 http://ftpmaster.internal/ubuntu resolute/universe arm64 mercurial-common all 7.0.1-2 [2783 kB] 189s Get:5 http://ftpmaster.internal/ubuntu resolute/universe arm64 mercurial arm64 7.0.1-2 [393 kB] 189s Get:6 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-zombie-imp all 0.0.3-1 [12.1 kB] 189s Get:7 http://ftpmaster.internal/ubuntu resolute/universe arm64 git-remote-hg all 1.0.4~ds-3 [39.5 kB] 189s Get:8 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-dulwich arm64 0.22.7-1 [183 kB] 189s Get:9 http://ftpmaster.internal/ubuntu resolute/universe arm64 mercurial-git all 1.2.0-1 [60.9 kB] 189s Get:10 http://ftpmaster.internal/ubuntu resolute/universe arm64 sharness all 1.0.0-1.1 [25.7 kB] 190s Fetched 9132 kB in 2s (5054 kB/s) 190s Selecting previously unselected package liberror-perl. 190s (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 ... 83359 files and directories currently installed.) 190s Preparing to unpack .../0-liberror-perl_0.17030-1_all.deb ... 190s Unpacking liberror-perl (0.17030-1) ... 190s Selecting previously unselected package git-man. 190s Preparing to unpack .../1-git-man_1%3a2.51.0-1ubuntu1_all.deb ... 190s Unpacking git-man (1:2.51.0-1ubuntu1) ... 191s Selecting previously unselected package git. 191s Preparing to unpack .../2-git_1%3a2.51.0-1ubuntu1_arm64.deb ... 191s Unpacking git (1:2.51.0-1ubuntu1) ... 191s Selecting previously unselected package mercurial-common. 191s Preparing to unpack .../3-mercurial-common_7.0.1-2_all.deb ... 191s Unpacking mercurial-common (7.0.1-2) ... 191s Selecting previously unselected package mercurial. 191s Preparing to unpack .../4-mercurial_7.0.1-2_arm64.deb ... 191s Unpacking mercurial (7.0.1-2) ... 191s Selecting previously unselected package python3-zombie-imp. 191s Preparing to unpack .../5-python3-zombie-imp_0.0.3-1_all.deb ... 191s Unpacking python3-zombie-imp (0.0.3-1) ... 191s Selecting previously unselected package git-remote-hg. 191s Preparing to unpack .../6-git-remote-hg_1.0.4~ds-3_all.deb ... 191s Unpacking git-remote-hg (1.0.4~ds-3) ... 191s Selecting previously unselected package python3-dulwich. 191s Preparing to unpack .../7-python3-dulwich_0.22.7-1_arm64.deb ... 191s Unpacking python3-dulwich (0.22.7-1) ... 192s Selecting previously unselected package mercurial-git. 192s Preparing to unpack .../8-mercurial-git_1.2.0-1_all.deb ... 192s Unpacking mercurial-git (1.2.0-1) ... 192s Selecting previously unselected package sharness. 192s Preparing to unpack .../9-sharness_1.0.0-1.1_all.deb ... 192s Unpacking sharness (1.0.0-1.1) ... 192s Setting up python3-zombie-imp (0.0.3-1) ... 192s Setting up mercurial-common (7.0.1-2) ... 195s Setting up liberror-perl (0.17030-1) ... 195s Setting up sharness (1.0.0-1.1) ... 195s Setting up python3-dulwich (0.22.7-1) ... 196s Setting up git-man (1:2.51.0-1ubuntu1) ... 196s Setting up mercurial (7.0.1-2) ... 196s Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version 196s Setting up mercurial-git (1.2.0-1) ... 196s mercurial-git extension is disabled by default. 196s You can follow the instructions in /usr/share/doc/mercurial-git/README.Debian to enable it. 197s Setting up git (1:2.51.0-1ubuntu1) ... 197s Setting up git-remote-hg (1.0.4~ds-3) ... 197s Processing triggers for man-db (2.13.1-1) ... 200s autopkgtest [17:23:25]: test upstream-test-suite: make -C test TEST_INSTALLED_SCRIPTS=1 TEST_OPTS=--verbose 200s autopkgtest [17:23:25]: test upstream-test-suite: [----------------------- 200s make: Entering directory '/tmp/autopkgtest.D6TClg/build.HBG/src/test' 200s /bin/sh main.t --verbose 200s expecting success: 200s ( 200s hg init hgrepo && 200s cd hgrepo && 200s echo zero > content && 200s hg add content && 200s hg commit -m zero 200s ) 200s 202s ok 1 - setup 202s 202s expecting success: 202s test_when_finished "rm -rf gitrepo*" && 202s git clone "hg::hgrepo" gitrepo && 202s check gitrepo HEAD zero 202s 202s Cloning into 'gitrepo'... 202s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 202s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 202s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 202s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 203s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 203s or locale.getdefaultlocale()[1] 203s WARNING: capability_push is disabled, only do so when really sure 203s WARNING: various enhanced features might fail in subtle ways 203s adding changesets 203s adding manifests 203s adding file changes 203s added 1 changesets with 1 changes to 1 files 203s new changesets e23a59a9bab8 203s progress revision walk 'bookmarks/master' (0/0) 203s progress revision 0 'master' (0/1) 203s ok 2 - cloning 203s 203s expecting success: 203s test_when_finished "rm -rf gitrepo*" && 203s 203s ( 203s cd hgrepo && 203s hg branch next && 203s echo next > content && 203s hg commit -m next 203s ) && 203s 203s git clone "hg::hgrepo" gitrepo && 203s check gitrepo origin/branches/next next 203s 203s marked working directory as branch next 203s (branches are permanent and global, did you want a bookmark?) 204s Cloning into 'gitrepo'... 204s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 204s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 204s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 204s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 205s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 205s or locale.getdefaultlocale()[1] 205s WARNING: capability_push is disabled, only do so when really sure 205s WARNING: various enhanced features might fail in subtle ways 205s adding changesets 205s adding manifests 205s adding file changes 205s added 2 changesets with 2 changes to 1 files 205s new changesets e23a59a9bab8:577b73ea2da5 205s progress revision walk 'bookmarks/master' (0/0) 205s progress revision 0 'master' (0/1) 205s progress revision 1 'next' (0/1) 205s ok 3 - cloning with branches 205s 205s expecting success: 205s test_when_finished "rm -rf gitrepo*" && 205s 205s ( 205s cd hgrepo && 205s hg checkout default && 205s hg bookmark feature-a && 205s echo feature-a > content && 205s hg commit -m feature-a 205s ) && 205s 205s git clone "hg::hgrepo" gitrepo && 205s check gitrepo origin/feature-a feature-a 205s 206s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 207s Cloning into 'gitrepo'... 207s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 207s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 207s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 207s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 207s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 207s or locale.getdefaultlocale()[1] 207s WARNING: capability_push is disabled, only do so when really sure 207s WARNING: various enhanced features might fail in subtle ways 207s adding changesets 207s adding manifests 207s adding file changes 207s adding remote bookmark feature-a 207s added 3 changesets with 3 changes to 1 files (+1 heads) 207s new changesets e23a59a9bab8:759b6aceb63b 207s progress revision walk 'bookmarks/master' (2/2) 207s progress revision 0 'master' (0/2) 207s progress revision 1 'next' (0/1) 208s ok 4 - cloning with bookmarks 208s 208s expecting success: 208s test_when_finished "rm -rf gitrepo*" && 208s 208s ( 208s cd hgrepo && 208s hg bookmark devel 208s ) && 208s 208s ( 208s git clone "hg::hgrepo" gitrepo && 208s cd gitrepo && 208s git checkout --quiet devel && 208s echo devel > content && 208s git commit -a -m devel && 208s git push --quiet origin devel 208s ) && 208s 208s check_bookmark hgrepo devel devel 208s 208s Cloning into 'gitrepo'... 208s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 208s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 208s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 208s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 209s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 209s or locale.getdefaultlocale()[1] 209s WARNING: capability_push is disabled, only do so when really sure 209s WARNING: various enhanced features might fail in subtle ways 209s adding changesets 209s adding manifests 209s adding file changes 209s adding remote bookmark devel 209s adding remote bookmark feature-a 209s added 3 changesets with 3 changes to 1 files (+1 heads) 209s new changesets e23a59a9bab8:759b6aceb63b 209s progress revision walk 'bookmarks/master' (2/2) 209s progress revision 0 'master' (0/2) 209s progress revision 1 'next' (0/1) 209s [devel 475ac17] devel 209s Author: A U Thor 209s 1 file changed, 1 insertion(+), 1 deletion(-) 209s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 209s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 209s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 209s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 210s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 210s or locale.getdefaultlocale()[1] 210s WARNING: capability_push is disabled, only do so when really sure 210s WARNING: various enhanced features might fail in subtle ways 210s no changes found 210s searching for changes 210s adding changesets 210s adding manifests 210s adding file changes 210s added 1 changesets with 1 changes to 1 files 211s ok 5 - update bookmark 211s 211s expecting success: 211s test_when_finished "rm -rf gitrepo*" && 211s 211s ( 211s git clone "hg::hgrepo" gitrepo && 211s cd gitrepo && 211s git checkout --quiet -b feature-b && 211s echo feature-b > content && 211s git commit -a -m feature-b && 211s git push --quiet origin feature-b 211s ) && 211s 211s check_bookmark hgrepo feature-b feature-b 211s 211s Cloning into 'gitrepo'... 211s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 211s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 211s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 211s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 211s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 211s or locale.getdefaultlocale()[1] 211s WARNING: capability_push is disabled, only do so when really sure 211s WARNING: various enhanced features might fail in subtle ways 211s adding changesets 211s adding manifests 211s adding file changes 211s adding remote bookmark devel 211s adding remote bookmark feature-a 211s added 4 changesets with 4 changes to 1 files (+1 heads) 211s new changesets e23a59a9bab8:963bd215ba21 211s progress revision walk 'bookmarks/master' (3/3) 211s progress revision 0 'master' (0/3) 211s progress revision 1 'next' (0/1) 212s [feature-b 4628357] feature-b 212s Author: A U Thor 212s 1 file changed, 1 insertion(+), 1 deletion(-) 212s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 212s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 212s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 212s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 212s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 212s or locale.getdefaultlocale()[1] 212s WARNING: capability_push is disabled, only do so when really sure 212s WARNING: various enhanced features might fail in subtle ways 212s no changes found 212s searching for changes 212s adding changesets 212s adding manifests 212s adding file changes 212s added 1 changesets with 1 changes to 1 files 213s ok 6 - new bookmark 213s 213s expecting success: 213s test_when_finished "rm -rf hgrepo gitrepo" && 213s 213s ( 213s hg init hgrepo && 213s cd hgrepo && 213s 213s touch content && 213s hg add content && 213s 213s > ../expected && 213s author_test alpha "" "H G Wells " && 213s author_test beta "beta" "beta " && 213s author_test gamma "gamma (comment)" "gamma " && 213s author_test delta "" "Unknown " && 213s author_test epsilon "epsilon" "epsilon " && 213s author_test zeta "zeta " && 213s author_test eta " eta " "eta " && 213s author_test theta "theta < test@example.com >" "theta " && 213s author_test iota "iota >test@example.com>" "iota " && 213s author_test kappa "kappa < test example com>" "kappa " && 213s author_test lambda "lambda@example.com" "Unknown " && 213s author_test mu "mu.mu@example.com" "Unknown " 213s ) && 213s 213s git clone "hg::hgrepo" gitrepo && 213s git --git-dir=gitrepo/.git log --reverse --format="%an <%ae>" > actual && 213s 213s test_cmp expected actual 213s 220s Cloning into 'gitrepo'... 221s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 221s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 221s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 221s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 221s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 221s or locale.getdefaultlocale()[1] 221s WARNING: capability_push is disabled, only do so when really sure 221s WARNING: various enhanced features might fail in subtle ways 221s adding changesets 221s adding manifests 221s adding file changes 221s added 12 changesets with 12 changes to 1 files 221s new changesets 824bf4ed7e42:f219ec55f92f 221s progress revision walk 'bookmarks/master' (11/11) 221s progress revision 0 'master' (0/12) 221s ok 7 - authors 221s 221s expecting success: 221s test_when_finished "rm -rf hgrepo gitrepo" && 221s 221s ( 221s hg init hgrepo && 221s cd hgrepo && 221s 221s echo one >> content && 221s hg add content && 221s hg commit -m one && 221s 221s echo two >> content && 221s hg commit -m two 221s ) && 221s 221s git clone "hg::hgrepo" gitrepo && 221s 221s ( 221s cd hgrepo && 221s hg strip 1 && 221s 221s echo three >> content && 221s hg commit -m three && 221s 221s echo four >> content && 221s hg commit -m four 221s ) && 221s 221s ( 221s cd gitrepo && 221s git fetch && 221s git log --format="%s" origin/master > ../actual 221s ) && 221s 221s hg -R hgrepo log --template "{desc}\n" > expected && 221s test_cmp actual expected 221s 224s Cloning into 'gitrepo'... 224s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 224s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 224s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 224s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 224s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 224s or locale.getdefaultlocale()[1] 224s WARNING: capability_push is disabled, only do so when really sure 224s WARNING: various enhanced features might fail in subtle ways 224s adding changesets 224s adding manifests 224s adding file changes 224s added 2 changesets with 2 changes to 1 files 224s new changesets 18e8fbbbc325:5adeddae31fe 224s progress revision walk 'bookmarks/master' (1/1) 224s progress revision 0 'master' (0/2) 225s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 225s saved backup bundle to /tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/hgrepo/.hg/strip-backup/5adeddae31fe-0ccf0826-backup.hg 226s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 226s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 226s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 226s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 227s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 227s or locale.getdefaultlocale()[1] 227s WARNING: capability_push is disabled, only do so when really sure 227s WARNING: various enhanced features might fail in subtle ways 227s searching for changes 227s adding changesets 227s adding manifests 227s adding file changes 227s added 2 changesets with 2 changes to 1 files (+1 heads) 227s new changesets 5db843073d0c:ae568006a871 227s progress revision 2 'default' (0/2) 227s From hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/hgrepo 227s + ca4e376...34fab11 master -> origin/master (forced update) 227s + ca4e376...34fab11 branches/default -> origin/branches/default (forced update) 228s ok 8 - strip 228s 228s expecting success: 228s test_when_finished "rm -rf hgrepo gitrepo*" && 228s 228s ( 228s hg init hgrepo && 228s cd hgrepo && 228s echo zero > content && 228s hg add content && 228s hg commit -m zero && 228s hg bookmark master && 228s echo one > content && 228s hg commit -m one 228s ) && 228s 228s ( 228s git clone "hg::hgrepo" gitrepo && 228s cd gitrepo && 228s echo two > content && 228s git commit -a -m two && 228s git push 228s ) && 228s 228s check_branch hgrepo default two 228s 230s Cloning into 'gitrepo'... 230s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 230s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 230s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 230s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 231s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 231s or locale.getdefaultlocale()[1] 231s WARNING: capability_push is disabled, only do so when really sure 231s WARNING: various enhanced features might fail in subtle ways 231s adding changesets 231s adding manifests 231s adding file changes 231s adding remote bookmark master 231s added 2 changesets with 2 changes to 1 files 231s new changesets 91a12a29b4d9:9fdba6c5862c 231s progress revision walk 'bookmarks/default' (1/1) 231s progress revision 0 'default' (0/2) 231s [default 4d750a2] two 231s Author: A U Thor 231s 1 file changed, 1 insertion(+), 1 deletion(-) 231s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 231s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 231s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 231s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 232s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 232s or locale.getdefaultlocale()[1] 232s WARNING: capability_push is disabled, only do so when really sure 232s WARNING: various enhanced features might fail in subtle ways 232s no changes found 232s searching for changes 232s adding changesets 232s adding manifests 232s adding file changes 232s added 1 changesets with 1 changes to 1 files 232s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/hgrepo 232s 4367659..4d750a2 default -> default 232s ok 9 - remote push with master bookmark 232s 232s expecting success: 232s test_when_finished "rm -rf hgrepo gitrepo*" && 232s 232s hg init hgrepo && 232s 232s ( 232s git init gitrepo && 232s cd gitrepo && 232s git remote add origin "hg::../hgrepo" && 232s echo one > content && 232s git add content && 232s git commit -a -m one && 232s git push origin master 232s ) && 232s 232s hg -R hgrepo log > actual && 232s cat actual && 232s test_cmp expected actual && 232s 232s check_branch hgrepo default one 232s 233s Initialized empty Git repository in /tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/gitrepo/.git/ 233s [master (root-commit) 64caca5] one 233s Author: A U Thor 233s 1 file changed, 1 insertion(+) 233s create mode 100644 content 233s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 233s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 233s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 233s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 233s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 233s or locale.getdefaultlocale()[1] 233s WARNING: capability_push is disabled, only do so when really sure 233s WARNING: various enhanced features might fail in subtle ways 234s no changes found 234s searching for changes 234s adding changesets 234s adding manifests 234s adding file changes 234s added 1 changesets with 1 changes to 1 files 234s To hg::../hgrepo 234s * [new branch] master -> master 234s changeset: 0:6e2126489d3d 234s tag: tip 234s user: A U Thor 234s date: Mon Jan 01 00:00:00 2007 +0230 234s summary: one 234s 235s ok 10 - remote push from master branch 235s 235s expecting success: 235s test_when_finished "rm -rf gitrepo*" && 235s 235s ( 235s hg init hgrepo && 235s cd hgrepo && 235s echo zero > content && 235s hg add content && 235s hg commit -m zero 235s ) && 235s 235s git clone "hg::hgrepo" gitrepo && 235s check gitrepo HEAD zero 235s 236s Cloning into 'gitrepo'... 236s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 236s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 236s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 236s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 237s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 237s or locale.getdefaultlocale()[1] 237s WARNING: capability_push is disabled, only do so when really sure 237s WARNING: various enhanced features might fail in subtle ways 237s adding changesets 237s adding manifests 237s adding file changes 237s added 1 changesets with 1 changes to 1 files 237s new changesets fbdf6179590d 237s progress revision walk 'bookmarks/master' (0/0) 237s progress revision 0 'master' (0/1) 237s ok 11 - remote cloning 237s 237s expecting success: 237s test_when_finished "rm -rf gitrepo*" && 237s 237s ( 237s git clone "hg::hgrepo" gitrepo && 237s mv gitrepo gitrepo2 && 237s cd gitrepo2 && 237s git fetch 237s ) 237s 237s Cloning into 'gitrepo'... 237s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 237s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 237s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 237s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 238s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 238s or locale.getdefaultlocale()[1] 238s WARNING: capability_push is disabled, only do so when really sure 238s WARNING: various enhanced features might fail in subtle ways 238s adding changesets 238s adding manifests 238s adding file changes 238s added 1 changesets with 1 changes to 1 files 238s new changesets fbdf6179590d 238s progress revision walk 'bookmarks/master' (0/0) 238s progress revision 0 'master' (0/1) 238s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 238s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 238s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 238s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 239s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 239s or locale.getdefaultlocale()[1] 239s WARNING: capability_push is disabled, only do so when really sure 239s WARNING: various enhanced features might fail in subtle ways 239s no changes found 239s ok 12 - moving remote clone 239s 239s expecting success: 239s test_when_finished "rm -rf gitrepo*" && 239s 239s ( 239s cd hgrepo && 239s hg bookmark devel 239s ) && 239s 239s ( 239s git clone "hg::hgrepo" gitrepo && 239s cd gitrepo && 239s git checkout --quiet devel && 239s echo devel > content && 239s git commit -a -m devel && 239s git push --quiet 239s ) && 239s 239s check_bookmark hgrepo devel devel 239s 240s Cloning into 'gitrepo'... 240s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 240s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 240s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 240s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 240s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 240s or locale.getdefaultlocale()[1] 240s WARNING: capability_push is disabled, only do so when really sure 240s WARNING: various enhanced features might fail in subtle ways 240s adding changesets 240s adding manifests 240s adding file changes 240s adding remote bookmark devel 240s added 1 changesets with 1 changes to 1 files 240s new changesets fbdf6179590d 240s progress revision walk 'bookmarks/master' (0/0) 240s progress revision 0 'master' (0/1) 240s [devel 9762654] devel 240s Author: A U Thor 240s 1 file changed, 1 insertion(+), 1 deletion(-) 241s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 241s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 241s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 241s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 241s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 241s or locale.getdefaultlocale()[1] 241s WARNING: capability_push is disabled, only do so when really sure 241s WARNING: various enhanced features might fail in subtle ways 241s no changes found 241s searching for changes 241s adding changesets 241s adding manifests 241s adding file changes 241s added 1 changesets with 1 changes to 1 files 242s ok 13 - remote update bookmark 242s 242s expecting success: 242s test_when_finished "rm -rf gitrepo*" && 242s 242s ( 242s git clone "hg::hgrepo" gitrepo && 242s cd gitrepo && 242s git checkout --quiet -b feature-b && 242s echo feature-b > content && 242s git commit -a -m feature-b && 242s git push --quiet origin feature-b 242s ) && 242s 242s check_bookmark hgrepo feature-b feature-b 242s 242s Cloning into 'gitrepo'... 242s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 242s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 242s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 242s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 242s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 242s or locale.getdefaultlocale()[1] 242s WARNING: capability_push is disabled, only do so when really sure 242s WARNING: various enhanced features might fail in subtle ways 242s adding changesets 242s adding manifests 242s adding file changes 242s adding remote bookmark devel 242s added 2 changesets with 2 changes to 1 files 242s new changesets fbdf6179590d:ab1c4161bc97 243s progress revision walk 'bookmarks/master' (1/1) 243s progress revision 0 'master' (0/2) 243s [feature-b 6f9cc01] feature-b 243s Author: A U Thor 243s 1 file changed, 1 insertion(+), 1 deletion(-) 243s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 243s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 243s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 243s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 243s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 243s or locale.getdefaultlocale()[1] 243s WARNING: capability_push is disabled, only do so when really sure 243s WARNING: various enhanced features might fail in subtle ways 243s no changes found 243s searching for changes 243s adding changesets 243s adding manifests 243s adding file changes 243s added 1 changesets with 1 changes to 1 files 244s ok 14 - remote new bookmark 244s 244s expecting success: 244s test_when_finished "rm -rf gitrepo*" && 244s 244s git clone "hg::hgrepo" gitrepo && 244s 244s ( 244s cd hgrepo && 244s hg checkout default && 244s echo bump > content && 244s hg commit -m bump 244s ) && 244s 244s ( 244s cd gitrepo && 244s echo diverge > content && 244s git commit -a -m diverged && 244s check_push 1 <<-\EOF 244s master:non-fast-forward 244s EOF 244s ) && 244s 244s check_branch hgrepo default bump 244s 244s Cloning into 'gitrepo'... 244s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 244s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 244s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 244s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 245s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 245s or locale.getdefaultlocale()[1] 245s WARNING: capability_push is disabled, only do so when really sure 245s WARNING: various enhanced features might fail in subtle ways 245s adding changesets 245s adding manifests 245s adding file changes 245s adding remote bookmark devel 245s adding remote bookmark feature-b 245s added 3 changesets with 3 changes to 1 files 245s new changesets fbdf6179590d:b4ad8b29d4d1 245s progress revision walk 'bookmarks/master' (2/2) 245s progress revision 0 'master' (0/3) 245s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 245s (leaving bookmark devel) 246s [master f095cc1] diverged 246s Author: A U Thor 246s 1 file changed, 1 insertion(+), 1 deletion(-) 247s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 247s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 247s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 247s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 247s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 247s or locale.getdefaultlocale()[1] 247s WARNING: capability_push is disabled, only do so when really sure 247s WARNING: various enhanced features might fail in subtle ways 247s searching for changes 247s adding changesets 247s adding manifests 247s adding file changes 247s added 1 changesets with 1 changes to 1 files 247s new changesets de612c3ca1b0 247s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/hgrepo 247s ! [rejected] master -> master (non-fast-forward) 247s error: failed to push some refs to 'hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/hgrepo' 247s hint: Updates were rejected because the tip of your current branch is behind 247s hint: its remote counterpart. If you want to integrate the remote changes, 247s hint: use 'git pull' before pushing again. 247s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 247s ! [rejected] master -> master (non-fast-forward) 248s ok 15 - remote push diverged 248s 248s expecting success: 248s test_when_finished "rm -rf gitrepo*" && 248s 248s ( 248s cd hgrepo && 248s hg checkout tip^ && 248s hg bookmark diverge 248s ) && 248s 248s git clone "hg::hgrepo" gitrepo && 248s 248s ( 248s cd hgrepo && 248s echo "bump bookmark" > content && 248s hg commit -m "bump bookmark" 248s ) && 248s 248s ( 248s cd gitrepo && 248s git checkout --quiet diverge && 248s echo diverge > content && 248s git commit -a -m diverge && 248s check_push 1 <<-\EOF 248s diverge:non-fast-forward 248s EOF 248s ) && 248s 248s check_bookmark hgrepo diverge "bump bookmark" 248s 248s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 249s Cloning into 'gitrepo'... 249s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 249s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 249s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 249s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 249s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 249s or locale.getdefaultlocale()[1] 249s WARNING: capability_push is disabled, only do so when really sure 249s WARNING: various enhanced features might fail in subtle ways 249s adding changesets 249s adding manifests 249s adding file changes 249s adding remote bookmark devel 249s adding remote bookmark diverge 249s adding remote bookmark feature-b 249s added 4 changesets with 4 changes to 1 files 249s new changesets fbdf6179590d:de612c3ca1b0 249s progress revision walk 'bookmarks/master' (3/3) 249s progress revision 0 'master' (0/4) 250s created new head 250s [diverge 994474d] diverge 250s Author: A U Thor 250s 1 file changed, 1 insertion(+), 1 deletion(-) 251s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 251s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 251s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 251s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 251s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 251s or locale.getdefaultlocale()[1] 251s WARNING: capability_push is disabled, only do so when really sure 251s WARNING: various enhanced features might fail in subtle ways 251s searching for changes 251s adding changesets 251s adding manifests 251s adding file changes 251s updating bookmark diverge 251s added 1 changesets with 1 changes to 1 files (+1 heads) 251s new changesets 886eee76cfd7 251s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/hgrepo 251s ! [rejected] diverge -> diverge (non-fast-forward) 251s error: failed to push some refs to 'hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/hgrepo' 251s hint: Updates were rejected because the tip of your current branch is behind 251s hint: its remote counterpart. If you want to integrate the remote changes, 251s hint: use 'git pull' before pushing again. 251s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 251s ! [rejected] diverge -> diverge (non-fast-forward) 252s ok 16 - remote update bookmark diverge 252s 252s expecting success: 252s test_when_finished "rm -rf gitrepo*" && 252s 252s ( 252s git clone "hg::hgrepo" gitrepo && 252s cd gitrepo && 252s git checkout --quiet -b feature-c HEAD^ && 252s echo feature-c > content && 252s git commit -a -m feature-c && 252s git push --quiet origin feature-c 252s ) && 252s 252s check_bookmark hgrepo feature-c feature-c 252s 252s Cloning into 'gitrepo'... 252s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 252s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 252s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 252s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 252s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 252s or locale.getdefaultlocale()[1] 252s WARNING: capability_push is disabled, only do so when really sure 252s WARNING: various enhanced features might fail in subtle ways 252s adding changesets 252s adding manifests 252s adding file changes 252s adding remote bookmark devel 252s adding remote bookmark diverge 252s adding remote bookmark feature-b 252s added 5 changesets with 5 changes to 1 files (+1 heads) 252s new changesets fbdf6179590d:886eee76cfd7 252s WARNING: Branch 'default' has more than one head, consider merging 252s progress revision walk 'bookmarks/master' (4/4) 252s progress revision 0 'master' (0/4) 253s [feature-c 8f865f5] feature-c 253s Author: A U Thor 253s 1 file changed, 1 insertion(+), 1 deletion(-) 253s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 253s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 253s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 253s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 253s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 253s or locale.getdefaultlocale()[1] 253s WARNING: capability_push is disabled, only do so when really sure 253s WARNING: various enhanced features might fail in subtle ways 253s no changes found 253s searching for changes 253s adding changesets 253s adding manifests 253s adding file changes 253s added 1 changesets with 1 changes to 1 files (+1 heads) 254s ok 17 - remote new bookmark multiple branch head 254s 254s checking known breakage: 254s test_when_finished "rm -rf gitrepo hgrepo" && 254s 254s ( 254s hg init hgrepo && 254s cd hgrepo && 254s echo zero > content && 254s hg add content && 254s hg commit -m zero 254s ) && 254s 254s git clone "hg::hgrepo" gitrepo && 254s 254s ( 254s cd gitrepo && 254s cp content content-copy && 254s # recent git-fast-export is (too) picky in recognizing copies 254s # although git-log is not as picky; 254s # since https://github.com/git/git/commit/8096e1d385660c159d9d47e69b2be63cf22e4f31 254s # a copy is only marked if source filed not modified as well 254s # (though destination file can be modified) 254s echo one >> content-copy && 254s git add content content-copy && 254s git commit -m copy && 254s git mv content-copy content-moved 254s git commit -m moved && 254s git push origin master 254s ) && 254s 254s ( 254s hg -R hgrepo update && 254s test_cmp gitrepo/content hgrepo/content 254s test_cmp gitrepo/content-moved hgrepo/content-moved 254s cd hgrepo && 254s test `hg log -f content-moved | grep -c changeset` -eq 3 254s ) 254s 256s Cloning into 'gitrepo'... 256s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 256s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 256s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 256s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 256s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 256s or locale.getdefaultlocale()[1] 256s WARNING: capability_push is disabled, only do so when really sure 256s WARNING: various enhanced features might fail in subtle ways 256s adding changesets 256s adding manifests 256s adding file changes 256s added 1 changesets with 1 changes to 1 files 256s new changesets b11460cd5302 256s progress revision walk 'bookmarks/master' (0/0) 256s progress revision 0 'master' (0/1) 257s [master c80ae5c] copy 257s Author: A U Thor 257s 1 file changed, 2 insertions(+) 257s create mode 100644 content-copy 257s [master 95543c9] moved 257s Author: A U Thor 257s 1 file changed, 0 insertions(+), 0 deletions(-) 257s rename content-copy => content-moved (100%) 257s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 257s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 257s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 257s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 257s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 257s or locale.getdefaultlocale()[1] 257s WARNING: capability_push is disabled, only do so when really sure 257s WARNING: various enhanced features might fail in subtle ways 257s no changes found 257s searching for changes 257s adding changesets 257s adding manifests 257s adding file changes 257s added 2 changesets with 2 changes to 2 files 257s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/hgrepo 257s 0c37fda..95543c9 master -> master 258s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 259s not ok 18 - push commits with copy and rename # TODO known breakage 259s 259s expecting success: 259s test_when_finished "rm -rf hgrepo gitrepo && LC_ALL=C" && 259s 259s LC_ALL=C.UTF-8 259s export LC_ALL 259s 259s ( 259s hg init hgrepo && 259s cd hgrepo && 259s 259s echo test >> "æ rø" && 259s hg add "æ rø" && 259s echo test >> "ø~?" && 259s hg add "ø~?" && 259s hg commit -m add-utf-8 && 259s echo test >> "æ rø" && 259s hg commit -m test-utf-8 && 259s hg rm "ø~?" && 259s hg mv "æ rø" "ø~?" && 259s hg commit -m hg-mv-utf-8 259s ) && 259s 259s ( 259s git clone "hg::hgrepo" gitrepo && 259s cd gitrepo && 259s git -c core.quotepath=false ls-files > ../actual 259s ) && 259s echo "ø~?" > expected && 259s test_cmp expected actual 259s 260s warning: filename contains '?', which is reserved on Windows: 'ø~?' 262s warning: filename contains '?', which is reserved on Windows: 'ø~?' 263s Cloning into 'gitrepo'... 263s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 263s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 263s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 263s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 263s WARNING: capability_push is disabled, only do so when really sure 263s WARNING: various enhanced features might fail in subtle ways 263s adding changesets 263s adding manifests 263s adding file changes 263s added 3 changesets with 4 changes to 2 files 263s new changesets 6550bfbb585a:eccc8998dce7 263s progress revision walk 'bookmarks/master' (2/2) 263s progress revision 0 'master' (0/3) 264s ok 19 - fetch special filenames 264s 264s expecting success: 264s test_when_finished "rm -rf hgrepo gitrepo && LC_ALL=C" && 264s 264s mkdir -p tmp && cd tmp && 264s 264s LC_ALL=C.UTF-8 264s export LC_ALL 264s 264s ( 264s hg init hgrepo && 264s cd hgrepo && 264s 264s echo one >> content && 264s hg add content && 264s hg commit -m one 264s ) && 264s 264s ( 264s git clone "hg::hgrepo" gitrepo && 264s cd gitrepo && 264s 264s echo test >> "æ rø" && 264s git add "æ rø" && 264s git commit -m utf-8 && 264s 264s git push 264s ) && 264s 264s (cd hgrepo && 264s hg update && 264s hg manifest > ../actual 264s ) && 264s 264s printf "content\næ rø\n" > expected && 264s test_cmp expected actual 264s 265s Cloning into 'gitrepo'... 265s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 265s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 265s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 265s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 266s WARNING: capability_push is disabled, only do so when really sure 266s WARNING: various enhanced features might fail in subtle ways 266s adding changesets 266s adding manifests 266s adding file changes 266s added 1 changesets with 1 changes to 1 files 266s new changesets adc375ea3cd6 266s progress revision walk 'bookmarks/master' (0/0) 266s progress revision 0 'master' (0/1) 266s [master 998a2c2] utf-8 266s Author: A U Thor 266s 1 file changed, 1 insertion(+) 266s create mode 100644 "\303\246 r\303\270" 266s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 266s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 266s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 266s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 267s WARNING: capability_push is disabled, only do so when really sure 267s WARNING: various enhanced features might fail in subtle ways 267s no changes found 267s searching for changes 267s adding changesets 267s adding manifests 267s adding file changes 267s added 1 changesets with 1 changes to 1 files 267s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo 267s 4130fa1..998a2c2 master -> master 268s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 268s ok 20 - push special filenames 268s 268s expecting success: 268s test_when_finished "rm -rf hgrepo gitrepo*" && 268s 268s setup_big_push 268s 268s ( 268s cd gitrepo && 268s 268s check_push 1 --all <<-\EOF 268s master 268s good_bmark 268s branches/good_branch 268s new_bmark:new 268s branches/new_branch:new 268s bad_bmark1:non-fast-forward 268s bad_bmark2:non-fast-forward 268s branches/bad_branch:non-fast-forward 268s EOF 268s ) && 268s 268s if test "$CAPABILITY_PUSH" = "t" 268s then 268s # cap push handles refs one by one 268s # so it will push all requested it can 268s check_branch hgrepo default six && 268s check_branch hgrepo good_branch eight && 268s check_branch hgrepo bad_branch "bad branch" && 268s check_branch hgrepo new_branch ten && 268s check_bookmark hgrepo good_bmark three && 268s check_bookmark hgrepo bad_bmark1 one && 268s check_bookmark hgrepo bad_bmark2 one && 268s check_bookmark hgrepo new_bmark six 268s else 268s check_branch hgrepo default one && 268s check_branch hgrepo good_branch "good branch" && 268s check_branch hgrepo bad_branch "bad branch" && 268s check_branch hgrepo new_branch && 268s check_bookmark hgrepo good_bmark one && 268s check_bookmark hgrepo bad_bmark1 one && 268s check_bookmark hgrepo bad_bmark2 one && 268s check_bookmark hgrepo new_bmark 268s fi 268s 274s Cloning into 'gitrepo'... 274s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 274s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 274s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 274s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 275s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 275s or locale.getdefaultlocale()[1] 275s WARNING: capability_push is disabled, only do so when really sure 275s WARNING: various enhanced features might fail in subtle ways 275s adding changesets 275s adding manifests 275s adding file changes 275s adding remote bookmark bad_bmark1 275s adding remote bookmark bad_bmark2 275s adding remote bookmark good_bmark 275s added 4 changesets with 4 changes to 1 files 275s new changesets db90d7bf1b83:455f86c2ee69 275s progress revision walk 'bookmarks/master' (1/1) 275s progress revision 0 'master' (0/2) 275s progress revision 2 'bad_branch' (0/2) 275s HEAD is now at fb32019 zero 275s HEAD is now at fb32019 zero 275s HEAD is now at 90e65ba good branch 276s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 276s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 276s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 276s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 276s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 276s or locale.getdefaultlocale()[1] 276s WARNING: capability_push is disabled, only do so when really sure 276s WARNING: various enhanced features might fail in subtle ways 276s no changes found 276s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo 276s 90e65ba..286f1a0 branches/good_branch -> branches/good_branch 276s 519aed8..31952ca good_bmark -> good_bmark 276s 519aed8..2a41ed8 master -> master 276s * [new branch] branches/new_branch -> branches/new_branch 276s * [new branch] new_bmark -> new_bmark 276s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 276s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 276s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 276s error: failed to push some refs to 'hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo' 276s hint: Updates were rejected because a pushed branch tip is behind its remote 276s hint: counterpart. If you want to integrate the remote changes, use 'git pull' 276s hint: before pushing again. 276s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 276s 519aed8..2a41ed8 master -> master 276s 519aed8..31952ca good_bmark -> good_bmark 276s 90e65ba..286f1a0 branches/good_branch -> branches/good_branch 276s * [new branch] new_bmark -> new_bmark 276s * [new branch] branches/new_branch -> branches/new_branch 276s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 276s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 276s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 281s ok 21 - remote big push 281s 281s expecting success: 281s test_when_finished "rm -rf hgrepo gitrepo*" && 281s 281s ( 281s hg init hgrepo && 281s cd hgrepo && 281s echo zero > content && 281s hg add content && 281s hg commit -m zero && 281s hg bookmark bad_bmark && 281s hg bookmark good_bmark && 281s hg bookmark -i good_bmark && 281s hg -q branch good_branch && 281s echo "good branch" > content && 281s hg commit -m "good branch" && 281s hg -q branch bad_branch && 281s echo "bad branch" > content && 281s hg commit -m "bad branch" 281s ) && 281s 281s git clone "hg::hgrepo" gitrepo && 281s 281s ( 281s cd hgrepo && 281s hg bookmark -f bad_bmark && 281s echo update_bmark > content && 281s hg commit -m "update bmark" 281s ) && 281s 281s ( 281s cd gitrepo && 281s echo two > content && 281s git commit -q -a -m two && 281s 281s git checkout -q good_bmark && 281s echo three > content && 281s git commit -q -a -m three && 281s 281s git checkout -q bad_bmark && 281s echo four > content && 281s git commit -q -a -m four && 281s 281s git checkout -q branches/bad_branch && 281s echo five > content && 281s git commit -q -a -m five && 281s 281s check_push 1 --all <<-\EOF && 281s master 281s good_bmark 281s bad_bmark:non-fast-forward 281s branches/bad_branch:non-fast-forward 281s EOF 281s 281s git fetch && 281s 281s if test "$CAPABILITY_PUSH" = "t" 281s then 281s # cap push handles refs one by one 281s # so it will already have pushed some above previously 281s # (and master is a fake one that jumps around a bit) 281s check_push 1 --all <<-\EOF 281s bad_bmark:non-fast-forward 281s branches/bad_branch:non-fast-forward 281s EOF 281s else 281s check_push 1 --all <<-\EOF 281s master 281s good_bmark 281s bad_bmark:non-fast-forward 281s branches/bad_branch:non-fast-forward 281s EOF 281s fi 281s ) 281s 285s Cloning into 'gitrepo'... 285s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 285s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 285s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 285s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 286s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 286s or locale.getdefaultlocale()[1] 286s WARNING: capability_push is disabled, only do so when really sure 286s WARNING: various enhanced features might fail in subtle ways 286s adding changesets 286s adding manifests 286s adding file changes 286s adding remote bookmark bad_bmark 286s adding remote bookmark good_bmark 286s added 3 changesets with 3 changes to 1 files 286s new changesets 4c3f98490687:cf1c727d9f5a 286s progress revision walk 'bookmarks/master' (0/0) 286s progress revision 0 'master' (0/1) 286s progress revision 1 'bad_branch' (0/2) 288s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 288s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 288s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 288s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 288s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 288s or locale.getdefaultlocale()[1] 288s WARNING: capability_push is disabled, only do so when really sure 288s WARNING: various enhanced features might fail in subtle ways 288s searching for changes 288s adding changesets 288s adding manifests 288s adding file changes 288s updating bookmark bad_bmark 288s added 1 changesets with 1 changes to 1 files 288s new changesets 666b568e607d 288s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo 288s 4031148..1be9f50 good_bmark -> good_bmark 288s 4031148..16fd50a master -> master 288s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 288s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 288s error: failed to push some refs to 'hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo' 288s hint: Updates were rejected because the tip of your current branch is behind 288s hint: its remote counterpart. If you want to integrate the remote changes, 288s hint: use 'git pull' before pushing again. 288s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 288s 4031148..16fd50a master -> master 288s 4031148..1be9f50 good_bmark -> good_bmark 288s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 288s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 288s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 288s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 288s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 288s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 289s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 289s or locale.getdefaultlocale()[1] 289s WARNING: capability_push is disabled, only do so when really sure 289s WARNING: various enhanced features might fail in subtle ways 289s no changes found 289s progress revision 3 'bad_branch' (0/1) 289s From hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo 289s 7bfabca..ab4a0cb branches/bad_branch -> origin/branches/bad_branch 289s 4031148..ab4a0cb bad_bmark -> origin/bad_bmark 289s + 1be9f50...4031148 good_bmark -> origin/good_bmark (forced update) 289s + 16fd50a...4031148 master -> origin/master (forced update) 290s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 290s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 290s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 290s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 290s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 290s or locale.getdefaultlocale()[1] 290s WARNING: capability_push is disabled, only do so when really sure 290s WARNING: various enhanced features might fail in subtle ways 290s no changes found 290s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo 290s 4031148..1be9f50 good_bmark -> good_bmark 290s 4031148..16fd50a master -> master 290s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 290s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 290s error: failed to push some refs to 'hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo' 290s hint: Updates were rejected because the tip of your current branch is behind 290s hint: its remote counterpart. If you want to integrate the remote changes, 290s hint: use 'git pull' before pushing again. 290s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 290s 4031148..16fd50a master -> master 290s 4031148..1be9f50 good_bmark -> good_bmark 290s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 290s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 290s ok 22 - remote big push non fast forward 290s 290s expecting success: 290s test_when_finished "rm -rf hgrepo gitrepo*" && 290s 290s setup_big_push 290s 290s ( 290s cd gitrepo && 290s 290s if test "$CAPABILITY_PUSH" = "t" 290s then 290s check_push 0 --force --all <<-\EOF 290s master:forced-update 290s good_bmark:forced-update 290s branches/good_branch:forced-update 290s new_bmark:new 290s branches/new_branch:new 290s bad_bmark1:forced-update 290s bad_bmark2:forced-update 290s branches/bad_branch:forced-update 290s EOF 290s else 290s check_push 0 --force --all <<-\EOF 290s master 290s good_bmark 290s branches/good_branch 290s new_bmark:new 290s branches/new_branch:new 290s bad_bmark1:forced-update 290s bad_bmark2:forced-update 290s branches/bad_branch:forced-update 290s EOF 290s fi 290s ) && 290s 290s check_branch hgrepo good_branch eight && 290s check_branch hgrepo bad_branch nine && 290s check_branch hgrepo new_branch ten && 290s check_bookmark hgrepo good_bmark three && 290s check_bookmark hgrepo bad_bmark1 four && 290s check_bookmark hgrepo bad_bmark2 five && 290s check_bookmark hgrepo new_bmark six 290s 297s Cloning into 'gitrepo'... 297s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 297s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 297s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 297s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 297s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 297s or locale.getdefaultlocale()[1] 297s WARNING: capability_push is disabled, only do so when really sure 297s WARNING: various enhanced features might fail in subtle ways 297s adding changesets 297s adding manifests 297s adding file changes 297s adding remote bookmark bad_bmark1 297s adding remote bookmark bad_bmark2 297s adding remote bookmark good_bmark 297s added 4 changesets with 4 changes to 1 files 297s new changesets ceee987edf7d:ffaef341343d 298s progress revision walk 'bookmarks/master' (1/1) 298s progress revision 0 'master' (0/2) 298s progress revision 2 'bad_branch' (0/2) 298s HEAD is now at a5ccf2f zero 298s HEAD is now at a5ccf2f zero 298s HEAD is now at b0f6ec2 good branch 299s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 299s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 299s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 299s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 299s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 299s or locale.getdefaultlocale()[1] 299s WARNING: capability_push is disabled, only do so when really sure 299s WARNING: various enhanced features might fail in subtle ways 299s no changes found 299s searching for changes 299s adding changesets 299s adding manifests 299s adding file changes 299s added 9 changesets with 9 changes to 1 files (+7 heads) 299s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo 299s + 607b050...ea45b4e branches/bad_branch -> branches/bad_branch (forced update) 299s b0f6ec2..611ba7e branches/good_branch -> branches/good_branch 299s + 1a928ea...beeefd8 bad_bmark1 -> bad_bmark1 (forced update) 299s + 1a928ea...dc5a317 bad_bmark2 -> bad_bmark2 (forced update) 299s 1a928ea..9891bcf good_bmark -> good_bmark 299s 1a928ea..8b55829 master -> master 299s * [new branch] branches/new_branch -> branches/new_branch 299s * [new branch] new_bmark -> new_bmark 299s 1a928ea..8b55829 master -> master 299s 1a928ea..9891bcf good_bmark -> good_bmark 299s b0f6ec2..611ba7e branches/good_branch -> branches/good_branch 299s * [new branch] new_bmark -> new_bmark 299s * [new branch] branches/new_branch -> branches/new_branch 299s + 1a928ea...beeefd8 bad_bmark1 -> bad_bmark1 (forced update) 299s + 1a928ea...dc5a317 bad_bmark2 -> bad_bmark2 (forced update) 299s + 607b050...ea45b4e branches/bad_branch -> branches/bad_branch (forced update) 303s ok 23 - remote big push force 303s 303s expecting success: 303s test_when_finished "rm -rf hgrepo gitrepo*" && 303s 303s setup_big_push 303s 303s ( 303s cd gitrepo && 303s 303s check_push 1 --dry-run --all <<-\EOF && 303s master 303s good_bmark 303s branches/good_branch 303s new_bmark:new 303s branches/new_branch:new 303s bad_bmark1:non-fast-forward 303s bad_bmark2:non-fast-forward 303s branches/bad_branch:non-fast-forward 303s EOF 303s 303s check_push 0 --dry-run master good_bmark new_bmark branches/good_branch branches/new_branch <<-\EOF 303s master 303s good_bmark 303s branches/good_branch 303s new_bmark:new 303s branches/new_branch:new 303s EOF 303s ) && 303s 303s check_branch hgrepo default one && 303s check_branch hgrepo good_branch "good branch" && 303s check_branch hgrepo bad_branch "bad branch" && 303s check_branch hgrepo new_branch && 303s check_bookmark hgrepo good_bmark one && 303s check_bookmark hgrepo bad_bmark1 one && 303s check_bookmark hgrepo bad_bmark2 one && 303s check_bookmark hgrepo new_bmark 303s 309s Cloning into 'gitrepo'... 309s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 309s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 309s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 309s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 309s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 309s or locale.getdefaultlocale()[1] 309s WARNING: capability_push is disabled, only do so when really sure 309s WARNING: various enhanced features might fail in subtle ways 310s adding changesets 310s adding manifests 310s adding file changes 310s adding remote bookmark bad_bmark1 310s adding remote bookmark bad_bmark2 310s adding remote bookmark good_bmark 310s added 4 changesets with 4 changes to 1 files 310s new changesets a80adc15ba34:a8ff17f840a4 310s progress revision walk 'bookmarks/master' (1/1) 310s progress revision 0 'master' (0/2) 310s progress revision 2 'bad_branch' (0/2) 310s HEAD is now at 5d45116 zero 310s HEAD is now at 5d45116 zero 310s HEAD is now at 577cabc good branch 311s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 311s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 311s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 311s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 311s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 311s or locale.getdefaultlocale()[1] 311s WARNING: capability_push is disabled, only do so when really sure 311s WARNING: various enhanced features might fail in subtle ways 311s no changes found 311s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo 311s 577cabc..5cbbcc0 branches/good_branch -> branches/good_branch 311s b9729e5..96bfbf7 good_bmark -> good_bmark 311s b9729e5..9659960 master -> master 311s * [new branch] branches/new_branch -> branches/new_branch 311s * [new branch] new_bmark -> new_bmark 311s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 311s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 311s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 311s error: failed to push some refs to 'hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo' 311s hint: Updates were rejected because a pushed branch tip is behind its remote 311s hint: counterpart. If you want to integrate the remote changes, use 'git pull' 311s hint: before pushing again. 311s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 311s b9729e5..9659960 master -> master 311s b9729e5..96bfbf7 good_bmark -> good_bmark 311s 577cabc..5cbbcc0 branches/good_branch -> branches/good_branch 311s * [new branch] new_bmark -> new_bmark 311s * [new branch] branches/new_branch -> branches/new_branch 311s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 311s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 311s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 312s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 312s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 312s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 312s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 312s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 312s or locale.getdefaultlocale()[1] 312s WARNING: capability_push is disabled, only do so when really sure 312s WARNING: various enhanced features might fail in subtle ways 312s no changes found 312s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo 312s 577cabc..5cbbcc0 branches/good_branch -> branches/good_branch 312s b9729e5..96bfbf7 good_bmark -> good_bmark 312s b9729e5..9659960 master -> master 312s * [new branch] new_bmark -> new_bmark 312s * [new branch] branches/new_branch -> branches/new_branch 312s b9729e5..9659960 master -> master 312s b9729e5..96bfbf7 good_bmark -> good_bmark 312s 577cabc..5cbbcc0 branches/good_branch -> branches/good_branch 312s * [new branch] new_bmark -> new_bmark 312s * [new branch] branches/new_branch -> branches/new_branch 316s ok 24 - remote big push dry-run 316s 316s expecting success: 316s test_when_finished "rm -rf hgrepo gitrepo*" && 316s 316s setup_big_push 316s 316s ( 316s cd gitrepo && 316s 316s if test "$CAPABILITY_PUSH" = "t" 316s then 316s check_push 0 --force --dry-run --all <<-\EOF 316s master:forced-update 316s good_bmark:forced-update 316s branches/good_branch:forced-update 316s new_bmark:new 316s branches/new_branch:new 316s bad_bmark1:forced-update 316s bad_bmark2:forced-update 316s branches/bad_branch:forced-update 316s EOF 316s else 316s check_push 0 --force --dry-run --all <<-\EOF 316s master 316s good_bmark 316s branches/good_branch 316s new_bmark:new 316s branches/new_branch:new 316s bad_bmark1:forced-update 316s bad_bmark2:forced-update 316s branches/bad_branch:forced-update 316s EOF 316s fi 316s ) && 316s 316s check_branch hgrepo default one && 316s check_branch hgrepo good_branch "good branch" && 316s check_branch hgrepo bad_branch "bad branch" && 316s check_branch hgrepo new_branch && 316s check_bookmark hgrepo good_bmark one && 316s check_bookmark hgrepo bad_bmark1 one && 316s check_bookmark hgrepo bad_bmark2 one && 316s check_bookmark hgrepo new_bmark 316s 323s Cloning into 'gitrepo'... 323s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 323s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 323s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 323s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 324s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 324s or locale.getdefaultlocale()[1] 324s WARNING: capability_push is disabled, only do so when really sure 324s WARNING: various enhanced features might fail in subtle ways 324s adding changesets 324s adding manifests 324s adding file changes 324s adding remote bookmark bad_bmark1 324s adding remote bookmark bad_bmark2 324s adding remote bookmark good_bmark 324s added 4 changesets with 4 changes to 1 files 324s new changesets 047fac519731:bae8ca23216c 324s progress revision walk 'bookmarks/master' (1/1) 324s progress revision 0 'master' (0/2) 324s progress revision 2 'bad_branch' (0/2) 325s HEAD is now at f8237cc zero 325s HEAD is now at f8237cc zero 325s HEAD is now at 9f24768 good branch 326s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 326s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 326s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 326s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 326s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 326s or locale.getdefaultlocale()[1] 326s WARNING: capability_push is disabled, only do so when really sure 326s WARNING: various enhanced features might fail in subtle ways 326s no changes found 326s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo 326s + 8be9ef3...5741f01 branches/bad_branch -> branches/bad_branch (forced update) 326s 9f24768..bc8d40a branches/good_branch -> branches/good_branch 326s + e47e45a...28913a4 bad_bmark1 -> bad_bmark1 (forced update) 326s + e47e45a...756de81 bad_bmark2 -> bad_bmark2 (forced update) 326s e47e45a..b09e5dc good_bmark -> good_bmark 326s e47e45a..cb21a62 master -> master 326s * [new branch] branches/new_branch -> branches/new_branch 326s * [new branch] new_bmark -> new_bmark 326s e47e45a..cb21a62 master -> master 326s e47e45a..b09e5dc good_bmark -> good_bmark 326s 9f24768..bc8d40a branches/good_branch -> branches/good_branch 326s * [new branch] new_bmark -> new_bmark 326s * [new branch] branches/new_branch -> branches/new_branch 326s + e47e45a...28913a4 bad_bmark1 -> bad_bmark1 (forced update) 326s + e47e45a...756de81 bad_bmark2 -> bad_bmark2 (forced update) 326s + 8be9ef3...5741f01 branches/bad_branch -> branches/bad_branch (forced update) 335s ok 25 - remote big push force dry-run 335s 335s expecting success: 335s test_when_finished "rm -rf hgrepo gitrepo*" && 335s 335s ( 335s hg init hgrepo && 335s cd hgrepo && 335s echo zero > content && 335s hg add content && 335s hg commit -m zero && 335s echo one > content && 335s hg commit -m one 335s ) && 335s 335s ( 335s git clone "hg::hgrepo" gitrepo && 335s cd gitrepo && 335s git reset --hard HEAD^ && 335s echo two > content && 335s git commit -a -m two && 335s test_expect_code 1 git push && 335s test_expect_code 1 git push 335s ) 335s 337s Cloning into 'gitrepo'... 337s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 337s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 337s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 337s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 337s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 337s or locale.getdefaultlocale()[1] 337s WARNING: capability_push is disabled, only do so when really sure 337s WARNING: various enhanced features might fail in subtle ways 337s adding changesets 337s adding manifests 337s adding file changes 337s added 2 changesets with 2 changes to 1 files 337s new changesets 8466eb6f2f3f:d25212b42c17 337s progress revision walk 'bookmarks/master' (1/1) 337s progress revision 0 'master' (0/2) 338s HEAD is now at 0155c7b zero 338s [master 15ada26] two 338s Author: A U Thor 338s 1 file changed, 1 insertion(+), 1 deletion(-) 338s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 338s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 338s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 338s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 338s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 338s or locale.getdefaultlocale()[1] 338s WARNING: capability_push is disabled, only do so when really sure 338s WARNING: various enhanced features might fail in subtle ways 338s no changes found 338s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo 338s ! [rejected] master -> master (non-fast-forward) 338s error: failed to push some refs to 'hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo' 338s hint: Updates were rejected because the tip of your current branch is behind 338s hint: its remote counterpart. If you want to integrate the remote changes, 338s hint: use 'git pull' before pushing again. 338s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 339s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 339s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 339s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 339s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 339s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 339s or locale.getdefaultlocale()[1] 339s WARNING: capability_push is disabled, only do so when really sure 339s WARNING: various enhanced features might fail in subtle ways 339s no changes found 339s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo 339s ! [rejected] master -> master (non-fast-forward) 339s error: failed to push some refs to 'hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo' 339s hint: Updates were rejected because the tip of your current branch is behind 339s hint: its remote counterpart. If you want to integrate the remote changes, 339s hint: use 'git pull' before pushing again. 339s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 339s ok 26 - remote double failed push 339s 339s expecting success: 339s test_when_finished "rm -rf gitrepo hgrepo" && 339s 339s ( 339s hg init hgrepo && 339s cd hgrepo && 339s echo zero > content && 339s hg add content && 339s hg commit -m zero && 339s echo feature-a > content && 339s hg commit -m feature-a 339s hg bookmark feature-a 339s ) && 339s 339s git clone "hg::hgrepo" gitrepo && 339s check gitrepo origin/feature-a feature-a && 339s 339s ( 339s cd hgrepo && 339s hg bookmark -d feature-a 339s ) && 339s 339s ( 339s cd gitrepo && 339s git fetch --prune origin 339s git branch -a > out && 339s ! grep feature-a out 339s ) 339s 342s Cloning into 'gitrepo'... 342s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 342s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 342s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 342s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 343s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 343s or locale.getdefaultlocale()[1] 343s WARNING: capability_push is disabled, only do so when really sure 343s WARNING: various enhanced features might fail in subtle ways 343s adding changesets 343s adding manifests 343s adding file changes 343s adding remote bookmark feature-a 343s added 2 changesets with 2 changes to 1 files 343s new changesets 4ffd713e1418:201114da218e 343s progress revision walk 'bookmarks/master' (1/1) 343s progress revision 0 'master' (0/2) 343s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 343s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 343s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 343s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 344s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 344s or locale.getdefaultlocale()[1] 344s WARNING: capability_push is disabled, only do so when really sure 344s WARNING: various enhanced features might fail in subtle ways 344s no changes found 344s error: refusing to update ref with bad name 'hg/origin/refs/bookmarks/feature-a' 344s From hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo 344s - [deleted] (none) -> origin/feature-a 344s ok 27 - fetch prune 344s 344s expecting success: 344s test_when_finished "rm -rf gitrepo hgrepo" && 344s 344s ( 344s hg init hgrepo && 344s cd hgrepo && 344s echo zero > content && 344s hg add content && 344s hg commit -m zero && 344s hg up -r null && 344s echo another > ocontent && 344s hg add ocontent && 344s hg commit -m one 344s ) && 344s 344s # -r 1 acts as master 344s ( 344s git init --bare gitrepo && cd gitrepo && 344s git remote add origin hg::../hgrepo && 344s git fetch origin refs/heads/*:refs/heads/* 344s ) && 344s 344s ( 344s cd hgrepo && 344s hg up 0 && 344s echo two > content && 344s hg commit -m two 344s ) && 344s 344s # now master already exists 344s # -r 2 becomes master head which has rev 0 as ancestor 344s # so when importing (parentless) rev 0, a reset is needed 344s # (to ensure rev 0 is not given a parent commit) 344s ( 344s cd gitrepo && 344s git fetch origin && 344s git log --format="%s" origin/master > ../actual 344s ) && 344s 344s hg -R hgrepo log -r . -f --template "{desc}\n" > expected && 344s test_cmp actual expected 344s 346s 0 files updated, 0 files merged, 1 files removed, 0 files unresolved 347s created new head 347s Initialized empty Git repository in /tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/gitrepo/ 347s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 347s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 347s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 347s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 348s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 348s or locale.getdefaultlocale()[1] 348s WARNING: capability_push is disabled, only do so when really sure 348s WARNING: various enhanced features might fail in subtle ways 348s adding changesets 348s adding manifests 348s adding file changes 348s added 2 changesets with 2 changes to 2 files (+1 heads) 348s new changesets 38d0065a2831:033c36b0d7d3 348s WARNING: Branch 'default' has more than one head, consider merging 348s WARNING: Branch 'default' has more than one head, consider merging 348s progress revision 1 'default' (0/1) 348s From hg::../hgrepo 348s * [new branch] branches/default -> branches/default 348s * [new branch] master -> master 348s * [new branch] branches/default -> origin/branches/default 348s * [new branch] master -> origin/master 349s 1 files updated, 0 files merged, 1 files removed, 0 files unresolved 349s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 349s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 349s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 349s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 350s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 350s or locale.getdefaultlocale()[1] 350s WARNING: capability_push is disabled, only do so when really sure 350s WARNING: various enhanced features might fail in subtle ways 350s searching for changes 350s adding changesets 350s adding manifests 350s adding file changes 350s added 1 changesets with 1 changes to 1 files 350s new changesets fb346a6a24d4 350s WARNING: Branch 'default' has more than one head, consider merging 350s progress revision walk 'branches/default' (2/2) 350s progress revision 0 'default' (0/2) 350s From hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo 350s + 28645ed...ca228d5 branches/default -> origin/branches/default (forced update) 350s + 28645ed...ca228d5 master -> origin/master (forced update) 351s ok 28 - fetch multiple independent histories 351s 351s expecting success: 351s test_when_finished "rm -rf gitrepo* hgrepo*" && 351s 351s ( 351s hg init hgrepo && 351s cd hgrepo && 351s echo a > a && 351s hg add a && 351s hg commit -m a && 351s hg bookmark -r null bookmark 351s ) && 351s 351s ( 351s git clone "hg::hgrepo" gitrepo && 351s check gitrepo HEAD a && 351s cd gitrepo && 351s git checkout --quiet -b bookmark && 351s git remote -v && 351s echo b > b && 351s git add b && 351s git commit -m b && 351s git push origin bookmark 351s ) 351s 353s Cloning into 'gitrepo'... 353s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 353s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 353s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 353s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 353s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 353s or locale.getdefaultlocale()[1] 353s WARNING: capability_push is disabled, only do so when really sure 353s WARNING: various enhanced features might fail in subtle ways 353s adding changesets 353s adding manifests 353s adding file changes 353s adding remote bookmark bookmark 353s added 1 changesets with 1 changes to 1 files 353s new changesets 5e65604d3278 353s WARNING: Ignoring invalid bookmark 'bookmark' 353s progress revision walk 'bookmarks/master' (0/0) 353s progress revision 0 'master' (0/1) 353s origin hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo (fetch) 353s origin hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo (push) 353s [bookmark 1742d4a] b 353s Author: A U Thor 353s 1 file changed, 1 insertion(+) 353s create mode 100644 b 354s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 354s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 354s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 354s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 354s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 354s or locale.getdefaultlocale()[1] 354s WARNING: capability_push is disabled, only do so when really sure 354s WARNING: various enhanced features might fail in subtle ways 354s no changes found 354s WARNING: Ignoring invalid bookmark 'bookmark' 354s searching for changes 354s adding changesets 354s adding manifests 354s adding file changes 354s added 1 changesets with 1 changes to 1 files 354s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo 354s * [new branch] bookmark -> bookmark 354s ok 29 - clone remote with null bookmark, then push 354s 354s expecting success: 354s test_when_finished "rm -rf hgrepo gitrepo" && 354s 354s ( 354s hg init hgrepo && 354s cd hgrepo && 354s echo one > content && 354s hg add content && 354s hg commit -m one && 354s echo two > content && 354s hg commit -m two 354s ) && 354s 354s git clone "hg::hgrepo" gitrepo && 354s hg -R hgrepo log --template "{node}\n\n" > expected && 354s git --git-dir=gitrepo/.git log --pretty="tformat:%N" --notes=hg > actual && 354s test_cmp expected actual 354s 356s Cloning into 'gitrepo'... 356s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 356s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 356s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 356s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 357s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 357s or locale.getdefaultlocale()[1] 357s WARNING: capability_push is disabled, only do so when really sure 357s WARNING: various enhanced features might fail in subtle ways 357s adding changesets 357s adding manifests 357s adding file changes 357s added 2 changesets with 2 changes to 1 files 357s new changesets 6dbe6222fa46:bb8cf29008e0 357s progress revision walk 'bookmarks/master' (1/1) 357s progress revision 0 'master' (0/2) 358s ok 30 - notes 358s 358s checking known breakage: 358s test_when_finished "rm -rf hgrepo gitrepo" && 358s 358s ( 358s hg init hgrepo && 358s cd hgrepo && 358s echo one > content && 358s hg add content && 358s hg commit -m one 358s ) && 358s 358s git clone "hg::hgrepo" gitrepo && 358s 358s ( 358s cd gitrepo && 358s echo two > content && 358s git commit -a -m two && 358s git push 358s ) && 358s 358s hg -R hgrepo log --template "{node}\n\n" > expected && 358s git --git-dir=gitrepo/.git log --pretty="tformat:%N" --notes=hg > actual && 358s test_cmp expected actual 358s 359s Cloning into 'gitrepo'... 359s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 359s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 359s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 359s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 360s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 360s or locale.getdefaultlocale()[1] 360s WARNING: capability_push is disabled, only do so when really sure 360s WARNING: various enhanced features might fail in subtle ways 360s adding changesets 360s adding manifests 360s adding file changes 360s added 1 changesets with 1 changes to 1 files 360s new changesets 69090a21d3b2 360s progress revision walk 'bookmarks/master' (0/0) 360s progress revision 0 'master' (0/1) 360s [master 04ddec2] two 360s Author: A U Thor 360s 1 file changed, 1 insertion(+), 1 deletion(-) 360s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 360s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 360s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 360s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 361s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 361s or locale.getdefaultlocale()[1] 361s WARNING: capability_push is disabled, only do so when really sure 361s WARNING: various enhanced features might fail in subtle ways 361s no changes found 361s searching for changes 361s adding changesets 361s adding manifests 361s adding file changes 361s added 1 changesets with 1 changes to 1 files 361s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo 361s 0378d9e..04ddec2 master -> master 362s --- expected 2025-10-18 17:26:07.036520909 +0000 362s +++ actual 2025-10-18 17:26:07.139522896 +0000 362s @@ -1,4 +1,3 @@ 362s -f51de49ab577f4c0c045d3d647af2f715084674a 362s 362s 69090a21d3b2e5af0d9dd44f3b93c5cf04ba0e06 362s 362s not ok 31 - push updates notes # TODO known breakage 362s 362s expecting success: 362s test_when_finished "rm -rf hgrepo gitrepo" && 362s 362s ( 362s hg init hgrepo && 362s cd hgrepo && 362s echo one > content && 362s hg add content && 362s hg commit -m one 362s ) && 362s 362s git clone "hg::hgrepo" gitrepo && 362s 362s ( 362s cd gitrepo && 362s echo two > content && 362s git commit -a -m two && 362s git push origin master && 362s git branch feature-a && 362s git push origin feature-a 362s ) && 362s 362s check_bookmark hgrepo feature-a two 362s 363s Cloning into 'gitrepo'... 363s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 363s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 363s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 363s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 364s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 364s or locale.getdefaultlocale()[1] 364s WARNING: capability_push is disabled, only do so when really sure 364s WARNING: various enhanced features might fail in subtle ways 364s adding changesets 364s adding manifests 364s adding file changes 364s added 1 changesets with 1 changes to 1 files 364s new changesets 3948c66854b9 364s progress revision walk 'bookmarks/master' (0/0) 364s progress revision 0 'master' (0/1) 364s [master b2c070f] two 364s Author: A U Thor 364s 1 file changed, 1 insertion(+), 1 deletion(-) 364s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 364s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 364s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 364s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 365s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 365s or locale.getdefaultlocale()[1] 365s WARNING: capability_push is disabled, only do so when really sure 365s WARNING: various enhanced features might fail in subtle ways 365s no changes found 365s searching for changes 365s adding changesets 365s adding manifests 365s adding file changes 365s added 1 changesets with 1 changes to 1 files 365s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo 365s 67e9063..b2c070f master -> master 365s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 365s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 365s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 365s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 366s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 366s or locale.getdefaultlocale()[1] 366s WARNING: capability_push is disabled, only do so when really sure 366s WARNING: various enhanced features might fail in subtle ways 366s no changes found 366s 1 local changesets published 366s searching for changes 366s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo 366s * [new branch] feature-a -> feature-a 367s ok 32 - push bookmark without changesets 367s 367s expecting success: 367s test_when_finished "rm -rf hgrepo gitrepo" && 367s 367s ( 367s hg init hgrepo && 367s cd hgrepo && 367s echo one > content && 367s hg add content && 367s hg commit -m one 367s ) && 367s 367s git clone "hg::hgrepo" gitrepo && 367s 367s (cd hgrepo && hg tag v1.0) && 367s (cd gitrepo && git pull) && 367s 367s echo "v1.0" > expected && 367s git --git-dir=gitrepo/.git tag > actual && 367s test_cmp expected actual 367s 368s Cloning into 'gitrepo'... 368s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 368s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 368s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 368s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 369s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 369s or locale.getdefaultlocale()[1] 369s WARNING: capability_push is disabled, only do so when really sure 369s WARNING: various enhanced features might fail in subtle ways 369s adding changesets 369s adding manifests 369s adding file changes 369s added 1 changesets with 1 changes to 1 files 369s new changesets 842bf561429a 369s progress revision walk 'bookmarks/master' (0/0) 369s progress revision 0 'master' (0/1) 370s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 370s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 370s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 370s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 370s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 370s or locale.getdefaultlocale()[1] 370s WARNING: capability_push is disabled, only do so when really sure 370s WARNING: various enhanced features might fail in subtle ways 370s searching for changes 370s adding changesets 370s adding manifests 370s adding file changes 370s added 1 changesets with 1 changes to 1 files 370s new changesets b92ebe9f9ce5 370s progress revision 1 'default' (0/1) 370s From hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo 370s fd472c6..730f6d6 master -> origin/master 370s fd472c6..730f6d6 branches/default -> origin/branches/default 370s * [new tag] v1.0 -> v1.0 370s Updating fd472c6..730f6d6 370s Fast-forward 370s .hgtags | 1 + 370s 1 file changed, 1 insertion(+) 370s create mode 100644 .hgtags 370s ok 33 - pull tags 370s 370s expecting success: 370s test_when_finished "rm -rf hgrepo gitrepo" && 370s 370s ( 370s hg init hgrepo && 370s cd hgrepo && 370s echo one > content && 370s hg add content && 370s hg commit -m one && 370s hg branch feature && 370s echo two > content && 370s hg commit -m two && 370s hg update default && 370s echo three > content && 370s hg commit -m three 370s ) && 370s 370s ( 370s git clone "hg::hgrepo" gitrepo && 370s cd gitrepo && 370s git merge -m Merge -Xtheirs origin/branches/feature && 370s git push 370s ) && 370s 370s cat > expected <<-EOF && 370s Merge 370s three 370s two 370s one 370s EOF 370s hg -R hgrepo log --template "{desc}\n" > actual && 370s test_cmp expected actual 370s 372s marked working directory as branch feature 372s (branches are permanent and global, did you want a bookmark?) 373s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 374s Cloning into 'gitrepo'... 374s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 374s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 374s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 374s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 375s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 375s or locale.getdefaultlocale()[1] 375s WARNING: capability_push is disabled, only do so when really sure 375s WARNING: various enhanced features might fail in subtle ways 375s adding changesets 375s adding manifests 375s adding file changes 375s added 3 changesets with 3 changes to 1 files (+1 heads) 375s new changesets ad305a7fcaaf:a6acd9497cfb 375s progress revision walk 'bookmarks/master' (2/2) 375s progress revision 0 'master' (0/2) 375s progress revision 1 'feature' (0/1) 375s Auto-merging content 375s Merge made by the 'ort' strategy. 375s content | 2 +- 375s 1 file changed, 1 insertion(+), 1 deletion(-) 375s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 375s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 375s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 375s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 376s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 376s or locale.getdefaultlocale()[1] 376s WARNING: capability_push is disabled, only do so when really sure 376s WARNING: various enhanced features might fail in subtle ways 376s no changes found 376s searching for changes 376s adding changesets 376s adding manifests 376s adding file changes 376s added 1 changesets with 1 changes to 1 files (-1 heads) 376s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo 376s 2b97fc4..2191dcb master -> master 376s ok 34 - push merged named branch 376s 376s expecting success: 376s test_when_finished "rm -rf hgrepo gitrepo" && 376s 376s ( 376s hg init hgrepo && 376s cd hgrepo && 376s echo one > content && 376s hg add content && 376s hg commit -m one 376s ) && 376s 376s ( 376s git clone "hg::hgrepo" gitrepo && 376s cd gitrepo && 376s git tag v1.0 && 376s git push --tags 376s ) && 376s 376s echo "C O Mitter " > expected && 376s hg -R hgrepo log --template "{author}\n" -r tip > actual && 376s test_cmp expected actual 376s 378s Cloning into 'gitrepo'... 378s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 378s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 378s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 378s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 379s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 379s or locale.getdefaultlocale()[1] 379s WARNING: capability_push is disabled, only do so when really sure 379s WARNING: various enhanced features might fail in subtle ways 379s adding changesets 379s adding manifests 379s adding file changes 379s added 1 changesets with 1 changes to 1 files 379s new changesets 4c81d43eb9ef 379s progress revision walk 'bookmarks/master' (0/0) 379s progress revision 0 'master' (0/1) 379s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 379s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 379s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 379s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 379s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 379s or locale.getdefaultlocale()[1] 379s WARNING: capability_push is disabled, only do so when really sure 379s WARNING: various enhanced features might fail in subtle ways 380s no changes found 380s searching for changes 380s adding changesets 380s adding manifests 380s adding file changes 380s added 1 changesets with 1 changes to 1 files 380s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo 380s * [new tag] v1.0 -> v1.0 380s ok 35 - light tag sets author 380s 380s expecting success: 380s test_when_finished "rm -rf hgrepo gitrepo" && 380s 380s ( 380s hg init hgrepo && 380s cd hgrepo && 380s echo one > content && 380s hg add content && 380s hg commit -m one && 380s hg branch feature && 380s echo two > content && 380s hg commit -m two 380s ) && 380s 380s ( 380s git clone "hg::hgrepo" gitrepo && 380s cd gitrepo && 380s git branch && 380s git checkout branches/feature && 380s git tag v1.0 && 380s git push --tags 380s ) && 380s 380s echo feature > expected && 380s hg -R hgrepo log --template="{branch}\n" -r tip > actual && 380s test_cmp expected actual 380s 382s marked working directory as branch feature 382s (branches are permanent and global, did you want a bookmark?) 383s Cloning into 'gitrepo'... 383s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 383s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 383s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 383s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 383s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 383s or locale.getdefaultlocale()[1] 383s WARNING: capability_push is disabled, only do so when really sure 383s WARNING: various enhanced features might fail in subtle ways 383s adding changesets 383s adding manifests 383s adding file changes 383s added 2 changesets with 2 changes to 1 files 383s new changesets b44852734c11:158a1f25741f 383s progress revision walk 'bookmarks/master' (0/0) 383s progress revision 0 'master' (0/1) 383s progress revision 1 'feature' (0/1) 384s * master 384s Switched to a new branch 'branches/feature' 384s branch 'branches/feature' set up to track 'origin/branches/feature'. 384s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 384s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 384s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 384s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 384s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 384s or locale.getdefaultlocale()[1] 384s WARNING: capability_push is disabled, only do so when really sure 384s WARNING: various enhanced features might fail in subtle ways 384s no changes found 384s searching for changes 384s adding changesets 384s adding manifests 384s adding file changes 384s added 1 changesets with 1 changes to 1 files 384s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo 384s * [new tag] v1.0 -> v1.0 385s ok 36 - push tag different branch 385s 385s expecting success: 385s test_when_finished "rm -rf hgrepo gitrepo" && 385s 385s ( 385s hg init hgrepo && 385s cd hgrepo && 385s 385s echo test > test_file && 385s hg add test_file && 385s hg commit -m add && 385s 385s hg rm test_file && 385s hg commit -m remove 385s ) && 385s 385s git clone "hg::hgrepo" gitrepo && 385s check_files gitrepo 385s 388s Cloning into 'gitrepo'... 388s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 388s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 388s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 388s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 388s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 388s or locale.getdefaultlocale()[1] 388s WARNING: capability_push is disabled, only do so when really sure 388s WARNING: various enhanced features might fail in subtle ways 388s adding changesets 388s adding manifests 388s adding file changes 388s added 2 changesets with 1 changes to 1 files 388s new changesets db998a3deaa2:ee3a7bfeb2dc 388s progress revision walk 'bookmarks/master' (1/1) 388s progress revision 0 'master' (0/2) 389s ok 37 - cloning a removed file works 389s 389s expecting success: 389s test_when_finished "rm -rf hgrepo gitrepo" && 389s 389s ( 389s hg init hgrepo && 389s cd hgrepo && 389s 389s echo test > dir_or_file && 389s hg add dir_or_file && 389s hg commit -m add && 389s 389s hg rm dir_or_file && 389s mkdir dir_or_file && 389s echo test > dir_or_file/test_file && 389s hg add dir_or_file/test_file && 389s hg commit -m replase 389s ) && 389s 389s git clone "hg::hgrepo" gitrepo && 389s check_files gitrepo "dir_or_file/test_file" 389s 392s Cloning into 'gitrepo'... 392s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 392s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 392s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 392s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 392s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 392s or locale.getdefaultlocale()[1] 392s WARNING: capability_push is disabled, only do so when really sure 392s WARNING: various enhanced features might fail in subtle ways 392s adding changesets 392s adding manifests 392s adding file changes 392s added 2 changesets with 2 changes to 2 files 392s new changesets 64a8f830abe1:41895fbb278f 392s progress revision walk 'bookmarks/master' (1/1) 392s progress revision 0 'master' (0/2) 392s ok 38 - cloning a file replaced with a directory 392s 392s expecting success: 392s test_when_finished "rm -rf hgrepo gitrepo" && 392s 392s ( 392s hg init hgrepo && 392s cd hgrepo && 392s 392s mkdir dir_or_file && 392s echo test > dir_or_file/test_file && 392s hg add dir_or_file/test_file && 392s hg commit -m add && 392s 392s hg rm dir_or_file/test_file && 392s echo test > dir_or_file && 392s hg add dir_or_file && 392s hg commit -m add && 392s 392s hg rm dir_or_file 392s ) && 392s 392s git clone "hg::hgrepo" gitrepo && 392s check_files gitrepo "dir_or_file" 392s 396s Cloning into 'gitrepo'... 396s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 396s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 396s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 396s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 397s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 397s or locale.getdefaultlocale()[1] 397s WARNING: capability_push is disabled, only do so when really sure 397s WARNING: various enhanced features might fail in subtle ways 397s adding changesets 397s adding manifests 397s adding file changes 397s added 2 changesets with 2 changes to 2 files 397s new changesets e043950b1389:6bb1aee6e23a 397s progress revision walk 'bookmarks/master' (1/1) 397s progress revision 0 'master' (0/2) 397s ok 39 - clone replace directory with a file 397s 397s expecting success: 397s test_when_finished "rm -rf hgrepo gitrepo" && 397s 397s ( 397s hg init hgrepo && 397s cd hgrepo && 397s 397s touch test.txt && 397s hg add test.txt && 397s hg commit -m master && 397s hg branch parent && 397s echo test >test.txt && 397s hg commit -m test && 397s hg branch parent/child && 397s echo test1 >test.txt && 397s hg commit -m test1 397s ) && 397s 397s git clone -c remote-hg.ignore-name=child "hg::hgrepo" gitrepo && 397s check_files gitrepo "test.txt" 397s 399s marked working directory as branch parent 399s (branches are permanent and global, did you want a bookmark?) 400s marked working directory as branch parent/child 401s Cloning into 'gitrepo'... 401s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 401s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 401s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 401s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 401s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 401s or locale.getdefaultlocale()[1] 401s WARNING: capability_push is disabled, only do so when really sure 401s WARNING: various enhanced features might fail in subtle ways 401s adding changesets 401s adding manifests 401s adding file changes 401s added 3 changesets with 3 changes to 1 files 401s new changesets 06603462595d:b2c32e4ea7bd 401s WARNING: Ignoring matched branch parent/child 401s progress revision walk 'bookmarks/master' (0/0) 401s progress revision 0 'master' (0/1) 401s progress revision 1 'parent' (0/1) 402s ok 40 - clone can ignore invalid refnames 402s 402s expecting success: 402s test_when_finished "rm -rf hgrepo gitrepo" && 402s 402s ( 402s hg init hgrepo && 402s cd hgrepo && 402s echo one > content && 402s hg add content && 402s hg commit -m one 402s ) && 402s 402s ( 402s git clone "hg::hgrepo" gitrepo && 402s cd gitrepo && 402s git tag -m "Version 1.0" v1.0 && 402s git push --tags 402s ) && 402s 402s cat > expected <<-\EOF && 402s tip:Version 1.0:C O Mitter 402s v1.0:one:H G Wells 402s EOF 402s 402s hg -R hgrepo log --template "{tags}:{desc}:{author}\n" > actual && 402s 402s test_cmp expected actual 402s 403s Cloning into 'gitrepo'... 403s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 403s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 403s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 403s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 404s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 404s or locale.getdefaultlocale()[1] 404s progress revision walk 'bookmarks/master' (0/0) 404s WARNING: capability_push is disabled, only do so when really sure 404s WARNING: various enhanced features might fail in subtle ways 404s adding changesets 404s adding manifests 404s adding file changes 404s added 1 changesets with 1 changes to 1 files 404s new changesets 393766b1202f 404s progress revision 0 'master' (0/1) 404s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 404s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 404s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 404s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 405s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 405s or locale.getdefaultlocale()[1] 405s WARNING: capability_push is disabled, only do so when really sure 405s WARNING: various enhanced features might fail in subtle ways 405s no changes found 405s searching for changes 405s adding changesets 405s adding manifests 405s adding file changes 405s added 1 changesets with 1 changes to 1 files 405s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo 405s * [new tag] v1.0 -> v1.0 405s ok 41 - push annotated tag 405s 405s expecting success: 405s test_when_finished "rm -rf hgrepo gitrepo1 gitrepo2" && 405s 405s hg init hgrepo && 405s 405s ( 405s git clone "hg::hgrepo" gitrepo1 && 405s cd gitrepo1 && 405s echo two >> content && 405s git add content && 405s git commit -m two --date="2016-09-26 00:00:00 -0230" && 405s git push 405s ) && 405s 405s git clone "hg::hgrepo" gitrepo2 && 405s 405s git --git-dir=gitrepo1/.git log -1 --format="%ai" > expected && 405s git --git-dir=gitrepo2/.git log -1 --format="%ai" > actual && 405s test_cmp expected actual 405s 406s Cloning into 'gitrepo1'... 406s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 406s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 406s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 406s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 407s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 407s or locale.getdefaultlocale()[1] 407s WARNING: capability_push is disabled, only do so when really sure 407s WARNING: various enhanced features might fail in subtle ways 407s no changes found 407s warning: You appear to have cloned an empty repository. 407s [master (root-commit) 9f40cc0] two 407s Author: A U Thor 407s Date: Mon Sep 26 00:00:00 2016 -0230 407s 1 file changed, 1 insertion(+) 407s create mode 100644 content 407s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 407s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 407s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 407s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 407s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 407s or locale.getdefaultlocale()[1] 407s WARNING: capability_push is disabled, only do so when really sure 407s WARNING: various enhanced features might fail in subtle ways 407s no changes found 408s searching for changes 408s adding changesets 408s adding manifests 408s adding file changes 408s added 1 changesets with 1 changes to 1 files 408s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main/tmp/hgrepo 408s * [new branch] master -> master 408s Cloning into 'gitrepo2'... 408s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 408s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 408s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 408s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 409s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 409s or locale.getdefaultlocale()[1] 409s progress revision walk 'bookmarks/master' (0/0) 409s progress revision 0 'master' (0/1) 409s WARNING: capability_push is disabled, only do so when really sure 409s WARNING: various enhanced features might fail in subtle ways 409s adding changesets 409s adding manifests 409s adding file changes 409s added 1 changesets with 1 changes to 1 files 409s new changesets e522f351d13b 409s ok 42 - timezone issues with negative offsets 409s 409s # still have 2 known breakage(s) 409s # passed all remaining 40 test(s) 409s 1..42 409s /bin/sh main-push.t --verbose 409s expecting success: 409s ( 409s hg init hgrepo && 409s cd hgrepo && 409s echo zero > content && 409s hg add content && 409s hg commit -m zero 409s ) 409s 410s ok 1 - setup 410s 410s expecting success: 410s test_when_finished "rm -rf gitrepo*" && 410s git clone "hg::hgrepo" gitrepo && 410s check gitrepo HEAD zero 410s 410s Cloning into 'gitrepo'... 410s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 410s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 410s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 410s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 411s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 411s or locale.getdefaultlocale()[1] 411s adding changesets 411s adding manifests 411s adding file changes 411s added 1 changesets with 1 changes to 1 files 411s new changesets 283e8bac62eb 411s progress revision walk 'bookmarks/master' (0/0) 411s progress revision 0 'master' (0/1) 411s ok 2 - cloning 411s 411s expecting success: 411s test_when_finished "rm -rf gitrepo*" && 411s 411s ( 411s cd hgrepo && 411s hg branch next && 411s echo next > content && 411s hg commit -m next 411s ) && 411s 411s git clone "hg::hgrepo" gitrepo && 411s check gitrepo origin/branches/next next 411s 412s marked working directory as branch next 412s (branches are permanent and global, did you want a bookmark?) 412s Cloning into 'gitrepo'... 412s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 412s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 412s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 412s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 413s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 413s or locale.getdefaultlocale()[1] 413s adding changesets 413s adding manifests 413s adding file changes 413s added 2 changesets with 2 changes to 1 files 413s new changesets 283e8bac62eb:d2316a798c12 413s progress revision walk 'bookmarks/master' (0/0) 413s progress revision 0 'master' (0/1) 413s progress revision 1 'next' (0/1) 413s ok 3 - cloning with branches 413s 413s expecting success: 413s test_when_finished "rm -rf gitrepo*" && 413s 413s ( 413s cd hgrepo && 413s hg checkout default && 413s hg bookmark feature-a && 413s echo feature-a > content && 413s hg commit -m feature-a 413s ) && 413s 413s git clone "hg::hgrepo" gitrepo && 413s check gitrepo origin/feature-a feature-a 413s 414s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 415s Cloning into 'gitrepo'... 415s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 415s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 415s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 415s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 415s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 415s or locale.getdefaultlocale()[1] 415s adding changesets 415s adding manifests 415s adding file changes 415s adding remote bookmark feature-a 415s added 3 changesets with 3 changes to 1 files (+1 heads) 415s new changesets 283e8bac62eb:6d7fb04562a2 415s progress revision walk 'bookmarks/master' (2/2) 415s progress revision 0 'master' (0/2) 415s progress revision 1 'next' (0/1) 416s ok 4 - cloning with bookmarks 416s 416s expecting success: 416s test_when_finished "rm -rf gitrepo*" && 416s 416s ( 416s cd hgrepo && 416s hg bookmark devel 416s ) && 416s 416s ( 416s git clone "hg::hgrepo" gitrepo && 416s cd gitrepo && 416s git checkout --quiet devel && 416s echo devel > content && 416s git commit -a -m devel && 416s git push --quiet origin devel 416s ) && 416s 416s check_bookmark hgrepo devel devel 416s 416s Cloning into 'gitrepo'... 416s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 416s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 416s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 416s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 417s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 417s or locale.getdefaultlocale()[1] 417s adding changesets 417s adding manifests 417s adding file changes 417s adding remote bookmark devel 417s adding remote bookmark feature-a 417s added 3 changesets with 3 changes to 1 files (+1 heads) 417s new changesets 283e8bac62eb:6d7fb04562a2 417s progress revision walk 'bookmarks/master' (2/2) 417s progress revision 0 'master' (0/2) 417s progress revision 1 'next' (0/1) 417s [devel 4075cff] devel 417s Author: A U Thor 417s 1 file changed, 1 insertion(+), 1 deletion(-) 417s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 417s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 417s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 417s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 418s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 418s or locale.getdefaultlocale()[1] 418s no changes found 418s searching for changes 418s adding changesets 418s adding manifests 418s adding file changes 418s added 1 changesets with 1 changes to 1 files 419s ok 5 - update bookmark 419s 419s expecting success: 419s test_when_finished "rm -rf gitrepo*" && 419s 419s ( 419s git clone "hg::hgrepo" gitrepo && 419s cd gitrepo && 419s git checkout --quiet -b feature-b && 419s echo feature-b > content && 419s git commit -a -m feature-b && 419s git push --quiet origin feature-b 419s ) && 419s 419s check_bookmark hgrepo feature-b feature-b 419s 419s Cloning into 'gitrepo'... 419s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 419s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 419s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 419s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 419s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 419s or locale.getdefaultlocale()[1] 419s adding changesets 419s adding manifests 419s adding file changes 419s adding remote bookmark devel 419s adding remote bookmark feature-a 419s added 4 changesets with 4 changes to 1 files (+1 heads) 419s new changesets 283e8bac62eb:1750f3dfc186 419s progress revision walk 'bookmarks/master' (3/3) 419s progress revision 0 'master' (0/3) 419s progress revision 1 'next' (0/1) 420s [feature-b 0ddb17e] feature-b 420s Author: A U Thor 420s 1 file changed, 1 insertion(+), 1 deletion(-) 420s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 420s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 420s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 420s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 420s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 420s or locale.getdefaultlocale()[1] 420s no changes found 420s searching for changes 420s adding changesets 420s adding manifests 420s adding file changes 420s added 1 changesets with 1 changes to 1 files 421s ok 6 - new bookmark 421s 421s expecting success: 421s test_when_finished "rm -rf hgrepo gitrepo" && 421s 421s ( 421s hg init hgrepo && 421s cd hgrepo && 421s 421s touch content && 421s hg add content && 421s 421s > ../expected && 421s author_test alpha "" "H G Wells " && 421s author_test beta "beta" "beta " && 421s author_test gamma "gamma (comment)" "gamma " && 421s author_test delta "" "Unknown " && 421s author_test epsilon "epsilon" "epsilon " && 421s author_test zeta "zeta " && 421s author_test eta " eta " "eta " && 421s author_test theta "theta < test@example.com >" "theta " && 421s author_test iota "iota >test@example.com>" "iota " && 421s author_test kappa "kappa < test example com>" "kappa " && 421s author_test lambda "lambda@example.com" "Unknown " && 421s author_test mu "mu.mu@example.com" "Unknown " 421s ) && 421s 421s git clone "hg::hgrepo" gitrepo && 421s git --git-dir=gitrepo/.git log --reverse --format="%an <%ae>" > actual && 421s 421s test_cmp expected actual 421s 429s Cloning into 'gitrepo'... 429s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 429s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 429s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 429s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 429s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 429s or locale.getdefaultlocale()[1] 430s adding changesets 430s adding manifests 430s adding file changes 430s added 12 changesets with 12 changes to 1 files 430s new changesets 499ccc19cb22:b812eda68cb5 430s progress revision walk 'bookmarks/master' (11/11) 430s progress revision 0 'master' (0/12) 430s ok 7 - authors 430s 430s expecting success: 430s test_when_finished "rm -rf hgrepo gitrepo" && 430s 430s ( 430s hg init hgrepo && 430s cd hgrepo && 430s 430s echo one >> content && 430s hg add content && 430s hg commit -m one && 430s 430s echo two >> content && 430s hg commit -m two 430s ) && 430s 430s git clone "hg::hgrepo" gitrepo && 430s 430s ( 430s cd hgrepo && 430s hg strip 1 && 430s 430s echo three >> content && 430s hg commit -m three && 430s 430s echo four >> content && 430s hg commit -m four 430s ) && 430s 430s ( 430s cd gitrepo && 430s git fetch && 430s git log --format="%s" origin/master > ../actual 430s ) && 430s 430s hg -R hgrepo log --template "{desc}\n" > expected && 430s test_cmp actual expected 430s 432s Cloning into 'gitrepo'... 432s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 432s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 432s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 432s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 432s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 432s or locale.getdefaultlocale()[1] 433s adding changesets 433s adding manifests 433s adding file changes 433s added 2 changesets with 2 changes to 1 files 433s new changesets 62987aebecad:fef6c0a6be6f 433s progress revision walk 'bookmarks/master' (1/1) 433s progress revision 0 'master' (0/2) 433s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 433s saved backup bundle to /tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/hgrepo/.hg/strip-backup/fef6c0a6be6f-1071d203-backup.hg 435s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 435s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 435s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 435s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 435s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 435s or locale.getdefaultlocale()[1] 435s searching for changes 435s adding changesets 435s adding manifests 435s adding file changes 435s added 2 changesets with 2 changes to 1 files (+1 heads) 435s new changesets 3eac9e31e979:f0cae37508df 435s progress revision 2 'default' (0/2) 435s From hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/hgrepo 435s + 60e5674...9848692 master -> origin/master (forced update) 435s + 60e5674...9848692 branches/default -> origin/branches/default (forced update) 436s ok 8 - strip 436s 436s expecting success: 436s test_when_finished "rm -rf hgrepo gitrepo*" && 436s 436s ( 436s hg init hgrepo && 436s cd hgrepo && 436s echo zero > content && 436s hg add content && 436s hg commit -m zero && 436s hg bookmark master && 436s echo one > content && 436s hg commit -m one 436s ) && 436s 436s ( 436s git clone "hg::hgrepo" gitrepo && 436s cd gitrepo && 436s echo two > content && 436s git commit -a -m two && 436s git push 436s ) && 436s 436s check_branch hgrepo default two 436s 438s Cloning into 'gitrepo'... 438s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 438s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 438s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 438s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 439s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 439s or locale.getdefaultlocale()[1] 439s adding changesets 439s adding manifests 439s adding file changes 439s adding remote bookmark master 439s added 2 changesets with 2 changes to 1 files 439s new changesets cc3cec7c4dfc:fe3a81f31a6e 439s progress revision walk 'bookmarks/default' (1/1) 439s progress revision 0 'default' (0/2) 439s [default 37bd2f1] two 439s Author: A U Thor 439s 1 file changed, 1 insertion(+), 1 deletion(-) 439s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 439s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 439s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 439s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 440s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 440s or locale.getdefaultlocale()[1] 440s no changes found 440s searching for changes 440s adding changesets 440s adding manifests 440s adding file changes 440s added 1 changesets with 1 changes to 1 files 440s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/hgrepo 440s fffffff..37bd2f1 default -> default 441s ok 9 - remote push with master bookmark 441s 441s expecting success: 441s test_when_finished "rm -rf hgrepo gitrepo*" && 441s 441s hg init hgrepo && 441s 441s ( 441s git init gitrepo && 441s cd gitrepo && 441s git remote add origin "hg::../hgrepo" && 441s echo one > content && 441s git add content && 441s git commit -a -m one && 441s git push origin master 441s ) && 441s 441s hg -R hgrepo log > actual && 441s cat actual && 441s test_cmp expected actual && 441s 441s check_branch hgrepo default one 441s 442s Initialized empty Git repository in /tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/gitrepo/.git/ 442s [master (root-commit) 64caca5] one 442s Author: A U Thor 442s 1 file changed, 1 insertion(+) 442s create mode 100644 content 442s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 442s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 442s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 442s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 442s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 442s or locale.getdefaultlocale()[1] 442s no changes found 442s searching for changes 442s adding changesets 442s adding manifests 442s adding file changes 442s added 1 changesets with 1 changes to 1 files 442s To hg::../hgrepo 442s * [new branch] master -> master 443s changeset: 0:6e2126489d3d 443s tag: tip 443s user: A U Thor 443s date: Mon Jan 01 00:00:00 2007 +0230 443s summary: one 443s 444s ok 10 - remote push from master branch 444s 444s expecting success: 444s test_when_finished "rm -rf gitrepo*" && 444s 444s ( 444s hg init hgrepo && 444s cd hgrepo && 444s echo zero > content && 444s hg add content && 444s hg commit -m zero 444s ) && 444s 444s git clone "hg::hgrepo" gitrepo && 444s check gitrepo HEAD zero 444s 445s Cloning into 'gitrepo'... 445s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 445s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 445s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 445s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 446s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 446s or locale.getdefaultlocale()[1] 446s adding changesets 446s adding manifests 446s adding file changes 446s added 1 changesets with 1 changes to 1 files 446s new changesets 6cb32441b027 446s progress revision walk 'bookmarks/master' (0/0) 446s progress revision 0 'master' (0/1) 446s ok 11 - remote cloning 446s 446s expecting success: 446s test_when_finished "rm -rf gitrepo*" && 446s 446s ( 446s git clone "hg::hgrepo" gitrepo && 446s mv gitrepo gitrepo2 && 446s cd gitrepo2 && 446s git fetch 446s ) 446s 446s Cloning into 'gitrepo'... 446s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 446s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 446s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 446s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 447s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 447s or locale.getdefaultlocale()[1] 447s adding changesets 447s adding manifests 447s adding file changes 447s added 1 changesets with 1 changes to 1 files 447s new changesets 6cb32441b027 447s progress revision walk 'bookmarks/master' (0/0) 447s progress revision 0 'master' (0/1) 447s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 447s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 447s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 447s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 448s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 448s or locale.getdefaultlocale()[1] 448s no changes found 448s ok 12 - moving remote clone 448s 448s expecting success: 448s test_when_finished "rm -rf gitrepo*" && 448s 448s ( 448s cd hgrepo && 448s hg bookmark devel 448s ) && 448s 448s ( 448s git clone "hg::hgrepo" gitrepo && 448s cd gitrepo && 448s git checkout --quiet devel && 448s echo devel > content && 448s git commit -a -m devel && 448s git push --quiet 448s ) && 448s 448s check_bookmark hgrepo devel devel 448s 448s Cloning into 'gitrepo'... 448s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 448s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 448s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 448s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 449s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 449s or locale.getdefaultlocale()[1] 449s adding changesets 449s adding manifests 449s adding file changes 449s adding remote bookmark devel 449s added 1 changesets with 1 changes to 1 files 449s new changesets 6cb32441b027 449s progress revision walk 'bookmarks/master' (0/0) 449s progress revision 0 'master' (0/1) 449s [devel 3bfe193] devel 449s Author: A U Thor 449s 1 file changed, 1 insertion(+), 1 deletion(-) 449s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 449s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 449s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 449s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 450s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 450s or locale.getdefaultlocale()[1] 450s no changes found 450s searching for changes 450s adding changesets 450s adding manifests 450s adding file changes 450s added 1 changesets with 1 changes to 1 files 451s ok 13 - remote update bookmark 451s 451s expecting success: 451s test_when_finished "rm -rf gitrepo*" && 451s 451s ( 451s git clone "hg::hgrepo" gitrepo && 451s cd gitrepo && 451s git checkout --quiet -b feature-b && 451s echo feature-b > content && 451s git commit -a -m feature-b && 451s git push --quiet origin feature-b 451s ) && 451s 451s check_bookmark hgrepo feature-b feature-b 451s 451s Cloning into 'gitrepo'... 451s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 451s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 451s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 451s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 452s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 452s or locale.getdefaultlocale()[1] 452s adding changesets 452s adding manifests 452s adding file changes 452s adding remote bookmark devel 452s added 2 changesets with 2 changes to 1 files 452s new changesets 6cb32441b027:2c02dfce9935 452s progress revision walk 'bookmarks/master' (1/1) 452s progress revision 0 'master' (0/2) 452s [feature-b 6c6d3ba] feature-b 452s Author: A U Thor 452s 1 file changed, 1 insertion(+), 1 deletion(-) 452s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 452s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 452s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 452s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 453s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 453s or locale.getdefaultlocale()[1] 453s no changes found 453s searching for changes 453s adding changesets 453s adding manifests 453s adding file changes 453s added 1 changesets with 1 changes to 1 files 454s ok 14 - remote new bookmark 454s 454s expecting success: 454s test_when_finished "rm -rf gitrepo*" && 454s 454s git clone "hg::hgrepo" gitrepo && 454s 454s ( 454s cd hgrepo && 454s hg checkout default && 454s echo bump > content && 454s hg commit -m bump 454s ) && 454s 454s ( 454s cd gitrepo && 454s echo diverge > content && 454s git commit -a -m diverged && 454s check_push 1 <<-\EOF 454s master:non-fast-forward 454s EOF 454s ) && 454s 454s check_branch hgrepo default bump 454s 454s Cloning into 'gitrepo'... 454s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 454s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 454s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 454s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 454s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 454s or locale.getdefaultlocale()[1] 454s adding changesets 454s adding manifests 454s adding file changes 454s adding remote bookmark devel 454s adding remote bookmark feature-b 454s added 3 changesets with 3 changes to 1 files 454s new changesets 6cb32441b027:9433016fa998 454s progress revision walk 'bookmarks/master' (2/2) 454s progress revision 0 'master' (0/3) 455s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 455s (leaving bookmark devel) 456s [master 5a85711] diverged 456s Author: A U Thor 456s 1 file changed, 1 insertion(+), 1 deletion(-) 457s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 457s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 457s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 457s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 457s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 457s or locale.getdefaultlocale()[1] 457s searching for changes 457s adding changesets 457s adding manifests 457s adding file changes 457s added 1 changesets with 1 changes to 1 files 457s new changesets 4a33986ec13d 457s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/hgrepo 457s ! [rejected] master -> master (non-fast-forward) 457s error: failed to push some refs to 'hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/hgrepo' 457s hint: Updates were rejected because the tip of your current branch is behind 457s hint: its remote counterpart. If you want to integrate the remote changes, 457s hint: use 'git pull' before pushing again. 457s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 457s ! [rejected] master -> master (non-fast-forward) 458s ok 15 - remote push diverged 458s 458s expecting success: 458s test_when_finished "rm -rf gitrepo*" && 458s 458s ( 458s cd hgrepo && 458s hg checkout tip^ && 458s hg bookmark diverge 458s ) && 458s 458s git clone "hg::hgrepo" gitrepo && 458s 458s ( 458s cd hgrepo && 458s echo "bump bookmark" > content && 458s hg commit -m "bump bookmark" 458s ) && 458s 458s ( 458s cd gitrepo && 458s git checkout --quiet diverge && 458s echo diverge > content && 458s git commit -a -m diverge && 458s check_push 1 <<-\EOF 458s diverge:non-fast-forward 458s EOF 458s ) && 458s 458s check_bookmark hgrepo diverge "bump bookmark" 458s 458s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 459s Cloning into 'gitrepo'... 459s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 459s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 459s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 459s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 459s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 459s or locale.getdefaultlocale()[1] 459s adding changesets 459s adding manifests 459s adding file changes 459s adding remote bookmark devel 459s adding remote bookmark diverge 459s adding remote bookmark feature-b 459s added 4 changesets with 4 changes to 1 files 459s new changesets 6cb32441b027:4a33986ec13d 459s progress revision walk 'bookmarks/master' (3/3) 459s progress revision 0 'master' (0/4) 460s created new head 460s [diverge 4320cf5] diverge 460s Author: A U Thor 460s 1 file changed, 1 insertion(+), 1 deletion(-) 461s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 461s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 461s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 461s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 461s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 461s or locale.getdefaultlocale()[1] 461s searching for changes 461s adding changesets 461s adding manifests 461s adding file changes 461s updating bookmark diverge 461s added 1 changesets with 1 changes to 1 files (+1 heads) 461s new changesets 23b05a14963e 461s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/hgrepo 461s ! [rejected] diverge -> diverge (non-fast-forward) 461s error: failed to push some refs to 'hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/hgrepo' 461s hint: Updates were rejected because the tip of your current branch is behind 461s hint: its remote counterpart. If you want to integrate the remote changes, 461s hint: use 'git pull' before pushing again. 461s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 461s ! [rejected] diverge -> diverge (non-fast-forward) 462s ok 16 - remote update bookmark diverge 462s 462s expecting success: 462s test_when_finished "rm -rf gitrepo*" && 462s 462s ( 462s git clone "hg::hgrepo" gitrepo && 462s cd gitrepo && 462s git checkout --quiet -b feature-c HEAD^ && 462s echo feature-c > content && 462s git commit -a -m feature-c && 462s git push --quiet origin feature-c 462s ) && 462s 462s check_bookmark hgrepo feature-c feature-c 462s 462s Cloning into 'gitrepo'... 462s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 462s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 462s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 462s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 462s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 462s or locale.getdefaultlocale()[1] 463s adding changesets 463s adding manifests 463s adding file changes 463s adding remote bookmark devel 463s adding remote bookmark diverge 463s adding remote bookmark feature-b 463s added 5 changesets with 5 changes to 1 files (+1 heads) 463s new changesets 6cb32441b027:23b05a14963e 463s WARNING: Branch 'default' has more than one head, consider merging 463s progress revision walk 'bookmarks/master' (4/4) 463s progress revision 0 'master' (0/4) 463s [feature-c 477c0cc] feature-c 463s Author: A U Thor 463s 1 file changed, 1 insertion(+), 1 deletion(-) 463s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 463s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 463s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 463s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 463s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 463s or locale.getdefaultlocale()[1] 464s no changes found 464s searching for changes 464s adding changesets 464s adding manifests 464s adding file changes 464s added 1 changesets with 1 changes to 1 files (+1 heads) 464s ok 17 - remote new bookmark multiple branch head 464s 464s expecting success: 464s test_when_finished "rm -rf gitrepo hgrepo" && 464s 464s ( 464s hg init hgrepo && 464s cd hgrepo && 464s echo zero > content && 464s hg add content && 464s hg commit -m zero 464s ) && 464s 464s git clone "hg::hgrepo" gitrepo && 464s 464s ( 464s cd gitrepo && 464s cp content content-copy && 464s # recent git-fast-export is (too) picky in recognizing copies 464s # although git-log is not as picky; 464s # since https://github.com/git/git/commit/8096e1d385660c159d9d47e69b2be63cf22e4f31 464s # a copy is only marked if source filed not modified as well 464s # (though destination file can be modified) 464s echo one >> content-copy && 464s git add content content-copy && 464s git commit -m copy && 464s git mv content-copy content-moved 464s git commit -m moved && 464s git push origin master 464s ) && 464s 464s ( 464s hg -R hgrepo update && 464s test_cmp gitrepo/content hgrepo/content 464s test_cmp gitrepo/content-moved hgrepo/content-moved 464s cd hgrepo && 464s test `hg log -f content-moved | grep -c changeset` -eq 3 464s ) 464s 466s Cloning into 'gitrepo'... 466s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 466s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 466s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 466s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 467s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 467s or locale.getdefaultlocale()[1] 467s adding changesets 467s adding manifests 467s adding file changes 467s added 1 changesets with 1 changes to 1 files 467s new changesets e2b1e74a4b99 467s progress revision walk 'bookmarks/master' (0/0) 467s progress revision 0 'master' (0/1) 467s [master a7706ba] copy 467s Author: A U Thor 467s 1 file changed, 2 insertions(+) 467s create mode 100644 content-copy 467s [master f61176c] moved 467s Author: A U Thor 467s 1 file changed, 0 insertions(+), 0 deletions(-) 467s rename content-copy => content-moved (100%) 467s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 467s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 467s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 467s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 467s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 467s or locale.getdefaultlocale()[1] 468s no changes found 468s searching for changes 468s adding changesets 468s adding manifests 468s adding file changes 468s added 2 changesets with 2 changes to 2 files 468s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/hgrepo 468s fffffff..f61176c master -> master 468s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 469s ok 18 - push commits with copy and rename 469s 469s expecting success: 469s test_when_finished "rm -rf hgrepo gitrepo && LC_ALL=C" && 469s 469s LC_ALL=C.UTF-8 469s export LC_ALL 469s 469s ( 469s hg init hgrepo && 469s cd hgrepo && 469s 469s echo test >> "æ rø" && 469s hg add "æ rø" && 469s echo test >> "ø~?" && 469s hg add "ø~?" && 469s hg commit -m add-utf-8 && 469s echo test >> "æ rø" && 469s hg commit -m test-utf-8 && 469s hg rm "ø~?" && 469s hg mv "æ rø" "ø~?" && 469s hg commit -m hg-mv-utf-8 469s ) && 469s 469s ( 469s git clone "hg::hgrepo" gitrepo && 469s cd gitrepo && 469s git -c core.quotepath=false ls-files > ../actual 469s ) && 469s echo "ø~?" > expected && 469s test_cmp expected actual 469s 471s warning: filename contains '?', which is reserved on Windows: 'ø~?' 473s warning: filename contains '?', which is reserved on Windows: 'ø~?' 473s Cloning into 'gitrepo'... 473s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 473s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 473s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 473s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 474s adding changesets 474s adding manifests 474s adding file changes 474s added 3 changesets with 4 changes to 2 files 474s new changesets 8e67f6814c25:f60ec1b9b023 474s progress revision walk 'bookmarks/master' (2/2) 474s progress revision 0 'master' (0/3) 474s ok 19 - fetch special filenames 474s 474s expecting success: 474s test_when_finished "rm -rf hgrepo gitrepo && LC_ALL=C" && 474s 474s mkdir -p tmp && cd tmp && 474s 474s LC_ALL=C.UTF-8 474s export LC_ALL 474s 474s ( 474s hg init hgrepo && 474s cd hgrepo && 474s 474s echo one >> content && 474s hg add content && 474s hg commit -m one 474s ) && 474s 474s ( 474s git clone "hg::hgrepo" gitrepo && 474s cd gitrepo && 474s 474s echo test >> "æ rø" && 474s git add "æ rø" && 474s git commit -m utf-8 && 474s 474s git push 474s ) && 474s 474s (cd hgrepo && 474s hg update && 474s hg manifest > ../actual 474s ) && 474s 474s printf "content\næ rø\n" > expected && 474s test_cmp expected actual 474s 476s Cloning into 'gitrepo'... 476s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 476s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 476s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 476s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 476s adding changesets 476s adding manifests 476s adding file changes 476s added 1 changesets with 1 changes to 1 files 476s new changesets ab171d982b61 476s progress revision walk 'bookmarks/master' (0/0) 476s progress revision 0 'master' (0/1) 477s [master 94d012f] utf-8 477s Author: A U Thor 477s 1 file changed, 1 insertion(+) 477s create mode 100644 "\303\246 r\303\270" 477s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 477s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 477s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 477s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 477s no changes found 477s searching for changes 477s adding changesets 477s adding manifests 477s adding file changes 477s added 1 changesets with 1 changes to 1 files 477s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 477s fffffff..94d012f master -> master 478s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 479s ok 20 - push special filenames 479s 479s expecting success: 479s test_when_finished "rm -rf hgrepo gitrepo*" && 479s 479s setup_big_push 479s 479s ( 479s cd gitrepo && 479s 479s check_push 1 --all <<-\EOF 479s master 479s good_bmark 479s branches/good_branch 479s new_bmark:new 479s branches/new_branch:new 479s bad_bmark1:non-fast-forward 479s bad_bmark2:non-fast-forward 479s branches/bad_branch:non-fast-forward 479s EOF 479s ) && 479s 479s if test "$CAPABILITY_PUSH" = "t" 479s then 479s # cap push handles refs one by one 479s # so it will push all requested it can 479s check_branch hgrepo default six && 479s check_branch hgrepo good_branch eight && 479s check_branch hgrepo bad_branch "bad branch" && 479s check_branch hgrepo new_branch ten && 479s check_bookmark hgrepo good_bmark three && 479s check_bookmark hgrepo bad_bmark1 one && 479s check_bookmark hgrepo bad_bmark2 one && 479s check_bookmark hgrepo new_bmark six 479s else 479s check_branch hgrepo default one && 479s check_branch hgrepo good_branch "good branch" && 479s check_branch hgrepo bad_branch "bad branch" && 479s check_branch hgrepo new_branch && 479s check_bookmark hgrepo good_bmark one && 479s check_bookmark hgrepo bad_bmark1 one && 479s check_bookmark hgrepo bad_bmark2 one && 479s check_bookmark hgrepo new_bmark 479s fi 479s 485s Cloning into 'gitrepo'... 485s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 485s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 485s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 485s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 485s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 485s or locale.getdefaultlocale()[1] 486s adding changesets 486s adding manifests 486s adding file changes 486s adding remote bookmark bad_bmark1 486s adding remote bookmark bad_bmark2 486s adding remote bookmark good_bmark 486s added 4 changesets with 4 changes to 1 files 486s new changesets 5f1c991ed81b:6f85a2eec3da 486s progress revision walk 'bookmarks/master' (1/1) 486s progress revision 0 'master' (0/2) 486s progress revision 2 'bad_branch' (0/2) 486s HEAD is now at 2d65351 zero 486s HEAD is now at 2d65351 zero 486s HEAD is now at 6c4390b good branch 487s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 487s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 487s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 487s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 487s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 487s or locale.getdefaultlocale()[1] 487s no changes found 487s searching for changes 487s adding changesets 487s adding manifests 487s adding file changes 487s added 2 changesets with 2 changes to 1 files (+1 heads) 487s searching for changes 487s adding changesets 487s adding manifests 487s adding file changes 487s added 1 changesets with 1 changes to 1 files (+1 heads) 487s searching for changes 487s adding changesets 487s adding manifests 487s adding file changes 487s added 1 changesets with 1 changes to 1 files (+1 heads) 487s searching for changes 487s adding changesets 487s adding manifests 487s adding file changes 487s added 1 changesets with 1 changes to 1 files 487s searching for changes 487s adding changesets 487s adding manifests 487s adding file changes 487s added 1 changesets with 1 changes to 1 files (+1 heads) 487s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 487s fffffff..7571e1e branches/good_branch -> branches/good_branch 487s fffffff..5ef2901 good_bmark -> good_bmark 487s fffffff..93628c0 master -> master 487s * [new branch] branches/new_branch -> branches/new_branch 487s * [new branch] new_bmark -> new_bmark 487s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 487s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 487s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 487s error: failed to push some refs to 'hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo' 487s hint: Updates were rejected because a pushed branch tip is behind its remote 487s hint: counterpart. If you want to integrate the remote changes, use 'git pull' 487s hint: before pushing again. 487s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 487s fffffff..93628c0 master -> master 487s fffffff..5ef2901 good_bmark -> good_bmark 487s fffffff..7571e1e branches/good_branch -> branches/good_branch 487s * [new branch] new_bmark -> new_bmark 487s * [new branch] branches/new_branch -> branches/new_branch 487s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 487s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 487s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 492s ok 21 - remote big push 492s 492s expecting success: 492s test_when_finished "rm -rf hgrepo gitrepo*" && 492s 492s ( 492s hg init hgrepo && 492s cd hgrepo && 492s echo zero > content && 492s hg add content && 492s hg commit -m zero && 492s hg bookmark bad_bmark && 492s hg bookmark good_bmark && 492s hg bookmark -i good_bmark && 492s hg -q branch good_branch && 492s echo "good branch" > content && 492s hg commit -m "good branch" && 492s hg -q branch bad_branch && 492s echo "bad branch" > content && 492s hg commit -m "bad branch" 492s ) && 492s 492s git clone "hg::hgrepo" gitrepo && 492s 492s ( 492s cd hgrepo && 492s hg bookmark -f bad_bmark && 492s echo update_bmark > content && 492s hg commit -m "update bmark" 492s ) && 492s 492s ( 492s cd gitrepo && 492s echo two > content && 492s git commit -q -a -m two && 492s 492s git checkout -q good_bmark && 492s echo three > content && 492s git commit -q -a -m three && 492s 492s git checkout -q bad_bmark && 492s echo four > content && 492s git commit -q -a -m four && 492s 492s git checkout -q branches/bad_branch && 492s echo five > content && 492s git commit -q -a -m five && 492s 492s check_push 1 --all <<-\EOF && 492s master 492s good_bmark 492s bad_bmark:non-fast-forward 492s branches/bad_branch:non-fast-forward 492s EOF 492s 492s git fetch && 492s 492s if test "$CAPABILITY_PUSH" = "t" 492s then 492s # cap push handles refs one by one 492s # so it will already have pushed some above previously 492s # (and master is a fake one that jumps around a bit) 492s check_push 1 --all <<-\EOF 492s bad_bmark:non-fast-forward 492s branches/bad_branch:non-fast-forward 492s EOF 492s else 492s check_push 1 --all <<-\EOF 492s master 492s good_bmark 492s bad_bmark:non-fast-forward 492s branches/bad_branch:non-fast-forward 492s EOF 492s fi 492s ) 492s 497s Cloning into 'gitrepo'... 497s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 497s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 497s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 497s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 497s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 497s or locale.getdefaultlocale()[1] 498s adding changesets 498s adding manifests 498s adding file changes 498s adding remote bookmark bad_bmark 498s adding remote bookmark good_bmark 498s added 3 changesets with 3 changes to 1 files 498s new changesets 41f5b4903e9d:98022eb5bd77 498s progress revision walk 'bookmarks/master' (0/0) 498s progress revision 0 'master' (0/1) 498s progress revision 1 'bad_branch' (0/2) 500s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 500s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 500s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 500s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 500s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 500s or locale.getdefaultlocale()[1] 500s searching for changes 500s adding changesets 500s adding manifests 500s adding file changes 500s updating bookmark bad_bmark 500s added 1 changesets with 1 changes to 1 files 500s new changesets 91eb489166cd 500s searching for changes 500s adding changesets 500s adding manifests 500s adding file changes 500s added 1 changesets with 1 changes to 1 files (+1 heads) 500s searching for changes 500s adding changesets 500s adding manifests 500s adding file changes 500s added 1 changesets with 1 changes to 1 files (+1 heads) 500s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 500s fffffff..419f28e good_bmark -> good_bmark 500s fffffff..f96c93a master -> master 500s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 500s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 500s error: failed to push some refs to 'hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo' 500s hint: Updates were rejected because the tip of your current branch is behind 500s hint: its remote counterpart. If you want to integrate the remote changes, 500s hint: use 'git pull' before pushing again. 500s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 500s fffffff..f96c93a master -> master 500s fffffff..419f28e good_bmark -> good_bmark 500s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 500s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 500s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 500s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 500s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 500s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 501s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 501s or locale.getdefaultlocale()[1] 501s no changes found 501s updating bookmark good_bmark 501s 2 local changesets published 501s WARNING: Branch 'default' has more than one head, consider merging 501s progress revision 3 'bad_branch' (0/1) 501s From hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 501s 85b7edf..c0a711b branches/bad_branch -> origin/branches/bad_branch 501s 8bcc7dc..f96c93a branches/default -> origin/branches/default 501s 8bcc7dc..c0a711b bad_bmark -> origin/bad_bmark 502s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 502s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 502s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 502s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 502s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 502s or locale.getdefaultlocale()[1] 502s no changes found 502s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 502s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 502s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 502s error: failed to push some refs to 'hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo' 502s hint: Updates were rejected because the tip of your current branch is behind 502s hint: its remote counterpart. If you want to integrate the remote changes, 502s hint: use 'git pull' before pushing again. 502s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 502s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 502s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 502s ok 22 - remote big push non fast forward 502s 502s expecting success: 502s test_when_finished "rm -rf hgrepo gitrepo*" && 502s 502s setup_big_push 502s 502s ( 502s cd gitrepo && 502s 502s if test "$CAPABILITY_PUSH" = "t" 502s then 502s check_push 0 --force --all <<-\EOF 502s master:forced-update 502s good_bmark:forced-update 502s branches/good_branch:forced-update 502s new_bmark:new 502s branches/new_branch:new 502s bad_bmark1:forced-update 502s bad_bmark2:forced-update 502s branches/bad_branch:forced-update 502s EOF 502s else 502s check_push 0 --force --all <<-\EOF 502s master 502s good_bmark 502s branches/good_branch 502s new_bmark:new 502s branches/new_branch:new 502s bad_bmark1:forced-update 502s bad_bmark2:forced-update 502s branches/bad_branch:forced-update 502s EOF 502s fi 502s ) && 502s 502s check_branch hgrepo good_branch eight && 502s check_branch hgrepo bad_branch nine && 502s check_branch hgrepo new_branch ten && 502s check_bookmark hgrepo good_bmark three && 502s check_bookmark hgrepo bad_bmark1 four && 502s check_bookmark hgrepo bad_bmark2 five && 502s check_bookmark hgrepo new_bmark six 502s 508s Cloning into 'gitrepo'... 508s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 508s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 508s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 508s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 509s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 509s or locale.getdefaultlocale()[1] 509s adding changesets 509s adding manifests 509s adding file changes 509s adding remote bookmark bad_bmark1 509s adding remote bookmark bad_bmark2 509s adding remote bookmark good_bmark 509s added 4 changesets with 4 changes to 1 files 509s new changesets 2c3721aedf26:a9005f3bd297 509s progress revision walk 'bookmarks/master' (1/1) 509s progress revision 0 'master' (0/2) 509s progress revision 2 'bad_branch' (0/2) 509s HEAD is now at 50268ed zero 509s HEAD is now at 50268ed zero 509s HEAD is now at 9d49c5e good branch 510s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 510s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 510s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 510s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 510s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 510s or locale.getdefaultlocale()[1] 510s no changes found 510s searching for changes 510s adding changesets 510s adding manifests 510s adding file changes 510s added 1 changesets with 1 changes to 1 files (+1 heads) 510s searching for changes 510s adding changesets 510s adding manifests 510s adding file changes 510s added 2 changesets with 2 changes to 1 files (+1 heads) 510s searching for changes 510s adding changesets 510s adding manifests 510s adding file changes 510s added 1 changesets with 1 changes to 1 files (+1 heads) 510s searching for changes 510s adding changesets 510s adding manifests 510s adding file changes 510s added 1 changesets with 1 changes to 1 files (+1 heads) 510s searching for changes 510s adding changesets 510s adding manifests 510s adding file changes 510s added 1 changesets with 1 changes to 1 files (+1 heads) 510s searching for changes 510s adding changesets 510s adding manifests 510s adding file changes 510s added 1 changesets with 1 changes to 1 files (+1 heads) 510s searching for changes 510s adding changesets 510s adding manifests 510s adding file changes 510s added 1 changesets with 1 changes to 1 files 510s searching for changes 510s adding changesets 510s adding manifests 510s adding file changes 510s added 1 changesets with 1 changes to 1 files (+1 heads) 510s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 510s + fffffff...0f8725d branches/bad_branch -> branches/bad_branch (forced update) 510s + fffffff...5626b29 branches/good_branch -> branches/good_branch (forced update) 510s + fffffff...178988b bad_bmark1 -> bad_bmark1 (forced update) 510s + fffffff...7a37b49 bad_bmark2 -> bad_bmark2 (forced update) 510s + fffffff...d0341d0 good_bmark -> good_bmark (forced update) 510s + fffffff...2036724 master -> master (forced update) 510s * [new branch] branches/new_branch -> branches/new_branch 510s * [new branch] new_bmark -> new_bmark 510s + fffffff...2036724 master -> master (forced update) 510s + fffffff...d0341d0 good_bmark -> good_bmark (forced update) 510s + fffffff...5626b29 branches/good_branch -> branches/good_branch (forced update) 510s * [new branch] new_bmark -> new_bmark 510s * [new branch] branches/new_branch -> branches/new_branch 510s + fffffff...178988b bad_bmark1 -> bad_bmark1 (forced update) 510s + fffffff...7a37b49 bad_bmark2 -> bad_bmark2 (forced update) 510s + fffffff...0f8725d branches/bad_branch -> branches/bad_branch (forced update) 515s ok 23 - remote big push force 515s 515s expecting success: 515s test_when_finished "rm -rf hgrepo gitrepo*" && 515s 515s setup_big_push 515s 515s ( 515s cd gitrepo && 515s 515s check_push 1 --dry-run --all <<-\EOF && 515s master 515s good_bmark 515s branches/good_branch 515s new_bmark:new 515s branches/new_branch:new 515s bad_bmark1:non-fast-forward 515s bad_bmark2:non-fast-forward 515s branches/bad_branch:non-fast-forward 515s EOF 515s 515s check_push 0 --dry-run master good_bmark new_bmark branches/good_branch branches/new_branch <<-\EOF 515s master 515s good_bmark 515s branches/good_branch 515s new_bmark:new 515s branches/new_branch:new 515s EOF 515s ) && 515s 515s check_branch hgrepo default one && 515s check_branch hgrepo good_branch "good branch" && 515s check_branch hgrepo bad_branch "bad branch" && 515s check_branch hgrepo new_branch && 515s check_bookmark hgrepo good_bmark one && 515s check_bookmark hgrepo bad_bmark1 one && 515s check_bookmark hgrepo bad_bmark2 one && 515s check_bookmark hgrepo new_bmark 515s 520s Cloning into 'gitrepo'... 520s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 520s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 520s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 520s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 521s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 521s or locale.getdefaultlocale()[1] 521s adding changesets 521s adding manifests 521s adding file changes 521s adding remote bookmark bad_bmark1 521s adding remote bookmark bad_bmark2 521s adding remote bookmark good_bmark 521s added 4 changesets with 4 changes to 1 files 521s new changesets 6d66f864cff4:db898d36d40c 521s progress revision walk 'bookmarks/master' (1/1) 521s progress revision 0 'master' (0/2) 521s progress revision 2 'bad_branch' (0/2) 521s HEAD is now at 68689a7 zero 521s HEAD is now at 68689a7 zero 521s HEAD is now at 345b1aa good branch 522s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 522s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 522s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 522s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 522s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 522s or locale.getdefaultlocale()[1] 522s no changes found 522s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 522s fffffff..918a7d1 branches/good_branch -> branches/good_branch 522s fffffff..69e6b34 good_bmark -> good_bmark 522s fffffff..dc60408 master -> master 522s * [new branch] branches/new_branch -> branches/new_branch 522s * [new branch] new_bmark -> new_bmark 522s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 522s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 522s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 522s error: failed to push some refs to 'hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo' 522s hint: Updates were rejected because a pushed branch tip is behind its remote 522s hint: counterpart. If you want to integrate the remote changes, use 'git pull' 522s hint: before pushing again. 522s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 522s fffffff..dc60408 master -> master 522s fffffff..69e6b34 good_bmark -> good_bmark 522s fffffff..918a7d1 branches/good_branch -> branches/good_branch 522s * [new branch] new_bmark -> new_bmark 522s * [new branch] branches/new_branch -> branches/new_branch 522s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 522s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 522s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 523s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 523s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 523s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 523s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 523s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 523s or locale.getdefaultlocale()[1] 523s no changes found 523s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 523s fffffff..918a7d1 branches/good_branch -> branches/good_branch 523s fffffff..69e6b34 good_bmark -> good_bmark 523s fffffff..dc60408 master -> master 523s * [new branch] new_bmark -> new_bmark 523s * [new branch] branches/new_branch -> branches/new_branch 523s fffffff..dc60408 master -> master 523s fffffff..69e6b34 good_bmark -> good_bmark 523s fffffff..918a7d1 branches/good_branch -> branches/good_branch 523s * [new branch] new_bmark -> new_bmark 523s * [new branch] branches/new_branch -> branches/new_branch 528s ok 24 - remote big push dry-run 528s 528s expecting success: 528s test_when_finished "rm -rf hgrepo gitrepo*" && 528s 528s setup_big_push 528s 528s ( 528s cd gitrepo && 528s 528s if test "$CAPABILITY_PUSH" = "t" 528s then 528s check_push 0 --force --dry-run --all <<-\EOF 528s master:forced-update 528s good_bmark:forced-update 528s branches/good_branch:forced-update 528s new_bmark:new 528s branches/new_branch:new 528s bad_bmark1:forced-update 528s bad_bmark2:forced-update 528s branches/bad_branch:forced-update 528s EOF 528s else 528s check_push 0 --force --dry-run --all <<-\EOF 528s master 528s good_bmark 528s branches/good_branch 528s new_bmark:new 528s branches/new_branch:new 528s bad_bmark1:forced-update 528s bad_bmark2:forced-update 528s branches/bad_branch:forced-update 528s EOF 528s fi 528s ) && 528s 528s check_branch hgrepo default one && 528s check_branch hgrepo good_branch "good branch" && 528s check_branch hgrepo bad_branch "bad branch" && 528s check_branch hgrepo new_branch && 528s check_bookmark hgrepo good_bmark one && 528s check_bookmark hgrepo bad_bmark1 one && 528s check_bookmark hgrepo bad_bmark2 one && 528s check_bookmark hgrepo new_bmark 528s 534s Cloning into 'gitrepo'... 534s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 534s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 534s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 534s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 535s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 535s or locale.getdefaultlocale()[1] 535s adding changesets 535s adding manifests 535s adding file changes 535s adding remote bookmark bad_bmark1 535s adding remote bookmark bad_bmark2 535s adding remote bookmark good_bmark 535s added 4 changesets with 4 changes to 1 files 535s new changesets 896c3786d9a2:96f8ac4c0001 535s progress revision walk 'bookmarks/master' (1/1) 535s progress revision 0 'master' (0/2) 535s progress revision 2 'bad_branch' (0/2) 535s HEAD is now at 71a6356 zero 535s HEAD is now at 71a6356 zero 535s HEAD is now at 7729b62 good branch 536s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 536s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 536s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 536s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 536s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 536s or locale.getdefaultlocale()[1] 536s no changes found 536s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 536s + fffffff...12979c3 branches/bad_branch -> branches/bad_branch (forced update) 536s + fffffff...42fe743 branches/good_branch -> branches/good_branch (forced update) 536s + fffffff...78ad42d bad_bmark1 -> bad_bmark1 (forced update) 536s + fffffff...ece0502 bad_bmark2 -> bad_bmark2 (forced update) 536s + fffffff...2ab464b good_bmark -> good_bmark (forced update) 536s + fffffff...9ae9743 master -> master (forced update) 536s * [new branch] branches/new_branch -> branches/new_branch 536s * [new branch] new_bmark -> new_bmark 536s + fffffff...9ae9743 master -> master (forced update) 536s + fffffff...2ab464b good_bmark -> good_bmark (forced update) 536s + fffffff...42fe743 branches/good_branch -> branches/good_branch (forced update) 536s * [new branch] new_bmark -> new_bmark 536s * [new branch] branches/new_branch -> branches/new_branch 536s + fffffff...78ad42d bad_bmark1 -> bad_bmark1 (forced update) 536s + fffffff...ece0502 bad_bmark2 -> bad_bmark2 (forced update) 536s + fffffff...12979c3 branches/bad_branch -> branches/bad_branch (forced update) 541s ok 25 - remote big push force dry-run 541s 541s expecting success: 541s test_when_finished "rm -rf hgrepo gitrepo*" && 541s 541s ( 541s hg init hgrepo && 541s cd hgrepo && 541s echo zero > content && 541s hg add content && 541s hg commit -m zero && 541s echo one > content && 541s hg commit -m one 541s ) && 541s 541s ( 541s git clone "hg::hgrepo" gitrepo && 541s cd gitrepo && 541s git reset --hard HEAD^ && 541s echo two > content && 541s git commit -a -m two && 541s test_expect_code 1 git push && 541s test_expect_code 1 git push 541s ) 541s 543s Cloning into 'gitrepo'... 543s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 543s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 543s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 543s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 544s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 544s or locale.getdefaultlocale()[1] 544s adding changesets 544s adding manifests 544s adding file changes 544s added 2 changesets with 2 changes to 1 files 544s new changesets 31818ab24206:beeda742d669 544s progress revision walk 'bookmarks/master' (1/1) 544s progress revision 0 'master' (0/2) 544s HEAD is now at b212875 zero 544s [master 4751608] two 544s Author: A U Thor 544s 1 file changed, 1 insertion(+), 1 deletion(-) 544s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 544s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 544s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 544s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 545s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 545s or locale.getdefaultlocale()[1] 545s no changes found 545s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 545s ! [rejected] master -> master (non-fast-forward) 545s error: failed to push some refs to 'hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo' 545s hint: Updates were rejected because the tip of your current branch is behind 545s hint: its remote counterpart. If you want to integrate the remote changes, 545s hint: use 'git pull' before pushing again. 545s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 545s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 545s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 545s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 545s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 546s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 546s or locale.getdefaultlocale()[1] 546s no changes found 546s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 546s ! [rejected] master -> master (non-fast-forward) 546s error: failed to push some refs to 'hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo' 546s hint: Updates were rejected because the tip of your current branch is behind 546s hint: its remote counterpart. If you want to integrate the remote changes, 546s hint: use 'git pull' before pushing again. 546s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 546s ok 26 - remote double failed push 546s 546s expecting success: 546s test_when_finished "rm -rf gitrepo hgrepo" && 546s 546s ( 546s hg init hgrepo && 546s cd hgrepo && 546s echo zero > content && 546s hg add content && 546s hg commit -m zero && 546s echo feature-a > content && 546s hg commit -m feature-a 546s hg bookmark feature-a 546s ) && 546s 546s git clone "hg::hgrepo" gitrepo && 546s check gitrepo origin/feature-a feature-a && 546s 546s ( 546s cd hgrepo && 546s hg bookmark -d feature-a 546s ) && 546s 546s ( 546s cd gitrepo && 546s git fetch --prune origin 546s git branch -a > out && 546s ! grep feature-a out 546s ) 546s 548s Cloning into 'gitrepo'... 548s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 548s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 549s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 549s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 549s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 549s or locale.getdefaultlocale()[1] 550s adding changesets 550s progress revision walk 'bookmarks/master' (1/1) 550s adding manifests 550s adding file changes 550s adding remote bookmark feature-a 550s added 2 changesets with 2 changes to 1 files 550s new changesets fb4c8049cd27:933631ab40ae 550s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 550s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 550s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 550s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 550s progress revision 0 'master' (0/2) 550s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 550s or locale.getdefaultlocale()[1] 551s no changes found 551s error: refusing to update ref with bad name 'hg/origin/refs/bookmarks/feature-a' 551s From hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 551s - [deleted] (none) -> origin/feature-a 551s ok 27 - fetch prune 551s 551s expecting success: 551s test_when_finished "rm -rf gitrepo hgrepo" && 551s 551s ( 551s hg init hgrepo && 551s cd hgrepo && 551s echo zero > content && 551s hg add content && 551s hg commit -m zero && 551s hg up -r null && 551s echo another > ocontent && 551s hg add ocontent && 551s hg commit -m one 551s ) && 551s 551s # -r 1 acts as master 551s ( 551s git init --bare gitrepo && cd gitrepo && 551s git remote add origin hg::../hgrepo && 551s git fetch origin refs/heads/*:refs/heads/* 551s ) && 551s 551s ( 551s cd hgrepo && 551s hg up 0 && 551s echo two > content && 551s hg commit -m two 551s ) && 551s 551s # now master already exists 551s # -r 2 becomes master head which has rev 0 as ancestor 551s # so when importing (parentless) rev 0, a reset is needed 551s # (to ensure rev 0 is not given a parent commit) 551s ( 551s cd gitrepo && 551s git fetch origin && 551s git log --format="%s" origin/master > ../actual 551s ) && 551s 551s hg -R hgrepo log -r . -f --template "{desc}\n" > expected && 551s test_cmp actual expected 551s 553s 0 files updated, 0 files merged, 1 files removed, 0 files unresolved 554s created new head 554s Initialized empty Git repository in /tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/gitrepo/ 554s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 554s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 554s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 554s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 555s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 555s or locale.getdefaultlocale()[1] 555s adding changesets 555s adding manifests 555s adding file changes 555s added 2 changesets with 2 changes to 2 files (+1 heads) 555s new changesets d8f4fedf3496:b2651df44652 555s WARNING: Branch 'default' has more than one head, consider merging 555s WARNING: Branch 'default' has more than one head, consider merging 555s progress revision 1 'default' (0/1) 555s From hg::../hgrepo 555s * [new branch] branches/default -> branches/default 555s * [new branch] master -> master 555s * [new branch] branches/default -> origin/branches/default 555s * [new branch] master -> origin/master 555s 1 files updated, 0 files merged, 1 files removed, 0 files unresolved 556s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 556s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 556s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 556s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 557s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 557s or locale.getdefaultlocale()[1] 557s searching for changes 557s adding changesets 557s adding manifests 557s adding file changes 557s added 1 changesets with 1 changes to 1 files 557s new changesets a289e1b5a864 557s WARNING: Branch 'default' has more than one head, consider merging 557s progress revision walk 'branches/default' (2/2) 557s progress revision 0 'default' (0/2) 557s From hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 557s + 57c508e...255bec2 branches/default -> origin/branches/default (forced update) 557s + 57c508e...255bec2 master -> origin/master (forced update) 557s ok 28 - fetch multiple independent histories 557s 557s expecting success: 557s test_when_finished "rm -rf gitrepo* hgrepo*" && 557s 557s ( 557s hg init hgrepo && 557s cd hgrepo && 557s echo a > a && 557s hg add a && 557s hg commit -m a && 557s hg bookmark -r null bookmark 557s ) && 557s 557s ( 557s git clone "hg::hgrepo" gitrepo && 557s check gitrepo HEAD a && 557s cd gitrepo && 557s git checkout --quiet -b bookmark && 557s git remote -v && 557s echo b > b && 557s git add b && 557s git commit -m b && 557s git push origin bookmark 557s ) 557s 559s Cloning into 'gitrepo'... 559s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 559s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 559s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 559s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 560s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 560s or locale.getdefaultlocale()[1] 560s adding changesets 560s adding manifests 560s adding file changes 560s adding remote bookmark bookmark 560s added 1 changesets with 1 changes to 1 files 560s new changesets 9495107dec7d 560s WARNING: Ignoring invalid bookmark 'bookmark' 560s progress revision walk 'bookmarks/master' (0/0) 560s progress revision 0 'master' (0/1) 560s origin hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo (fetch) 560s origin hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo (push) 560s [bookmark b1e6ff5] b 560s Author: A U Thor 560s 1 file changed, 1 insertion(+) 560s create mode 100644 b 560s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 560s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 560s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 560s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 561s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 561s or locale.getdefaultlocale()[1] 561s no changes found 561s WARNING: Ignoring invalid bookmark 'bookmark' 561s searching for changes 561s adding changesets 561s adding manifests 561s adding file changes 561s added 1 changesets with 1 changes to 1 files 561s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 561s * [new branch] bookmark -> bookmark 561s ok 29 - clone remote with null bookmark, then push 561s 561s expecting success: 561s test_when_finished "rm -rf hgrepo gitrepo" && 561s 561s ( 561s hg init hgrepo && 561s cd hgrepo && 561s echo one > content && 561s hg add content && 561s hg commit -m one && 561s echo two > content && 561s hg commit -m two 561s ) && 561s 561s git clone "hg::hgrepo" gitrepo && 561s hg -R hgrepo log --template "{node}\n\n" > expected && 561s git --git-dir=gitrepo/.git log --pretty="tformat:%N" --notes=hg > actual && 561s test_cmp expected actual 561s 563s Cloning into 'gitrepo'... 563s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 563s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 563s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 563s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 564s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 564s or locale.getdefaultlocale()[1] 564s adding changesets 564s adding manifests 564s adding file changes 564s added 2 changesets with 2 changes to 1 files 564s new changesets 7dc67f5195fa:4b34d1d6c8d5 564s progress revision walk 'bookmarks/master' (1/1) 564s progress revision 0 'master' (0/2) 565s ok 30 - notes 565s 565s expecting success: 565s test_when_finished "rm -rf hgrepo gitrepo" && 565s 565s ( 565s hg init hgrepo && 565s cd hgrepo && 565s echo one > content && 565s hg add content && 565s hg commit -m one 565s ) && 565s 565s git clone "hg::hgrepo" gitrepo && 565s 565s ( 565s cd gitrepo && 565s echo two > content && 565s git commit -a -m two && 565s git push 565s ) && 565s 565s hg -R hgrepo log --template "{node}\n\n" > expected && 565s git --git-dir=gitrepo/.git log --pretty="tformat:%N" --notes=hg > actual && 565s test_cmp expected actual 565s 566s Cloning into 'gitrepo'... 566s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 566s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 566s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 566s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 567s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 567s or locale.getdefaultlocale()[1] 567s adding changesets 567s adding manifests 567s adding file changes 567s added 1 changesets with 1 changes to 1 files 567s new changesets d94026b40ed9 567s progress revision walk 'bookmarks/master' (0/0) 567s progress revision 0 'master' (0/1) 567s [master dcc96f2] two 567s Author: A U Thor 567s 1 file changed, 1 insertion(+), 1 deletion(-) 567s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 567s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 567s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 567s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 568s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 568s or locale.getdefaultlocale()[1] 568s no changes found 568s searching for changes 568s adding changesets 568s adding manifests 568s adding file changes 568s added 1 changesets with 1 changes to 1 files 568s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 568s fffffff..dcc96f2 master -> master 569s ok 31 - push updates notes 569s 569s expecting success: 569s test_when_finished "rm -rf hgrepo gitrepo" && 569s 569s ( 569s hg init hgrepo && 569s cd hgrepo && 569s echo one > content && 569s hg add content && 569s hg commit -m one 569s ) && 569s 569s git clone "hg::hgrepo" gitrepo && 569s 569s ( 569s cd gitrepo && 569s echo two > content && 569s git commit -a -m two && 569s git push origin master && 569s git branch feature-a && 569s git push origin feature-a 569s ) && 569s 569s check_bookmark hgrepo feature-a two 569s 570s Cloning into 'gitrepo'... 571s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 571s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 571s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 571s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 571s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 571s or locale.getdefaultlocale()[1] 571s adding changesets 571s adding manifests 571s adding file changes 571s added 1 changesets with 1 changes to 1 files 571s new changesets b64358c99b17 571s progress revision walk 'bookmarks/master' (0/0) 571s progress revision 0 'master' (0/1) 572s [master d0a796c] two 572s Author: A U Thor 572s 1 file changed, 1 insertion(+), 1 deletion(-) 572s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 572s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 572s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 572s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 572s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 572s or locale.getdefaultlocale()[1] 572s no changes found 572s searching for changes 572s adding changesets 572s adding manifests 572s adding file changes 572s added 1 changesets with 1 changes to 1 files 572s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 572s fffffff..d0a796c master -> master 573s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 573s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 573s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 573s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 573s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 573s or locale.getdefaultlocale()[1] 573s no changes found 573s 1 local changesets published 573s searching for changes 573s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 573s * [new branch] feature-a -> feature-a 574s ok 32 - push bookmark without changesets 574s 574s expecting success: 574s test_when_finished "rm -rf hgrepo gitrepo" && 574s 574s ( 574s hg init hgrepo && 574s cd hgrepo && 574s echo one > content && 574s hg add content && 574s hg commit -m one 574s ) && 574s 574s git clone "hg::hgrepo" gitrepo && 574s 574s (cd hgrepo && hg tag v1.0) && 574s (cd gitrepo && git pull) && 574s 574s echo "v1.0" > expected && 574s git --git-dir=gitrepo/.git tag > actual && 574s test_cmp expected actual 574s 575s Cloning into 'gitrepo'... 575s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 575s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 575s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 575s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 576s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 576s or locale.getdefaultlocale()[1] 576s adding changesets 576s adding manifests 576s adding file changes 576s added 1 changesets with 1 changes to 1 files 576s new changesets 1cd973a6a70f 576s progress revision walk 'bookmarks/master' (0/0) 576s progress revision 0 'master' (0/1) 577s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 577s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 577s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 577s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 577s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 577s or locale.getdefaultlocale()[1] 577s searching for changes 577s adding changesets 577s adding manifests 577s adding file changes 577s added 1 changesets with 1 changes to 1 files 577s new changesets 30b3dbadadac 577s progress revision 1 'default' (0/1) 577s From hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 577s 4594391..3f62338 master -> origin/master 577s 4594391..3f62338 branches/default -> origin/branches/default 577s * [new tag] v1.0 -> v1.0 578s Updating 4594391..3f62338 578s Fast-forward 578s .hgtags | 1 + 578s 1 file changed, 1 insertion(+) 578s create mode 100644 .hgtags 578s ok 33 - pull tags 578s 578s expecting success: 578s test_when_finished "rm -rf hgrepo gitrepo" && 578s 578s ( 578s hg init hgrepo && 578s cd hgrepo && 578s echo one > content && 578s hg add content && 578s hg commit -m one && 578s hg branch feature && 578s echo two > content && 578s hg commit -m two && 578s hg update default && 578s echo three > content && 578s hg commit -m three 578s ) && 578s 578s ( 578s git clone "hg::hgrepo" gitrepo && 578s cd gitrepo && 578s git merge -m Merge -Xtheirs origin/branches/feature && 578s git push 578s ) && 578s 578s cat > expected <<-EOF && 578s Merge 578s three 578s two 578s one 578s EOF 578s hg -R hgrepo log --template "{desc}\n" > actual && 578s test_cmp expected actual 578s 580s marked working directory as branch feature 580s (branches are permanent and global, did you want a bookmark?) 581s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 581s Cloning into 'gitrepo'... 581s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 581s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 581s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 581s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 582s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 582s or locale.getdefaultlocale()[1] 582s adding changesets 582s adding manifests 582s adding file changes 582s added 3 changesets with 3 changes to 1 files (+1 heads) 582s new changesets 62151b4ab474:14881cab4dc8 582s progress revision walk 'bookmarks/master' (2/2) 582s progress revision 0 'master' (0/2) 582s progress revision 1 'feature' (0/1) 582s Auto-merging content 582s Merge made by the 'ort' strategy. 582s content | 2 +- 582s 1 file changed, 1 insertion(+), 1 deletion(-) 582s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 582s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 582s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 582s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 583s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 583s or locale.getdefaultlocale()[1] 583s no changes found 583s searching for changes 583s adding changesets 583s adding manifests 583s adding file changes 583s added 1 changesets with 1 changes to 1 files (-1 heads) 583s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 583s fffffff..3fd912b master -> master 584s ok 34 - push merged named branch 584s 584s expecting success: 584s test_when_finished "rm -rf hgrepo gitrepo" && 584s 584s ( 584s hg init hgrepo && 584s cd hgrepo && 584s echo one > content && 584s hg add content && 584s hg commit -m one 584s ) && 584s 584s ( 584s git clone "hg::hgrepo" gitrepo && 584s cd gitrepo && 584s git tag v1.0 && 584s git push --tags 584s ) && 584s 584s echo "C O Mitter " > expected && 584s hg -R hgrepo log --template "{author}\n" -r tip > actual && 584s test_cmp expected actual 584s 585s Cloning into 'gitrepo'... 585s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 585s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 585s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 585s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 586s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 586s or locale.getdefaultlocale()[1] 586s adding changesets 586s adding manifests 586s adding file changes 586s added 1 changesets with 1 changes to 1 files 586s new changesets ac1417602063 586s progress revision walk 'bookmarks/master' (0/0) 586s progress revision 0 'master' (0/1) 586s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 586s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 586s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 586s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 587s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 587s or locale.getdefaultlocale()[1] 587s no changes found 587s searching for changes 587s adding changesets 587s adding manifests 587s adding file changes 587s added 1 changesets with 1 changes to 1 files 587s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 587s * [new tag] v1.0 -> v1.0 587s ok 35 - light tag sets author 587s 587s expecting success: 587s test_when_finished "rm -rf hgrepo gitrepo" && 587s 587s ( 587s hg init hgrepo && 587s cd hgrepo && 587s echo one > content && 587s hg add content && 587s hg commit -m one && 587s hg branch feature && 587s echo two > content && 587s hg commit -m two 587s ) && 587s 587s ( 587s git clone "hg::hgrepo" gitrepo && 587s cd gitrepo && 587s git branch && 587s git checkout branches/feature && 587s git tag v1.0 && 587s git push --tags 587s ) && 587s 587s echo feature > expected && 587s hg -R hgrepo log --template="{branch}\n" -r tip > actual && 587s test_cmp expected actual 587s 589s marked working directory as branch feature 589s (branches are permanent and global, did you want a bookmark?) 590s Cloning into 'gitrepo'... 590s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 590s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 590s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 590s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 590s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 590s or locale.getdefaultlocale()[1] 591s adding changesets 591s adding manifests 591s adding file changes 591s added 2 changesets with 2 changes to 1 files 591s new changesets 7c9b54adbd0c:4659c4fd3759 591s progress revision walk 'bookmarks/master' (0/0) 591s progress revision 0 'master' (0/1) 591s progress revision 1 'feature' (0/1) 591s * master 591s Switched to a new branch 'branches/feature' 591s branch 'branches/feature' set up to track 'origin/branches/feature'. 591s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 591s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 591s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 591s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 591s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 591s or locale.getdefaultlocale()[1] 591s no changes found 592s searching for changes 592s adding changesets 592s adding manifests 592s adding file changes 592s added 1 changesets with 1 changes to 1 files 592s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 592s * [new tag] v1.0 -> v1.0 592s ok 36 - push tag different branch 592s 592s expecting success: 592s test_when_finished "rm -rf hgrepo gitrepo" && 592s 592s ( 592s hg init hgrepo && 592s cd hgrepo && 592s 592s echo test > test_file && 592s hg add test_file && 592s hg commit -m add && 592s 592s hg rm test_file && 592s hg commit -m remove 592s ) && 592s 592s git clone "hg::hgrepo" gitrepo && 592s check_files gitrepo 592s 595s Cloning into 'gitrepo'... 595s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 595s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 595s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 595s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 595s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 595s or locale.getdefaultlocale()[1] 595s adding changesets 595s adding manifests 595s adding file changes 595s added 2 changesets with 1 changes to 1 files 595s new changesets 1436b79942d0:cbff159f60aa 595s progress revision walk 'bookmarks/master' (1/1) 595s progress revision 0 'master' (0/2) 595s ok 37 - cloning a removed file works 595s 595s expecting success: 595s test_when_finished "rm -rf hgrepo gitrepo" && 595s 595s ( 595s hg init hgrepo && 595s cd hgrepo && 595s 595s echo test > dir_or_file && 595s hg add dir_or_file && 595s hg commit -m add && 595s 595s hg rm dir_or_file && 595s mkdir dir_or_file && 595s echo test > dir_or_file/test_file && 595s hg add dir_or_file/test_file && 595s hg commit -m replase 595s ) && 595s 595s git clone "hg::hgrepo" gitrepo && 595s check_files gitrepo "dir_or_file/test_file" 595s 598s Cloning into 'gitrepo'... 598s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 598s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 598s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 598s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 599s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 599s or locale.getdefaultlocale()[1] 599s adding changesets 599s adding manifests 599s adding file changes 599s added 2 changesets with 2 changes to 2 files 599s new changesets 7d5d28f612ae:253a17229d40 599s progress revision walk 'bookmarks/master' (1/1) 599s progress revision 0 'master' (0/2) 599s ok 38 - cloning a file replaced with a directory 599s 599s expecting success: 599s test_when_finished "rm -rf hgrepo gitrepo" && 599s 599s ( 599s hg init hgrepo && 599s cd hgrepo && 599s 599s mkdir dir_or_file && 599s echo test > dir_or_file/test_file && 599s hg add dir_or_file/test_file && 599s hg commit -m add && 599s 599s hg rm dir_or_file/test_file && 599s echo test > dir_or_file && 599s hg add dir_or_file && 599s hg commit -m add && 599s 599s hg rm dir_or_file 599s ) && 599s 599s git clone "hg::hgrepo" gitrepo && 599s check_files gitrepo "dir_or_file" 599s 603s Cloning into 'gitrepo'... 603s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 603s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 603s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 603s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 603s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 603s or locale.getdefaultlocale()[1] 603s adding changesets 603s adding manifests 603s adding file changes 603s added 2 changesets with 2 changes to 2 files 603s new changesets cb5a507cadc0:5cd314fddd5a 603s progress revision walk 'bookmarks/master' (1/1) 603s progress revision 0 'master' (0/2) 603s ok 39 - clone replace directory with a file 603s 603s expecting success: 603s test_when_finished "rm -rf hgrepo gitrepo" && 603s 603s ( 603s hg init hgrepo && 603s cd hgrepo && 603s 603s touch test.txt && 603s hg add test.txt && 603s hg commit -m master && 603s hg branch parent && 603s echo test >test.txt && 603s hg commit -m test && 603s hg branch parent/child && 603s echo test1 >test.txt && 603s hg commit -m test1 603s ) && 603s 603s git clone -c remote-hg.ignore-name=child "hg::hgrepo" gitrepo && 603s check_files gitrepo "test.txt" 603s 605s marked working directory as branch parent 605s (branches are permanent and global, did you want a bookmark?) 606s marked working directory as branch parent/child 607s Cloning into 'gitrepo'... 607s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 607s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 607s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 607s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 607s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 607s or locale.getdefaultlocale()[1] 607s adding changesets 607s adding manifests 607s adding file changes 607s added 3 changesets with 3 changes to 1 files 607s new changesets 742c110b099a:d91bf044ce94 607s WARNING: Ignoring matched branch parent/child 607s progress revision walk 'bookmarks/master' (0/0) 607s progress revision 0 'master' (0/1) 607s progress revision 1 'parent' (0/1) 608s ok 40 - clone can ignore invalid refnames 608s 608s expecting success: 608s test_when_finished "rm -rf hgrepo gitrepo" && 608s 608s ( 608s hg init hgrepo && 608s cd hgrepo && 608s echo one > content && 608s hg add content && 608s hg commit -m one 608s ) && 608s 608s ( 608s git clone "hg::hgrepo" gitrepo && 608s cd gitrepo && 608s git tag -m "Version 1.0" v1.0 && 608s git push --tags 608s ) && 608s 608s cat > expected <<-\EOF && 608s tip:Version 1.0:C O Mitter 608s v1.0:one:H G Wells 608s EOF 608s 608s hg -R hgrepo log --template "{tags}:{desc}:{author}\n" > actual && 608s 608s test_cmp expected actual 608s 609s Cloning into 'gitrepo'... 609s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 609s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 609s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 609s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 610s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 610s or locale.getdefaultlocale()[1] 610s adding changesets 610s adding manifests 610s adding file changes 610s added 1 changesets with 1 changes to 1 files 610s new changesets 4d0d9dbb5bd1 610s progress revision walk 'bookmarks/master' (0/0) 610s progress revision 0 'master' (0/1) 610s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 610s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 610s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 610s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 611s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 611s or locale.getdefaultlocale()[1] 611s no changes found 611s searching for changes 611s adding changesets 611s adding manifests 611s adding file changes 611s added 1 changesets with 1 changes to 1 files 611s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 611s * [new tag] v1.0 -> v1.0 612s ok 41 - push annotated tag 612s 612s expecting success: 612s test_when_finished "rm -rf hgrepo gitrepo1 gitrepo2" && 612s 612s hg init hgrepo && 612s 612s ( 612s git clone "hg::hgrepo" gitrepo1 && 612s cd gitrepo1 && 612s echo two >> content && 612s git add content && 612s git commit -m two --date="2016-09-26 00:00:00 -0230" && 612s git push 612s ) && 612s 612s git clone "hg::hgrepo" gitrepo2 && 612s 612s git --git-dir=gitrepo1/.git log -1 --format="%ai" > expected && 612s git --git-dir=gitrepo2/.git log -1 --format="%ai" > actual && 612s test_cmp expected actual 612s 613s Cloning into 'gitrepo1'... 613s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 613s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 613s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 613s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 613s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 613s or locale.getdefaultlocale()[1] 613s no changes found 613s warning: You appear to have cloned an empty repository. 613s [master (root-commit) 9f40cc0] two 613s Author: A U Thor 613s Date: Mon Sep 26 00:00:00 2016 -0230 613s 1 file changed, 1 insertion(+) 613s create mode 100644 content 614s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 614s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 614s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 614s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 614s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 614s or locale.getdefaultlocale()[1] 614s no changes found 614s searching for changes 614s adding changesets 614s adding manifests 614s adding file changes 614s added 1 changesets with 1 changes to 1 files 614s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 614s * [new branch] master -> master 614s Cloning into 'gitrepo2'... 614s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 614s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 614s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 614s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 615s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 615s or locale.getdefaultlocale()[1] 615s adding changesets 615s adding manifests 615s adding file changes 615s added 1 changesets with 1 changes to 1 files 615s new changesets e522f351d13b 615s progress revision walk 'bookmarks/master' (0/0) 615s progress revision 0 'master' (0/1) 615s ok 42 - timezone issues with negative offsets 615s 615s expecting success: 615s test_when_finished "rm -rf hgrepo* gitrepo*" && 615s 615s ( 615s hg init hgrepo && 615s cd hgrepo && 615s echo zero > content && 615s hg add content && 615s hg commit -m zero 615s hg bookmark feature-a 615s ) && 615s 615s git clone "hg::hgrepo" gitrepo && 615s check_bookmark hgrepo feature-a zero && 615s 615s ( 615s cd gitrepo && 615s git push --quiet origin :feature-a 615s ) && 615s 615s check_bookmark hgrepo feature-a 615s 617s Cloning into 'gitrepo'... 617s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 617s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 617s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 617s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 618s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 618s or locale.getdefaultlocale()[1] 618s adding changesets 618s adding manifests 618s adding file changes 618s adding remote bookmark feature-a 618s added 1 changesets with 1 changes to 1 files 618s new changesets 824ed2a2d7df 618s progress revision walk 'bookmarks/master' (0/0) 618s progress revision 0 'master' (0/1) 619s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 619s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 619s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 619s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 619s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 619s or locale.getdefaultlocale()[1] 619s no changes found 619s error: refusing to update ref with bad name 'hg/origin/refs/heads/feature-a' 620s ok 43 - remote delete bookmark 620s 620s expecting success: 620s test_when_finished "rm -rf hgrepo gitrepo" && 620s 620s ( 620s hg init hgrepo && 620s cd hgrepo && 620s echo zero > content && 620s hg add content && 620s hg commit -m zero 620s ) && 620s 620s git clone "hg::hgrepo" gitrepo && 620s 620s ( 620s cd gitrepo && 620s echo one > content && 620s git commit -a -m one && 620s git push --quiet origin master:feature-b && 620s git push --quiet origin master^:refs/heads/feature-a 620s ) && 620s 620s check_bookmark hgrepo feature-a zero && 620s check_bookmark hgrepo feature-b one && 620s 620s ( 620s cd gitrepo && 620s git push --quiet origin master:feature-a 620s ) && 620s 620s check_bookmark hgrepo feature-a one 620s 621s Cloning into 'gitrepo'... 621s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 621s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 621s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 621s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 622s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 622s or locale.getdefaultlocale()[1] 622s adding changesets 622s adding manifests 622s adding file changes 622s added 1 changesets with 1 changes to 1 files 622s new changesets 9129f72a6c0b 622s progress revision walk 'bookmarks/master' (0/0) 622s progress revision 0 'master' (0/1) 622s [master c638779] one 622s Author: A U Thor 622s 1 file changed, 1 insertion(+), 1 deletion(-) 622s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 622s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 622s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 622s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 623s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 623s or locale.getdefaultlocale()[1] 623s no changes found 623s searching for changes 623s adding changesets 623s adding manifests 623s adding file changes 623s added 1 changesets with 1 changes to 1 files 623s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 623s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 623s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 623s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 623s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 623s or locale.getdefaultlocale()[1] 623s no changes found 623s adding remote bookmark feature-b 623s 1 local changesets published 624s searching for changes 625s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 625s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 625s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 625s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 625s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 625s or locale.getdefaultlocale()[1] 625s no changes found 625s adding remote bookmark feature-a 625s searching for changes 626s ok 44 - source:dest bookmark 626s 626s expecting success: 626s test_when_finished "rm -rf gitrepo* hgrepo*" && 626s 626s setup_check_hg_commits_repo && 626s 626s ( 626s cd gitrepo && 626s git fetch origin && 626s git reset --hard origin/master && 626s ! git push second master 2>../error 626s ) 626s 626s cat error && 626s grep rejected error | grep hg 626s 627s Cloning into 'gitrepo'... 628s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 628s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 628s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 628s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 628s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 628s or locale.getdefaultlocale()[1] 628s adding changesets 628s adding manifests 628s adding file changes 628s added 1 changesets with 1 changes to 1 files 628s new changesets 9e34a16416db 628s progress revision walk 'bookmarks/master' (0/0) 628s progress revision 0 'master' (0/1) 629s updating to branch default 629s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 629s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 629s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 629s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 629s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 630s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 630s or locale.getdefaultlocale()[1] 630s no changes found 630s progress revision walk 'branches/default' (0/0) 630s progress revision 0 'default' (0/1) 630s From hg::../hgrepo.second 630s * [new branch] branches/default -> second/branches/default 630s * [new branch] master -> second/master 634s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 634s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 634s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 634s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 634s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 634s or locale.getdefaultlocale()[1] 634s searching for changes 634s adding changesets 634s adding manifests 634s adding file changes 634s added 5 changesets with 5 changes to 2 files 634s new changesets f69a9e996d44:c50373a0cf03 634s progress revision 1 'default' (0/5) 634s From hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 634s 4ffe879..bf95263 master -> origin/master 634s 4ffe879..bf95263 branches/default -> origin/branches/default 635s HEAD is now at bf95263 restored 635s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 635s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 635s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 635s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 635s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 635s or locale.getdefaultlocale()[1] 635s no changes found 635s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo.second 635s ! [remote rejected] master -> master (rejected not pushing hg based commit f78a2eaa0d840b72989ac8ba048698cb39611f05) 635s error: failed to push some refs to 'hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo.second' 635s ! [remote rejected] master -> master (rejected not pushing hg based commit f78a2eaa0d840b72989ac8ba048698cb39611f05) 635s ok 45 - check-hg-commits with fail mode 635s 635s expecting success: 635s check_hg_commits_push 635s 637s Cloning into 'gitrepo'... 637s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 637s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 637s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 637s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 637s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 637s or locale.getdefaultlocale()[1] 638s progress revision walk 'bookmarks/master' (0/0) 638s progress revision 0 'master' (0/1) 638s updating to branch default 638s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 638s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 638s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 638s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 638s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 639s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 639s or locale.getdefaultlocale()[1] 639s progress revision walk 'branches/default' (0/0) 639s progress revision 0 'default' (0/1) 639s From hg::../hgrepo.second 639s * [new branch] branches/default -> second/branches/default 639s * [new branch] master -> second/master 643s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 643s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 643s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 643s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 643s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 643s or locale.getdefaultlocale()[1] 643s progress revision 1 'default' (0/5) 643s From hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 643s b7f7cef..a9cbb1a master -> origin/master 643s b7f7cef..a9cbb1a branches/default -> origin/branches/default 643s HEAD is now at a9cbb1a restored 644s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 644s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 644s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 644s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 644s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 644s or locale.getdefaultlocale()[1] 644s WARNING: Pushing hg changeset 4fa9ceac081807c62570f4ddeea200219da69d74 for 2cb1e2385b46256ef35b41a5b5b9ebb705ead552 644s WARNING: Pushing hg changeset 724ef63feb4a07f72ce852c4bb637a89d2c611ee for 45f5bf5025a5f129cc270a906e2648f385887a80 644s WARNING: Pushing hg changeset a1e16b9c4892815a0a32972d3aec01c05644b459 for d21e95aa36a2f2a76b0d8dde4e28ab09b4d5c181 644s WARNING: Pushing hg changeset 3e7e1acd9c35891f845b802f8ec98d18c4ed2a1f for 7511cf9b68a9191616b91795c7f2fa4397541958 644s WARNING: Pushing hg changeset 6b99b8b4c4f045cee81789fffa11345a992d501f for a9cbb1a3dfd3a1b7b966e655798a6163046bcb11 644s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo.second 644s fffffff..a9cbb1a master -> master 644s WARNING: Pushing hg changeset 4fa9ceac081807c62570f4ddeea200219da69d74 for 2cb1e2385b46256ef35b41a5b5b9ebb705ead552 644s WARNING: Pushing hg changeset 724ef63feb4a07f72ce852c4bb637a89d2c611ee for 45f5bf5025a5f129cc270a906e2648f385887a80 644s WARNING: Pushing hg changeset a1e16b9c4892815a0a32972d3aec01c05644b459 for d21e95aa36a2f2a76b0d8dde4e28ab09b4d5c181 644s WARNING: Pushing hg changeset 3e7e1acd9c35891f845b802f8ec98d18c4ed2a1f for 7511cf9b68a9191616b91795c7f2fa4397541958 644s WARNING: Pushing hg changeset 6b99b8b4c4f045cee81789fffa11345a992d501f for a9cbb1a3dfd3a1b7b966e655798a6163046bcb11 646s ok 46 - check-hg-commits with push mode - no local proxy 646s 646s expecting success: 646s check_hg_commits_push 646s 647s Cloning into 'gitrepo'... 647s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 647s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 647s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 647s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 648s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 648s or locale.getdefaultlocale()[1] 648s adding changesets 648s adding manifests 648s adding file changes 648s added 1 changesets with 1 changes to 1 files 648s new changesets f09ef5dabdf3 648s progress revision walk 'bookmarks/master' (0/0) 648s progress revision 0 'master' (0/1) 648s updating to branch default 648s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 649s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 649s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 649s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 649s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 649s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 649s or locale.getdefaultlocale()[1] 649s no changes found 649s progress revision walk 'branches/default' (0/0) 649s progress revision 0 'default' (0/1) 649s From hg::../hgrepo.second 649s * [new branch] branches/default -> second/branches/default 649s * [new branch] master -> second/master 653s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 653s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 653s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 653s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 654s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 654s or locale.getdefaultlocale()[1] 654s searching for changes 654s adding changesets 654s adding manifests 654s adding file changes 654s added 5 changesets with 5 changes to 2 files 654s new changesets 98dc6f7a23fa:44dc3604a608 654s progress revision 1 'default' (0/5) 654s From hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo 654s 774b472..57f1504 master -> origin/master 654s 774b472..57f1504 branches/default -> origin/branches/default 654s HEAD is now at 57f1504 restored 655s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 655s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 655s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 655s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 655s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 655s or locale.getdefaultlocale()[1] 655s no changes found 655s WARNING: Using hg changeset 98dc6f7a23fa304cbfc29e6353a1bdb69a6515f8 for ee500b049b3c595fd5ddd9dd076bb7895eda2898 655s WARNING: Using hg changeset 8492a25efb67f90522768ade479d29ab6a430640 for 2e36ed60c7af0bf5c2d56c3c622af74499435628 655s WARNING: Using hg changeset e19a4fe241c615b0a3f9a8990db86faea81d6d69 for 505250ac227dbf06d6accc7b1afe0f502d518293 655s WARNING: Using hg changeset 6790d60b62a06654184b0341ee4bd9b0f0f790aa for 8ffadb5195851bdb57c310ef391aa93c847d8dcb 655s WARNING: Using hg changeset 44dc3604a608d32a8f83c584c6f4020987f0393b for 57f15044ecd6ee6f4c637dc7341b269906774a04 655s searching for changes 655s adding changesets 655s adding manifests 655s adding file changes 655s added 5 changesets with 5 changes to 2 files 655s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/hgrepo.second 655s fffffff..57f1504 master -> master 655s WARNING: Using hg changeset 98dc6f7a23fa304cbfc29e6353a1bdb69a6515f8 for ee500b049b3c595fd5ddd9dd076bb7895eda2898 655s WARNING: Using hg changeset 8492a25efb67f90522768ade479d29ab6a430640 for 2e36ed60c7af0bf5c2d56c3c622af74499435628 655s WARNING: Using hg changeset e19a4fe241c615b0a3f9a8990db86faea81d6d69 for 505250ac227dbf06d6accc7b1afe0f502d518293 655s WARNING: Using hg changeset 6790d60b62a06654184b0341ee4bd9b0f0f790aa for 8ffadb5195851bdb57c310ef391aa93c847d8dcb 655s WARNING: Using hg changeset 44dc3604a608d32a8f83c584c6f4020987f0393b for 57f15044ecd6ee6f4c637dc7341b269906774a04 656s ok 47 - check-hg-commits with push mode - with local proxy 656s 656s expecting success: 656s test_when_finished "rm -rf gitrepo* hgrepo*" && 656s 656s setup_check_shared_marks_repo && 656s 656s ( 656s cd gitrepo && 656s check_marks .git/hg y && 656s check_marks .git/hg/origin n && 656s check_marks .git/hg/second n 656s ) 656s 658s Cloning into 'gitrepo'... 658s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 658s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 658s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 658s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 658s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 658s or locale.getdefaultlocale()[1] 658s adding changesets 658s adding manifests 658s adding file changes 658s added 1 changesets with 1 changes to 1 files 658s new changesets 69050107ec1b 658s progress revision walk 'bookmarks/master' (0/0) 658s progress revision 0 'master' (0/1) 659s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 659s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 659s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 659s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 659s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 659s or locale.getdefaultlocale()[1] 659s no changes found 659s From hg::../hgrepo 659s * [new branch] branches/default -> second/branches/default 659s * [new branch] master -> second/master 659s total 28 659s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 17:31 . 659s drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 18 17:31 .. 659s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 17:31 .hg 659s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 17:31 marks-git 659s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 17:31 marks-hg 659s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 origin 659s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 second 659s total 16 659s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 . 659s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 17:31 .. 659s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 17:31 clone 659s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 refs 659s total 16 659s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 . 659s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 17:31 .. 659s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 17:31 clone 659s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 refs 659s ok 48 - shared-marks unset 659s 659s expecting success: 659s test_when_finished "rm -rf gitrepo* hgrepo*" && 659s 659s git config --global remote-hg.shared-marks true && 659s setup_check_shared_marks_repo && 659s 659s ( 659s cd gitrepo && 659s check_marks .git/hg y && 659s check_marks .git/hg/origin n && 659s check_marks .git/hg/second n 659s ) && 659s 659s git config --global remote-hg.shared-marks false && 659s ( 659s cd gitrepo && 659s git fetch origin && 659s check_marks .git/hg n && 659s check_marks .git/hg/origin y && 659s check_marks .git/hg/second y 659s ) 659s 661s Cloning into 'gitrepo'... 661s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 661s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 661s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 661s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 661s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 661s or locale.getdefaultlocale()[1] 661s adding changesets 661s adding manifests 661s adding file changes 661s added 1 changesets with 1 changes to 1 files 661s new changesets 25c034d0e5ed 661s progress revision walk 'bookmarks/master' (0/0) 661s progress revision 0 'master' (0/1) 662s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 662s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 662s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 662s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 662s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 662s or locale.getdefaultlocale()[1] 662s no changes found 662s From hg::../hgrepo 662s * [new branch] branches/default -> second/branches/default 662s * [new branch] master -> second/master 663s total 28 663s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 17:31 . 663s drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 18 17:31 .. 663s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 17:31 .hg 663s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 17:31 marks-git 663s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 17:31 marks-hg 663s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 origin 663s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 second 663s total 16 663s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 . 663s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 17:31 .. 663s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 17:31 clone 663s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 refs 663s total 16 663s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 . 663s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 17:31 .. 663s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 17:31 clone 663s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 refs 663s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 663s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 663s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 663s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 663s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 663s or locale.getdefaultlocale()[1] 663s WARNING: seeded marks of origin with shared; performing gc 664s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 664s or locale.getdefaultlocale()[1] 664s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 664s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 664s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 664s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 664s ERROR: found both .git/hg/origin/marks-git and .git/hg/marks-git 664s WARNING: gc for origin failed 664s WARNING: seeded marks of second with shared; performing gc 665s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 665s or locale.getdefaultlocale()[1] 665s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 665s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 665s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 665s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 665s Loading hg marks ... 665s Loading git marks ... 665s Performing garbage collection on git commits ... 665s Computing marks intersection ... 665s Including notes commits ... 665s Writing hg marks ... 665s Writing git marks ... 665s no changes found 665s total 20 665s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 17:31 . 665s drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 18 17:31 .. 665s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 17:31 .hg 665s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 origin 665s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 second 665s total 24 665s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 . 665s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 17:31 .. 665s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 17:31 clone 665s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 17:31 marks-git 665s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 17:31 marks-hg 665s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 refs 665s total 20 665s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 . 665s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 17:31 .. 665s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 17:31 clone 665s -rw-rw-r-- 1 ubuntu ubuntu 0 Oct 18 17:31 marks-git 665s -rw-rw-r-- 1 ubuntu ubuntu 71 Oct 18 17:31 marks-hg 665s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 refs 665s ok 49 - shared-marks set to unset 665s 665s expecting success: 665s test_when_finished "rm -rf gitrepo* hgrepo*" && 665s 665s git config --global remote-hg.shared-marks false && 665s setup_check_shared_marks_repo && 665s 665s ( 665s cd gitrepo && 665s check_marks .git/hg n && 665s check_marks .git/hg/origin y && 665s check_marks .git/hg/second y 665s ) && 665s 665s git config --global --unset remote-hg.shared-marks && 665s ( 665s cd gitrepo && 665s git fetch origin && 665s check_marks .git/hg n && 665s check_marks .git/hg/origin y && 665s check_marks .git/hg/second y 665s ) && 665s 665s git config --global remote-hg.shared-marks true && 665s ( 665s cd gitrepo && 665s git fetch origin && 665s check_marks .git/hg y && 665s check_marks .git/hg/origin n && 665s check_marks .git/hg/second n 665s ) 665s 667s Cloning into 'gitrepo'... 667s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 667s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 667s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 667s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 667s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 667s or locale.getdefaultlocale()[1] 667s adding changesets 667s adding manifests 667s adding file changes 667s added 1 changesets with 1 changes to 1 files 667s new changesets 110330d92da7 667s progress revision walk 'bookmarks/master' (0/0) 667s progress revision 0 'master' (0/1) 668s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 668s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 668s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 668s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 668s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 668s or locale.getdefaultlocale()[1] 668s no changes found 668s progress revision walk 'branches/default' (0/0) 668s progress revision 0 'default' (0/1) 668s From hg::../hgrepo 668s * [new branch] branches/default -> second/branches/default 668s * [new branch] master -> second/master 668s total 20 668s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 17:31 . 668s drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 18 17:31 .. 668s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 17:31 .hg 668s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 origin 668s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 second 668s total 24 668s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 . 668s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 17:31 .. 668s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 17:31 clone 668s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 17:31 marks-git 668s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 17:31 marks-hg 668s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 refs 668s total 24 668s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 . 668s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 17:31 .. 668s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 17:31 clone 668s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 17:31 marks-git 668s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 17:31 marks-hg 668s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 refs 669s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 669s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 669s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 669s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 669s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 669s or locale.getdefaultlocale()[1] 669s no changes found 669s total 20 669s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 17:31 . 669s drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 18 17:31 .. 669s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 17:31 .hg 669s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 origin 669s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 second 669s total 24 669s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 . 669s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 17:31 .. 669s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 17:31 clone 669s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 17:31 marks-git 669s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 17:31 marks-hg 669s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 refs 669s total 24 669s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 . 669s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 17:31 .. 669s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 17:31 clone 669s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 17:31 marks-git 669s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 17:31 marks-hg 669s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 refs 669s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 669s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 669s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 669s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 670s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 670s or locale.getdefaultlocale()[1] 670s WARNING: using marks of remote origin as shared marks 670s no changes found 670s total 28 670s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 17:31 . 670s drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 18 17:31 .. 670s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 17:31 .hg 670s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 17:31 marks-git 670s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 17:31 marks-hg 670s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 origin 670s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 second 670s total 16 670s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 . 670s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 17:31 .. 670s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 17:31 clone 670s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 refs 670s total 16 670s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 . 670s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 17:31 .. 670s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 17:31 clone 670s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 17:31 refs 670s ok 50 - shared-marks unset to set 670s 670s expecting success: 670s test_when_finished "rm -rf hgrepo gitrepo*" && 670s 670s hg init hgrepo && 670s 670s ( 670s git init gitrepo && 670s cd gitrepo && 670s git remote add origin "hg::../hgrepo" && 670s echo one > content && 670s chmod a+x content && 670s git add content && 670s git commit -a -m one && 670s git mv content content2 && 670s git commit -a -m two && 670s git push origin master 670s ) && 670s 670s ( 670s umask 0 && 670s cd hgrepo && 670s hg update && 670s stat content2 >expected && 670s grep -- -r.xr.xr.x expected 670s ) 670s 671s Initialized empty Git repository in /tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/gitrepo/.git/ 671s [master (root-commit) 5913097] one 671s Author: A U Thor 671s 1 file changed, 1 insertion(+) 671s create mode 100755 content 671s [master cbb24bc] two 671s Author: A U Thor 671s 1 file changed, 0 insertions(+), 0 deletions(-) 671s rename content => content2 (100%) 671s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 671s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 671s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 671s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 671s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 671s or locale.getdefaultlocale()[1] 671s no changes found 671s searching for changes 671s adding changesets 671s adding manifests 671s adding file changes 671s added 2 changesets with 2 changes to 2 files 671s To hg::../hgrepo 671s * [new branch] master -> master 672s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 672s Access: (0777/-rwxrwxrwx) Uid: ( 1000/ ubuntu) Gid: ( 1000/ ubuntu) 672s ok 51 - push with renamed executable preserves executable bit 672s 672s expecting success: 672s test_when_finished "rm -rf sub hgrepo gitrepo*" && 672s 672s hg init hgrepo && 672s 672s ( 672s git init sub && 672s cd sub && 672s : >empty && 672s git add empty && 672s git commit -m init 672s ) && 672s 672s ( 672s git init gitrepo && 672s cd gitrepo && 672s git submodule add ../sub sub && 672s git remote add origin "hg::../hgrepo" && 672s git commit -a -m sub && 672s git push origin master 672s ) && 672s 672s ( 672s cd hgrepo && 672s hg update && 672s expected="[git-remote-hg: skipped import of submodule at $(git -C ../sub rev-parse HEAD)]" 672s test "$expected" = "$(cat sub)" 672s ) 672s 673s Initialized empty Git repository in /tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/sub/.git/ 673s [master (root-commit) be983cd] init 673s Author: A U Thor 673s 1 file changed, 0 insertions(+), 0 deletions(-) 673s create mode 100644 empty 673s Initialized empty Git repository in /tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/gitrepo/.git/ 673s Cloning into '/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.main-push/tmp/gitrepo/sub'... 673s done. 673s [master (root-commit) c56d720] sub 673s Author: A U Thor 673s 2 files changed, 4 insertions(+) 673s create mode 100644 .gitmodules 673s create mode 160000 sub 673s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 673s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 673s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 673s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 673s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 673s or locale.getdefaultlocale()[1] 673s no changes found 674s searching for changes 674s adding changesets 674s adding manifests 674s adding file changes 674s added 1 changesets with 2 changes to 2 files 674s To hg::../hgrepo 674s * [new branch] master -> master 674s 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 674s ok 52 - push with submodule 674s 674s # passed all 52 test(s) 674s 1..52 674s /bin/sh bidi.t --verbose 674s expecting success: 674s test_when_finished "rm -rf gitrepo* hgrepo*" && 674s 674s ( 674s git init -q gitrepo && 674s cd gitrepo && 674s 674s echo alpha > alpha && 674s git add alpha && 674s git commit -m "add älphà" && 674s 674s GIT_AUTHOR_NAME="tést èncödîng" && 674s export GIT_AUTHOR_NAME && 674s echo beta > beta && 674s git add beta && 674s git commit -m "add beta" && 674s 674s echo gamma > gamma && 674s git add gamma && 674s git commit -m "add gämmâ" && 674s 674s : TODO git config i18n.commitencoding latin-1 && 674s echo delta > delta && 674s git add delta && 674s git commit -m "add déltà" 674s ) && 674s 674s hg_clone gitrepo hgrepo && 674s git_clone hgrepo gitrepo2 && 674s hg_clone gitrepo2 hgrepo2 && 674s 674s HGENCODING=utf-8 hg_log hgrepo > expected && 674s HGENCODING=utf-8 hg_log hgrepo2 > actual && 674s 674s test_cmp expected actual 674s 674s [master (root-commit) 79c6ce2] add älphà 674s Author: A U Thor 674s 1 file changed, 1 insertion(+) 674s create mode 100644 alpha 674s [master 68b42de] add beta 674s Author: tést èncödîng 674s 1 file changed, 1 insertion(+) 674s create mode 100644 beta 674s [master 8ee0762] add gämmâ 674s Author: tést èncödîng 674s 1 file changed, 1 insertion(+) 674s create mode 100644 gamma 674s [master 3b0b48f] add déltà 674s Author: tést èncödîng 674s 1 file changed, 1 insertion(+) 674s create mode 100644 delta 675s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 675s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 675s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 675s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 675s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 675s or locale.getdefaultlocale()[1] 676s no changes found 676s searching for changes 676s adding changesets 676s adding manifests 676s adding file changes 676s added 4 changesets with 4 changes to 4 files 676s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 676s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 676s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 676s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 677s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 677s or locale.getdefaultlocale()[1] 677s adding changesets 677s adding manifests 677s adding file changes 677s added 4 changesets with 4 changes to 4 files 677s new changesets 1e3e49d2cc8f:6674f1c866b5 677s progress revision walk 'bookmarks/master' (3/3) 677s progress revision 0 'master' (0/4) 678s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 678s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 678s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 678s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 678s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 678s or locale.getdefaultlocale()[1] 678s searching for changes 678s no changes found 678s searching for changes 678s adding changesets 678s adding manifests 678s adding file changes 678s added 4 changesets with 4 changes to 4 files 680s ok 1 - encoding 680s 680s expecting success: 680s test_when_finished "rm -rf gitrepo* hgrepo*" && 680s 680s ( 680s git init -q gitrepo && 680s cd gitrepo && 680s echo alpha > alpha && 680s git add alpha && 680s git commit -m "add alpha" && 680s echo beta > beta && 680s git add beta && 680s git commit -m "add beta" 680s mkdir foo && 680s echo blah > foo/bar && 680s git add foo && 680s git commit -m "add foo" && 680s git rm alpha && 680s git commit -m "remove alpha" && 680s git rm foo/bar && 680s git commit -m "remove foo/bar" 680s ) && 680s 680s hg_clone gitrepo hgrepo && 680s git_clone hgrepo gitrepo2 && 680s hg_clone gitrepo2 hgrepo2 && 680s 680s hg_log hgrepo > expected && 680s hg_log hgrepo2 > actual && 680s 680s test_cmp expected actual 680s 680s [master (root-commit) 223a6f6] add alpha 680s Author: A U Thor 680s 1 file changed, 1 insertion(+) 680s create mode 100644 alpha 680s [master 862befc] add beta 680s Author: A U Thor 680s 1 file changed, 1 insertion(+) 680s create mode 100644 beta 680s [master 86bf00d] add foo 680s Author: A U Thor 680s 1 file changed, 1 insertion(+) 680s create mode 100644 foo/bar 680s rm 'alpha' 680s [master 74dc957] remove alpha 680s Author: A U Thor 680s 1 file changed, 1 deletion(-) 680s delete mode 100644 alpha 680s rm 'foo/bar' 680s [master ea36818] remove foo/bar 680s Author: A U Thor 680s 1 file changed, 1 deletion(-) 680s delete mode 100644 foo/bar 681s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 681s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 681s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 681s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 681s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 681s or locale.getdefaultlocale()[1] 681s no changes found 681s searching for changes 681s adding changesets 681s adding manifests 681s adding file changes 681s added 5 changesets with 3 changes to 3 files 682s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 682s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 682s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 682s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 683s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 683s or locale.getdefaultlocale()[1] 683s adding changesets 683s adding manifests 683s adding file changes 683s added 5 changesets with 3 changes to 3 files 683s new changesets 362b656574c3:54f595cbdf1f 683s progress revision walk 'bookmarks/master' (4/4) 683s progress revision 0 'master' (0/5) 683s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 683s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 683s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 683s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 684s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 684s or locale.getdefaultlocale()[1] 684s searching for changes 684s no changes found 684s searching for changes 684s adding changesets 684s adding manifests 684s adding file changes 684s added 5 changesets with 3 changes to 3 files 686s ok 2 - file removal 686s 686s expecting success: 686s test_when_finished "rm -rf gitrepo* hgrepo*" && 686s 686s ( 686s git init -q gitrepo && 686s cd gitrepo && 686s git config receive.denyCurrentBranch ignore && 686s echo alpha > alpha && 686s git add alpha && 686s git commit -m "add alpha" && 686s git tag alpha && 686s 686s echo beta > beta && 686s git add beta && 686s git commit -m "add beta" && 686s git tag -a -m "added tag beta" beta 686s ) && 686s 686s hg_clone gitrepo hgrepo && 686s git_clone hgrepo gitrepo2 && 686s hg_clone gitrepo2 hgrepo2 && 686s 686s hg_log hgrepo > expected && 686s hg_log hgrepo2 > actual && 686s 686s test_cmp expected actual 686s 686s [master (root-commit) 223a6f6] add alpha 686s Author: A U Thor 686s 1 file changed, 1 insertion(+) 686s create mode 100644 alpha 686s [master 862befc] add beta 686s Author: A U Thor 686s 1 file changed, 1 insertion(+) 686s create mode 100644 beta 686s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 686s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 686s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 686s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 687s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 687s or locale.getdefaultlocale()[1] 687s no changes found 687s searching for changes 687s adding changesets 687s adding manifests 687s adding file changes 687s added 2 changesets with 2 changes to 2 files 687s searching for changes 687s searching for changes 688s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 688s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 688s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 688s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 688s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 688s or locale.getdefaultlocale()[1] 688s adding changesets 688s adding manifests 688s adding file changes 688s added 2 changesets with 2 changes to 2 files 688s new changesets 362b656574c3:7cd99375c843 688s progress revision walk 'bookmarks/master' (1/1) 688s progress revision 0 'master' (0/2) 689s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 689s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 689s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 689s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 690s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 690s or locale.getdefaultlocale()[1] 690s searching for changes 690s no changes found 690s searching for changes 690s adding changesets 690s adding manifests 690s adding file changes 690s added 2 changesets with 2 changes to 2 files 691s ok 3 - git tags 691s 691s expecting success: 691s test_when_finished "rm -rf gitrepo* hgrepo*" && 691s 691s ( 691s git init -q gitrepo && 691s cd gitrepo && 691s 691s echo alpha > alpha && 691s git add alpha && 691s git commit -q -m "add alpha" && 691s git checkout -q -b not-master 691s ) && 691s 691s ( 691s hg_clone gitrepo hgrepo && 691s 691s cd hgrepo && 691s hg -q co default && 691s hg mv alpha beta && 691s hg -q commit -m "rename alpha to beta" && 691s hg branch gamma | grep -v "permanent and global" && 691s hg -q commit -m "started branch gamma" 691s ) && 691s 691s hg_push hgrepo gitrepo && 691s hg_clone gitrepo hgrepo2 && 691s 691s : Back to the common revision && 691s (cd hgrepo && hg checkout default) && 691s 691s # fetch does not affect phase, but pushing now does 691s hg_log hgrepo | grep -v phase > expected && 691s hg_log hgrepo2 | grep -v phase > actual && 691s 691s test_cmp expected actual 691s 692s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 692s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 692s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 692s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 692s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 692s or locale.getdefaultlocale()[1] 692s no changes found 692s searching for changes 693s adding changesets 693s adding manifests 693s adding file changes 693s added 1 changesets with 1 changes to 1 files 693s searching for changes 695s marked working directory as branch gamma 696s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 696s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 696s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 696s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 696s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 696s or locale.getdefaultlocale()[1] 697s searching for changes 697s adding changesets 697s adding manifests 697s adding file changes 697s adding remote bookmark not-master 697s added 2 changesets with 1 changes to 1 files 697s new changesets 5889597089fe:3320583a8de0 697s 1 local changesets published 697s progress revision 1 'default' (0/1) 697s progress revision 2 'gamma' (0/1) 697s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 697s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 697s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 697s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 698s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 698s or locale.getdefaultlocale()[1] 698s searching for changes 698s no changes found 698s searching for changes 698s adding changesets 698s adding manifests 698s adding file changes 698s added 2 changesets with 2 changes to 2 files 698s searching for changes 698s adding changesets 698s adding manifests 698s adding file changes 698s added 1 changesets with 0 changes to 0 files 698s searching for changes 698s searching for changes 699s 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 700s ok 4 - hg branch 700s 700s expecting success: 700s test_when_finished "rm -rf gitrepo* hgrepo*" && 700s 700s ( 700s git init -q gitrepo && 700s cd gitrepo && 700s 700s echo alpha > alpha && 700s git add alpha && 700s git commit -m "add alpha" && 700s git checkout -q -b not-master 700s ) && 700s 700s ( 700s hg_clone gitrepo hgrepo && 700s 700s cd hgrepo && 700s hg co default && 700s hg tag alpha 700s ) && 700s 700s hg_push hgrepo gitrepo && 700s # pushing a fetched tag is a problem ... 700s { hg_clone gitrepo hgrepo2 || true ; } && 700s 700s # fetch does not affect phase, but pushing now does 700s hg_log hgrepo | grep -v phase > expected && 700s hg_log hgrepo2 | grep -v phase > actual && 700s 700s test_cmp expected actual 700s 700s [master (root-commit) 223a6f6] add alpha 700s Author: A U Thor 700s 1 file changed, 1 insertion(+) 700s create mode 100644 alpha 701s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 701s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 701s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 701s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 701s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 701s or locale.getdefaultlocale()[1] 701s no changes found 701s searching for changes 701s adding changesets 701s adding manifests 701s adding file changes 701s added 1 changesets with 1 changes to 1 files 701s searching for changes 702s 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 703s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 703s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 703s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 703s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 704s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 704s or locale.getdefaultlocale()[1] 704s searching for changes 704s adding changesets 704s adding manifests 704s adding file changes 704s adding remote bookmark not-master 704s added 1 changesets with 1 changes to 1 files 704s new changesets 16869bbe54be 704s 1 local changesets published 704s progress revision 1 'default' (0/1) 705s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 705s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 705s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 705s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 705s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 705s or locale.getdefaultlocale()[1] 705s searching for changes 705s no changes found 705s searching for changes 705s adding changesets 705s adding manifests 705s adding file changes 705s added 2 changesets with 2 changes to 2 files 705s searching for changes 705s searching for changes 705s To hg::../hgrepo2 705s * [new branch] branches/default -> branches/default 705s * [new branch] master -> master 705s * [new branch] not-master -> not-master 705s ! [rejected] alpha -> alpha (already exists) 705s error: failed to push some refs to 'hg::../hgrepo2' 705s hint: Updates were rejected because the tag already exists in the remote. 707s ok 5 - hg tags 707s 707s expecting success: 707s test_when_finished "rm -rf gitrepo* hgrepo*" && 707s 707s ( 707s git init -q gitrepo && 707s cd gitrepo && 707s 707s echo alpha > alpha && 707s git add alpha && 707s git commit -m "add alpha" --date="2007-01-01 00:00:00 +0000" && 707s 707s echo beta > beta && 707s git add beta && 707s git commit -m "add beta" --date="2007-01-01 00:00:00 +0100" && 707s 707s echo gamma > gamma && 707s git add gamma && 707s git commit -m "add gamma" --date="2007-01-01 00:00:00 -0100" && 707s 707s echo delta > delta && 707s git add delta && 707s git commit -m "add delta" --date="2007-01-01 00:00:00 +0130" && 707s 707s echo epsilon > epsilon && 707s git add epsilon && 707s git commit -m "add epsilon" --date="2007-01-01 00:00:00 -0130" 707s ) && 707s 707s hg_clone gitrepo hgrepo && 707s git_clone hgrepo gitrepo2 && 707s hg_clone gitrepo2 hgrepo2 && 707s 707s hg_log hgrepo > expected && 707s hg_log hgrepo2 > actual && 707s 707s test_cmp expected actual 707s 707s [master (root-commit) a663549] add alpha 707s Author: A U Thor 707s Date: Mon Jan 1 00:00:00 2007 +0000 707s 1 file changed, 1 insertion(+) 707s create mode 100644 alpha 707s [master ea3e397] add beta 707s Author: A U Thor 707s Date: Mon Jan 1 00:00:00 2007 +0100 707s 1 file changed, 1 insertion(+) 707s create mode 100644 beta 707s [master d7a1343] add gamma 707s Author: A U Thor 707s Date: Mon Jan 1 00:00:00 2007 -0100 707s 1 file changed, 1 insertion(+) 707s create mode 100644 gamma 707s [master 79cd3e4] add delta 707s Author: A U Thor 707s Date: Mon Jan 1 00:00:00 2007 +0130 707s 1 file changed, 1 insertion(+) 707s create mode 100644 delta 707s [master f12dbdf] add epsilon 707s Author: A U Thor 707s Date: Mon Jan 1 00:00:00 2007 -0130 707s 1 file changed, 1 insertion(+) 707s create mode 100644 epsilon 707s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 707s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 707s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 707s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 708s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 708s or locale.getdefaultlocale()[1] 708s no changes found 708s searching for changes 708s adding changesets 708s adding manifests 708s adding file changes 708s added 5 changesets with 5 changes to 5 files 709s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 709s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 709s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 709s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 709s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 709s or locale.getdefaultlocale()[1] 709s adding changesets 709s adding manifests 709s adding file changes 709s added 5 changesets with 5 changes to 5 files 709s new changesets 87c8f82b00d0:21e96c99dac4 709s progress revision walk 'bookmarks/master' (4/4) 709s progress revision 0 'master' (0/5) 710s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 710s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 710s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 710s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 710s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 710s or locale.getdefaultlocale()[1] 711s searching for changes 711s no changes found 711s searching for changes 711s adding changesets 711s adding manifests 711s adding file changes 711s added 5 changesets with 5 changes to 5 files 712s ok 6 - test timezones 712s 712s # passed all 6 test(s) 712s 1..6 712s /bin/sh helper.t --verbose 712s expecting success: 712s test_when_finished "rm -rf gitrepo* hgrepo*" && 712s 712s setup_repos && 712s 712s ( 712s cd gitrepo && 712s test_expect_code 2 git-hg-helper help 2> ../help 712s ) 712s # remotes should be in help output 712s grep origin help 712s 714s Cloning into 'gitrepo'... 714s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 714s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 714s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 714s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 714s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 714s or locale.getdefaultlocale()[1] 715s adding changesets 715s adding manifests 715s adding file changes 715s added 1 changesets with 1 changes to 1 files 715s new changesets 1ffcf24b907c 715s progress revision walk 'bookmarks/master' (0/0) 715s progress revision 0 'master' (0/1) 716s origin 716s ok 1 - subcommand help 716s 716s expecting success: 716s test_when_finished "rm -rf gitrepo* hgrepo*" && 716s 716s setup_repos && 716s 716s ( 716s cd hgrepo && 716s pwd >../expected 716s ) && 716s 716s ( 716s cd gitrepo && 716s git-hg-helper repo origin > ../actual 716s ) && 716s 716s test_cmp expected actual 716s 717s Cloning into 'gitrepo'... 717s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 717s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 717s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 717s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 718s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 718s or locale.getdefaultlocale()[1] 718s progress revision walk 'bookmarks/master' (0/0) 718s progress revision 0 'master' (0/1) 719s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 719s or locale.getdefaultlocale()[1] 719s ok 2 - subcommand repo - no local proxy 719s 719s expecting success: 719s test_when_finished "rm -rf gitrepo* hgrepo*" && 719s 719s setup_repos && 719s 719s ( 719s cd gitrepo && 719s export gitdir=`git rev-parse --git-dir` 719s # trick to normalize path 719s ( cd $gitdir/hg/origin/clone && pwd ) >../expected && 719s ( cd `git-hg-helper repo origin` && pwd ) > ../actual 719s ) && 719s 719s test_cmp expected actual 719s 720s Cloning into 'gitrepo'... 720s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 720s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 720s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 720s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 721s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 721s or locale.getdefaultlocale()[1] 721s adding changesets 721s adding manifests 721s adding file changes 721s added 1 changesets with 1 changes to 1 files 721s new changesets 84dac339f664 721s progress revision walk 'bookmarks/master' (0/0) 721s progress revision 0 'master' (0/1) 722s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 722s or locale.getdefaultlocale()[1] 722s ok 3 - subcommand repo - with local proxy 722s 722s expecting success: 722s test_when_finished "rm -rf gitrepo* hgrepo*" && 722s 722s setup_repos && 722s 722s ( 722s cd gitrepo && 722s git rev-parse HEAD > rev-HEAD && 722s test -s rev-HEAD && 722s git-hg-helper hg-rev `cat rev-HEAD` > hg-HEAD && 722s git-hg-helper git-rev `cat hg-HEAD` > git-HEAD && 722s test_cmp rev-HEAD git-HEAD 722s ) 722s 723s Cloning into 'gitrepo'... 723s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 723s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 723s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 723s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 724s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 724s or locale.getdefaultlocale()[1] 724s adding changesets 724s adding manifests 724s adding file changes 724s added 1 changesets with 1 changes to 1 files 724s new changesets d77aae0beee9 724s progress revision walk 'bookmarks/master' (0/0) 724s progress revision 0 'master' (0/1) 725s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 725s or locale.getdefaultlocale()[1] 725s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 725s or locale.getdefaultlocale()[1] 725s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 725s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 725s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 725s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 726s ok 4 - subcommands hg-rev and git-rev 726s 726s expecting success: 726s test_when_finished "rm -rf gitrepo* hgrepo*" && 726s 726s ( 726s hg init hgrepo && 726s cd hgrepo && 726s echo zero > content && 726s hg add content && 726s hg commit -m zero 726s echo one > content && 726s hg commit -m one && 726s echo two > content && 726s hg commit -m two && 726s echo three > content && 726s hg commit -m three 726s ) && 726s 726s git clone hg::hgrepo gitrepo && 726s 726s ( 726s cd hgrepo && 726s hg strip -r 1 && 726s echo four > content && 726s hg commit -m four 726s ) && 726s 726s ( 726s cd gitrepo && 726s git fetch origin && 726s git reset --hard origin/master && 726s git gc && 726s git-hg-helper gc --check-hg origin > output && 726s cat output && 726s grep "hg marks" output && 726s grep "git marks" output 726s ) 726s 729s Cloning into 'gitrepo'... 729s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 729s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 729s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 729s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 729s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 729s or locale.getdefaultlocale()[1] 729s adding changesets 729s adding manifests 729s adding file changes 729s added 4 changesets with 4 changes to 1 files 729s new changesets 141b824d0dbe:227b536a7a96 729s progress revision walk 'bookmarks/master' (3/3) 729s progress revision 0 'master' (0/4) 730s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 730s saved backup bundle to /tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo/.hg/strip-backup/25f06f1be274-348da7bf-backup.hg 731s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 731s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 731s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 731s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 731s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 731s or locale.getdefaultlocale()[1] 731s searching for changes 731s adding changesets 731s adding manifests 731s adding file changes 732s added 1 changesets with 1 changes to 1 files (+1 heads) 732s new changesets 7f93ffcaa12c 732s progress revision 4 'default' (0/1) 732s From hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo 732s + 92d9ab9...49d8d99 master -> origin/master (forced update) 732s + 92d9ab9...49d8d99 branches/default -> origin/branches/default (forced update) 732s HEAD is now at 49d8d99 four 732s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 732s or locale.getdefaultlocale()[1] 732s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 732s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 732s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 732s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 733s Loading hg marks ... 733s Loading git marks ... 733s Performing garbage collection on git commits ... 733s Computing marks intersection ... 733s Including notes commits ... 733s Trimmed hg marks from #5 down to #0 733s Trimmed git marks from #12 down to #2 733s Writing hg marks ... 733s Writing git marks ... 733s Loading hg marks ... 733s Trimmed hg marks from #5 down to #0 733s Writing hg marks ... 733s Loading git marks ... 733s Trimmed git marks from #12 down to #2 733s Writing git marks ... 733s ok 5 - subcommand gc 733s 733s expecting success: 733s test_when_finished "rm -rf gitrepo* hgrepo*" && 733s 733s setup_repos && 733s 733s ( 733s cd hgrepo && 733s echo one > content && 733s hg commit -m one 733s ) && 733s 733s ( 733s cd gitrepo && 733s git fetch origin 733s ) && 733s 733s hg log -R hgrepo > expected && 733s # not inside gitrepo; test shared path handling 733s GIT_DIR=gitrepo/.git git-hg-helper origin log > actual 733s 733s test_cmp expected actual 733s 734s Cloning into 'gitrepo'... 734s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 734s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 734s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 734s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 735s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 735s or locale.getdefaultlocale()[1] 735s adding changesets 735s adding manifests 735s adding file changes 735s added 1 changesets with 1 changes to 1 files 735s new changesets 13adab1c7394 735s progress revision walk 'bookmarks/master' (0/0) 735s progress revision 0 'master' (0/1) 736s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 736s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 736s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 736s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 736s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 736s or locale.getdefaultlocale()[1] 736s searching for changes 736s adding changesets 736s adding manifests 736s adding file changes 736s added 1 changesets with 1 changes to 1 files 736s new changesets 45c25f558e43 736s progress revision 1 'default' (0/1) 736s From hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo 736s 2ab8c26..45a6cc5 master -> origin/master 736s 2ab8c26..45a6cc5 branches/default -> origin/branches/default 738s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 738s or locale.getdefaultlocale()[1] 738s ok 6 - subcommand [some-repo] 738s 738s expecting success: 738s test_when_finished "rm -rf gitrepo* hgrepo*" && 738s 738s setup_repo hg hgrepo && 738s ( 738s cd hgrepo && 738s setup_repo hg sub_hg_a && 738s setup_repo hg sub_hg_b && 738s setup_repo git sub_git && 738s echo "sub_hg_a = sub_hg_a" > .hgsub && 738s echo "sub_hg_b = sub_hg_b" >> .hgsub && 738s echo "sub_git = [git]sub_git" >> .hgsub && 738s hg add .hgsub && 738s hg commit -m substate 738s ) 738s 738s git clone hg::hgrepo gitrepo && 738s 738s ( 738s cd gitrepo && 738s git-hg-helper sub update --force && 738s test -f content_hgrepo && 738s test -f sub_hg_a/content_sub_hg_a && 738s test -f sub_hg_b/content_sub_hg_b && 738s test -f sub_git/content_sub_git 738s ) && 738s 738s check gitrepo HEAD substate && 738s check gitrepo/sub_hg_a HEAD zero_sub_hg_a && 738s check gitrepo/sub_hg_b HEAD zero_sub_hg_b && 738s check gitrepo/sub_git HEAD zero_sub_git 738s 743s Initialized empty Git repository in /tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo/sub_git/.git/ 743s [master (root-commit) e9a16bb] zero_sub_git 743s Author: A U Thor 743s 1 file changed, 1 insertion(+) 743s create mode 100644 content_sub_git 744s Cloning into 'gitrepo'... 744s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 744s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 744s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 744s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 745s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 745s or locale.getdefaultlocale()[1] 745s adding changesets 745s adding manifests 745s adding file changes 745s added 2 changesets with 3 changes to 3 files 745s new changesets d304748fe1dc:816636c5341c 745s progress revision walk 'bookmarks/master' (1/1) 745s progress revision 0 'master' (0/2) 745s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 745s or locale.getdefaultlocale()[1] 745s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 745s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 745s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 745s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 746s Cloning into './sub_hg_a'... 746s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 746s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 746s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 746s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 746s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 746s or locale.getdefaultlocale()[1] 746s adding changesets 746s adding manifests 746s adding file changes 746s added 1 changesets with 1 changes to 1 files 746s new changesets fcb2fe7b2b6b 746s progress revision walk 'bookmarks/master' (0/0) 746s progress revision 0 'master' (0/1) 746s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 746s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 746s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 746s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 746s Cloning into './sub_hg_b'... 747s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 747s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 747s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 747s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 747s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 747s or locale.getdefaultlocale()[1] 747s adding changesets 747s adding manifests 747s adding file changes 747s added 1 changesets with 1 changes to 1 files 747s new changesets c39ff6468755 747s progress revision walk 'bookmarks/master' (0/0) 747s progress revision 0 'master' (0/1) 747s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 747s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 747s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 747s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 747s Cloning into './sub_git'... 747s done. 748s ok 7 - subcommand sub initial update (hg and git subrepos) 748s 748s expecting success: 748s test_when_finished "rm -rf gitrepo* hgrepo*" && 748s 748s setup_subrepos && 748s 748s git clone hg::hgrepo gitrepo && 748s 748s ( 748s cd gitrepo && 748s git-hg-helper sub --recursive update --force && 748s test -f content_hgrepo && 748s test -f sub_hg_a/content_sub_hg_a && 748s test -f sub_hg_a/sub_hg_a_x/content_sub_hg_a_x && 748s test -f sub_hg_b/content_sub_hg_b && 748s test -f sub_hg_b/sub_git/content_sub_git 748s ) && 748s 748s check gitrepo HEAD substate && 748s check gitrepo/sub_hg_a HEAD substate_hg_a && 748s check gitrepo/sub_hg_b HEAD substate_hg_b && 748s check gitrepo/sub_hg_a/sub_hg_a_x HEAD zero_sub_hg_a_x && 748s check gitrepo/sub_hg_b/sub_git HEAD zero_sub_git 748s 754s Initialized empty Git repository in /tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ 754s [master (root-commit) e9a16bb] zero_sub_git 754s Author: A U Thor 754s 1 file changed, 1 insertion(+) 754s create mode 100644 content_sub_git 756s Cloning into 'gitrepo'... 756s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 756s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 756s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 756s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 757s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 757s or locale.getdefaultlocale()[1] 757s adding changesets 757s adding manifests 757s adding file changes 757s added 2 changesets with 3 changes to 3 files 757s new changesets b7cb3300d458:196c47e9a8fb 757s progress revision walk 'bookmarks/master' (1/1) 757s progress revision 0 'master' (0/2) 758s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 758s or locale.getdefaultlocale()[1] 758s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 758s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 758s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 758s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 758s Cloning into './sub_hg_a'... 758s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 758s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 758s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 758s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 758s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 758s or locale.getdefaultlocale()[1] 759s adding changesets 759s adding manifests 759s adding file changes 759s added 2 changesets with 3 changes to 3 files 759s new changesets 3038b2e94658:9296f7cc7147 759s progress revision walk 'bookmarks/master' (1/1) 759s progress revision 0 'master' (0/2) 759s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 759s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 759s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 759s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 759s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 759s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 759s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 759s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 759s Cloning into './sub_hg_a/sub_hg_a_x'... 759s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 759s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 759s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 759s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 759s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 759s or locale.getdefaultlocale()[1] 760s adding changesets 760s progress revision walk 'bookmarks/master' (0/0) 760s progress revision 0 'master' (0/1) 760s adding manifests 760s adding file changes 760s added 1 changesets with 1 changes to 1 files 760s new changesets 2d90d87a2a73 760s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 760s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 760s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 760s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 760s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 760s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 760s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 760s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 760s Cloning into './sub_hg_b'... 760s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 760s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 760s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 760s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 760s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 760s or locale.getdefaultlocale()[1] 761s adding changesets 761s adding manifests 761s adding file changes 761s added 2 changesets with 3 changes to 3 files 761s new changesets 5b9280472ca6:5d805ebc16f7 761s progress revision walk 'bookmarks/master' (1/1) 761s progress revision 0 'master' (0/2) 761s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 761s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 761s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 761s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 761s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 761s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 761s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 761s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 761s Cloning into './sub_hg_b/sub_git'... 761s done. 761s ok 8 - subcommand sub initial recursive update 761s 761s expecting success: 761s test_when_finished "rm -rf gitrepo* hgrepo*" && 761s 761s test_sub_update 761s 768s Initialized empty Git repository in /tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ 768s [master (root-commit) e9a16bb] zero_sub_git 768s Author: A U Thor 768s 1 file changed, 1 insertion(+) 768s create mode 100644 content_sub_git 770s Cloning into 'gitrepo'... 770s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 770s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 770s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 770s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 771s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 771s or locale.getdefaultlocale()[1] 771s adding changesets 771s adding manifests 771s adding file changes 771s added 2 changesets with 3 changes to 3 files 771s new changesets 2cb066db25e1:7ca8d665e8de 771s progress revision walk 'bookmarks/master' (1/1) 771s progress revision 0 'master' (0/2) 772s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 772s or locale.getdefaultlocale()[1] 772s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 772s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 772s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 772s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 772s Cloning into './sub_hg_a'... 772s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 772s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 772s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 772s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 773s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 773s or locale.getdefaultlocale()[1] 773s adding changesets 773s adding manifests 773s adding file changes 773s added 2 changesets with 3 changes to 3 files 773s new changesets 4bb56d8b99b0:21237f6ed589 773s progress revision walk 'bookmarks/master' (1/1) 773s progress revision 0 'master' (0/2) 773s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 773s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 773s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 773s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 773s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 773s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 773s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 773s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 773s Cloning into './sub_hg_a/sub_hg_a_x'... 773s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 773s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 773s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 773s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 774s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 774s or locale.getdefaultlocale()[1] 774s adding changesets 774s adding manifests 774s adding file changes 774s added 1 changesets with 1 changes to 1 files 774s new changesets 8e33e67c9454 774s progress revision walk 'bookmarks/master' (0/0) 774s progress revision 0 'master' (0/1) 774s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 774s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 774s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 774s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 774s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 774s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 774s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 774s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 774s Cloning into './sub_hg_b'... 774s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 774s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 774s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 774s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 775s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 775s or locale.getdefaultlocale()[1] 775s adding changesets 775s adding manifests 775s adding file changes 775s added 2 changesets with 3 changes to 3 files 775s new changesets ddeb0769b332:8be1de683bef 775s progress revision walk 'bookmarks/master' (1/1) 775s progress revision 0 'master' (0/2) 775s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 775s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 775s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 775s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 775s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 775s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 775s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 775s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 775s Cloning into './sub_hg_b/sub_git'... 775s done. 777s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 777s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 777s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 777s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 778s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 778s or locale.getdefaultlocale()[1] 778s searching for changes 778s adding changesets 778s adding manifests 778s adding file changes 778s added 1 changesets with 1 changes to 1 files 778s new changesets 09608d194150 778s progress revision 2 'default' (0/1) 778s From hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo 778s 933de05..67d7d76 master -> origin/master 778s 933de05..67d7d76 branches/default -> origin/branches/default 778s Updating 933de05..67d7d76 778s Fast-forward 778s .hgsubstate | 2 +- 778s 1 file changed, 1 insertion(+), 1 deletion(-) 779s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 779s or locale.getdefaultlocale()[1] 779s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 779s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 779s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 779s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 779s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 779s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 779s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 779s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 779s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 779s or locale.getdefaultlocale()[1] 779s searching for changes 779s adding changesets 779s adding manifests 779s adding file changes 779s added 1 changesets with 1 changes to 1 files 779s new changesets 6db00f573c90 779s progress revision 2 'default' (0/1) 779s From hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo/sub_hg_a 779s f220ac0..37931f5 branches/default -> origin/branches/default 779s f220ac0..37931f5 master -> origin/master 780s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 780s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 780s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 780s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 780s HEAD is now at f220ac0 substate_hg_a 780s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 780s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 780s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 780s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 780s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 780s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 780s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 780s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 780s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 780s or locale.getdefaultlocale()[1] 780s searching for changes 780s adding changesets 780s adding manifests 780s adding file changes 780s added 1 changesets with 1 changes to 1 files 780s new changesets 8fa0f80824eb 780s progress revision 1 'default' (0/1) 780s From hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo/sub_hg_a/sub_hg_a_x 780s fd373a1..72e3d0a branches/default -> origin/branches/default 780s fd373a1..72e3d0a master -> origin/master 781s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 781s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 781s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 781s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 781s HEAD is now at fd373a1 zero_sub_hg_a_x 781s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 781s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 781s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 781s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 781s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 781s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 781s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 781s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 781s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 781s or locale.getdefaultlocale()[1] 781s no changes found 782s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 782s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 782s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 782s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 782s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 782s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 782s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 782s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 782s ok 9 - subcommand sub subsequent recursive update 782s 782s expecting success: 782s test_when_finished "rm -rf gitrepo* hgrepo*" && 782s 782s test_sub_update --rebase 782s 789s Initialized empty Git repository in /tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ 789s [master (root-commit) e9a16bb] zero_sub_git 789s Author: A U Thor 789s 1 file changed, 1 insertion(+) 789s create mode 100644 content_sub_git 791s Cloning into 'gitrepo'... 791s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 791s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 791s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 791s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 792s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 792s or locale.getdefaultlocale()[1] 792s adding changesets 792s adding manifests 792s adding file changes 792s added 2 changesets with 3 changes to 3 files 792s new changesets f11fdec55e6e:472bf5ddbc89 792s progress revision walk 'bookmarks/master' (1/1) 792s progress revision 0 'master' (0/2) 793s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 793s or locale.getdefaultlocale()[1] 793s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 793s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 793s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 793s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 793s Cloning into './sub_hg_a'... 793s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 793s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 793s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 793s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 793s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 793s or locale.getdefaultlocale()[1] 793s adding changesets 793s adding manifests 793s adding file changes 793s added 2 changesets with 3 changes to 3 files 793s new changesets 02ab73b90452:a1d114884fe9 793s progress revision walk 'bookmarks/master' (1/1) 793s progress revision 0 'master' (0/2) 794s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 794s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 794s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 794s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 794s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 794s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 794s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 794s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 794s Cloning into './sub_hg_a/sub_hg_a_x'... 794s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 794s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 794s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 794s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 794s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 794s or locale.getdefaultlocale()[1] 794s adding changesets 794s adding manifests 794s adding file changes 794s added 1 changesets with 1 changes to 1 files 794s new changesets a98685f6f0ad 794s progress revision walk 'bookmarks/master' (0/0) 794s progress revision 0 'master' (0/1) 794s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 794s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 794s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 794s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 795s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 795s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 795s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 795s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 795s Cloning into './sub_hg_b'... 795s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 795s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 795s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 795s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 795s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 795s or locale.getdefaultlocale()[1] 795s adding changesets 795s adding manifests 795s adding file changes 795s added 2 changesets with 3 changes to 3 files 795s new changesets 73a06a2d4e2c:e1242fe180e1 795s progress revision walk 'bookmarks/master' (1/1) 795s progress revision 0 'master' (0/2) 795s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 795s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 795s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 795s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 795s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 795s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 795s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 795s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 795s Cloning into './sub_hg_b/sub_git'... 795s done. 797s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 797s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 797s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 797s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 798s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 798s or locale.getdefaultlocale()[1] 798s searching for changes 798s adding changesets 798s adding manifests 798s adding file changes 798s added 1 changesets with 1 changes to 1 files 798s new changesets e6db848cd6aa 798s progress revision 2 'default' (0/1) 798s From hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo 798s d6ab691..8b35fcf master -> origin/master 798s d6ab691..8b35fcf branches/default -> origin/branches/default 798s Updating d6ab691..8b35fcf 798s Fast-forward 798s .hgsubstate | 2 +- 798s 1 file changed, 1 insertion(+), 1 deletion(-) 799s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 799s or locale.getdefaultlocale()[1] 799s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 799s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 799s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 799s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 799s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 799s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 799s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 799s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 799s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 799s or locale.getdefaultlocale()[1] 800s searching for changes 800s adding changesets 800s adding manifests 800s adding file changes 800s added 1 changesets with 1 changes to 1 files 800s new changesets 7e16dde72c33 800s progress revision 2 'default' (0/1) 800s From hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo/sub_hg_a 800s 2489eec..8b9fb86 branches/default -> origin/branches/default 800s 2489eec..8b9fb86 master -> origin/master 800s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 800s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 800s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 800s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 800s HEAD is now at 2489eec substate_hg_a 800s Successfully rebased and updated detached HEAD. 800s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 800s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 800s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 800s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 800s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 800s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 800s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 800s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 800s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 800s or locale.getdefaultlocale()[1] 800s searching for changes 800s adding changesets 800s adding manifests 800s adding file changes 801s added 1 changesets with 1 changes to 1 files 801s new changesets 4fc2f3faf0f6 801s progress revision 1 'default' (0/1) 801s From hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo/sub_hg_a/sub_hg_a_x 801s 8e330c9..6c45ebf branches/default -> origin/branches/default 801s 8e330c9..6c45ebf master -> origin/master 801s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 801s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 801s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 801s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 801s HEAD is now at 8e330c9 zero_sub_hg_a_x 801s Successfully rebased and updated detached HEAD. 801s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 801s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 801s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 801s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 801s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 801s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 801s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 801s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 802s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 802s or locale.getdefaultlocale()[1] 802s no changes found 802s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 802s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 802s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 802s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 802s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 802s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 802s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 802s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 803s ok 10 - subcommand sub subsequent recursive update -- rebase 803s 803s expecting success: 803s test_when_finished "rm -rf gitrepo* hgrepo*" && 803s 803s test_sub_update --merge 803s 810s Initialized empty Git repository in /tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ 810s [master (root-commit) e9a16bb] zero_sub_git 810s Author: A U Thor 810s 1 file changed, 1 insertion(+) 810s create mode 100644 content_sub_git 812s Cloning into 'gitrepo'... 812s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 812s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 812s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 812s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 812s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 812s or locale.getdefaultlocale()[1] 813s adding changesets 813s adding manifests 813s adding file changes 813s added 2 changesets with 3 changes to 3 files 813s new changesets 37de54fbef19:dfcf3bf96d12 813s progress revision walk 'bookmarks/master' (1/1) 813s progress revision 0 'master' (0/2) 813s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 813s or locale.getdefaultlocale()[1] 813s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 813s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 813s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 813s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 813s Cloning into './sub_hg_a'... 814s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 814s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 814s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 814s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 814s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 814s or locale.getdefaultlocale()[1] 814s adding changesets 814s adding manifests 814s adding file changes 814s added 2 changesets with 3 changes to 3 files 814s new changesets 3ed86448d456:4a0457e7eeaa 814s progress revision walk 'bookmarks/master' (1/1) 814s progress revision 0 'master' (0/2) 814s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 814s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 814s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 814s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 814s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 814s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 814s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 814s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 815s Cloning into './sub_hg_a/sub_hg_a_x'... 815s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 815s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 815s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 815s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 815s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 815s or locale.getdefaultlocale()[1] 815s adding changesets 815s adding manifests 815s adding file changes 815s added 1 changesets with 1 changes to 1 files 815s new changesets 962be4ae8f12 815s progress revision walk 'bookmarks/master' (0/0) 815s progress revision 0 'master' (0/1) 815s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 815s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 815s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 815s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 815s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 815s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 815s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 815s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 816s Cloning into './sub_hg_b'... 816s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 816s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 816s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 816s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 816s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 816s or locale.getdefaultlocale()[1] 816s adding changesets 816s adding manifests 816s adding file changes 816s added 2 changesets with 3 changes to 3 files 816s new changesets 52dcb8fec752:7c8eccf5fe1d 816s progress revision walk 'bookmarks/master' (1/1) 816s progress revision 0 'master' (0/2) 816s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 816s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 816s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 816s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 816s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 816s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 816s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 816s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 816s Cloning into './sub_hg_b/sub_git'... 817s done. 818s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 818s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 818s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 818s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 819s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 819s or locale.getdefaultlocale()[1] 819s searching for changes 819s adding changesets 819s adding manifests 819s adding file changes 819s added 1 changesets with 1 changes to 1 files 819s new changesets 8375c29c86cd 819s progress revision 2 'default' (0/1) 819s From hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo 819s da0a1cb..6565a85 master -> origin/master 819s da0a1cb..6565a85 branches/default -> origin/branches/default 819s Updating da0a1cb..6565a85 819s Fast-forward 819s .hgsubstate | 2 +- 819s 1 file changed, 1 insertion(+), 1 deletion(-) 820s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 820s or locale.getdefaultlocale()[1] 820s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 820s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 820s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 820s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 820s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 820s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 820s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 820s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 821s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 821s or locale.getdefaultlocale()[1] 821s searching for changes 821s adding changesets 821s adding manifests 821s adding file changes 821s added 1 changesets with 1 changes to 1 files 821s new changesets 712ff480f3d1 821s progress revision 2 'default' (0/1) 821s From hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo/sub_hg_a 821s 37b3642..76f729b branches/default -> origin/branches/default 821s 37b3642..76f729b master -> origin/master 821s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 821s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 821s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 821s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 821s HEAD is now at 37b3642 substate_hg_a 821s Updating 37b3642..76f729b 821s Fast-forward 821s .hgsubstate | 2 +- 821s 1 file changed, 1 insertion(+), 1 deletion(-) 821s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 821s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 821s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 821s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 821s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 821s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 821s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 821s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 821s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 821s or locale.getdefaultlocale()[1] 822s searching for changes 822s adding changesets 822s adding manifests 822s adding file changes 822s added 1 changesets with 1 changes to 1 files 822s new changesets 3a204ca1877a 822s progress revision 1 'default' (0/1) 822s From hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo/sub_hg_a/sub_hg_a_x 822s 77390f9..51af015 branches/default -> origin/branches/default 822s 77390f9..51af015 master -> origin/master 822s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 822s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 822s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 822s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 822s HEAD is now at 77390f9 zero_sub_hg_a_x 822s Updating 77390f9..51af015 822s Fast-forward 822s content_sub_hg_a_x | 2 +- 822s 1 file changed, 1 insertion(+), 1 deletion(-) 822s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 822s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 822s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 822s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 822s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 822s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 822s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 822s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 822s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 822s or locale.getdefaultlocale()[1] 823s no changes found 823s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 823s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 823s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 823s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 823s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 823s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 823s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 823s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 823s ok 11 - subcommand sub subsequent recursive update -- merge 823s 823s expecting success: 823s test_when_finished "rm -rf gitrepo* hgrepo*" && 823s 823s test_sub_foreach 823s 830s Initialized empty Git repository in /tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ 830s [master (root-commit) e9a16bb] zero_sub_git 830s Author: A U Thor 830s 1 file changed, 1 insertion(+) 830s create mode 100644 content_sub_git 832s Cloning into 'gitrepo'... 832s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 832s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 832s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 832s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 832s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 832s or locale.getdefaultlocale()[1] 832s adding changesets 832s adding manifests 832s adding file changes 832s added 2 changesets with 3 changes to 3 files 832s new changesets 98c1acc5d263:c0ffb49c98d5 832s progress revision walk 'bookmarks/master' (1/1) 832s progress revision 0 'master' (0/2) 833s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 833s or locale.getdefaultlocale()[1] 833s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 833s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 833s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 833s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 833s Cloning into './sub_hg_a'... 833s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 833s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 833s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 833s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 834s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 834s or locale.getdefaultlocale()[1] 834s adding changesets 834s adding manifests 834s adding file changes 834s added 2 changesets with 3 changes to 3 files 834s new changesets e8ec95e1f6ba:ad95013e78ad 834s progress revision walk 'bookmarks/master' (1/1) 834s progress revision 0 'master' (0/2) 834s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 834s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 834s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 834s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 834s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 834s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 834s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 834s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 834s Cloning into './sub_hg_a/sub_hg_a_x'... 834s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 834s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 834s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 834s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 835s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 835s or locale.getdefaultlocale()[1] 835s adding changesets 835s adding manifests 835s adding file changes 835s added 1 changesets with 1 changes to 1 files 835s new changesets 3d708c526366 835s progress revision walk 'bookmarks/master' (0/0) 835s progress revision 0 'master' (0/1) 835s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 835s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 835s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 835s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 835s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 835s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 835s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 835s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 835s Cloning into './sub_hg_b'... 835s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 835s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 835s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 835s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 836s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 836s or locale.getdefaultlocale()[1] 836s adding changesets 836s adding manifests 836s adding file changes 836s added 2 changesets with 3 changes to 3 files 836s new changesets 4b8736ba1892:7339a95c00a2 836s progress revision walk 'bookmarks/master' (1/1) 836s progress revision 0 'master' (0/2) 836s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 836s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 836s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 836s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 836s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 836s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 836s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 836s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 836s Cloning into './sub_hg_b/sub_git'... 836s done. 837s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 837s or locale.getdefaultlocale()[1] 837s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 837s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 837s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 837s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 837s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 837s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 837s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 837s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 837s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 837s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 837s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 837s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 837s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 837s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 837s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 837s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 837s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 837s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 837s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 837s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 837s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 837s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 837s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 837s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 837s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 837s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 837s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 837s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 837s hg 0ad5fb37ba8384026fd57228f18d9901ef9d4c75 ad95013e78ad251f85b46835cbf77789028c3b8d sub_hg_a /tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/gitrepo 837s hg 875def1341314436b06e73e75649b762fd580c63 3d708c526366f451c9bc06b97df5ce88ce9a33c3 sub_hg_a_x /tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/gitrepo/sub_hg_a 837s hg 3352a8468cd084bb0706cfc126b3338d24d084b5 7339a95c00a21c350a4ae0d8b9f1eaf504753e8f sub_hg_b /tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/gitrepo 837s git e9a16bb7c08361f85ab0002e4094b4229fefb384 e9a16bb7c08361f85ab0002e4094b4229fefb384 sub_git /tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/gitrepo/sub_hg_b 837s ok 12 - subcommand sub foreach 837s 837s expecting success: 837s test_when_finished "rm -rf gitrepo* hgrepo*" && 837s 837s setup_repo hg hgrepo && 837s ( 837s cd hgrepo && 837s setup_repo hg sub_hg && 837s echo "sub_hg = sub_hg" > .hgsub && 837s hg add .hgsub && 837s hg commit -m substate 837s ) 837s 837s git clone hg::hgrepo gitrepo && 837s 837s ( 837s cd gitrepo && 837s git-hg-helper sub update --force && 837s 837s ( 837s cd sub_hg && 837s grep url .git/config > ../expected && 837s git config remote.origin.url foobar && 837s grep foobar .git/config 837s ) && 837s 837s git-hg-helper sub sync && 837s grep url sub_hg/.git/config > actual && 837s test_cmp expected actual 837s ) 837s 841s Cloning into 'gitrepo'... 841s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 841s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 841s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 841s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 842s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 842s or locale.getdefaultlocale()[1] 842s adding changesets 842s adding manifests 842s adding file changes 842s added 2 changesets with 3 changes to 3 files 842s new changesets 819f6e9b1bb6:15b3caa5d5ae 842s progress revision walk 'bookmarks/master' (1/1) 842s progress revision 0 'master' (0/2) 843s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 843s or locale.getdefaultlocale()[1] 843s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 843s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 843s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 843s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 843s Cloning into './sub_hg'... 843s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 843s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 843s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 843s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 843s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 843s or locale.getdefaultlocale()[1] 844s adding changesets 844s adding manifests 844s adding file changes 844s added 1 changesets with 1 changes to 1 files 844s new changesets 1a0c53914841 844s progress revision walk 'bookmarks/master' (0/0) 844s progress revision 0 'master' (0/1) 844s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 844s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 844s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 844s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 844s url = foobar 845s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 845s or locale.getdefaultlocale()[1] 845s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 845s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 845s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 845s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 845s ok 13 - subcommand sub sync 845s 845s expecting success: 845s test_when_finished "rm -rf gitrepo* hgrepo*" && 845s 845s setup_repo hg hgrepo && 845s ( 845s cd hgrepo && 845s setup_repo hg sub_hg && 845s setup_repo git sub_git && 845s echo "sub_hg = sub_hg" > .hgsub && 845s echo "sub_git = [git]sub_git" >> .hgsub && 845s hg add .hgsub && 845s hg commit -m substate 845s ) 845s 845s git clone hg::hgrepo gitrepo && 845s 845s ( 845s cd gitrepo && 845s git-hg-helper sub update --force && 845s 845s ( 845s cd sub_hg && 845s echo one > content_sub_hg && 845s git add content_sub_hg && 845s git commit -m one_sub_hg && 845s # detached HEAD 845s git push origin HEAD:master && 845s # also fetch to ensure notes are updated 845s git fetch origin 845s ) && 845s 845s ( 845s cd sub_git && 845s echo one > content_sub_git && 845s git add content_sub_git && 845s git commit -m one_sub_git && 845s # detached HEAD; push revision to other side ... anywhere 845s git push origin HEAD:refs/heads/new 845s ) 845s ) && 845s 845s ( 845s cd gitrepo && 845s git-hg-helper sub upstate && 845s git diff && 845s git status --porcelain | grep .hgsubstate && 845s git add .hgsubstate && 845s git commit -m update_sub && 845s git push origin master 845s ) && 845s 845s hg clone hgrepo hgclone && 845s 845s ( 845s cd hgclone && 845s hg update 845s ) && 845s 845s check_branch hgclone default update_sub && 845s check_branch hgclone/sub_hg default one_sub_hg && 845s check hgclone/sub_git HEAD one_sub_git 845s 848s Initialized empty Git repository in /tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo/sub_git/.git/ 848s [master (root-commit) e9a16bb] zero_sub_git 848s Author: A U Thor 848s 1 file changed, 1 insertion(+) 848s create mode 100644 content_sub_git 849s Cloning into 'gitrepo'... 849s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 849s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 849s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 849s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 849s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 849s or locale.getdefaultlocale()[1] 850s adding changesets 850s adding manifests 850s adding file changes 850s added 2 changesets with 3 changes to 3 files 850s new changesets df05b7b1a91e:97be8d4edde3 850s progress revision walk 'bookmarks/master' (1/1) 850s progress revision 0 'master' (0/2) 850s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 850s or locale.getdefaultlocale()[1] 850s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 850s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 850s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 850s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 850s Cloning into './sub_hg'... 851s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 851s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 851s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 851s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 851s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 851s or locale.getdefaultlocale()[1] 851s adding changesets 851s adding manifests 851s adding file changes 851s added 1 changesets with 1 changes to 1 files 851s new changesets 5f4c29677c3f 851s progress revision walk 'bookmarks/master' (0/0) 851s progress revision 0 'master' (0/1) 851s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 851s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 851s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 851s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 851s Cloning into './sub_git'... 851s done. 852s [detached HEAD 09420a4] one_sub_hg 852s Author: A U Thor 852s 1 file changed, 1 insertion(+), 1 deletion(-) 852s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 852s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 852s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 852s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 852s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 852s or locale.getdefaultlocale()[1] 852s no changes found 852s searching for changes 852s adding changesets 852s adding manifests 852s adding file changes 852s added 1 changesets with 1 changes to 1 files 852s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo/sub_hg 852s fffffff..09420a4 HEAD -> master 853s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 853s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 853s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 853s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 853s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 853s or locale.getdefaultlocale()[1] 853s no changes found 853s 1 local changesets published 853s From hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo/sub_hg 853s ae4d7ea..09420a4 branches/default -> origin/branches/default 853s [detached HEAD cea1af1] one_sub_git 853s Author: A U Thor 853s 1 file changed, 1 insertion(+), 1 deletion(-) 853s To /tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo/sub_git 853s * [new branch] HEAD -> new 854s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 854s or locale.getdefaultlocale()[1] 854s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 854s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 854s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 854s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 854s Updating ./sub_hg to 07913933258794032cee2327fae0e6763bb01dbd [git 09420a4] 854s Updating ./sub_git to cea1af1c0bdaae94623e5a8e4d85c13835bb44b6 [git cea1af1] 854s diff --git a/.hgsubstate b/.hgsubstate 854s index 956091a..1c23516 100644 854s --- a/.hgsubstate 854s +++ b/.hgsubstate 854s @@ -1,2 +1,2 @@ 854s -e9a16bb7c08361f85ab0002e4094b4229fefb384 sub_git 854s -5f4c29677c3f03a734947fe8fe206c18c610b4a7 sub_hg 854s +cea1af1c0bdaae94623e5a8e4d85c13835bb44b6 sub_git 854s +07913933258794032cee2327fae0e6763bb01dbd sub_hg 854s M .hgsubstate 854s [master 938445d] update_sub 854s Author: A U Thor 854s 1 file changed, 2 insertions(+), 2 deletions(-) 854s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 854s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 854s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 854s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 855s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 855s or locale.getdefaultlocale()[1] 855s no changes found 855s searching for changes 855s adding changesets 855s adding manifests 855s adding file changes 855s added 1 changesets with 1 changes to 1 files 855s To hg::/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo 855s fffffff..938445d master -> master 856s Cloning into '/tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgclone/sub_git'... 856s done. 856s Switched to a new branch 'new' 856s updating to branch default 856s cloning subrepo sub_git from /tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo/sub_git 856s cloning subrepo sub_hg from /tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo/sub_hg 856s 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 856s 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 858s ok 14 - subcommand sub addstate 858s 858s expecting success: 858s test_when_finished "rm -rf gitrepo* hgrepo*" && 858s 858s setup_repo hg hgrepo && 858s ( 858s cd hgrepo && 858s setup_repo hg sub_hg_a && 858s setup_repo hg sub_hg_b && 858s setup_repo git sub_git && 858s echo "sub_hg_a = sub_hg_a" > .hgsub && 858s echo "sub_hg_b = sub_hg_b" >> .hgsub && 858s echo "sub_git = [git]sub_git" >> .hgsub && 858s hg add .hgsub && 858s hg commit -m substate 858s ) 858s 858s git clone hg::hgrepo gitrepo && 858s 858s ( 858s cd gitrepo && 858s git-hg-helper sub update --force sub_hg_a && 858s git-hg-helper sub update --force sub_git && 858s ( 858s # advance and add a tag to the git repo 858s cd sub_git && 858s echo one > content_sub_git && 858s git add content_sub_git && 858s git commit -m one_sub_git && 858s git tag feature-a 858s ) && 858s 858s git-hg-helper sub status --cached > output && 858s cat output && 858s grep "^ .*sub_hg_a (.*master.*)$" output && 858s grep "^-.*sub_hg_b$" output && 858s grep "^+.*sub_git (feature-a~1)$" output && 858s git-hg-helper sub status sub_git > output && 858s cat output && 858s grep "^+.*sub_git (feature-a)$" output > actual && 858s test_cmp output actual 858s ) 858s 862s Initialized empty Git repository in /tmp/autopkgtest.D6TClg/build.HBG/src/test/trash directory.helper/hgrepo/sub_git/.git/ 862s [master (root-commit) e9a16bb] zero_sub_git 862s Author: A U Thor 862s 1 file changed, 1 insertion(+) 862s create mode 100644 content_sub_git 863s Cloning into 'gitrepo'... 863s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 863s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 863s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 863s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 864s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 864s or locale.getdefaultlocale()[1] 864s adding changesets 864s adding manifests 864s adding file changes 864s added 2 changesets with 3 changes to 3 files 864s new changesets 6631e812ed14:6929c7c7c92a 864s progress revision walk 'bookmarks/master' (1/1) 864s progress revision 0 'master' (0/2) 865s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 865s or locale.getdefaultlocale()[1] 865s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 865s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 865s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 865s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 865s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 865s or locale.getdefaultlocale()[1] 865s Cloning into './sub_hg_a'... 865s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 865s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 865s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 865s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 865s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 867s or locale.getdefaultlocale()[1] 867s adding changesets 867s adding manifests 867s adding file changes 867s added 1 changesets with 1 changes to 1 files 867s new changesets a831bda2be8d 867s progress revision walk 'bookmarks/master' (0/0) 867s progress revision 0 'master' (0/1) 867s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 867s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 867s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 867s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 867s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 867s or locale.getdefaultlocale()[1] 867s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 867s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 867s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 867s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 867s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 867s or locale.getdefaultlocale()[1] 867s Cloning into './sub_git'... 867s done. 867s [detached HEAD cea1af1] one_sub_git 867s Author: A U Thor 867s 1 file changed, 1 insertion(+), 1 deletion(-) 867s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 867s or locale.getdefaultlocale()[1] 867s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 867s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 867s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 867s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 868s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 868s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 868s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 868s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 868s 52f017ab27045290f0dac8ff10438385cd6f9e46 ./sub_hg_a (heads/master) 868s -c8ce53b99a4320174a8f67b05bd9dc87c6996b07[hg] ./sub_hg_b 868s +e9a16bb7c08361f85ab0002e4094b4229fefb384 ./sub_git (feature-a~1) 868s 52f017ab27045290f0dac8ff10438385cd6f9e46 ./sub_hg_a (heads/master) 868s -c8ce53b99a4320174a8f67b05bd9dc87c6996b07[hg] ./sub_hg_b 868s +e9a16bb7c08361f85ab0002e4094b4229fefb384 ./sub_git (feature-a~1) 868s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 868s or locale.getdefaultlocale()[1] 868s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 868s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 868s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 868s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 868s /usr/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 868s or locale.getdefaultlocale()[1] 869s +cea1af1c0bdaae94623e5a8e4d85c13835bb44b6 ./sub_git (feature-a) 869s ok 15 - subcommand sub status 869s 869s # passed all 15 test(s) 869s 1..15 869s make clean 869s make[1]: Entering directory '/tmp/autopkgtest.D6TClg/build.HBG/src/test' 869s rm -f -r 'trash directory'.* test-results 869s make[1]: Leaving directory '/tmp/autopkgtest.D6TClg/build.HBG/src/test' 869s make: Leaving directory '/tmp/autopkgtest.D6TClg/build.HBG/src/test' 869s autopkgtest [17:34:34]: test upstream-test-suite: -----------------------] 870s upstream-test-suite PASS 870s autopkgtest [17:34:35]: test upstream-test-suite: - - - - - - - - - - results - - - - - - - - - - 870s autopkgtest [17:34:35]: @@@@@@@@@@@@@@@@@@@@ summary 870s upstream-test-suite PASS