0s autopkgtest [18:38:57]: starting date and time: 2025-10-18 18:38:57+0000 0s autopkgtest [18:38:57]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [18:38:57]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.xz6q7arf/out --timeout-copy=6000 -a i386 --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-cpu2-ram4-disk20-amd64 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@sto01-2.secgroup --name adt-resolute-i386-git-remote-hg-20251018-183857-juju-7f2275-prod-proposed-migration-environment-2-fffb0362-334b-4f72-b359-396a1f83526d --image adt/ubuntu-resolute-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-autopkgtest-workers-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-i386-git-remote-hg-20251018-183857-juju-7f2275-prod-proposed-migration-environment-2-fffb0362-334b-4f72-b359-396a1f83526d from image adt/ubuntu-resolute-amd64-server-20251018.img (UUID dd697a48-b6cc-4a02-84bf-0f9f2fad5f89)... 30s autopkgtest [18:39:27]: testbed dpkg architecture: amd64 30s autopkgtest [18:39:27]: testbed apt version: 3.1.6ubuntu2 30s autopkgtest [18:39:27]: @@@@@@@@@@@@@@@@@@@@ test bed setup 31s autopkgtest [18:39:28]: testbed release detected to be: None 31s autopkgtest [18:39:28]: updating testbed package index (apt update) 31s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 31s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 31s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 31s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 31s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 31s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [456 kB] 31s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [16.7 kB] 32s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [50.7 kB] 32s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [104 kB] 32s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [59.9 kB] 32s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 Packages [28.0 kB] 32s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted i386 Packages [3208 B] 32s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [331 kB] 32s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [113 kB] 32s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [3088 B] 32s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [9188 B] 32s Fetched 1262 kB in 1s (2324 kB/s) 32s Reading package lists... 33s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 33s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 33s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 33s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 33s Reading package lists... 33s Reading package lists... 34s Building dependency tree... 34s Reading state information... 34s Calculating upgrade... 34s The following packages will be upgraded: 34s apt gir1.2-girepository-2.0 libapt-pkg7.0 libgirepository-1.0-1 34s libpython3-stdlib python3 python3-minimal 34s 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 34s Need to get 2751 kB of archives. 34s After this operation, 2048 B of additional disk space will be used. 34s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3-minimal amd64 3.13.7-2 [27.8 kB] 34s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3 amd64 3.13.7-2 [23.9 kB] 34s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libpython3-stdlib amd64 3.13.7-2 [10.6 kB] 34s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 libapt-pkg7.0 amd64 3.1.8ubuntu1 [1140 kB] 34s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 apt amd64 3.1.8ubuntu1 [1438 kB] 35s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 libgirepository-1.0-1 amd64 1.86.0-6 [85.9 kB] 35s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-girepository-2.0 amd64 1.86.0-6 [25.3 kB] 35s dpkg-preconfigure: unable to re-open stdin: No such file or directory 35s Fetched 2751 kB in 1s (2820 kB/s) 35s (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 ... 78439 files and directories currently installed.) 35s Preparing to unpack .../python3-minimal_3.13.7-2_amd64.deb ... 35s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 35s Setting up python3-minimal (3.13.7-2) ... 35s (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 ... 78439 files and directories currently installed.) 35s Preparing to unpack .../0-python3_3.13.7-2_amd64.deb ... 35s running python pre-rtupdate hooks for python3.13... 35s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 35s Preparing to unpack .../1-libpython3-stdlib_3.13.7-2_amd64.deb ... 35s Unpacking libpython3-stdlib:amd64 (3.13.7-2) over (3.13.7-1) ... 35s Preparing to unpack .../2-libapt-pkg7.0_3.1.8ubuntu1_amd64.deb ... 35s Unpacking libapt-pkg7.0:amd64 (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 35s Preparing to unpack .../3-apt_3.1.8ubuntu1_amd64.deb ... 35s Unpacking apt (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 35s Preparing to unpack .../4-libgirepository-1.0-1_1.86.0-6_amd64.deb ... 35s Unpacking libgirepository-1.0-1:amd64 (1.86.0-6) over (1.84.0-1) ... 35s Preparing to unpack .../5-gir1.2-girepository-2.0_1.86.0-6_amd64.deb ... 35s Unpacking gir1.2-girepository-2.0:amd64 (1.86.0-6) over (1.84.0-1) ... 36s Setting up libgirepository-1.0-1:amd64 (1.86.0-6) ... 36s Setting up libapt-pkg7.0:amd64 (3.1.8ubuntu1) ... 36s Setting up libpython3-stdlib:amd64 (3.13.7-2) ... 36s Setting up apt (3.1.8ubuntu1) ... 36s Setting up python3 (3.13.7-2) ... 36s running python rtupdate hooks for python3.13... 36s running python post-rtupdate hooks for python3.13... 36s Setting up gir1.2-girepository-2.0:amd64 (1.86.0-6) ... 36s Processing triggers for man-db (2.13.1-1) ... 37s Processing triggers for libc-bin (2.42-0ubuntu3) ... 37s autopkgtest [18:39:34]: upgrading testbed (apt dist-upgrade and autopurge) 38s Reading package lists... 38s Building dependency tree... 38s Reading state information... 38s Calculating upgrade... 38s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 38s Reading package lists... 38s Building dependency tree... 38s Reading state information... 38s Solving dependencies... 38s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 38s autopkgtest [18:39:35]: rebooting testbed after setup commands that affected boot 53s autopkgtest [18:39:50]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 10:00:33 UTC 2025 55s autopkgtest [18:39:52]: @@@@@@@@@@@@@@@@@@@@ apt-source git-remote-hg 56s Get:1 http://ftpmaster.internal/ubuntu resolute/universe git-remote-hg 1.0.4~ds-3 (dsc) [2146 B] 56s Get:2 http://ftpmaster.internal/ubuntu resolute/universe git-remote-hg 1.0.4~ds-3 (tar) [51.2 kB] 56s Get:3 http://ftpmaster.internal/ubuntu resolute/universe git-remote-hg 1.0.4~ds-3 (diff) [6096 B] 56s gpgv: Signature made Fri Feb 21 20:16:13 2025 UTC 56s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 56s gpgv: issuer "tchet@debian.org" 56s gpgv: Can't check signature: No public key 56s dpkg-source: warning: cannot verify inline signature for ./git-remote-hg_1.0.4~ds-3.dsc: no acceptable signature found 56s autopkgtest [18:39:53]: testing package git-remote-hg version 1.0.4~ds-3 56s autopkgtest [18:39:53]: build not needed 56s autopkgtest [18:39:53]: test upstream-test-suite: preparing testbed 57s Reading package lists... 57s Building dependency tree... 57s Reading state information... 57s Solving dependencies... 57s The following NEW packages will be installed: 57s git git-man git-remote-hg liberror-perl mercurial mercurial-common 57s mercurial-git python3-dulwich python3-zombie-imp sharness 57s 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. 57s Need to get 9150 kB of archives. 57s After this operation, 47.1 MB of additional disk space will be used. 57s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 liberror-perl all 0.17030-1 [23.5 kB] 57s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 git-man all 1:2.51.0-1ubuntu1 [1179 kB] 57s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 git amd64 1:2.51.0-1ubuntu1 [4414 kB] 58s Get:4 http://ftpmaster.internal/ubuntu resolute/universe amd64 mercurial-common all 7.0.1-2 [2783 kB] 58s Get:5 http://ftpmaster.internal/ubuntu resolute/universe amd64 mercurial amd64 7.0.1-2 [428 kB] 58s Get:6 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-zombie-imp all 0.0.3-1 [12.1 kB] 58s Get:7 http://ftpmaster.internal/ubuntu resolute/universe amd64 git-remote-hg all 1.0.4~ds-3 [39.5 kB] 58s Get:8 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-dulwich amd64 0.22.7-1 [183 kB] 58s Get:9 http://ftpmaster.internal/ubuntu resolute/universe amd64 mercurial-git all 1.2.0-1 [60.9 kB] 58s Get:10 http://ftpmaster.internal/ubuntu resolute/universe amd64 sharness all 1.0.0-1.1 [25.7 kB] 58s Fetched 9150 kB in 1s (9586 kB/s) 58s Selecting previously unselected package liberror-perl. 58s (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 ... 78439 files and directories currently installed.) 58s Preparing to unpack .../0-liberror-perl_0.17030-1_all.deb ... 58s Unpacking liberror-perl (0.17030-1) ... 58s Selecting previously unselected package git-man. 58s Preparing to unpack .../1-git-man_1%3a2.51.0-1ubuntu1_all.deb ... 58s Unpacking git-man (1:2.51.0-1ubuntu1) ... 58s Selecting previously unselected package git. 58s Preparing to unpack .../2-git_1%3a2.51.0-1ubuntu1_amd64.deb ... 58s Unpacking git (1:2.51.0-1ubuntu1) ... 58s Selecting previously unselected package mercurial-common. 58s Preparing to unpack .../3-mercurial-common_7.0.1-2_all.deb ... 58s Unpacking mercurial-common (7.0.1-2) ... 58s Selecting previously unselected package mercurial. 58s Preparing to unpack .../4-mercurial_7.0.1-2_amd64.deb ... 58s Unpacking mercurial (7.0.1-2) ... 58s Selecting previously unselected package python3-zombie-imp. 58s Preparing to unpack .../5-python3-zombie-imp_0.0.3-1_all.deb ... 58s Unpacking python3-zombie-imp (0.0.3-1) ... 58s Selecting previously unselected package git-remote-hg. 58s Preparing to unpack .../6-git-remote-hg_1.0.4~ds-3_all.deb ... 58s Unpacking git-remote-hg (1.0.4~ds-3) ... 58s Selecting previously unselected package python3-dulwich. 58s Preparing to unpack .../7-python3-dulwich_0.22.7-1_amd64.deb ... 58s Unpacking python3-dulwich (0.22.7-1) ... 58s Selecting previously unselected package mercurial-git. 58s Preparing to unpack .../8-mercurial-git_1.2.0-1_all.deb ... 58s Unpacking mercurial-git (1.2.0-1) ... 58s Selecting previously unselected package sharness. 58s Preparing to unpack .../9-sharness_1.0.0-1.1_all.deb ... 58s Unpacking sharness (1.0.0-1.1) ... 58s Setting up python3-zombie-imp (0.0.3-1) ... 58s Setting up mercurial-common (7.0.1-2) ... 59s Setting up liberror-perl (0.17030-1) ... 59s Setting up sharness (1.0.0-1.1) ... 59s Setting up python3-dulwich (0.22.7-1) ... 59s Setting up git-man (1:2.51.0-1ubuntu1) ... 59s Setting up mercurial (7.0.1-2) ... 60s Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version 60s Setting up mercurial-git (1.2.0-1) ... 60s mercurial-git extension is disabled by default. 60s You can follow the instructions in /usr/share/doc/mercurial-git/README.Debian to enable it. 60s Setting up git (1:2.51.0-1ubuntu1) ... 60s Setting up git-remote-hg (1.0.4~ds-3) ... 60s Processing triggers for man-db (2.13.1-1) ... 61s autopkgtest [18:39:58]: test environment configured for cross building 61s autopkgtest [18:39:58]: test upstream-test-suite: make -C test TEST_INSTALLED_SCRIPTS=1 TEST_OPTS=--verbose 61s autopkgtest [18:39:58]: test upstream-test-suite: [----------------------- 61s make: Entering directory '/tmp/autopkgtest.qZpevr/build.pLS/src/test' 61s /bin/sh main.t --verbose 61s expecting success: 61s ( 61s hg init hgrepo && 61s cd hgrepo && 61s echo zero > content && 61s hg add content && 61s hg commit -m zero 61s ) 61s 62s ok 1 - setup 62s 62s expecting success: 62s test_when_finished "rm -rf gitrepo*" && 62s git clone "hg::hgrepo" gitrepo && 62s check gitrepo HEAD zero 62s 62s Cloning into 'gitrepo'... 62s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 62s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 62s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 62s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 62s /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. 62s or locale.getdefaultlocale()[1] 62s WARNING: capability_push is disabled, only do so when really sure 62s WARNING: various enhanced features might fail in subtle ways 62s adding changesets 62s adding manifests 62s adding file changes 62s added 1 changesets with 1 changes to 1 files 62s new changesets 8a234cd32509 62s progress revision walk 'bookmarks/master' (0/0) 62s progress revision 0 'master' (0/1) 62s ok 2 - cloning 62s 62s expecting success: 62s test_when_finished "rm -rf gitrepo*" && 62s 62s ( 62s cd hgrepo && 62s hg branch next && 62s echo next > content && 62s hg commit -m next 62s ) && 62s 62s git clone "hg::hgrepo" gitrepo && 62s check gitrepo origin/branches/next next 62s 62s marked working directory as branch next 62s (branches are permanent and global, did you want a bookmark?) 62s Cloning into 'gitrepo'... 62s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 62s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 62s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 62s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 62s /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. 62s or locale.getdefaultlocale()[1] 62s WARNING: capability_push is disabled, only do so when really sure 62s WARNING: various enhanced features might fail in subtle ways 62s adding changesets 62s adding manifests 62s adding file changes 62s added 2 changesets with 2 changes to 1 files 62s new changesets 8a234cd32509:2b2cfd217fa4 62s progress revision walk 'bookmarks/master' (0/0) 62s progress revision 0 'master' (0/1) 62s progress revision 1 'next' (0/1) 62s ok 3 - cloning with branches 62s 62s expecting success: 62s test_when_finished "rm -rf gitrepo*" && 62s 62s ( 62s cd hgrepo && 62s hg checkout default && 62s hg bookmark feature-a && 62s echo feature-a > content && 62s hg commit -m feature-a 62s ) && 62s 62s git clone "hg::hgrepo" gitrepo && 62s check gitrepo origin/feature-a feature-a 62s 62s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 63s Cloning into 'gitrepo'... 63s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 63s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 63s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 63s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 63s /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. 63s or locale.getdefaultlocale()[1] 63s WARNING: capability_push is disabled, only do so when really sure 63s WARNING: various enhanced features might fail in subtle ways 63s adding changesets 63s adding manifests 63s adding file changes 63s adding remote bookmark feature-a 63s added 3 changesets with 3 changes to 1 files (+1 heads) 63s new changesets 8a234cd32509:6d90acbf1651 63s progress revision walk 'bookmarks/master' (2/2) 63s progress revision 0 'master' (0/2) 63s progress revision 1 'next' (0/1) 63s ok 4 - cloning with bookmarks 63s 63s expecting success: 63s test_when_finished "rm -rf gitrepo*" && 63s 63s ( 63s cd hgrepo && 63s hg bookmark devel 63s ) && 63s 63s ( 63s git clone "hg::hgrepo" gitrepo && 63s cd gitrepo && 63s git checkout --quiet devel && 63s echo devel > content && 63s git commit -a -m devel && 63s git push --quiet origin devel 63s ) && 63s 63s check_bookmark hgrepo devel devel 63s 63s Cloning into 'gitrepo'... 63s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 63s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 63s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 63s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 63s /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. 63s or locale.getdefaultlocale()[1] 63s WARNING: capability_push is disabled, only do so when really sure 63s WARNING: various enhanced features might fail in subtle ways 63s adding changesets 63s adding manifests 63s adding file changes 63s adding remote bookmark devel 63s adding remote bookmark feature-a 63s added 3 changesets with 3 changes to 1 files (+1 heads) 63s new changesets 8a234cd32509:6d90acbf1651 63s progress revision walk 'bookmarks/master' (2/2) 63s progress revision 0 'master' (0/2) 63s progress revision 1 'next' (0/1) 63s [devel 4baf04e] devel 63s Author: A U Thor 63s 1 file changed, 1 insertion(+), 1 deletion(-) 63s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 63s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 63s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 63s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 64s /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. 64s or locale.getdefaultlocale()[1] 64s WARNING: capability_push is disabled, only do so when really sure 64s WARNING: various enhanced features might fail in subtle ways 64s no changes found 64s searching for changes 64s adding changesets 64s adding manifests 64s adding file changes 64s added 1 changesets with 1 changes to 1 files 64s Cloning into 'gitrepo'... 64s ok 5 - update bookmark 64s 64s expecting success: 64s test_when_finished "rm -rf gitrepo*" && 64s 64s ( 64s git clone "hg::hgrepo" gitrepo && 64s cd gitrepo && 64s git checkout --quiet -b feature-b && 64s echo feature-b > content && 64s git commit -a -m feature-b && 64s git push --quiet origin feature-b 64s ) && 64s 64s check_bookmark hgrepo feature-b feature-b 64s 64s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 64s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 64s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 64s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 64s /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. 64s or locale.getdefaultlocale()[1] 64s WARNING: capability_push is disabled, only do so when really sure 64s WARNING: various enhanced features might fail in subtle ways 64s adding changesets 64s adding manifests 64s adding file changes 64s adding remote bookmark devel 64s adding remote bookmark feature-a 64s added 4 changesets with 4 changes to 1 files (+1 heads) 64s new changesets 8a234cd32509:71d02bdc3f17 64s progress revision walk 'bookmarks/master' (3/3) 64s progress revision 0 'master' (0/3) 64s progress revision 1 'next' (0/1) 64s [feature-b 770cf31] feature-b 64s Author: A U Thor 64s 1 file changed, 1 insertion(+), 1 deletion(-) 64s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 64s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 64s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 64s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 64s /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. 64s or locale.getdefaultlocale()[1] 64s WARNING: capability_push is disabled, only do so when really sure 64s WARNING: various enhanced features might fail in subtle ways 64s no changes found 64s searching for changes 64s adding changesets 64s adding manifests 64s adding file changes 64s added 1 changesets with 1 changes to 1 files 64s ok 6 - new bookmark 64s 64s expecting success: 64s test_when_finished "rm -rf hgrepo gitrepo" && 64s 64s ( 64s hg init hgrepo && 64s cd hgrepo && 64s 64s touch content && 64s hg add content && 64s 64s > ../expected && 64s author_test alpha "" "H G Wells " && 64s author_test beta "beta" "beta " && 64s author_test gamma "gamma (comment)" "gamma " && 64s author_test delta "" "Unknown " && 64s author_test epsilon "epsilon" "epsilon " && 64s author_test zeta "zeta " && 64s author_test eta " eta " "eta " && 64s author_test theta "theta < test@example.com >" "theta " && 64s author_test iota "iota >test@example.com>" "iota " && 64s author_test kappa "kappa < test example com>" "kappa " && 64s author_test lambda "lambda@example.com" "Unknown " && 64s author_test mu "mu.mu@example.com" "Unknown " 64s ) && 64s 64s git clone "hg::hgrepo" gitrepo && 64s git --git-dir=gitrepo/.git log --reverse --format="%an <%ae>" > actual && 64s 64s test_cmp expected actual 64s 66s Cloning into 'gitrepo'... 66s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 66s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 66s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 66s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 66s /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. 66s or locale.getdefaultlocale()[1] 66s WARNING: capability_push is disabled, only do so when really sure 66s WARNING: various enhanced features might fail in subtle ways 66s adding changesets 66s adding manifests 66s adding file changes 66s added 12 changesets with 12 changes to 1 files 66s new changesets 36037e9a07f4:8b0e0dbe8b95 66s progress revision walk 'bookmarks/master' (11/11) 66s progress revision 0 'master' (0/12) 66s ok 7 - authors 66s 66s expecting success: 66s test_when_finished "rm -rf hgrepo gitrepo" && 66s 66s ( 66s hg init hgrepo && 66s cd hgrepo && 66s 66s echo one >> content && 66s hg add content && 66s hg commit -m one && 66s 66s echo two >> content && 66s hg commit -m two 66s ) && 66s 66s git clone "hg::hgrepo" gitrepo && 66s 66s ( 66s cd hgrepo && 66s hg strip 1 && 66s 66s echo three >> content && 66s hg commit -m three && 66s 66s echo four >> content && 66s hg commit -m four 66s ) && 66s 66s ( 66s cd gitrepo && 66s git fetch && 66s git log --format="%s" origin/master > ../actual 66s ) && 66s 66s hg -R hgrepo log --template "{desc}\n" > expected && 66s test_cmp actual expected 66s 67s Cloning into 'gitrepo'... 67s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 67s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 67s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 67s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 67s /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. 67s or locale.getdefaultlocale()[1] 67s WARNING: capability_push is disabled, only do so when really sure 67s WARNING: various enhanced features might fail in subtle ways 67s adding changesets 67s adding manifests 67s adding file changes 67s added 2 changesets with 2 changes to 1 files 67s new changesets e63821b4ee39:c6a523b00f9e 67s progress revision walk 'bookmarks/master' (1/1) 67s progress revision 0 'master' (0/2) 67s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 67s saved backup bundle to /tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/hgrepo/.hg/strip-backup/c6a523b00f9e-a8f7cd40-backup.hg 68s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 68s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 68s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 68s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 68s /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. 68s or locale.getdefaultlocale()[1] 68s WARNING: capability_push is disabled, only do so when really sure 68s WARNING: various enhanced features might fail in subtle ways 68s searching for changes 68s adding changesets 68s adding manifests 68s adding file changes 68s added 2 changesets with 2 changes to 1 files (+1 heads) 68s new changesets fe4311aa5476:7eef8afd90ae 68s progress revision 2 'default' (0/2) 68s From hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/hgrepo 68s + 6e57e70...32eb90a master -> origin/master (forced update) 68s + 6e57e70...32eb90a branches/default -> origin/branches/default (forced update) 68s ok 8 - strip 68s 68s expecting success: 68s test_when_finished "rm -rf hgrepo gitrepo*" && 68s 68s ( 68s hg init hgrepo && 68s cd hgrepo && 68s echo zero > content && 68s hg add content && 68s hg commit -m zero && 68s hg bookmark master && 68s echo one > content && 68s hg commit -m one 68s ) && 68s 68s ( 68s git clone "hg::hgrepo" gitrepo && 68s cd gitrepo && 68s echo two > content && 68s git commit -a -m two && 68s git push 68s ) && 68s 68s check_branch hgrepo default two 68s 69s Cloning into 'gitrepo'... 69s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 69s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 69s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 69s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 69s /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. 69s or locale.getdefaultlocale()[1] 69s WARNING: capability_push is disabled, only do so when really sure 69s WARNING: various enhanced features might fail in subtle ways 69s adding changesets 69s adding manifests 69s adding file changes 69s adding remote bookmark master 69s added 2 changesets with 2 changes to 1 files 69s new changesets 7150de4339a6:1c4f238e3ed5 69s progress revision walk 'bookmarks/default' (1/1) 69s progress revision 0 'default' (0/2) 69s [default c2f0df0] two 69s Author: A U Thor 69s 1 file changed, 1 insertion(+), 1 deletion(-) 69s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 69s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 69s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 69s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 69s /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. 69s or locale.getdefaultlocale()[1] 69s WARNING: capability_push is disabled, only do so when really sure 69s WARNING: various enhanced features might fail in subtle ways 69s no changes found 69s searching for changes 69s adding changesets 69s adding manifests 69s adding file changes 69s added 1 changesets with 1 changes to 1 files 69s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/hgrepo 69s 2f8ab54..c2f0df0 default -> default 69s ok 9 - remote push with master bookmark 69s 69s expecting success: 69s test_when_finished "rm -rf hgrepo gitrepo*" && 69s 69s hg init hgrepo && 69s 69s ( 69s git init gitrepo && 69s cd gitrepo && 69s git remote add origin "hg::../hgrepo" && 69s echo one > content && 69s git add content && 69s git commit -a -m one && 69s git push origin master 69s ) && 69s 69s hg -R hgrepo log > actual && 69s cat actual && 69s test_cmp expected actual && 69s 69s check_branch hgrepo default one 69s 69s Initialized empty Git repository in /tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/gitrepo/.git/ 69s [master (root-commit) 64caca5] one 69s Author: A U Thor 69s 1 file changed, 1 insertion(+) 69s create mode 100644 content 69s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 69s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 69s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 69s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 69s /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. 69s or locale.getdefaultlocale()[1] 69s WARNING: capability_push is disabled, only do so when really sure 69s WARNING: various enhanced features might fail in subtle ways 69s no changes found 69s searching for changes 69s adding changesets 69s adding manifests 69s adding file changes 69s added 1 changesets with 1 changes to 1 files 69s To hg::../hgrepo 69s * [new branch] master -> master 70s changeset: 0:6e2126489d3d 70s tag: tip 70s user: A U Thor 70s date: Mon Jan 01 00:00:00 2007 +0230 70s summary: one 70s 70s ok 10 - remote push from master branch 70s 70s expecting success: 70s test_when_finished "rm -rf gitrepo*" && 70s 70s ( 70s hg init hgrepo && 70s cd hgrepo && 70s echo zero > content && 70s hg add content && 70s hg commit -m zero 70s ) && 70s 70s git clone "hg::hgrepo" gitrepo && 70s check gitrepo HEAD zero 70s 70s Cloning into 'gitrepo'... 70s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 70s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 70s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 70s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 70s /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. 70s or locale.getdefaultlocale()[1] 70s WARNING: capability_push is disabled, only do so when really sure 70s WARNING: various enhanced features might fail in subtle ways 70s adding changesets 70s adding manifests 70s adding file changes 70s added 1 changesets with 1 changes to 1 files 70s new changesets 091db1093e90 70s progress revision walk 'bookmarks/master' (0/0) 70s progress revision 0 'master' (0/1) 70s ok 11 - remote cloning 70s 70s expecting success: 70s test_when_finished "rm -rf gitrepo*" && 70s 70s ( 70s git clone "hg::hgrepo" gitrepo && 70s mv gitrepo gitrepo2 && 70s cd gitrepo2 && 70s git fetch 70s ) 70s 70s Cloning into 'gitrepo'... 70s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 70s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 70s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 70s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 71s /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. 71s or locale.getdefaultlocale()[1] 71s WARNING: capability_push is disabled, only do so when really sure 71s WARNING: various enhanced features might fail in subtle ways 71s adding changesets 71s adding manifests 71s adding file changes 71s progress revision walk 'bookmarks/master' (0/0) 71s progress revision 0 'master' (0/1) 71s added 1 changesets with 1 changes to 1 files 71s new changesets 091db1093e90 71s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 71s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 71s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 71s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 71s /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. 71s or locale.getdefaultlocale()[1] 71s WARNING: capability_push is disabled, only do so when really sure 71s WARNING: various enhanced features might fail in subtle ways 71s no changes found 71s ok 12 - moving remote clone 71s 71s expecting success: 71s test_when_finished "rm -rf gitrepo*" && 71s 71s ( 71s cd hgrepo && 71s hg bookmark devel 71s ) && 71s 71s ( 71s git clone "hg::hgrepo" gitrepo && 71s cd gitrepo && 71s git checkout --quiet devel && 71s echo devel > content && 71s git commit -a -m devel && 71s git push --quiet 71s ) && 71s 71s check_bookmark hgrepo devel devel 71s 71s Cloning into 'gitrepo'... 71s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 71s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 71s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 71s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 71s /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. 71s or locale.getdefaultlocale()[1] 71s WARNING: capability_push is disabled, only do so when really sure 71s WARNING: various enhanced features might fail in subtle ways 71s progress revision walk 'bookmarks/master' (0/0) 71s progress revision 0 'master' (0/1) 71s adding changesets 71s adding manifests 71s adding file changes 71s adding remote bookmark devel 71s added 1 changesets with 1 changes to 1 files 71s new changesets 091db1093e90 71s [devel 08b753d] devel 71s Author: A U Thor 71s 1 file changed, 1 insertion(+), 1 deletion(-) 71s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 71s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 71s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 71s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 71s /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. 71s or locale.getdefaultlocale()[1] 71s WARNING: capability_push is disabled, only do so when really sure 71s WARNING: various enhanced features might fail in subtle ways 71s no changes found 71s searching for changes 71s adding changesets 71s adding manifests 71s adding file changes 71s added 1 changesets with 1 changes to 1 files 72s ok 13 - remote update bookmark 72s 72s expecting success: 72s test_when_finished "rm -rf gitrepo*" && 72s 72s ( 72s git clone "hg::hgrepo" gitrepo && 72s cd gitrepo && 72s git checkout --quiet -b feature-b && 72s echo feature-b > content && 72s git commit -a -m feature-b && 72s git push --quiet origin feature-b 72s ) && 72s 72s check_bookmark hgrepo feature-b feature-b 72s 72s Cloning into 'gitrepo'... 72s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 72s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 72s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 72s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 72s /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. 72s or locale.getdefaultlocale()[1] 72s WARNING: capability_push is disabled, only do so when really sure 72s WARNING: various enhanced features might fail in subtle ways 72s adding changesets 72s adding manifests 72s adding file changes 72s adding remote bookmark devel 72s added 2 changesets with 2 changes to 1 files 72s new changesets 091db1093e90:e060f17f9e86 72s progress revision walk 'bookmarks/master' (1/1) 72s progress revision 0 'master' (0/2) 72s [feature-b 6f2cecb] feature-b 72s Author: A U Thor 72s 1 file changed, 1 insertion(+), 1 deletion(-) 72s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 72s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 72s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 72s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 72s /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. 72s or locale.getdefaultlocale()[1] 72s WARNING: capability_push is disabled, only do so when really sure 72s WARNING: various enhanced features might fail in subtle ways 72s no changes found 72s searching for changes 72s adding changesets 72s adding manifests 72s adding file changes 72s added 1 changesets with 1 changes to 1 files 72s ok 14 - remote new bookmark 72s 72s expecting success: 72s test_when_finished "rm -rf gitrepo*" && 72s 72s git clone "hg::hgrepo" gitrepo && 72s 72s ( 72s cd hgrepo && 72s hg checkout default && 72s echo bump > content && 72s hg commit -m bump 72s ) && 72s 72s ( 72s cd gitrepo && 72s echo diverge > content && 72s git commit -a -m diverged && 72s check_push 1 <<-\EOF 72s master:non-fast-forward 72s EOF 72s ) && 72s 72s check_branch hgrepo default bump 72s 72s Cloning into 'gitrepo'... 72s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 72s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 72s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 72s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 72s /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. 72s or locale.getdefaultlocale()[1] 72s WARNING: capability_push is disabled, only do so when really sure 72s WARNING: various enhanced features might fail in subtle ways 72s adding changesets 72s adding manifests 72s adding file changes 72s progress revision walk 'bookmarks/master' (2/2) 72s progress revision 0 'master' (0/3) 72s adding remote bookmark devel 72s adding remote bookmark feature-b 72s added 3 changesets with 3 changes to 1 files 72s new changesets 091db1093e90:7b2721b38779 72s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 72s (leaving bookmark devel) 73s [master 54769da] diverged 73s Author: A U Thor 73s 1 file changed, 1 insertion(+), 1 deletion(-) 73s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 73s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 73s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 73s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 73s /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. 73s or locale.getdefaultlocale()[1] 73s WARNING: capability_push is disabled, only do so when really sure 73s WARNING: various enhanced features might fail in subtle ways 73s searching for changes 73s adding changesets 73s adding manifests 73s adding file changes 73s added 1 changesets with 1 changes to 1 files 73s new changesets 150c618e28ff 73s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/hgrepo 73s ! [rejected] master -> master (non-fast-forward) 73s error: failed to push some refs to 'hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/hgrepo' 73s hint: Updates were rejected because the tip of your current branch is behind 73s hint: its remote counterpart. If you want to integrate the remote changes, 73s hint: use 'git pull' before pushing again. 73s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 73s ! [rejected] master -> master (non-fast-forward) 73s ok 15 - remote push diverged 73s 73s expecting success: 73s test_when_finished "rm -rf gitrepo*" && 73s 73s ( 73s cd hgrepo && 73s hg checkout tip^ && 73s hg bookmark diverge 73s ) && 73s 73s git clone "hg::hgrepo" gitrepo && 73s 73s ( 73s cd hgrepo && 73s echo "bump bookmark" > content && 73s hg commit -m "bump bookmark" 73s ) && 73s 73s ( 73s cd gitrepo && 73s git checkout --quiet diverge && 73s echo diverge > content && 73s git commit -a -m diverge && 73s check_push 1 <<-\EOF 73s diverge:non-fast-forward 73s EOF 73s ) && 73s 73s check_bookmark hgrepo diverge "bump bookmark" 73s 73s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 73s Cloning into 'gitrepo'... 73s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 73s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 73s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 73s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 73s /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. 73s or locale.getdefaultlocale()[1] 73s WARNING: capability_push is disabled, only do so when really sure 73s WARNING: various enhanced features might fail in subtle ways 73s adding changesets 73s adding manifests 73s adding file changes 73s adding remote bookmark devel 73s adding remote bookmark diverge 73s adding remote bookmark feature-b 73s added 4 changesets with 4 changes to 1 files 73s new changesets 091db1093e90:150c618e28ff 73s progress revision walk 'bookmarks/master' (3/3) 73s progress revision 0 'master' (0/4) 74s created new head 74s [diverge 1acbea6] diverge 74s Author: A U Thor 74s 1 file changed, 1 insertion(+), 1 deletion(-) 74s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 74s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 74s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 74s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 74s /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. 74s or locale.getdefaultlocale()[1] 74s WARNING: capability_push is disabled, only do so when really sure 74s WARNING: various enhanced features might fail in subtle ways 74s searching for changes 74s adding changesets 74s adding manifests 74s adding file changes 74s updating bookmark diverge 74s added 1 changesets with 1 changes to 1 files (+1 heads) 74s new changesets f639f09a0241 74s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/hgrepo 74s ! [rejected] diverge -> diverge (non-fast-forward) 74s error: failed to push some refs to 'hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/hgrepo' 74s hint: Updates were rejected because the tip of your current branch is behind 74s hint: its remote counterpart. If you want to integrate the remote changes, 74s hint: use 'git pull' before pushing again. 74s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 74s ! [rejected] diverge -> diverge (non-fast-forward) 74s ok 16 - remote update bookmark diverge 74s 74s expecting success: 74s test_when_finished "rm -rf gitrepo*" && 74s 74s ( 74s git clone "hg::hgrepo" gitrepo && 74s cd gitrepo && 74s git checkout --quiet -b feature-c HEAD^ && 74s echo feature-c > content && 74s git commit -a -m feature-c && 74s git push --quiet origin feature-c 74s ) && 74s 74s check_bookmark hgrepo feature-c feature-c 74s 74s Cloning into 'gitrepo'... 74s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 74s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 74s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 74s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 74s /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. 74s or locale.getdefaultlocale()[1] 74s WARNING: capability_push is disabled, only do so when really sure 74s WARNING: various enhanced features might fail in subtle ways 74s adding changesets 74s adding manifests 74s adding file changes 74s adding remote bookmark devel 74s adding remote bookmark diverge 74s adding remote bookmark feature-b 74s added 5 changesets with 5 changes to 1 files (+1 heads) 74s new changesets 091db1093e90:f639f09a0241 74s progress revision walk 'bookmarks/master' (4/4) 74s progress revision 0 'master' (0/4) 74s WARNING: Branch 'default' has more than one head, consider merging 74s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 74s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 74s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 74s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 74s [feature-c 7e6b781] feature-c 74s Author: A U Thor 74s 1 file changed, 1 insertion(+), 1 deletion(-) 74s /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. 74s or locale.getdefaultlocale()[1] 74s WARNING: capability_push is disabled, only do so when really sure 74s WARNING: various enhanced features might fail in subtle ways 74s no changes found 74s searching for changes 74s adding changesets 74s adding manifests 74s adding file changes 74s added 1 changesets with 1 changes to 1 files (+1 heads) 75s ok 17 - remote new bookmark multiple branch head 75s 75s checking known breakage: 75s test_when_finished "rm -rf gitrepo hgrepo" && 75s 75s ( 75s hg init hgrepo && 75s cd hgrepo && 75s echo zero > content && 75s hg add content && 75s hg commit -m zero 75s ) && 75s 75s git clone "hg::hgrepo" gitrepo && 75s 75s ( 75s cd gitrepo && 75s cp content content-copy && 75s # recent git-fast-export is (too) picky in recognizing copies 75s # although git-log is not as picky; 75s # since https://github.com/git/git/commit/8096e1d385660c159d9d47e69b2be63cf22e4f31 75s # a copy is only marked if source filed not modified as well 75s # (though destination file can be modified) 75s echo one >> content-copy && 75s git add content content-copy && 75s git commit -m copy && 75s git mv content-copy content-moved 75s git commit -m moved && 75s git push origin master 75s ) && 75s 75s ( 75s hg -R hgrepo update && 75s test_cmp gitrepo/content hgrepo/content 75s test_cmp gitrepo/content-moved hgrepo/content-moved 75s cd hgrepo && 75s test `hg log -f content-moved | grep -c changeset` -eq 3 75s ) 75s 75s Cloning into 'gitrepo'... 75s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 75s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 75s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 75s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 75s /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. 75s or locale.getdefaultlocale()[1] 75s WARNING: capability_push is disabled, only do so when really sure 75s WARNING: various enhanced features might fail in subtle ways 75s progress revision walk 'bookmarks/master' (0/0) 75s adding changesets 75s adding manifests 75s adding file changes 75s added 1 changesets with 1 changes to 1 files 75s new changesets 269da3817c25 75s progress revision 0 'master' (0/1) 75s [master 0e9e7c8] copy 75s Author: A U Thor 75s 1 file changed, 2 insertions(+) 75s create mode 100644 content-copy 75s [master 9eecba5] moved 75s Author: A U Thor 75s 1 file changed, 0 insertions(+), 0 deletions(-) 75s rename content-copy => content-moved (100%) 75s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 75s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 75s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 75s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 75s /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. 75s or locale.getdefaultlocale()[1] 75s WARNING: capability_push is disabled, only do so when really sure 75s WARNING: various enhanced features might fail in subtle ways 75s no changes found 75s searching for changes 75s adding changesets 75s adding manifests 75s adding file changes 75s added 2 changesets with 2 changes to 2 files 75s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/hgrepo 75s 9836ae6..9eecba5 master -> master 75s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 76s not ok 18 - push commits with copy and rename # TODO known breakage 76s 76s expecting success: 76s test_when_finished "rm -rf hgrepo gitrepo && LC_ALL=C" && 76s 76s LC_ALL=C.UTF-8 76s export LC_ALL 76s 76s ( 76s hg init hgrepo && 76s cd hgrepo && 76s 76s echo test >> "æ rø" && 76s hg add "æ rø" && 76s echo test >> "ø~?" && 76s hg add "ø~?" && 76s hg commit -m add-utf-8 && 76s echo test >> "æ rø" && 76s hg commit -m test-utf-8 && 76s hg rm "ø~?" && 76s hg mv "æ rø" "ø~?" && 76s hg commit -m hg-mv-utf-8 76s ) && 76s 76s ( 76s git clone "hg::hgrepo" gitrepo && 76s cd gitrepo && 76s git -c core.quotepath=false ls-files > ../actual 76s ) && 76s echo "ø~?" > expected && 76s test_cmp expected actual 76s 76s warning: filename contains '?', which is reserved on Windows: 'ø~?' 76s warning: filename contains '?', which is reserved on Windows: 'ø~?' 77s Cloning into 'gitrepo'... 77s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 77s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 77s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 77s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 77s WARNING: capability_push is disabled, only do so when really sure 77s WARNING: various enhanced features might fail in subtle ways 77s adding changesets 77s adding manifests 77s adding file changes 77s added 3 changesets with 4 changes to 2 files 77s new changesets d82383eaa6ff:ad85e96c61d2 77s progress revision walk 'bookmarks/master' (2/2) 77s progress revision 0 'master' (0/3) 77s ok 19 - fetch special filenames 77s 77s expecting success: 77s test_when_finished "rm -rf hgrepo gitrepo && LC_ALL=C" && 77s 77s mkdir -p tmp && cd tmp && 77s 77s LC_ALL=C.UTF-8 77s export LC_ALL 77s 77s ( 77s hg init hgrepo && 77s cd hgrepo && 77s 77s echo one >> content && 77s hg add content && 77s hg commit -m one 77s ) && 77s 77s ( 77s git clone "hg::hgrepo" gitrepo && 77s cd gitrepo && 77s 77s echo test >> "æ rø" && 77s git add "æ rø" && 77s git commit -m utf-8 && 77s 77s git push 77s ) && 77s 77s (cd hgrepo && 77s hg update && 77s hg manifest > ../actual 77s ) && 77s 77s printf "content\næ rø\n" > expected && 77s test_cmp expected actual 77s 77s Cloning into 'gitrepo'... 77s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 77s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 77s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 77s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 77s WARNING: capability_push is disabled, only do so when really sure 77s WARNING: various enhanced features might fail in subtle ways 77s progress revision walk 'bookmarks/master' (0/0) 77s progress revision 0 'master' (0/1) 77s adding changesets 77s adding manifests 77s adding file changes 77s added 1 changesets with 1 changes to 1 files 77s new changesets cdfc37c662b1 77s [master 07a6818] utf-8 77s Author: A U Thor 77s 1 file changed, 1 insertion(+) 77s create mode 100644 "\303\246 r\303\270" 77s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 77s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 77s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 77s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 78s WARNING: capability_push is disabled, only do so when really sure 78s WARNING: various enhanced features might fail in subtle ways 78s no changes found 78s searching for changes 78s adding changesets 78s adding manifests 78s adding file changes 78s added 1 changesets with 1 changes to 1 files 78s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo 78s fbf5086..07a6818 master -> master 78s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 78s ok 20 - push special filenames 78s 78s expecting success: 78s test_when_finished "rm -rf hgrepo gitrepo*" && 78s 78s setup_big_push 78s 78s ( 78s cd gitrepo && 78s 78s check_push 1 --all <<-\EOF 78s master 78s good_bmark 78s branches/good_branch 78s new_bmark:new 78s branches/new_branch:new 78s bad_bmark1:non-fast-forward 78s bad_bmark2:non-fast-forward 78s branches/bad_branch:non-fast-forward 78s EOF 78s ) && 78s 78s if test "$CAPABILITY_PUSH" = "t" 78s then 78s # cap push handles refs one by one 78s # so it will push all requested it can 78s check_branch hgrepo default six && 78s check_branch hgrepo good_branch eight && 78s check_branch hgrepo bad_branch "bad branch" && 78s check_branch hgrepo new_branch ten && 78s check_bookmark hgrepo good_bmark three && 78s check_bookmark hgrepo bad_bmark1 one && 78s check_bookmark hgrepo bad_bmark2 one && 78s check_bookmark hgrepo new_bmark six 78s else 78s check_branch hgrepo default one && 78s check_branch hgrepo good_branch "good branch" && 78s check_branch hgrepo bad_branch "bad branch" && 78s check_branch hgrepo new_branch && 78s check_bookmark hgrepo good_bmark one && 78s check_bookmark hgrepo bad_bmark1 one && 78s check_bookmark hgrepo bad_bmark2 one && 78s check_bookmark hgrepo new_bmark 78s fi 78s 79s Cloning into 'gitrepo'... 79s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 79s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 79s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 79s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 80s /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. 80s or locale.getdefaultlocale()[1] 80s WARNING: capability_push is disabled, only do so when really sure 80s WARNING: various enhanced features might fail in subtle ways 80s adding changesets 80s adding manifests 80s adding file changes 80s adding remote bookmark bad_bmark1 80s adding remote bookmark bad_bmark2 80s adding remote bookmark good_bmark 80s added 4 changesets with 4 changes to 1 files 80s new changesets 7a3789908efd:ec04698c0c2a 80s progress revision walk 'bookmarks/master' (1/1) 80s progress revision 0 'master' (0/2) 80s progress revision 2 'bad_branch' (0/2) 80s HEAD is now at 6c5e0fe zero 80s HEAD is now at 6c5e0fe zero 80s HEAD is now at 7063bb7 good branch 80s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 80s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 80s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 80s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 80s /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. 80s or locale.getdefaultlocale()[1] 80s WARNING: capability_push is disabled, only do so when really sure 80s WARNING: various enhanced features might fail in subtle ways 80s no changes found 80s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo 80s 7063bb7..48cb89b branches/good_branch -> branches/good_branch 80s 92ecb39..ff17725 good_bmark -> good_bmark 80s 92ecb39..174cf88 master -> master 80s * [new branch] branches/new_branch -> branches/new_branch 80s * [new branch] new_bmark -> new_bmark 80s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 80s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 80s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 80s error: failed to push some refs to 'hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo' 80s hint: Updates were rejected because a pushed branch tip is behind its remote 80s hint: counterpart. If you want to integrate the remote changes, use 'git pull' 80s hint: before pushing again. 80s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 80s 92ecb39..174cf88 master -> master 80s 92ecb39..ff17725 good_bmark -> good_bmark 80s 7063bb7..48cb89b branches/good_branch -> branches/good_branch 80s * [new branch] new_bmark -> new_bmark 80s * [new branch] branches/new_branch -> branches/new_branch 80s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 80s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 80s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 81s ok 21 - remote big push 81s 81s expecting success: 81s test_when_finished "rm -rf hgrepo gitrepo*" && 81s 81s ( 81s hg init hgrepo && 81s cd hgrepo && 81s echo zero > content && 81s hg add content && 81s hg commit -m zero && 81s hg bookmark bad_bmark && 81s hg bookmark good_bmark && 81s hg bookmark -i good_bmark && 81s hg -q branch good_branch && 81s echo "good branch" > content && 81s hg commit -m "good branch" && 81s hg -q branch bad_branch && 81s echo "bad branch" > content && 81s hg commit -m "bad branch" 81s ) && 81s 81s git clone "hg::hgrepo" gitrepo && 81s 81s ( 81s cd hgrepo && 81s hg bookmark -f bad_bmark && 81s echo update_bmark > content && 81s hg commit -m "update bmark" 81s ) && 81s 81s ( 81s cd gitrepo && 81s echo two > content && 81s git commit -q -a -m two && 81s 81s git checkout -q good_bmark && 81s echo three > content && 81s git commit -q -a -m three && 81s 81s git checkout -q bad_bmark && 81s echo four > content && 81s git commit -q -a -m four && 81s 81s git checkout -q branches/bad_branch && 81s echo five > content && 81s git commit -q -a -m five && 81s 81s check_push 1 --all <<-\EOF && 81s master 81s good_bmark 81s bad_bmark:non-fast-forward 81s branches/bad_branch:non-fast-forward 81s EOF 81s 81s git fetch && 81s 81s if test "$CAPABILITY_PUSH" = "t" 81s then 81s # cap push handles refs one by one 81s # so it will already have pushed some above previously 81s # (and master is a fake one that jumps around a bit) 81s check_push 1 --all <<-\EOF 81s bad_bmark:non-fast-forward 81s branches/bad_branch:non-fast-forward 81s EOF 81s else 81s check_push 1 --all <<-\EOF 81s master 81s good_bmark 81s bad_bmark:non-fast-forward 81s branches/bad_branch:non-fast-forward 81s EOF 81s fi 81s ) 81s 82s Cloning into 'gitrepo'... 82s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 82s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 82s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 82s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 82s /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. 82s or locale.getdefaultlocale()[1] 82s WARNING: capability_push is disabled, only do so when really sure 82s WARNING: various enhanced features might fail in subtle ways 83s adding changesets 83s adding manifests 83s adding file changes 83s adding remote bookmark bad_bmark 83s adding remote bookmark good_bmark 83s added 3 changesets with 3 changes to 1 files 83s new changesets df0131bdabc7:502080ec1414 83s progress revision walk 'bookmarks/master' (0/0) 83s progress revision 0 'master' (0/1) 83s progress revision 1 'bad_branch' (0/2) 83s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 83s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 83s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 83s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 83s /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. 83s or locale.getdefaultlocale()[1] 83s WARNING: capability_push is disabled, only do so when really sure 83s WARNING: various enhanced features might fail in subtle ways 83s searching for changes 83s adding changesets 83s adding manifests 83s adding file changes 83s updating bookmark bad_bmark 83s added 1 changesets with 1 changes to 1 files 83s new changesets d1329d7dcd69 83s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo 83s 2901f58..609f6ac good_bmark -> good_bmark 83s 2901f58..bf5ef63 master -> master 83s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 83s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 83s error: failed to push some refs to 'hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo' 83s hint: Updates were rejected because the tip of your current branch is behind 83s hint: its remote counterpart. If you want to integrate the remote changes, 83s hint: use 'git pull' before pushing again. 83s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 83s 2901f58..bf5ef63 master -> master 83s 2901f58..609f6ac good_bmark -> good_bmark 83s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 83s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 83s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 83s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 83s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 83s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 83s /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. 83s or locale.getdefaultlocale()[1] 83s WARNING: capability_push is disabled, only do so when really sure 83s WARNING: various enhanced features might fail in subtle ways 83s progress revision 3 'bad_branch' (0/1) 83s no changes found 83s From hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo 83s 8a953c8..e6faa3b branches/bad_branch -> origin/branches/bad_branch 83s 2901f58..e6faa3b bad_bmark -> origin/bad_bmark 83s + 609f6ac...2901f58 good_bmark -> origin/good_bmark (forced update) 83s + bf5ef63...2901f58 master -> origin/master (forced update) 83s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 83s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 83s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 83s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 83s /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. 83s or locale.getdefaultlocale()[1] 83s WARNING: capability_push is disabled, only do so when really sure 83s WARNING: various enhanced features might fail in subtle ways 83s no changes found 83s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo 83s 2901f58..609f6ac good_bmark -> good_bmark 83s 2901f58..bf5ef63 master -> master 83s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 83s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 83s error: failed to push some refs to 'hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo' 83s hint: Updates were rejected because the tip of your current branch is behind 83s hint: its remote counterpart. If you want to integrate the remote changes, 83s hint: use 'git pull' before pushing again. 83s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 83s 2901f58..bf5ef63 master -> master 83s 2901f58..609f6ac good_bmark -> good_bmark 83s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 83s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 83s ok 22 - remote big push non fast forward 83s 83s expecting success: 83s test_when_finished "rm -rf hgrepo gitrepo*" && 83s 83s setup_big_push 83s 83s ( 83s cd gitrepo && 83s 83s if test "$CAPABILITY_PUSH" = "t" 83s then 83s check_push 0 --force --all <<-\EOF 83s master:forced-update 83s good_bmark:forced-update 83s branches/good_branch:forced-update 83s new_bmark:new 83s branches/new_branch:new 83s bad_bmark1:forced-update 83s bad_bmark2:forced-update 83s branches/bad_branch:forced-update 83s EOF 83s else 83s check_push 0 --force --all <<-\EOF 83s master 83s good_bmark 83s branches/good_branch 83s new_bmark:new 83s branches/new_branch:new 83s bad_bmark1:forced-update 83s bad_bmark2:forced-update 83s branches/bad_branch:forced-update 83s EOF 83s fi 83s ) && 83s 83s check_branch hgrepo good_branch eight && 83s check_branch hgrepo bad_branch nine && 83s check_branch hgrepo new_branch ten && 83s check_bookmark hgrepo good_bmark three && 83s check_bookmark hgrepo bad_bmark1 four && 83s check_bookmark hgrepo bad_bmark2 five && 83s check_bookmark hgrepo new_bmark six 83s 85s Cloning into 'gitrepo'... 85s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 85s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 85s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 85s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 85s /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. 85s or locale.getdefaultlocale()[1] 85s WARNING: capability_push is disabled, only do so when really sure 85s WARNING: various enhanced features might fail in subtle ways 85s adding changesets 85s adding manifests 85s adding file changes 85s adding remote bookmark bad_bmark1 85s adding remote bookmark bad_bmark2 85s adding remote bookmark good_bmark 85s added 4 changesets with 4 changes to 1 files 85s new changesets e236243d4a46:a5dbf910dbf5 85s progress revision walk 'bookmarks/master' (1/1) 85s progress revision 0 'master' (0/2) 85s progress revision 2 'bad_branch' (0/2) 85s HEAD is now at 6cab7e6 zero 85s HEAD is now at 6cab7e6 zero 85s HEAD is now at 8810bff good branch 86s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 86s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 86s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 86s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 86s /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. 86s or locale.getdefaultlocale()[1] 86s WARNING: capability_push is disabled, only do so when really sure 86s WARNING: various enhanced features might fail in subtle ways 86s no changes found 86s searching for changes 86s adding changesets 86s adding manifests 86s adding file changes 86s added 9 changesets with 9 changes to 1 files (+7 heads) 86s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo 86s + a57a89d...4a89056 branches/bad_branch -> branches/bad_branch (forced update) 86s 8810bff..284ec47 branches/good_branch -> branches/good_branch 86s + d8d4e8e...a935d50 bad_bmark1 -> bad_bmark1 (forced update) 86s + d8d4e8e...5cc0e93 bad_bmark2 -> bad_bmark2 (forced update) 86s d8d4e8e..65aaf40 good_bmark -> good_bmark 86s d8d4e8e..4b325f0 master -> master 86s * [new branch] branches/new_branch -> branches/new_branch 86s * [new branch] new_bmark -> new_bmark 86s d8d4e8e..4b325f0 master -> master 86s d8d4e8e..65aaf40 good_bmark -> good_bmark 86s 8810bff..284ec47 branches/good_branch -> branches/good_branch 86s * [new branch] new_bmark -> new_bmark 86s * [new branch] branches/new_branch -> branches/new_branch 86s + d8d4e8e...a935d50 bad_bmark1 -> bad_bmark1 (forced update) 86s + d8d4e8e...5cc0e93 bad_bmark2 -> bad_bmark2 (forced update) 86s + a57a89d...4a89056 branches/bad_branch -> branches/bad_branch (forced update) 86s ok 23 - remote big push force 86s 86s expecting success: 86s test_when_finished "rm -rf hgrepo gitrepo*" && 86s 86s setup_big_push 86s 86s ( 86s cd gitrepo && 86s 86s check_push 1 --dry-run --all <<-\EOF && 86s master 86s good_bmark 86s branches/good_branch 86s new_bmark:new 86s branches/new_branch:new 86s bad_bmark1:non-fast-forward 86s bad_bmark2:non-fast-forward 86s branches/bad_branch:non-fast-forward 86s EOF 86s 86s check_push 0 --dry-run master good_bmark new_bmark branches/good_branch branches/new_branch <<-\EOF 86s master 86s good_bmark 86s branches/good_branch 86s new_bmark:new 86s branches/new_branch:new 86s EOF 86s ) && 86s 86s check_branch hgrepo default one && 86s check_branch hgrepo good_branch "good branch" && 86s check_branch hgrepo bad_branch "bad branch" && 86s check_branch hgrepo new_branch && 86s check_bookmark hgrepo good_bmark one && 86s check_bookmark hgrepo bad_bmark1 one && 86s check_bookmark hgrepo bad_bmark2 one && 86s check_bookmark hgrepo new_bmark 86s 88s Cloning into 'gitrepo'... 88s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 88s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 88s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 88s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 88s /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. 88s or locale.getdefaultlocale()[1] 88s WARNING: capability_push is disabled, only do so when really sure 88s WARNING: various enhanced features might fail in subtle ways 88s adding changesets 88s adding manifests 88s adding file changes 88s adding remote bookmark bad_bmark1 88s adding remote bookmark bad_bmark2 88s adding remote bookmark good_bmark 88s added 4 changesets with 4 changes to 1 files 88s new changesets a02d3b07cd0f:06b90c919895 88s progress revision walk 'bookmarks/master' (1/1) 88s progress revision 0 'master' (0/2) 88s progress revision 2 'bad_branch' (0/2) 88s HEAD is now at 8b68878 zero 88s HEAD is now at 8b68878 zero 88s HEAD is now at 3169ed8 good branch 88s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 88s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 88s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 88s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 88s /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. 88s or locale.getdefaultlocale()[1] 88s WARNING: capability_push is disabled, only do so when really sure 88s WARNING: various enhanced features might fail in subtle ways 88s no changes found 88s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo 88s 3169ed8..ce26fa2 branches/good_branch -> branches/good_branch 88s e04e95f..9f0f690 good_bmark -> good_bmark 88s e04e95f..cc55696 master -> master 88s * [new branch] branches/new_branch -> branches/new_branch 88s * [new branch] new_bmark -> new_bmark 88s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 88s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 88s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 88s error: failed to push some refs to 'hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo' 88s hint: Updates were rejected because a pushed branch tip is behind its remote 88s hint: counterpart. If you want to integrate the remote changes, use 'git pull' 88s hint: before pushing again. 88s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 88s e04e95f..cc55696 master -> master 88s e04e95f..9f0f690 good_bmark -> good_bmark 88s 3169ed8..ce26fa2 branches/good_branch -> branches/good_branch 88s * [new branch] new_bmark -> new_bmark 88s * [new branch] branches/new_branch -> branches/new_branch 88s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 88s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 88s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 89s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 89s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 89s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 89s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 89s /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. 89s or locale.getdefaultlocale()[1] 89s WARNING: capability_push is disabled, only do so when really sure 89s WARNING: various enhanced features might fail in subtle ways 89s no changes found 89s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo 89s 3169ed8..ce26fa2 branches/good_branch -> branches/good_branch 89s e04e95f..9f0f690 good_bmark -> good_bmark 89s e04e95f..cc55696 master -> master 89s * [new branch] new_bmark -> new_bmark 89s * [new branch] branches/new_branch -> branches/new_branch 89s e04e95f..cc55696 master -> master 89s e04e95f..9f0f690 good_bmark -> good_bmark 89s 3169ed8..ce26fa2 branches/good_branch -> branches/good_branch 89s * [new branch] new_bmark -> new_bmark 89s * [new branch] branches/new_branch -> branches/new_branch 90s ok 24 - remote big push dry-run 90s 90s expecting success: 90s test_when_finished "rm -rf hgrepo gitrepo*" && 90s 90s setup_big_push 90s 90s ( 90s cd gitrepo && 90s 90s if test "$CAPABILITY_PUSH" = "t" 90s then 90s check_push 0 --force --dry-run --all <<-\EOF 90s master:forced-update 90s good_bmark:forced-update 90s branches/good_branch:forced-update 90s new_bmark:new 90s branches/new_branch:new 90s bad_bmark1:forced-update 90s bad_bmark2:forced-update 90s branches/bad_branch:forced-update 90s EOF 90s else 90s check_push 0 --force --dry-run --all <<-\EOF 90s master 90s good_bmark 90s branches/good_branch 90s new_bmark:new 90s branches/new_branch:new 90s bad_bmark1:forced-update 90s bad_bmark2:forced-update 90s branches/bad_branch:forced-update 90s EOF 90s fi 90s ) && 90s 90s check_branch hgrepo default one && 90s check_branch hgrepo good_branch "good branch" && 90s check_branch hgrepo bad_branch "bad branch" && 90s check_branch hgrepo new_branch && 90s check_bookmark hgrepo good_bmark one && 90s check_bookmark hgrepo bad_bmark1 one && 90s check_bookmark hgrepo bad_bmark2 one && 90s check_bookmark hgrepo new_bmark 90s 91s Cloning into 'gitrepo'... 91s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 91s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 91s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 91s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 91s /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. 91s or locale.getdefaultlocale()[1] 91s WARNING: capability_push is disabled, only do so when really sure 91s WARNING: various enhanced features might fail in subtle ways 91s adding changesets 91s adding manifests 91s adding file changes 91s adding remote bookmark bad_bmark1 91s adding remote bookmark bad_bmark2 91s adding remote bookmark good_bmark 91s added 4 changesets with 4 changes to 1 files 91s new changesets 20076d1f2b74:03e16701ca31 91s progress revision walk 'bookmarks/master' (1/1) 91s progress revision 0 'master' (0/2) 91s progress revision 2 'bad_branch' (0/2) 92s HEAD is now at 2769167 zero 92s HEAD is now at 2769167 zero 92s HEAD is now at 9868145 good branch 92s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 92s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 92s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 92s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 92s /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. 92s or locale.getdefaultlocale()[1] 92s WARNING: capability_push is disabled, only do so when really sure 92s WARNING: various enhanced features might fail in subtle ways 92s no changes found 92s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo 92s + 9dd2706...71a78ed branches/bad_branch -> branches/bad_branch (forced update) 92s 9868145..28f11de branches/good_branch -> branches/good_branch 92s + a39f184...f5e0cca bad_bmark1 -> bad_bmark1 (forced update) 92s + a39f184...185ead8 bad_bmark2 -> bad_bmark2 (forced update) 92s a39f184..1ef26ac good_bmark -> good_bmark 92s a39f184..a6a4551 master -> master 92s * [new branch] branches/new_branch -> branches/new_branch 92s * [new branch] new_bmark -> new_bmark 92s a39f184..a6a4551 master -> master 92s a39f184..1ef26ac good_bmark -> good_bmark 92s 9868145..28f11de branches/good_branch -> branches/good_branch 92s * [new branch] new_bmark -> new_bmark 92s * [new branch] branches/new_branch -> branches/new_branch 92s + a39f184...f5e0cca bad_bmark1 -> bad_bmark1 (forced update) 92s + a39f184...185ead8 bad_bmark2 -> bad_bmark2 (forced update) 92s + 9dd2706...71a78ed branches/bad_branch -> branches/bad_branch (forced update) 93s ok 25 - remote big push force dry-run 93s 93s expecting success: 93s test_when_finished "rm -rf hgrepo gitrepo*" && 93s 93s ( 93s hg init hgrepo && 93s cd hgrepo && 93s echo zero > content && 93s hg add content && 93s hg commit -m zero && 93s echo one > content && 93s hg commit -m one 93s ) && 93s 93s ( 93s git clone "hg::hgrepo" gitrepo && 93s cd gitrepo && 93s git reset --hard HEAD^ && 93s echo two > content && 93s git commit -a -m two && 93s test_expect_code 1 git push && 93s test_expect_code 1 git push 93s ) 93s 93s Cloning into 'gitrepo'... 93s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 93s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 93s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 93s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 93s /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. 93s or locale.getdefaultlocale()[1] 93s WARNING: capability_push is disabled, only do so when really sure 93s WARNING: various enhanced features might fail in subtle ways 94s adding changesets 94s adding manifests 94s adding file changes 94s added 2 changesets with 2 changes to 1 files 94s new changesets 25a2263960b4:71227e971579 94s progress revision walk 'bookmarks/master' (1/1) 94s progress revision 0 'master' (0/2) 94s HEAD is now at 7a1dde5 zero 94s [master 243411d] two 94s Author: A U Thor 94s 1 file changed, 1 insertion(+), 1 deletion(-) 94s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 94s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 94s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 94s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 94s /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. 94s or locale.getdefaultlocale()[1] 94s WARNING: capability_push is disabled, only do so when really sure 94s WARNING: various enhanced features might fail in subtle ways 94s no changes found 94s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo 94s ! [rejected] master -> master (non-fast-forward) 94s error: failed to push some refs to 'hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo' 94s hint: Updates were rejected because the tip of your current branch is behind 94s hint: its remote counterpart. If you want to integrate the remote changes, 94s hint: use 'git pull' before pushing again. 94s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 94s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 94s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 94s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 94s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 94s /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. 94s or locale.getdefaultlocale()[1] 94s WARNING: capability_push is disabled, only do so when really sure 94s WARNING: various enhanced features might fail in subtle ways 94s no changes found 94s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo 94s ! [rejected] master -> master (non-fast-forward) 94s error: failed to push some refs to 'hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo' 94s hint: Updates were rejected because the tip of your current branch is behind 94s hint: its remote counterpart. If you want to integrate the remote changes, 94s hint: use 'git pull' before pushing again. 94s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 94s ok 26 - remote double failed push 94s 94s expecting success: 94s test_when_finished "rm -rf gitrepo hgrepo" && 94s 94s ( 94s hg init hgrepo && 94s cd hgrepo && 94s echo zero > content && 94s hg add content && 94s hg commit -m zero && 94s echo feature-a > content && 94s hg commit -m feature-a 94s hg bookmark feature-a 94s ) && 94s 94s git clone "hg::hgrepo" gitrepo && 94s check gitrepo origin/feature-a feature-a && 94s 94s ( 94s cd hgrepo && 94s hg bookmark -d feature-a 94s ) && 94s 94s ( 94s cd gitrepo && 94s git fetch --prune origin 94s git branch -a > out && 94s ! grep feature-a out 94s ) 94s 95s Cloning into 'gitrepo'... 95s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 95s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 95s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 95s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 95s /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. 95s or locale.getdefaultlocale()[1] 95s WARNING: capability_push is disabled, only do so when really sure 95s WARNING: various enhanced features might fail in subtle ways 95s adding changesets 95s adding manifests 95s adding file changes 95s adding remote bookmark feature-a 95s added 2 changesets with 2 changes to 1 files 95s new changesets 8a1405373236:8bfcc2cd26f7 95s progress revision walk 'bookmarks/master' (1/1) 95s progress revision 0 'master' (0/2) 95s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 95s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 95s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 95s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 95s /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. 95s or locale.getdefaultlocale()[1] 95s WARNING: capability_push is disabled, only do so when really sure 95s WARNING: various enhanced features might fail in subtle ways 95s no changes found 95s error: refusing to update ref with bad name 'hg/origin/refs/bookmarks/feature-a' 95s From hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo 95s - [deleted] (none) -> origin/feature-a 95s ok 27 - fetch prune 95s 95s expecting success: 95s test_when_finished "rm -rf gitrepo hgrepo" && 95s 95s ( 95s hg init hgrepo && 95s cd hgrepo && 95s echo zero > content && 95s hg add content && 95s hg commit -m zero && 95s hg up -r null && 95s echo another > ocontent && 95s hg add ocontent && 95s hg commit -m one 95s ) && 95s 95s # -r 1 acts as master 95s ( 95s git init --bare gitrepo && cd gitrepo && 95s git remote add origin hg::../hgrepo && 95s git fetch origin refs/heads/*:refs/heads/* 95s ) && 95s 95s ( 95s cd hgrepo && 95s hg up 0 && 95s echo two > content && 95s hg commit -m two 95s ) && 95s 95s # now master already exists 95s # -r 2 becomes master head which has rev 0 as ancestor 95s # so when importing (parentless) rev 0, a reset is needed 95s # (to ensure rev 0 is not given a parent commit) 95s ( 95s cd gitrepo && 95s git fetch origin && 95s git log --format="%s" origin/master > ../actual 95s ) && 95s 95s hg -R hgrepo log -r . -f --template "{desc}\n" > expected && 95s test_cmp actual expected 95s 96s 0 files updated, 0 files merged, 1 files removed, 0 files unresolved 96s created new head 96s Initialized empty Git repository in /tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/gitrepo/ 96s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 96s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 96s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 96s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 96s /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. 96s or locale.getdefaultlocale()[1] 96s WARNING: capability_push is disabled, only do so when really sure 96s WARNING: various enhanced features might fail in subtle ways 96s adding changesets 96s adding manifests 96s adding file changes 96s added 2 changesets with 2 changes to 2 files (+1 heads) 96s new changesets 70f788caad95:b69e3a1bce1a 96s WARNING: Branch 'default' has more than one head, consider merging 96s WARNING: Branch 'default' has more than one head, consider merging 96s progress revision 1 'default' (0/1) 96s From hg::../hgrepo 96s * [new branch] branches/default -> branches/default 96s * [new branch] master -> master 96s * [new branch] branches/default -> origin/branches/default 96s * [new branch] master -> origin/master 96s 1 files updated, 0 files merged, 1 files removed, 0 files unresolved 96s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 96s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 96s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 96s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 97s /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. 97s or locale.getdefaultlocale()[1] 97s WARNING: capability_push is disabled, only do so when really sure 97s WARNING: various enhanced features might fail in subtle ways 97s searching for changes 97s adding changesets 97s adding manifests 97s adding file changes 97s added 1 changesets with 1 changes to 1 files 97s new changesets f9a6c443691b 97s WARNING: Branch 'default' has more than one head, consider merging 97s progress revision walk 'branches/default' (2/2) 97s progress revision 0 'default' (0/2) 97s From hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo 97s + be12c43...f03c41c branches/default -> origin/branches/default (forced update) 97s + be12c43...f03c41c master -> origin/master (forced update) 97s ok 28 - fetch multiple independent histories 97s 97s expecting success: 97s test_when_finished "rm -rf gitrepo* hgrepo*" && 97s 97s ( 97s hg init hgrepo && 97s cd hgrepo && 97s echo a > a && 97s hg add a && 97s hg commit -m a && 97s hg bookmark -r null bookmark 97s ) && 97s 97s ( 97s git clone "hg::hgrepo" gitrepo && 97s check gitrepo HEAD a && 97s cd gitrepo && 97s git checkout --quiet -b bookmark && 97s git remote -v && 97s echo b > b && 97s git add b && 97s git commit -m b && 97s git push origin bookmark 97s ) 97s 97s Cloning into 'gitrepo'... 97s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 97s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 97s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 97s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 97s /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. 97s or locale.getdefaultlocale()[1] 97s WARNING: capability_push is disabled, only do so when really sure 97s WARNING: various enhanced features might fail in subtle ways 97s adding changesets 97s adding manifests 97s adding file changes 97s adding remote bookmark bookmark 97s added 1 changesets with 1 changes to 1 files 97s new changesets d5329f9a649a 97s WARNING: Ignoring invalid bookmark 'bookmark' 97s progress revision walk 'bookmarks/master' (0/0) 97s progress revision 0 'master' (0/1) 97s origin hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo (fetch) 97s origin hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo (push) 97s [bookmark 3fedccf] b 97s Author: A U Thor 97s 1 file changed, 1 insertion(+) 97s create mode 100644 b 98s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 98s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 98s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 98s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 98s /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. 98s or locale.getdefaultlocale()[1] 98s WARNING: capability_push is disabled, only do so when really sure 98s WARNING: various enhanced features might fail in subtle ways 98s no changes found 98s WARNING: Ignoring invalid bookmark 'bookmark' 98s searching for changes 98s adding changesets 98s adding manifests 98s adding file changes 98s added 1 changesets with 1 changes to 1 files 98s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo 98s * [new branch] bookmark -> bookmark 98s ok 29 - clone remote with null bookmark, then push 98s 98s expecting success: 98s test_when_finished "rm -rf hgrepo gitrepo" && 98s 98s ( 98s hg init hgrepo && 98s cd hgrepo && 98s echo one > content && 98s hg add content && 98s hg commit -m one && 98s echo two > content && 98s hg commit -m two 98s ) && 98s 98s git clone "hg::hgrepo" gitrepo && 98s hg -R hgrepo log --template "{node}\n\n" > expected && 98s git --git-dir=gitrepo/.git log --pretty="tformat:%N" --notes=hg > actual && 98s test_cmp expected actual 98s 98s Cloning into 'gitrepo'... 98s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 98s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 98s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 98s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 98s /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. 98s or locale.getdefaultlocale()[1] 98s WARNING: capability_push is disabled, only do so when really sure 98s WARNING: various enhanced features might fail in subtle ways 98s adding changesets 98s adding manifests 98s adding file changes 98s added 2 changesets with 2 changes to 1 files 98s new changesets 057481e64f78:73c1f3162b23 98s progress revision walk 'bookmarks/master' (1/1) 98s progress revision 0 'master' (0/2) 99s ok 30 - notes 99s 99s checking known breakage: 99s test_when_finished "rm -rf hgrepo gitrepo" && 99s 99s ( 99s hg init hgrepo && 99s cd hgrepo && 99s echo one > content && 99s hg add content && 99s hg commit -m one 99s ) && 99s 99s git clone "hg::hgrepo" gitrepo && 99s 99s ( 99s cd gitrepo && 99s echo two > content && 99s git commit -a -m two && 99s git push 99s ) && 99s 99s hg -R hgrepo log --template "{node}\n\n" > expected && 99s git --git-dir=gitrepo/.git log --pretty="tformat:%N" --notes=hg > actual && 99s test_cmp expected actual 99s 99s Cloning into 'gitrepo'... 99s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 99s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 99s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 99s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 99s /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. 99s or locale.getdefaultlocale()[1] 99s WARNING: capability_push is disabled, only do so when really sure 99s WARNING: various enhanced features might fail in subtle ways 99s adding changesets 99s adding manifests 99s adding file changes 99s added 1 changesets with 1 changes to 1 files 99s new changesets 6d0da4038a0d 99s progress revision walk 'bookmarks/master' (0/0) 99s progress revision 0 'master' (0/1) 99s [master d8930f0] two 99s Author: A U Thor 99s 1 file changed, 1 insertion(+), 1 deletion(-) 99s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 99s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 99s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 99s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 99s /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. 99s or locale.getdefaultlocale()[1] 99s WARNING: capability_push is disabled, only do so when really sure 99s WARNING: various enhanced features might fail in subtle ways 99s no changes found 99s searching for changes 99s adding changesets 99s adding manifests 99s adding file changes 99s added 1 changesets with 1 changes to 1 files 99s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo 99s d48f5f4..d8930f0 master -> master 100s --- expected 2025-10-18 18:40:36.682736996 +0000 100s +++ actual 2025-10-18 18:40:36.699736996 +0000 100s @@ -1,4 +1,3 @@ 100s -bb18daddf24e19e4762866236d684d0c8f8d2dc6 100s 100s 6d0da4038a0deff10301dcedf51e23f5a9bb37de 100s 100s not ok 31 - push updates notes # TODO known breakage 100s 100s expecting success: 100s test_when_finished "rm -rf hgrepo gitrepo" && 100s 100s ( 100s hg init hgrepo && 100s cd hgrepo && 100s echo one > content && 100s hg add content && 100s hg commit -m one 100s ) && 100s 100s git clone "hg::hgrepo" gitrepo && 100s 100s ( 100s cd gitrepo && 100s echo two > content && 100s git commit -a -m two && 100s git push origin master && 100s git branch feature-a && 100s git push origin feature-a 100s ) && 100s 100s check_bookmark hgrepo feature-a two 100s 100s Cloning into 'gitrepo'... 100s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 100s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 100s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 100s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 100s /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. 100s or locale.getdefaultlocale()[1] 100s WARNING: capability_push is disabled, only do so when really sure 100s WARNING: various enhanced features might fail in subtle ways 100s adding changesets 100s adding manifests 100s adding file changes 100s added 1 changesets with 1 changes to 1 files 100s new changesets 3a19977b1721 100s progress revision walk 'bookmarks/master' (0/0) 100s progress revision 0 'master' (0/1) 100s [master 44b74ee] two 100s Author: A U Thor 100s 1 file changed, 1 insertion(+), 1 deletion(-) 100s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 100s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 100s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 100s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 100s /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. 100s or locale.getdefaultlocale()[1] 100s WARNING: capability_push is disabled, only do so when really sure 100s WARNING: various enhanced features might fail in subtle ways 100s no changes found 100s searching for changes 100s adding changesets 100s adding manifests 100s adding file changes 100s added 1 changesets with 1 changes to 1 files 100s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo 100s 12923f2..44b74ee master -> master 100s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 100s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 100s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 100s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 100s /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. 100s or locale.getdefaultlocale()[1] 100s WARNING: capability_push is disabled, only do so when really sure 100s WARNING: various enhanced features might fail in subtle ways 100s no changes found 100s 1 local changesets published 100s searching for changes 100s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo 100s * [new branch] feature-a -> feature-a 101s ok 32 - push bookmark without changesets 101s 101s expecting success: 101s test_when_finished "rm -rf hgrepo gitrepo" && 101s 101s ( 101s hg init hgrepo && 101s cd hgrepo && 101s echo one > content && 101s hg add content && 101s hg commit -m one 101s ) && 101s 101s git clone "hg::hgrepo" gitrepo && 101s 101s (cd hgrepo && hg tag v1.0) && 101s (cd gitrepo && git pull) && 101s 101s echo "v1.0" > expected && 101s git --git-dir=gitrepo/.git tag > actual && 101s test_cmp expected actual 101s 101s Cloning into 'gitrepo'... 101s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 101s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 101s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 101s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 101s /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. 101s or locale.getdefaultlocale()[1] 101s WARNING: capability_push is disabled, only do so when really sure 101s WARNING: various enhanced features might fail in subtle ways 101s adding changesets 101s adding manifests 101s adding file changes 101s added 1 changesets with 1 changes to 1 files 101s new changesets 88ec8d0bb379 101s progress revision walk 'bookmarks/master' (0/0) 101s progress revision 0 'master' (0/1) 101s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 101s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 101s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 101s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 102s /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. 102s or locale.getdefaultlocale()[1] 102s WARNING: capability_push is disabled, only do so when really sure 102s WARNING: various enhanced features might fail in subtle ways 102s searching for changes 102s adding changesets 102s adding manifests 102s adding file changes 102s added 1 changesets with 1 changes to 1 files 102s new changesets e46e3c08ba5b 102s progress revision 1 'default' (0/1) 102s From hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo 102s 9c441e5..74c24b9 master -> origin/master 102s 9c441e5..74c24b9 branches/default -> origin/branches/default 102s * [new tag] v1.0 -> v1.0 102s Updating 9c441e5..74c24b9 102s Fast-forward 102s .hgtags | 1 + 102s 1 file changed, 1 insertion(+) 102s create mode 100644 .hgtags 102s ok 33 - pull tags 102s 102s expecting success: 102s test_when_finished "rm -rf hgrepo gitrepo" && 102s 102s ( 102s hg init hgrepo && 102s cd hgrepo && 102s echo one > content && 102s hg add content && 102s hg commit -m one && 102s hg branch feature && 102s echo two > content && 102s hg commit -m two && 102s hg update default && 102s echo three > content && 102s hg commit -m three 102s ) && 102s 102s ( 102s git clone "hg::hgrepo" gitrepo && 102s cd gitrepo && 102s git merge -m Merge -Xtheirs origin/branches/feature && 102s git push 102s ) && 102s 102s cat > expected <<-EOF && 102s Merge 102s three 102s two 102s one 102s EOF 102s hg -R hgrepo log --template "{desc}\n" > actual && 102s test_cmp expected actual 102s 102s marked working directory as branch feature 102s (branches are permanent and global, did you want a bookmark?) 102s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 103s Cloning into 'gitrepo'... 103s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 103s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 103s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 103s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 103s /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. 103s or locale.getdefaultlocale()[1] 103s WARNING: capability_push is disabled, only do so when really sure 103s WARNING: various enhanced features might fail in subtle ways 103s adding changesets 103s adding manifests 103s adding file changes 103s added 3 changesets with 3 changes to 1 files (+1 heads) 103s new changesets e1eb54c461b7:7779dc5aabf0 103s progress revision walk 'bookmarks/master' (2/2) 103s progress revision 0 'master' (0/2) 103s progress revision 1 'feature' (0/1) 103s Auto-merging content 103s Merge made by the 'ort' strategy. 103s content | 2 +- 103s 1 file changed, 1 insertion(+), 1 deletion(-) 103s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 103s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 103s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 103s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 103s /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. 103s or locale.getdefaultlocale()[1] 103s WARNING: capability_push is disabled, only do so when really sure 103s WARNING: various enhanced features might fail in subtle ways 103s no changes found 103s searching for changes 103s adding changesets 103s adding manifests 103s adding file changes 103s added 1 changesets with 1 changes to 1 files (-1 heads) 103s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo 103s 443da4c..191ccb9 master -> master 103s ok 34 - push merged named branch 103s 103s expecting success: 103s test_when_finished "rm -rf hgrepo gitrepo" && 103s 103s ( 103s hg init hgrepo && 103s cd hgrepo && 103s echo one > content && 103s hg add content && 103s hg commit -m one 103s ) && 103s 103s ( 103s git clone "hg::hgrepo" gitrepo && 103s cd gitrepo && 103s git tag v1.0 && 103s git push --tags 103s ) && 103s 103s echo "C O Mitter " > expected && 103s hg -R hgrepo log --template "{author}\n" -r tip > actual && 103s test_cmp expected actual 103s 103s Cloning into 'gitrepo'... 103s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 103s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 103s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 103s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 104s /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. 104s or locale.getdefaultlocale()[1] 104s WARNING: capability_push is disabled, only do so when really sure 104s WARNING: various enhanced features might fail in subtle ways 104s adding changesets 104s adding manifests 104s adding file changes 104s added 1 changesets with 1 changes to 1 files 104s new changesets e7168066c24c 104s progress revision walk 'bookmarks/master' (0/0) 104s progress revision 0 'master' (0/1) 104s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 104s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 104s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 104s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 104s /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. 104s or locale.getdefaultlocale()[1] 104s WARNING: capability_push is disabled, only do so when really sure 104s WARNING: various enhanced features might fail in subtle ways 104s no changes found 104s searching for changes 104s adding changesets 104s adding manifests 104s adding file changes 104s added 1 changesets with 1 changes to 1 files 104s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo 104s * [new tag] v1.0 -> v1.0 104s ok 35 - light tag sets author 104s 104s expecting success: 104s test_when_finished "rm -rf hgrepo gitrepo" && 104s 104s ( 104s hg init hgrepo && 104s cd hgrepo && 104s echo one > content && 104s hg add content && 104s hg commit -m one && 104s hg branch feature && 104s echo two > content && 104s hg commit -m two 104s ) && 104s 104s ( 104s git clone "hg::hgrepo" gitrepo && 104s cd gitrepo && 104s git branch && 104s git checkout branches/feature && 104s git tag v1.0 && 104s git push --tags 104s ) && 104s 104s echo feature > expected && 104s hg -R hgrepo log --template="{branch}\n" -r tip > actual && 104s test_cmp expected actual 104s 104s marked working directory as branch feature 104s (branches are permanent and global, did you want a bookmark?) 105s Cloning into 'gitrepo'... 105s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 105s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 105s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 105s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 105s /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. 105s or locale.getdefaultlocale()[1] 105s WARNING: capability_push is disabled, only do so when really sure 105s WARNING: various enhanced features might fail in subtle ways 105s adding changesets 105s adding manifests 105s adding file changes 105s added 2 changesets with 2 changes to 1 files 105s new changesets 5348bbc474ae:174b89695a18 105s progress revision walk 'bookmarks/master' (0/0) 105s progress revision 0 'master' (0/1) 105s progress revision 1 'feature' (0/1) 105s * master 105s branch 'branches/feature' set up to track 'origin/branches/feature'. 105s Switched to a new branch 'branches/feature' 105s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 105s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 105s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 105s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 105s /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. 105s or locale.getdefaultlocale()[1] 105s WARNING: capability_push is disabled, only do so when really sure 105s WARNING: various enhanced features might fail in subtle ways 105s no changes found 105s searching for changes 105s adding changesets 105s adding manifests 105s adding file changes 105s added 1 changesets with 1 changes to 1 files 105s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo 105s * [new tag] v1.0 -> v1.0 105s ok 36 - push tag different branch 105s 105s expecting success: 105s test_when_finished "rm -rf hgrepo gitrepo" && 105s 105s ( 105s hg init hgrepo && 105s cd hgrepo && 105s 105s echo test > test_file && 105s hg add test_file && 105s hg commit -m add && 105s 105s hg rm test_file && 105s hg commit -m remove 105s ) && 105s 105s git clone "hg::hgrepo" gitrepo && 105s check_files gitrepo 105s 106s Cloning into 'gitrepo'... 106s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 106s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 106s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 106s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 106s /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. 106s or locale.getdefaultlocale()[1] 106s WARNING: capability_push is disabled, only do so when really sure 106s WARNING: various enhanced features might fail in subtle ways 106s progress revision walk 'bookmarks/master' (1/1) 106s progress revision 0 'master' (0/2) 106s adding changesets 106s adding manifests 106s adding file changes 106s added 2 changesets with 1 changes to 1 files 106s new changesets a7bc0d0a4308:2abf28715727 106s ok 37 - cloning a removed file works 106s 106s expecting success: 106s test_when_finished "rm -rf hgrepo gitrepo" && 106s 106s ( 106s hg init hgrepo && 106s cd hgrepo && 106s 106s echo test > dir_or_file && 106s hg add dir_or_file && 106s hg commit -m add && 106s 106s hg rm dir_or_file && 106s mkdir dir_or_file && 106s echo test > dir_or_file/test_file && 106s hg add dir_or_file/test_file && 106s hg commit -m replase 106s ) && 106s 106s git clone "hg::hgrepo" gitrepo && 106s check_files gitrepo "dir_or_file/test_file" 106s 107s Cloning into 'gitrepo'... 107s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 107s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 107s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 107s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 107s /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. 107s or locale.getdefaultlocale()[1] 107s WARNING: capability_push is disabled, only do so when really sure 107s WARNING: various enhanced features might fail in subtle ways 107s progress revision walk 'bookmarks/master' (1/1) 107s progress revision 0 'master' (0/2) 107s adding changesets 107s adding manifests 107s adding file changes 107s added 2 changesets with 2 changes to 2 files 107s new changesets bdace391223e:77a6b82f6833 107s ok 38 - cloning a file replaced with a directory 107s 107s expecting success: 107s test_when_finished "rm -rf hgrepo gitrepo" && 107s 107s ( 107s hg init hgrepo && 107s cd hgrepo && 107s 107s mkdir dir_or_file && 107s echo test > dir_or_file/test_file && 107s hg add dir_or_file/test_file && 107s hg commit -m add && 107s 107s hg rm dir_or_file/test_file && 107s echo test > dir_or_file && 107s hg add dir_or_file && 107s hg commit -m add && 107s 107s hg rm dir_or_file 107s ) && 107s 107s git clone "hg::hgrepo" gitrepo && 107s check_files gitrepo "dir_or_file" 107s 108s Cloning into 'gitrepo'... 108s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 108s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 108s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 108s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 108s /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. 108s or locale.getdefaultlocale()[1] 108s WARNING: capability_push is disabled, only do so when really sure 108s WARNING: various enhanced features might fail in subtle ways 108s adding changesets 108s adding manifests 108s adding file changes 108s added 2 changesets with 2 changes to 2 files 108s new changesets 69745ee53829:e53b3f3cb65d 108s progress revision walk 'bookmarks/master' (1/1) 108s progress revision 0 'master' (0/2) 108s ok 39 - clone replace directory with a file 108s 108s expecting success: 108s test_when_finished "rm -rf hgrepo gitrepo" && 108s 108s ( 108s hg init hgrepo && 108s cd hgrepo && 108s 108s touch test.txt && 108s hg add test.txt && 108s hg commit -m master && 108s hg branch parent && 108s echo test >test.txt && 108s hg commit -m test && 108s hg branch parent/child && 108s echo test1 >test.txt && 108s hg commit -m test1 108s ) && 108s 108s git clone -c remote-hg.ignore-name=child "hg::hgrepo" gitrepo && 108s check_files gitrepo "test.txt" 108s 109s marked working directory as branch parent 109s (branches are permanent and global, did you want a bookmark?) 109s marked working directory as branch parent/child 109s Cloning into 'gitrepo'... 109s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 109s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 109s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 109s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 109s /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. 109s or locale.getdefaultlocale()[1] 109s WARNING: capability_push is disabled, only do so when really sure 109s WARNING: various enhanced features might fail in subtle ways 109s adding changesets 109s adding manifests 109s adding file changes 109s added 3 changesets with 3 changes to 1 files 109s new changesets f688515c5211:ebc2c0e7647c 109s WARNING: Ignoring matched branch parent/child 109s progress revision walk 'bookmarks/master' (0/0) 109s progress revision 0 'master' (0/1) 109s progress revision 1 'parent' (0/1) 109s ok 40 - clone can ignore invalid refnames 109s 109s expecting success: 109s test_when_finished "rm -rf hgrepo gitrepo" && 109s 109s ( 109s hg init hgrepo && 109s cd hgrepo && 109s echo one > content && 109s hg add content && 109s hg commit -m one 109s ) && 109s 109s ( 109s git clone "hg::hgrepo" gitrepo && 109s cd gitrepo && 109s git tag -m "Version 1.0" v1.0 && 109s git push --tags 109s ) && 109s 109s cat > expected <<-\EOF && 109s tip:Version 1.0:C O Mitter 109s v1.0:one:H G Wells 109s EOF 109s 109s hg -R hgrepo log --template "{tags}:{desc}:{author}\n" > actual && 109s 109s test_cmp expected actual 109s 110s Cloning into 'gitrepo'... 110s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 110s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 110s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 110s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 110s /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. 110s or locale.getdefaultlocale()[1] 110s WARNING: capability_push is disabled, only do so when really sure 110s WARNING: various enhanced features might fail in subtle ways 110s adding changesets 110s adding manifests 110s adding file changes 110s added 1 changesets with 1 changes to 1 files 110s new changesets e98eb05fd644 110s progress revision walk 'bookmarks/master' (0/0) 110s progress revision 0 'master' (0/1) 110s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 110s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 110s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 110s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 110s /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. 110s or locale.getdefaultlocale()[1] 110s WARNING: capability_push is disabled, only do so when really sure 110s WARNING: various enhanced features might fail in subtle ways 110s no changes found 110s searching for changes 110s adding changesets 110s adding manifests 110s adding file changes 110s added 1 changesets with 1 changes to 1 files 110s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo 110s * [new tag] v1.0 -> v1.0 110s ok 41 - push annotated tag 110s 110s expecting success: 110s test_when_finished "rm -rf hgrepo gitrepo1 gitrepo2" && 110s 110s hg init hgrepo && 110s 110s ( 110s git clone "hg::hgrepo" gitrepo1 && 110s cd gitrepo1 && 110s echo two >> content && 110s git add content && 110s git commit -m two --date="2016-09-26 00:00:00 -0230" && 110s git push 110s ) && 110s 110s git clone "hg::hgrepo" gitrepo2 && 110s 110s git --git-dir=gitrepo1/.git log -1 --format="%ai" > expected && 110s git --git-dir=gitrepo2/.git log -1 --format="%ai" > actual && 110s test_cmp expected actual 110s 110s Cloning into 'gitrepo1'... 110s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 110s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 110s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 110s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 110s /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. 110s or locale.getdefaultlocale()[1] 110s WARNING: capability_push is disabled, only do so when really sure 110s WARNING: various enhanced features might fail in subtle ways 110s no changes found 110s warning: You appear to have cloned an empty repository. 110s [master (root-commit) 9f40cc0] two 110s Author: A U Thor 110s Date: Mon Sep 26 00:00:00 2016 -0230 110s 1 file changed, 1 insertion(+) 110s create mode 100644 content 111s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 111s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 111s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 111s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 111s /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. 111s or locale.getdefaultlocale()[1] 111s WARNING: capability_push is disabled, only do so when really sure 111s WARNING: various enhanced features might fail in subtle ways 111s no changes found 111s searching for changes 111s adding changesets 111s adding manifests 111s adding file changes 111s added 1 changesets with 1 changes to 1 files 111s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main/tmp/hgrepo 111s * [new branch] master -> master 111s Cloning into 'gitrepo2'... 111s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 111s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 111s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 111s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 111s /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. 111s or locale.getdefaultlocale()[1] 111s WARNING: capability_push is disabled, only do so when really sure 111s WARNING: various enhanced features might fail in subtle ways 111s adding changesets 111s adding manifests 111s adding file changes 111s added 1 changesets with 1 changes to 1 files 111s new changesets e522f351d13b 111s progress revision walk 'bookmarks/master' (0/0) 111s progress revision 0 'master' (0/1) 111s ok 42 - timezone issues with negative offsets 111s 111s # still have 2 known breakage(s) 111s # passed all remaining 40 test(s) 111s 1..42 111s /bin/sh main-push.t --verbose 111s expecting success: 111s ( 111s hg init hgrepo && 111s cd hgrepo && 111s echo zero > content && 111s hg add content && 111s hg commit -m zero 111s ) 111s 111s ok 1 - setup 111s 111s expecting success: 111s test_when_finished "rm -rf gitrepo*" && 111s git clone "hg::hgrepo" gitrepo && 111s check gitrepo HEAD zero 111s 111s Cloning into 'gitrepo'... 111s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 111s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 111s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 111s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 111s /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. 111s or locale.getdefaultlocale()[1] 111s adding changesets 111s adding manifests 111s adding file changes 111s added 1 changesets with 1 changes to 1 files 111s new changesets 9176bcd1bfa2 111s progress revision walk 'bookmarks/master' (0/0) 111s progress revision 0 'master' (0/1) 112s ok 2 - cloning 112s 112s expecting success: 112s test_when_finished "rm -rf gitrepo*" && 112s 112s ( 112s cd hgrepo && 112s hg branch next && 112s echo next > content && 112s hg commit -m next 112s ) && 112s 112s git clone "hg::hgrepo" gitrepo && 112s check gitrepo origin/branches/next next 112s 112s marked working directory as branch next 112s (branches are permanent and global, did you want a bookmark?) 112s Cloning into 'gitrepo'... 112s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 112s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 112s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 112s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 112s /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. 112s or locale.getdefaultlocale()[1] 112s adding changesets 112s adding manifests 112s adding file changes 112s added 2 changesets with 2 changes to 1 files 112s new changesets 9176bcd1bfa2:abfe1354e917 112s progress revision walk 'bookmarks/master' (0/0) 112s progress revision 0 'master' (0/1) 112s progress revision 1 'next' (0/1) 112s ok 3 - cloning with branches 112s 112s expecting success: 112s test_when_finished "rm -rf gitrepo*" && 112s 112s ( 112s cd hgrepo && 112s hg checkout default && 112s hg bookmark feature-a && 112s echo feature-a > content && 112s hg commit -m feature-a 112s ) && 112s 112s git clone "hg::hgrepo" gitrepo && 112s check gitrepo origin/feature-a feature-a 112s 112s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 112s Cloning into 'gitrepo'... 112s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 112s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 112s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 112s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 113s /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. 113s or locale.getdefaultlocale()[1] 113s adding changesets 113s adding manifests 113s adding file changes 113s adding remote bookmark feature-a 113s added 3 changesets with 3 changes to 1 files (+1 heads) 113s new changesets 9176bcd1bfa2:23e2b3045285 113s progress revision walk 'bookmarks/master' (2/2) 113s progress revision 0 'master' (0/2) 113s progress revision 1 'next' (0/1) 113s ok 4 - cloning with bookmarks 113s 113s expecting success: 113s test_when_finished "rm -rf gitrepo*" && 113s 113s ( 113s cd hgrepo && 113s hg bookmark devel 113s ) && 113s 113s ( 113s git clone "hg::hgrepo" gitrepo && 113s cd gitrepo && 113s git checkout --quiet devel && 113s echo devel > content && 113s git commit -a -m devel && 113s git push --quiet origin devel 113s ) && 113s 113s check_bookmark hgrepo devel devel 113s 113s Cloning into 'gitrepo'... 113s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 113s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 113s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 113s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 113s /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. 113s or locale.getdefaultlocale()[1] 113s adding changesets 113s adding manifests 113s adding file changes 113s adding remote bookmark devel 113s adding remote bookmark feature-a 113s added 3 changesets with 3 changes to 1 files (+1 heads) 113s new changesets 9176bcd1bfa2:23e2b3045285 113s progress revision walk 'bookmarks/master' (2/2) 113s progress revision 0 'master' (0/2) 113s progress revision 1 'next' (0/1) 113s [devel cb0a59b] devel 113s Author: A U Thor 113s 1 file changed, 1 insertion(+), 1 deletion(-) 113s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 113s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 113s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 113s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 113s /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. 113s or locale.getdefaultlocale()[1] 113s no changes found 113s searching for changes 113s adding changesets 113s adding manifests 113s adding file changes 113s added 1 changesets with 1 changes to 1 files 113s ok 5 - update bookmark 113s 113s expecting success: 113s test_when_finished "rm -rf gitrepo*" && 113s 113s ( 113s git clone "hg::hgrepo" gitrepo && 113s cd gitrepo && 113s git checkout --quiet -b feature-b && 113s echo feature-b > content && 113s git commit -a -m feature-b && 113s git push --quiet origin feature-b 113s ) && 113s 113s check_bookmark hgrepo feature-b feature-b 113s 113s Cloning into 'gitrepo'... 113s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 113s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 113s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 113s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 114s /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. 114s or locale.getdefaultlocale()[1] 114s adding changesets 114s adding manifests 114s adding file changes 114s adding remote bookmark devel 114s adding remote bookmark feature-a 114s added 4 changesets with 4 changes to 1 files (+1 heads) 114s new changesets 9176bcd1bfa2:ed052ac62efa 114s progress revision walk 'bookmarks/master' (3/3) 114s progress revision 0 'master' (0/3) 114s progress revision 1 'next' (0/1) 114s [feature-b 1a4daf7] feature-b 114s Author: A U Thor 114s 1 file changed, 1 insertion(+), 1 deletion(-) 114s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 114s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 114s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 114s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 114s /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. 114s or locale.getdefaultlocale()[1] 114s no changes found 114s searching for changes 114s adding changesets 114s adding manifests 114s adding file changes 114s added 1 changesets with 1 changes to 1 files 114s ok 6 - new bookmark 114s 114s expecting success: 114s test_when_finished "rm -rf hgrepo gitrepo" && 114s 114s ( 114s hg init hgrepo && 114s cd hgrepo && 114s 114s touch content && 114s hg add content && 114s 114s > ../expected && 114s author_test alpha "" "H G Wells " && 114s author_test beta "beta" "beta " && 114s author_test gamma "gamma (comment)" "gamma " && 114s author_test delta "" "Unknown " && 114s author_test epsilon "epsilon" "epsilon " && 114s author_test zeta "zeta " && 114s author_test eta " eta " "eta " && 114s author_test theta "theta < test@example.com >" "theta " && 114s author_test iota "iota >test@example.com>" "iota " && 114s author_test kappa "kappa < test example com>" "kappa " && 114s author_test lambda "lambda@example.com" "Unknown " && 114s author_test mu "mu.mu@example.com" "Unknown " 114s ) && 114s 114s git clone "hg::hgrepo" gitrepo && 114s git --git-dir=gitrepo/.git log --reverse --format="%an <%ae>" > actual && 114s 114s test_cmp expected actual 114s 116s Cloning into 'gitrepo'... 116s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 116s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 116s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 116s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 116s /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. 116s or locale.getdefaultlocale()[1] 116s adding changesets 116s adding manifests 116s adding file changes 116s added 12 changesets with 12 changes to 1 files 116s new changesets 8d709826fd4e:f90eb8a7d84c 116s progress revision walk 'bookmarks/master' (11/11) 116s progress revision 0 'master' (0/12) 116s ok 7 - authors 116s 116s expecting success: 116s test_when_finished "rm -rf hgrepo gitrepo" && 116s 116s ( 116s hg init hgrepo && 116s cd hgrepo && 116s 116s echo one >> content && 116s hg add content && 116s hg commit -m one && 116s 116s echo two >> content && 116s hg commit -m two 116s ) && 116s 116s git clone "hg::hgrepo" gitrepo && 116s 116s ( 116s cd hgrepo && 116s hg strip 1 && 116s 116s echo three >> content && 116s hg commit -m three && 116s 116s echo four >> content && 116s hg commit -m four 116s ) && 116s 116s ( 116s cd gitrepo && 116s git fetch && 116s git log --format="%s" origin/master > ../actual 116s ) && 116s 116s hg -R hgrepo log --template "{desc}\n" > expected && 116s test_cmp actual expected 116s 117s Cloning into 'gitrepo'... 117s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 117s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 117s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 117s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 117s /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. 117s or locale.getdefaultlocale()[1] 117s adding changesets 117s adding manifests 117s adding file changes 117s added 2 changesets with 2 changes to 1 files 117s new changesets 5b28b8d04d25:f59c94f83e12 117s progress revision walk 'bookmarks/master' (1/1) 117s progress revision 0 'master' (0/2) 117s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 117s saved backup bundle to /tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/hgrepo/.hg/strip-backup/f59c94f83e12-5511fe68-backup.hg 117s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 117s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 117s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 117s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 117s /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. 117s or locale.getdefaultlocale()[1] 117s searching for changes 117s adding changesets 117s adding manifests 117s adding file changes 117s added 2 changesets with 2 changes to 1 files (+1 heads) 117s new changesets 240ee3adf217:2350efd80ec9 117s From hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/hgrepo 117s + 29f3653...da3f0eb master -> origin/master (forced update) 117s + 29f3653...da3f0eb branches/default -> origin/branches/default (forced update) 117s progress revision 2 'default' (0/2) 118s ok 8 - strip 118s 118s expecting success: 118s test_when_finished "rm -rf hgrepo gitrepo*" && 118s 118s ( 118s hg init hgrepo && 118s cd hgrepo && 118s echo zero > content && 118s hg add content && 118s hg commit -m zero && 118s hg bookmark master && 118s echo one > content && 118s hg commit -m one 118s ) && 118s 118s ( 118s git clone "hg::hgrepo" gitrepo && 118s cd gitrepo && 118s echo two > content && 118s git commit -a -m two && 118s git push 118s ) && 118s 118s check_branch hgrepo default two 118s 118s Cloning into 'gitrepo'... 118s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 118s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 118s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 118s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 118s /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. 118s or locale.getdefaultlocale()[1] 118s adding changesets 118s adding manifests 118s adding file changes 118s adding remote bookmark master 118s added 2 changesets with 2 changes to 1 files 118s new changesets a528777874bf:a3eccf260b80 118s progress revision walk 'bookmarks/default' (1/1) 118s progress revision 0 'default' (0/2) 118s [default b936edd] two 118s Author: A U Thor 118s 1 file changed, 1 insertion(+), 1 deletion(-) 118s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 118s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 118s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 118s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 119s /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. 119s or locale.getdefaultlocale()[1] 119s no changes found 119s searching for changes 119s adding changesets 119s adding manifests 119s adding file changes 119s added 1 changesets with 1 changes to 1 files 119s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/hgrepo 119s fffffff..b936edd default -> default 119s ok 9 - remote push with master bookmark 119s 119s expecting success: 119s test_when_finished "rm -rf hgrepo gitrepo*" && 119s 119s hg init hgrepo && 119s 119s ( 119s git init gitrepo && 119s cd gitrepo && 119s git remote add origin "hg::../hgrepo" && 119s echo one > content && 119s git add content && 119s git commit -a -m one && 119s git push origin master 119s ) && 119s 119s hg -R hgrepo log > actual && 119s cat actual && 119s test_cmp expected actual && 119s 119s check_branch hgrepo default one 119s 119s Initialized empty Git repository in /tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/gitrepo/.git/ 119s [master (root-commit) 64caca5] one 119s Author: A U Thor 119s 1 file changed, 1 insertion(+) 119s create mode 100644 content 119s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 119s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 119s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 119s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 119s /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. 119s or locale.getdefaultlocale()[1] 119s no changes found 119s searching for changes 119s adding changesets 119s adding manifests 119s adding file changes 119s added 1 changesets with 1 changes to 1 files 119s To hg::../hgrepo 119s * [new branch] master -> master 119s changeset: 0:6e2126489d3d 119s tag: tip 119s user: A U Thor 119s date: Mon Jan 01 00:00:00 2007 +0230 119s summary: one 119s 119s ok 10 - remote push from master branch 119s 119s expecting success: 119s test_when_finished "rm -rf gitrepo*" && 119s 119s ( 119s hg init hgrepo && 119s cd hgrepo && 119s echo zero > content && 119s hg add content && 119s hg commit -m zero 119s ) && 119s 119s git clone "hg::hgrepo" gitrepo && 119s check gitrepo HEAD zero 119s 120s Cloning into 'gitrepo'... 120s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 120s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 120s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 120s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 120s /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. 120s or locale.getdefaultlocale()[1] 120s adding changesets 120s adding manifests 120s adding file changes 120s added 1 changesets with 1 changes to 1 files 120s new changesets c0c49ee69080 120s progress revision walk 'bookmarks/master' (0/0) 120s progress revision 0 'master' (0/1) 120s Cloning into 'gitrepo'... 120s ok 11 - remote cloning 120s 120s expecting success: 120s test_when_finished "rm -rf gitrepo*" && 120s 120s ( 120s git clone "hg::hgrepo" gitrepo && 120s mv gitrepo gitrepo2 && 120s cd gitrepo2 && 120s git fetch 120s ) 120s 120s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 120s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 120s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 120s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 120s /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. 120s or locale.getdefaultlocale()[1] 120s adding changesets 120s adding manifests 120s adding file changes 120s added 1 changesets with 1 changes to 1 files 120s new changesets c0c49ee69080 120s progress revision walk 'bookmarks/master' (0/0) 120s progress revision 0 'master' (0/1) 120s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 120s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 120s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 120s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 120s /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. 120s or locale.getdefaultlocale()[1] 120s no changes found 120s ok 12 - moving remote clone 120s 120s expecting success: 120s test_when_finished "rm -rf gitrepo*" && 120s 120s ( 120s cd hgrepo && 120s hg bookmark devel 120s ) && 120s 120s ( 120s git clone "hg::hgrepo" gitrepo && 120s cd gitrepo && 120s git checkout --quiet devel && 120s echo devel > content && 120s git commit -a -m devel && 120s git push --quiet 120s ) && 120s 120s check_bookmark hgrepo devel devel 120s 121s Cloning into 'gitrepo'... 121s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 121s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 121s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 121s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 121s /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. 121s or locale.getdefaultlocale()[1] 121s adding changesets 121s adding manifests 121s adding file changes 121s adding remote bookmark devel 121s added 1 changesets with 1 changes to 1 files 121s new changesets c0c49ee69080 121s progress revision walk 'bookmarks/master' (0/0) 121s progress revision 0 'master' (0/1) 121s [devel 9741b42] devel 121s Author: A U Thor 121s 1 file changed, 1 insertion(+), 1 deletion(-) 121s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 121s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 121s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 121s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 121s /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. 121s or locale.getdefaultlocale()[1] 121s no changes found 121s searching for changes 121s adding changesets 121s adding manifests 121s adding file changes 121s added 1 changesets with 1 changes to 1 files 121s ok 13 - remote update bookmark 121s 121s expecting success: 121s test_when_finished "rm -rf gitrepo*" && 121s 121s ( 121s git clone "hg::hgrepo" gitrepo && 121s cd gitrepo && 121s git checkout --quiet -b feature-b && 121s echo feature-b > content && 121s git commit -a -m feature-b && 121s git push --quiet origin feature-b 121s ) && 121s 121s check_bookmark hgrepo feature-b feature-b 121s 121s Cloning into 'gitrepo'... 121s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 121s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 121s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 121s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 121s /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. 121s or locale.getdefaultlocale()[1] 121s adding changesets 121s adding manifests 121s adding file changes 121s adding remote bookmark devel 121s added 2 changesets with 2 changes to 1 files 121s new changesets c0c49ee69080:7b8b6f30fec2 121s progress revision walk 'bookmarks/master' (1/1) 121s progress revision 0 'master' (0/2) 121s [feature-b 8f7ebd4] feature-b 121s Author: A U Thor 121s 1 file changed, 1 insertion(+), 1 deletion(-) 121s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 121s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 121s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 121s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 121s /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. 121s or locale.getdefaultlocale()[1] 122s no changes found 122s searching for changes 122s adding changesets 122s adding manifests 122s adding file changes 122s added 1 changesets with 1 changes to 1 files 122s ok 14 - remote new bookmark 122s 122s expecting success: 122s test_when_finished "rm -rf gitrepo*" && 122s 122s git clone "hg::hgrepo" gitrepo && 122s 122s ( 122s cd hgrepo && 122s hg checkout default && 122s echo bump > content && 122s hg commit -m bump 122s ) && 122s 122s ( 122s cd gitrepo && 122s echo diverge > content && 122s git commit -a -m diverged && 122s check_push 1 <<-\EOF 122s master:non-fast-forward 122s EOF 122s ) && 122s 122s check_branch hgrepo default bump 122s 122s Cloning into 'gitrepo'... 122s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 122s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 122s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 122s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 122s /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. 122s or locale.getdefaultlocale()[1] 122s adding changesets 122s adding manifests 122s adding file changes 122s adding remote bookmark devel 122s adding remote bookmark feature-b 122s added 3 changesets with 3 changes to 1 files 122s new changesets c0c49ee69080:6fa61807c3c9 122s progress revision walk 'bookmarks/master' (2/2) 122s progress revision 0 'master' (0/3) 122s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 122s (leaving bookmark devel) 122s [master ed732b5] diverged 122s Author: A U Thor 122s 1 file changed, 1 insertion(+), 1 deletion(-) 122s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 122s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 122s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 122s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 122s /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. 122s or locale.getdefaultlocale()[1] 122s searching for changes 122s adding changesets 122s adding manifests 122s adding file changes 122s added 1 changesets with 1 changes to 1 files 122s new changesets a5e7931eaea4 122s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/hgrepo 122s ! [rejected] master -> master (non-fast-forward) 122s error: failed to push some refs to 'hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/hgrepo' 122s hint: Updates were rejected because the tip of your current branch is behind 122s hint: its remote counterpart. If you want to integrate the remote changes, 122s hint: use 'git pull' before pushing again. 122s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 122s ! [rejected] master -> master (non-fast-forward) 123s ok 15 - remote push diverged 123s 123s expecting success: 123s test_when_finished "rm -rf gitrepo*" && 123s 123s ( 123s cd hgrepo && 123s hg checkout tip^ && 123s hg bookmark diverge 123s ) && 123s 123s git clone "hg::hgrepo" gitrepo && 123s 123s ( 123s cd hgrepo && 123s echo "bump bookmark" > content && 123s hg commit -m "bump bookmark" 123s ) && 123s 123s ( 123s cd gitrepo && 123s git checkout --quiet diverge && 123s echo diverge > content && 123s git commit -a -m diverge && 123s check_push 1 <<-\EOF 123s diverge:non-fast-forward 123s EOF 123s ) && 123s 123s check_bookmark hgrepo diverge "bump bookmark" 123s 123s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 123s Cloning into 'gitrepo'... 123s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 123s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 123s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 123s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 123s /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. 123s or locale.getdefaultlocale()[1] 123s adding changesets 123s adding manifests 123s adding file changes 123s adding remote bookmark devel 123s adding remote bookmark diverge 123s adding remote bookmark feature-b 123s added 4 changesets with 4 changes to 1 files 123s new changesets c0c49ee69080:a5e7931eaea4 123s progress revision walk 'bookmarks/master' (3/3) 123s progress revision 0 'master' (0/4) 123s created new head 123s [diverge 281da34] diverge 123s Author: A U Thor 123s 1 file changed, 1 insertion(+), 1 deletion(-) 123s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 123s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 123s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 123s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 123s /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. 123s or locale.getdefaultlocale()[1] 123s searching for changes 123s adding changesets 123s adding manifests 123s adding file changes 123s updating bookmark diverge 123s added 1 changesets with 1 changes to 1 files (+1 heads) 123s new changesets b97a888203f0 123s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/hgrepo 123s ! [rejected] diverge -> diverge (non-fast-forward) 123s error: failed to push some refs to 'hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/hgrepo' 123s hint: Updates were rejected because the tip of your current branch is behind 123s hint: its remote counterpart. If you want to integrate the remote changes, 123s hint: use 'git pull' before pushing again. 123s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 123s ! [rejected] diverge -> diverge (non-fast-forward) 124s ok 16 - remote update bookmark diverge 124s 124s expecting success: 124s test_when_finished "rm -rf gitrepo*" && 124s 124s ( 124s git clone "hg::hgrepo" gitrepo && 124s cd gitrepo && 124s git checkout --quiet -b feature-c HEAD^ && 124s echo feature-c > content && 124s git commit -a -m feature-c && 124s git push --quiet origin feature-c 124s ) && 124s 124s check_bookmark hgrepo feature-c feature-c 124s 124s Cloning into 'gitrepo'... 124s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 124s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 124s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 124s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 124s /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. 124s or locale.getdefaultlocale()[1] 124s adding changesets 124s adding manifests 124s adding file changes 124s adding remote bookmark devel 124s adding remote bookmark diverge 124s adding remote bookmark feature-b 124s added 5 changesets with 5 changes to 1 files (+1 heads) 124s new changesets c0c49ee69080:b97a888203f0 124s progress revision walk 'bookmarks/master' (4/4) 124s progress revision 0 'master' (0/4) 124s WARNING: Branch 'default' has more than one head, consider merging 124s [feature-c 14a404f] feature-c 124s Author: A U Thor 124s 1 file changed, 1 insertion(+), 1 deletion(-) 124s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 124s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 124s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 124s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 124s /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. 124s or locale.getdefaultlocale()[1] 124s no changes found 124s searching for changes 124s adding changesets 124s adding manifests 124s adding file changes 124s added 1 changesets with 1 changes to 1 files (+1 heads) 124s ok 17 - remote new bookmark multiple branch head 124s 124s expecting success: 124s test_when_finished "rm -rf gitrepo hgrepo" && 124s 124s ( 124s hg init hgrepo && 124s cd hgrepo && 124s echo zero > content && 124s hg add content && 124s hg commit -m zero 124s ) && 124s 124s git clone "hg::hgrepo" gitrepo && 124s 124s ( 124s cd gitrepo && 124s cp content content-copy && 124s # recent git-fast-export is (too) picky in recognizing copies 124s # although git-log is not as picky; 124s # since https://github.com/git/git/commit/8096e1d385660c159d9d47e69b2be63cf22e4f31 124s # a copy is only marked if source filed not modified as well 124s # (though destination file can be modified) 124s echo one >> content-copy && 124s git add content content-copy && 124s git commit -m copy && 124s git mv content-copy content-moved 124s git commit -m moved && 124s git push origin master 124s ) && 124s 124s ( 124s hg -R hgrepo update && 124s test_cmp gitrepo/content hgrepo/content 124s test_cmp gitrepo/content-moved hgrepo/content-moved 124s cd hgrepo && 124s test `hg log -f content-moved | grep -c changeset` -eq 3 124s ) 124s 125s Cloning into 'gitrepo'... 125s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 125s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 125s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 125s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 125s /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. 125s or locale.getdefaultlocale()[1] 125s adding changesets 125s adding manifests 125s adding file changes 125s added 1 changesets with 1 changes to 1 files 125s new changesets 4e0142d649b2 125s progress revision walk 'bookmarks/master' (0/0) 125s progress revision 0 'master' (0/1) 125s [master a345a65] copy 125s Author: A U Thor 125s 1 file changed, 2 insertions(+) 125s create mode 100644 content-copy 125s [master 1c814d7] moved 125s Author: A U Thor 125s 1 file changed, 0 insertions(+), 0 deletions(-) 125s rename content-copy => content-moved (100%) 125s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 125s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 125s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 125s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 125s /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. 125s or locale.getdefaultlocale()[1] 125s no changes found 125s searching for changes 125s adding changesets 125s adding manifests 125s adding file changes 125s added 2 changesets with 2 changes to 2 files 125s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/hgrepo 125s fffffff..1c814d7 master -> master 125s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 125s ok 18 - push commits with copy and rename 125s 125s expecting success: 125s test_when_finished "rm -rf hgrepo gitrepo && LC_ALL=C" && 125s 125s LC_ALL=C.UTF-8 125s export LC_ALL 125s 125s ( 125s hg init hgrepo && 125s cd hgrepo && 125s 125s echo test >> "æ rø" && 125s hg add "æ rø" && 125s echo test >> "ø~?" && 125s hg add "ø~?" && 125s hg commit -m add-utf-8 && 125s echo test >> "æ rø" && 125s hg commit -m test-utf-8 && 125s hg rm "ø~?" && 125s hg mv "æ rø" "ø~?" && 125s hg commit -m hg-mv-utf-8 125s ) && 125s 125s ( 125s git clone "hg::hgrepo" gitrepo && 125s cd gitrepo && 125s git -c core.quotepath=false ls-files > ../actual 125s ) && 125s echo "ø~?" > expected && 125s test_cmp expected actual 125s 126s warning: filename contains '?', which is reserved on Windows: 'ø~?' 126s warning: filename contains '?', which is reserved on Windows: 'ø~?' 126s Cloning into 'gitrepo'... 126s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 126s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 126s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 126s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 126s adding changesets 126s adding manifests 126s adding file changes 126s added 3 changesets with 4 changes to 2 files 126s new changesets a456dff4c462:ad6c6cc899a0 126s progress revision walk 'bookmarks/master' (2/2) 126s progress revision 0 'master' (0/3) 126s ok 19 - fetch special filenames 126s 126s expecting success: 126s test_when_finished "rm -rf hgrepo gitrepo && LC_ALL=C" && 126s 126s mkdir -p tmp && cd tmp && 126s 126s LC_ALL=C.UTF-8 126s export LC_ALL 126s 126s ( 126s hg init hgrepo && 126s cd hgrepo && 126s 126s echo one >> content && 126s hg add content && 126s hg commit -m one 126s ) && 126s 126s ( 126s git clone "hg::hgrepo" gitrepo && 126s cd gitrepo && 126s 126s echo test >> "æ rø" && 126s git add "æ rø" && 126s git commit -m utf-8 && 126s 126s git push 126s ) && 126s 126s (cd hgrepo && 126s hg update && 126s hg manifest > ../actual 126s ) && 126s 126s printf "content\næ rø\n" > expected && 126s test_cmp expected actual 126s 127s Cloning into 'gitrepo'... 127s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 127s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 127s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 127s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 127s progress revision walk 'bookmarks/master' (0/0) 127s progress revision 0 'master' (0/1) 127s adding changesets 127s adding manifests 127s adding file changes 127s added 1 changesets with 1 changes to 1 files 127s new changesets d10ec2fdfead 127s [master 24a818b] utf-8 127s Author: A U Thor 127s 1 file changed, 1 insertion(+) 127s create mode 100644 "\303\246 r\303\270" 127s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 127s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 127s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 127s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 127s no changes found 127s searching for changes 127s adding changesets 127s adding manifests 127s adding file changes 127s added 1 changesets with 1 changes to 1 files 127s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 127s fffffff..24a818b master -> master 127s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 128s ok 20 - push special filenames 128s 128s expecting success: 128s test_when_finished "rm -rf hgrepo gitrepo*" && 128s 128s setup_big_push 128s 128s ( 128s cd gitrepo && 128s 128s check_push 1 --all <<-\EOF 128s master 128s good_bmark 128s branches/good_branch 128s new_bmark:new 128s branches/new_branch:new 128s bad_bmark1:non-fast-forward 128s bad_bmark2:non-fast-forward 128s branches/bad_branch:non-fast-forward 128s EOF 128s ) && 128s 128s if test "$CAPABILITY_PUSH" = "t" 128s then 128s # cap push handles refs one by one 128s # so it will push all requested it can 128s check_branch hgrepo default six && 128s check_branch hgrepo good_branch eight && 128s check_branch hgrepo bad_branch "bad branch" && 128s check_branch hgrepo new_branch ten && 128s check_bookmark hgrepo good_bmark three && 128s check_bookmark hgrepo bad_bmark1 one && 128s check_bookmark hgrepo bad_bmark2 one && 128s check_bookmark hgrepo new_bmark six 128s else 128s check_branch hgrepo default one && 128s check_branch hgrepo good_branch "good branch" && 128s check_branch hgrepo bad_branch "bad branch" && 128s check_branch hgrepo new_branch && 128s check_bookmark hgrepo good_bmark one && 128s check_bookmark hgrepo bad_bmark1 one && 128s check_bookmark hgrepo bad_bmark2 one && 128s check_bookmark hgrepo new_bmark 128s fi 128s 129s Cloning into 'gitrepo'... 129s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 129s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 129s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 129s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 129s /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. 129s or locale.getdefaultlocale()[1] 129s adding changesets 129s adding manifests 129s adding file changes 129s adding remote bookmark bad_bmark1 129s adding remote bookmark bad_bmark2 129s adding remote bookmark good_bmark 129s added 4 changesets with 4 changes to 1 files 129s new changesets d910b6aee378:4d7478b4cef2 129s progress revision walk 'bookmarks/master' (1/1) 129s progress revision 0 'master' (0/2) 129s progress revision 2 'bad_branch' (0/2) 129s HEAD is now at 72675fa zero 129s HEAD is now at 72675fa zero 129s HEAD is now at 4f490a7 good branch 130s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 130s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 130s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 130s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 130s /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. 130s or locale.getdefaultlocale()[1] 130s no changes found 130s searching for changes 130s adding changesets 130s adding manifests 130s adding file changes 130s added 2 changesets with 2 changes to 1 files (+1 heads) 130s searching for changes 130s adding changesets 130s adding manifests 130s adding file changes 130s added 1 changesets with 1 changes to 1 files (+1 heads) 130s searching for changes 130s adding changesets 130s adding manifests 130s adding file changes 130s added 1 changesets with 1 changes to 1 files (+1 heads) 130s searching for changes 130s adding changesets 130s adding manifests 130s adding file changes 130s added 1 changesets with 1 changes to 1 files 130s searching for changes 130s adding changesets 130s adding manifests 130s adding file changes 130s added 1 changesets with 1 changes to 1 files (+1 heads) 130s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 130s fffffff..6a18c27 branches/good_branch -> branches/good_branch 130s fffffff..bb9d66d good_bmark -> good_bmark 130s fffffff..51a3455 master -> master 130s * [new branch] branches/new_branch -> branches/new_branch 130s * [new branch] new_bmark -> new_bmark 130s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 130s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 130s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 130s error: failed to push some refs to 'hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo' 130s hint: Updates were rejected because a pushed branch tip is behind its remote 130s hint: counterpart. If you want to integrate the remote changes, use 'git pull' 130s hint: before pushing again. 130s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 130s fffffff..51a3455 master -> master 130s fffffff..bb9d66d good_bmark -> good_bmark 130s fffffff..6a18c27 branches/good_branch -> branches/good_branch 130s * [new branch] new_bmark -> new_bmark 130s * [new branch] branches/new_branch -> branches/new_branch 130s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 130s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 130s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 131s ok 21 - remote big push 131s 131s expecting success: 131s test_when_finished "rm -rf hgrepo gitrepo*" && 131s 131s ( 131s hg init hgrepo && 131s cd hgrepo && 131s echo zero > content && 131s hg add content && 131s hg commit -m zero && 131s hg bookmark bad_bmark && 131s hg bookmark good_bmark && 131s hg bookmark -i good_bmark && 131s hg -q branch good_branch && 131s echo "good branch" > content && 131s hg commit -m "good branch" && 131s hg -q branch bad_branch && 131s echo "bad branch" > content && 131s hg commit -m "bad branch" 131s ) && 131s 131s git clone "hg::hgrepo" gitrepo && 131s 131s ( 131s cd hgrepo && 131s hg bookmark -f bad_bmark && 131s echo update_bmark > content && 131s hg commit -m "update bmark" 131s ) && 131s 131s ( 131s cd gitrepo && 131s echo two > content && 131s git commit -q -a -m two && 131s 131s git checkout -q good_bmark && 131s echo three > content && 131s git commit -q -a -m three && 131s 131s git checkout -q bad_bmark && 131s echo four > content && 131s git commit -q -a -m four && 131s 131s git checkout -q branches/bad_branch && 131s echo five > content && 131s git commit -q -a -m five && 131s 131s check_push 1 --all <<-\EOF && 131s master 131s good_bmark 131s bad_bmark:non-fast-forward 131s branches/bad_branch:non-fast-forward 131s EOF 131s 131s git fetch && 131s 131s if test "$CAPABILITY_PUSH" = "t" 131s then 131s # cap push handles refs one by one 131s # so it will already have pushed some above previously 131s # (and master is a fake one that jumps around a bit) 131s check_push 1 --all <<-\EOF 131s bad_bmark:non-fast-forward 131s branches/bad_branch:non-fast-forward 131s EOF 131s else 131s check_push 1 --all <<-\EOF 131s master 131s good_bmark 131s bad_bmark:non-fast-forward 131s branches/bad_branch:non-fast-forward 131s EOF 131s fi 131s ) 131s 132s Cloning into 'gitrepo'... 132s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 132s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 132s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 132s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 132s /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. 132s or locale.getdefaultlocale()[1] 132s adding changesets 132s adding manifests 132s adding file changes 132s adding remote bookmark bad_bmark 132s adding remote bookmark good_bmark 132s added 3 changesets with 3 changes to 1 files 132s new changesets 2d6217368d70:b393667cf3ce 132s progress revision walk 'bookmarks/master' (0/0) 132s progress revision 0 'master' (0/1) 132s progress revision 1 'bad_branch' (0/2) 133s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 133s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 133s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 133s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 133s /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. 133s or locale.getdefaultlocale()[1] 133s searching for changes 133s adding changesets 133s adding manifests 133s adding file changes 133s updating bookmark bad_bmark 133s added 1 changesets with 1 changes to 1 files 133s new changesets ed380b468f48 133s searching for changes 133s adding changesets 133s adding manifests 133s adding file changes 133s added 1 changesets with 1 changes to 1 files (+1 heads) 133s searching for changes 133s adding changesets 133s adding manifests 133s adding file changes 133s added 1 changesets with 1 changes to 1 files (+1 heads) 133s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 133s fffffff..b0d5cae good_bmark -> good_bmark 133s fffffff..237feda master -> master 133s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 133s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 133s error: failed to push some refs to 'hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo' 133s hint: Updates were rejected because the tip of your current branch is behind 133s hint: its remote counterpart. If you want to integrate the remote changes, 133s hint: use 'git pull' before pushing again. 133s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 133s fffffff..237feda master -> master 133s fffffff..b0d5cae good_bmark -> good_bmark 133s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 133s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 133s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 133s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 133s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 133s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 133s progress revision 3 'bad_branch' (0/1) 133s /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. 133s or locale.getdefaultlocale()[1] 133s no changes found 133s updating bookmark good_bmark 133s 2 local changesets published 133s WARNING: Branch 'default' has more than one head, consider merging 133s From hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 133s 11fe300..0da0a20 branches/bad_branch -> origin/branches/bad_branch 133s 4a1a6dc..237feda branches/default -> origin/branches/default 133s 4a1a6dc..0da0a20 bad_bmark -> origin/bad_bmark 133s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 133s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 133s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 133s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 133s /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. 133s or locale.getdefaultlocale()[1] 133s no changes found 133s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 133s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 133s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 133s error: failed to push some refs to 'hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo' 133s hint: Updates were rejected because the tip of your current branch is behind 133s hint: its remote counterpart. If you want to integrate the remote changes, 133s hint: use 'git pull' before pushing again. 133s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 133s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 133s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 133s ok 22 - remote big push non fast forward 133s 133s expecting success: 133s test_when_finished "rm -rf hgrepo gitrepo*" && 133s 133s setup_big_push 133s 133s ( 133s cd gitrepo && 133s 133s if test "$CAPABILITY_PUSH" = "t" 133s then 133s check_push 0 --force --all <<-\EOF 133s master:forced-update 133s good_bmark:forced-update 133s branches/good_branch:forced-update 133s new_bmark:new 133s branches/new_branch:new 133s bad_bmark1:forced-update 133s bad_bmark2:forced-update 133s branches/bad_branch:forced-update 133s EOF 133s else 133s check_push 0 --force --all <<-\EOF 133s master 133s good_bmark 133s branches/good_branch 133s new_bmark:new 133s branches/new_branch:new 133s bad_bmark1:forced-update 133s bad_bmark2:forced-update 133s branches/bad_branch:forced-update 133s EOF 133s fi 133s ) && 133s 133s check_branch hgrepo good_branch eight && 133s check_branch hgrepo bad_branch nine && 133s check_branch hgrepo new_branch ten && 133s check_bookmark hgrepo good_bmark three && 133s check_bookmark hgrepo bad_bmark1 four && 133s check_bookmark hgrepo bad_bmark2 five && 133s check_bookmark hgrepo new_bmark six 133s 135s Cloning into 'gitrepo'... 135s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 135s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 135s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 135s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 135s /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. 135s or locale.getdefaultlocale()[1] 135s adding changesets 135s adding manifests 135s adding file changes 135s adding remote bookmark bad_bmark1 135s progress revision walk 'bookmarks/master' (1/1) 135s progress revision 0 'master' (0/2) 135s progress revision 2 'bad_branch' (0/2) 135s adding remote bookmark bad_bmark2 135s adding remote bookmark good_bmark 135s added 4 changesets with 4 changes to 1 files 135s new changesets 85482a544a89:2306234ee488 135s HEAD is now at f9d2e50 zero 135s HEAD is now at f9d2e50 zero 135s HEAD is now at 5a1a3dd good branch 135s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 135s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 135s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 135s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 135s /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. 135s or locale.getdefaultlocale()[1] 135s no changes found 135s searching for changes 135s adding changesets 135s adding manifests 135s adding file changes 135s added 1 changesets with 1 changes to 1 files (+1 heads) 135s searching for changes 135s adding changesets 135s adding manifests 135s adding file changes 135s added 2 changesets with 2 changes to 1 files (+1 heads) 135s searching for changes 135s adding changesets 135s adding manifests 135s adding file changes 135s added 1 changesets with 1 changes to 1 files (+1 heads) 135s searching for changes 135s adding changesets 135s adding manifests 135s adding file changes 135s added 1 changesets with 1 changes to 1 files (+1 heads) 135s searching for changes 135s adding changesets 135s adding manifests 135s adding file changes 135s added 1 changesets with 1 changes to 1 files (+1 heads) 135s searching for changes 135s adding changesets 135s adding manifests 135s adding file changes 135s added 1 changesets with 1 changes to 1 files (+1 heads) 135s searching for changes 135s adding changesets 135s adding manifests 135s adding file changes 135s added 1 changesets with 1 changes to 1 files 135s searching for changes 135s adding changesets 135s adding manifests 135s adding file changes 135s added 1 changesets with 1 changes to 1 files (+1 heads) 135s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 135s + fffffff...1f67bc7 branches/bad_branch -> branches/bad_branch (forced update) 135s + fffffff...5958295 branches/good_branch -> branches/good_branch (forced update) 135s + fffffff...18010c1 bad_bmark1 -> bad_bmark1 (forced update) 135s + fffffff...c2cae5d bad_bmark2 -> bad_bmark2 (forced update) 135s + fffffff...501f796 good_bmark -> good_bmark (forced update) 135s + fffffff...ede2cbd master -> master (forced update) 135s * [new branch] branches/new_branch -> branches/new_branch 135s * [new branch] new_bmark -> new_bmark 135s + fffffff...ede2cbd master -> master (forced update) 135s + fffffff...501f796 good_bmark -> good_bmark (forced update) 135s + fffffff...5958295 branches/good_branch -> branches/good_branch (forced update) 135s * [new branch] new_bmark -> new_bmark 135s * [new branch] branches/new_branch -> branches/new_branch 135s + fffffff...18010c1 bad_bmark1 -> bad_bmark1 (forced update) 135s + fffffff...c2cae5d bad_bmark2 -> bad_bmark2 (forced update) 135s + fffffff...1f67bc7 branches/bad_branch -> branches/bad_branch (forced update) 136s ok 23 - remote big push force 136s 136s expecting success: 136s test_when_finished "rm -rf hgrepo gitrepo*" && 136s 136s setup_big_push 136s 136s ( 136s cd gitrepo && 136s 136s check_push 1 --dry-run --all <<-\EOF && 136s master 136s good_bmark 136s branches/good_branch 136s new_bmark:new 136s branches/new_branch:new 136s bad_bmark1:non-fast-forward 136s bad_bmark2:non-fast-forward 136s branches/bad_branch:non-fast-forward 136s EOF 136s 136s check_push 0 --dry-run master good_bmark new_bmark branches/good_branch branches/new_branch <<-\EOF 136s master 136s good_bmark 136s branches/good_branch 136s new_bmark:new 136s branches/new_branch:new 136s EOF 136s ) && 136s 136s check_branch hgrepo default one && 136s check_branch hgrepo good_branch "good branch" && 136s check_branch hgrepo bad_branch "bad branch" && 136s check_branch hgrepo new_branch && 136s check_bookmark hgrepo good_bmark one && 136s check_bookmark hgrepo bad_bmark1 one && 136s check_bookmark hgrepo bad_bmark2 one && 136s check_bookmark hgrepo new_bmark 136s 138s Cloning into 'gitrepo'... 138s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 138s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 138s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 138s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 138s /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. 138s or locale.getdefaultlocale()[1] 138s adding changesets 138s adding manifests 138s adding file changes 138s adding remote bookmark bad_bmark1 138s adding remote bookmark bad_bmark2 138s adding remote bookmark good_bmark 138s added 4 changesets with 4 changes to 1 files 138s new changesets ed3404f5b021:77d64c88dbf5 138s progress revision walk 'bookmarks/master' (1/1) 138s progress revision 0 'master' (0/2) 138s progress revision 2 'bad_branch' (0/2) 138s HEAD is now at 74d9a4c zero 138s HEAD is now at 74d9a4c zero 138s HEAD is now at 6170d95 good branch 138s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 138s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 138s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 138s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 138s /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. 138s or locale.getdefaultlocale()[1] 138s no changes found 138s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 138s fffffff..5979490 branches/good_branch -> branches/good_branch 138s fffffff..dd049dc good_bmark -> good_bmark 138s fffffff..bd23bbf master -> master 138s * [new branch] branches/new_branch -> branches/new_branch 138s * [new branch] new_bmark -> new_bmark 138s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 138s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 138s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 138s error: failed to push some refs to 'hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo' 138s hint: Updates were rejected because a pushed branch tip is behind its remote 138s hint: counterpart. If you want to integrate the remote changes, use 'git pull' 138s hint: before pushing again. 138s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 138s fffffff..bd23bbf master -> master 138s fffffff..dd049dc good_bmark -> good_bmark 138s fffffff..5979490 branches/good_branch -> branches/good_branch 138s * [new branch] new_bmark -> new_bmark 138s * [new branch] branches/new_branch -> branches/new_branch 138s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 138s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 138s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 138s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 138s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 138s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 138s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 138s /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. 138s or locale.getdefaultlocale()[1] 138s no changes found 138s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 138s fffffff..5979490 branches/good_branch -> branches/good_branch 138s fffffff..dd049dc good_bmark -> good_bmark 138s fffffff..bd23bbf master -> master 138s * [new branch] new_bmark -> new_bmark 138s * [new branch] branches/new_branch -> branches/new_branch 138s fffffff..bd23bbf master -> master 138s fffffff..dd049dc good_bmark -> good_bmark 138s fffffff..5979490 branches/good_branch -> branches/good_branch 138s * [new branch] new_bmark -> new_bmark 138s * [new branch] branches/new_branch -> branches/new_branch 140s ok 24 - remote big push dry-run 140s 140s expecting success: 140s test_when_finished "rm -rf hgrepo gitrepo*" && 140s 140s setup_big_push 140s 140s ( 140s cd gitrepo && 140s 140s if test "$CAPABILITY_PUSH" = "t" 140s then 140s check_push 0 --force --dry-run --all <<-\EOF 140s master:forced-update 140s good_bmark:forced-update 140s branches/good_branch:forced-update 140s new_bmark:new 140s branches/new_branch:new 140s bad_bmark1:forced-update 140s bad_bmark2:forced-update 140s branches/bad_branch:forced-update 140s EOF 140s else 140s check_push 0 --force --dry-run --all <<-\EOF 140s master 140s good_bmark 140s branches/good_branch 140s new_bmark:new 140s branches/new_branch:new 140s bad_bmark1:forced-update 140s bad_bmark2:forced-update 140s branches/bad_branch:forced-update 140s EOF 140s fi 140s ) && 140s 140s check_branch hgrepo default one && 140s check_branch hgrepo good_branch "good branch" && 140s check_branch hgrepo bad_branch "bad branch" && 140s check_branch hgrepo new_branch && 140s check_bookmark hgrepo good_bmark one && 140s check_bookmark hgrepo bad_bmark1 one && 140s check_bookmark hgrepo bad_bmark2 one && 140s check_bookmark hgrepo new_bmark 140s 141s Cloning into 'gitrepo'... 141s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 141s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 141s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 141s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 141s /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. 141s or locale.getdefaultlocale()[1] 141s adding changesets 141s adding manifests 141s adding file changes 141s adding remote bookmark bad_bmark1 141s adding remote bookmark bad_bmark2 141s adding remote bookmark good_bmark 141s added 4 changesets with 4 changes to 1 files 141s new changesets 9d65ba2ed937:c84aa886626d 141s progress revision walk 'bookmarks/master' (1/1) 141s progress revision 0 'master' (0/2) 141s progress revision 2 'bad_branch' (0/2) 141s HEAD is now at addfcf5 zero 141s HEAD is now at addfcf5 zero 141s HEAD is now at c52035e good branch 142s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 142s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 142s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 142s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 142s /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. 142s or locale.getdefaultlocale()[1] 142s no changes found 142s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 142s + fffffff...aea2270 branches/bad_branch -> branches/bad_branch (forced update) 142s + fffffff...711b9d6 branches/good_branch -> branches/good_branch (forced update) 142s + fffffff...ce1965b bad_bmark1 -> bad_bmark1 (forced update) 142s + fffffff...840b176 bad_bmark2 -> bad_bmark2 (forced update) 142s + fffffff...f9fedab good_bmark -> good_bmark (forced update) 142s + fffffff...bec9cf3 master -> master (forced update) 142s * [new branch] branches/new_branch -> branches/new_branch 142s * [new branch] new_bmark -> new_bmark 142s + fffffff...bec9cf3 master -> master (forced update) 142s + fffffff...f9fedab good_bmark -> good_bmark (forced update) 142s + fffffff...711b9d6 branches/good_branch -> branches/good_branch (forced update) 142s * [new branch] new_bmark -> new_bmark 142s * [new branch] branches/new_branch -> branches/new_branch 142s + fffffff...ce1965b bad_bmark1 -> bad_bmark1 (forced update) 142s + fffffff...840b176 bad_bmark2 -> bad_bmark2 (forced update) 142s + fffffff...aea2270 branches/bad_branch -> branches/bad_branch (forced update) 143s ok 25 - remote big push force dry-run 143s 143s expecting success: 143s test_when_finished "rm -rf hgrepo gitrepo*" && 143s 143s ( 143s hg init hgrepo && 143s cd hgrepo && 143s echo zero > content && 143s hg add content && 143s hg commit -m zero && 143s echo one > content && 143s hg commit -m one 143s ) && 143s 143s ( 143s git clone "hg::hgrepo" gitrepo && 143s cd gitrepo && 143s git reset --hard HEAD^ && 143s echo two > content && 143s git commit -a -m two && 143s test_expect_code 1 git push && 143s test_expect_code 1 git push 143s ) 143s 143s Cloning into 'gitrepo'... 143s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 143s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 143s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 143s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 143s /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. 143s or locale.getdefaultlocale()[1] 143s adding changesets 143s adding manifests 143s adding file changes 143s added 2 changesets with 2 changes to 1 files 143s new changesets 3b52fbf913d7:4c1e8d157adb 143s progress revision walk 'bookmarks/master' (1/1) 143s progress revision 0 'master' (0/2) 143s HEAD is now at 2fb2954 zero 143s [master 156612d] two 143s Author: A U Thor 143s 1 file changed, 1 insertion(+), 1 deletion(-) 143s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 143s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 143s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 143s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 144s /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. 144s or locale.getdefaultlocale()[1] 144s no changes found 144s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 144s ! [rejected] master -> master (non-fast-forward) 144s error: failed to push some refs to 'hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo' 144s hint: Updates were rejected because the tip of your current branch is behind 144s hint: its remote counterpart. If you want to integrate the remote changes, 144s hint: use 'git pull' before pushing again. 144s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 144s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 144s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 144s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 144s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 144s /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. 144s or locale.getdefaultlocale()[1] 144s no changes found 144s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 144s ! [rejected] master -> master (non-fast-forward) 144s error: failed to push some refs to 'hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo' 144s hint: Updates were rejected because the tip of your current branch is behind 144s hint: its remote counterpart. If you want to integrate the remote changes, 144s hint: use 'git pull' before pushing again. 144s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 144s ok 26 - remote double failed push 144s 144s expecting success: 144s test_when_finished "rm -rf gitrepo hgrepo" && 144s 144s ( 144s hg init hgrepo && 144s cd hgrepo && 144s echo zero > content && 144s hg add content && 144s hg commit -m zero && 144s echo feature-a > content && 144s hg commit -m feature-a 144s hg bookmark feature-a 144s ) && 144s 144s git clone "hg::hgrepo" gitrepo && 144s check gitrepo origin/feature-a feature-a && 144s 144s ( 144s cd hgrepo && 144s hg bookmark -d feature-a 144s ) && 144s 144s ( 144s cd gitrepo && 144s git fetch --prune origin 144s git branch -a > out && 144s ! grep feature-a out 144s ) 144s 144s Cloning into 'gitrepo'... 144s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 144s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 144s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 144s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 145s /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. 145s or locale.getdefaultlocale()[1] 145s adding changesets 145s adding manifests 145s adding file changes 145s adding remote bookmark feature-a 145s added 2 changesets with 2 changes to 1 files 145s new changesets ee982b40e1dc:d5ad2e372506 145s progress revision walk 'bookmarks/master' (1/1) 145s progress revision 0 'master' (0/2) 145s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 145s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 145s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 145s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 145s /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. 145s or locale.getdefaultlocale()[1] 145s no changes found 145s error: refusing to update ref with bad name 'hg/origin/refs/bookmarks/feature-a' 145s From hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 145s - [deleted] (none) -> origin/feature-a 145s ok 27 - fetch prune 145s 145s expecting success: 145s test_when_finished "rm -rf gitrepo hgrepo" && 145s 145s ( 145s hg init hgrepo && 145s cd hgrepo && 145s echo zero > content && 145s hg add content && 145s hg commit -m zero && 145s hg up -r null && 145s echo another > ocontent && 145s hg add ocontent && 145s hg commit -m one 145s ) && 145s 145s # -r 1 acts as master 145s ( 145s git init --bare gitrepo && cd gitrepo && 145s git remote add origin hg::../hgrepo && 145s git fetch origin refs/heads/*:refs/heads/* 145s ) && 145s 145s ( 145s cd hgrepo && 145s hg up 0 && 145s echo two > content && 145s hg commit -m two 145s ) && 145s 145s # now master already exists 145s # -r 2 becomes master head which has rev 0 as ancestor 145s # so when importing (parentless) rev 0, a reset is needed 145s # (to ensure rev 0 is not given a parent commit) 145s ( 145s cd gitrepo && 145s git fetch origin && 145s git log --format="%s" origin/master > ../actual 145s ) && 145s 145s hg -R hgrepo log -r . -f --template "{desc}\n" > expected && 145s test_cmp actual expected 145s 145s 0 files updated, 0 files merged, 1 files removed, 0 files unresolved 146s created new head 146s Initialized empty Git repository in /tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/gitrepo/ 146s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 146s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 146s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 146s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 146s /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. 146s or locale.getdefaultlocale()[1] 146s adding changesets 146s adding manifests 146s adding file changes 146s added 2 changesets with 2 changes to 2 files (+1 heads) 146s new changesets b6864d1b740f:cef1200394e9 146s WARNING: Branch 'default' has more than one head, consider merging 146s progress revision 1 'default' (0/1) 146s WARNING: Branch 'default' has more than one head, consider merging 146s From hg::../hgrepo 146s * [new branch] branches/default -> branches/default 146s * [new branch] master -> master 146s * [new branch] branches/default -> origin/branches/default 146s * [new branch] master -> origin/master 146s 1 files updated, 0 files merged, 1 files removed, 0 files unresolved 146s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 146s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 146s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 146s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 146s /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. 146s or locale.getdefaultlocale()[1] 146s searching for changes 146s adding changesets 146s adding manifests 146s progress revision walk 'branches/default' (2/2) 146s progress revision 0 'default' (0/2) 146s adding file changes 146s added 1 changesets with 1 changes to 1 files 146s new changesets 42e3422bf789 146s WARNING: Branch 'default' has more than one head, consider merging 146s From hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 146s + fe4dce5...9f491e6 branches/default -> origin/branches/default (forced update) 146s + fe4dce5...9f491e6 master -> origin/master (forced update) 147s ok 28 - fetch multiple independent histories 147s 147s expecting success: 147s test_when_finished "rm -rf gitrepo* hgrepo*" && 147s 147s ( 147s hg init hgrepo && 147s cd hgrepo && 147s echo a > a && 147s hg add a && 147s hg commit -m a && 147s hg bookmark -r null bookmark 147s ) && 147s 147s ( 147s git clone "hg::hgrepo" gitrepo && 147s check gitrepo HEAD a && 147s cd gitrepo && 147s git checkout --quiet -b bookmark && 147s git remote -v && 147s echo b > b && 147s git add b && 147s git commit -m b && 147s git push origin bookmark 147s ) 147s 147s Cloning into 'gitrepo'... 147s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 147s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 147s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 147s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 147s /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. 147s or locale.getdefaultlocale()[1] 147s adding changesets 147s adding manifests 147s adding file changes 147s adding remote bookmark bookmark 147s added 1 changesets with 1 changes to 1 files 147s new changesets d268a92400c1 147s WARNING: Ignoring invalid bookmark 'bookmark' 147s progress revision walk 'bookmarks/master' (0/0) 147s progress revision 0 'master' (0/1) 147s origin hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo (fetch) 147s origin hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo (push) 147s [bookmark 2094bb4] b 147s Author: A U Thor 147s 1 file changed, 1 insertion(+) 147s create mode 100644 b 147s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 147s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 147s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 147s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 147s /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. 147s or locale.getdefaultlocale()[1] 147s no changes found 147s WARNING: Ignoring invalid bookmark 'bookmark' 147s searching for changes 147s adding changesets 147s adding manifests 147s adding file changes 147s added 1 changesets with 1 changes to 1 files 147s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 147s * [new branch] bookmark -> bookmark 148s ok 29 - clone remote with null bookmark, then push 148s 148s expecting success: 148s test_when_finished "rm -rf hgrepo gitrepo" && 148s 148s ( 148s hg init hgrepo && 148s cd hgrepo && 148s echo one > content && 148s hg add content && 148s hg commit -m one && 148s echo two > content && 148s hg commit -m two 148s ) && 148s 148s git clone "hg::hgrepo" gitrepo && 148s hg -R hgrepo log --template "{node}\n\n" > expected && 148s git --git-dir=gitrepo/.git log --pretty="tformat:%N" --notes=hg > actual && 148s test_cmp expected actual 148s 148s Cloning into 'gitrepo'... 148s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 148s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 148s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 148s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 148s /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. 148s or locale.getdefaultlocale()[1] 148s adding changesets 148s adding manifests 148s adding file changes 148s added 2 changesets with 2 changes to 1 files 148s new changesets d0ecce4a0407:d600ee451193 148s progress revision walk 'bookmarks/master' (1/1) 148s progress revision 0 'master' (0/2) 148s ok 30 - notes 148s 148s expecting success: 148s test_when_finished "rm -rf hgrepo gitrepo" && 148s 148s ( 148s hg init hgrepo && 148s cd hgrepo && 148s echo one > content && 148s hg add content && 148s hg commit -m one 148s ) && 148s 148s git clone "hg::hgrepo" gitrepo && 148s 148s ( 148s cd gitrepo && 148s echo two > content && 148s git commit -a -m two && 148s git push 148s ) && 148s 148s hg -R hgrepo log --template "{node}\n\n" > expected && 148s git --git-dir=gitrepo/.git log --pretty="tformat:%N" --notes=hg > actual && 148s test_cmp expected actual 148s 149s Cloning into 'gitrepo'... 149s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 149s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 149s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 149s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 149s /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. 149s or locale.getdefaultlocale()[1] 149s adding changesets 149s adding manifests 149s adding file changes 149s added 1 changesets with 1 changes to 1 files 149s new changesets d0ecce4a0407 149s progress revision walk 'bookmarks/master' (0/0) 149s progress revision 0 'master' (0/1) 149s [master 930ed70] two 149s Author: A U Thor 149s 1 file changed, 1 insertion(+), 1 deletion(-) 149s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 149s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 149s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 149s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 149s /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. 149s or locale.getdefaultlocale()[1] 149s no changes found 149s searching for changes 149s adding changesets 149s adding manifests 149s adding file changes 149s added 1 changesets with 1 changes to 1 files 149s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 149s fffffff..930ed70 master -> master 149s ok 31 - push updates notes 149s 149s expecting success: 149s test_when_finished "rm -rf hgrepo gitrepo" && 149s 149s ( 149s hg init hgrepo && 149s cd hgrepo && 149s echo one > content && 149s hg add content && 149s hg commit -m one 149s ) && 149s 149s git clone "hg::hgrepo" gitrepo && 149s 149s ( 149s cd gitrepo && 149s echo two > content && 149s git commit -a -m two && 149s git push origin master && 149s git branch feature-a && 149s git push origin feature-a 149s ) && 149s 149s check_bookmark hgrepo feature-a two 149s 150s Cloning into 'gitrepo'... 150s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 150s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 150s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 150s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 150s /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. 150s or locale.getdefaultlocale()[1] 150s adding changesets 150s adding manifests 150s adding file changes 150s added 1 changesets with 1 changes to 1 files 150s new changesets 3204037c651a 150s progress revision walk 'bookmarks/master' (0/0) 150s progress revision 0 'master' (0/1) 150s [master 0668eb8] two 150s Author: A U Thor 150s 1 file changed, 1 insertion(+), 1 deletion(-) 150s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 150s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 150s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 150s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 150s /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. 150s or locale.getdefaultlocale()[1] 150s no changes found 150s searching for changes 150s adding changesets 150s adding manifests 150s adding file changes 150s added 1 changesets with 1 changes to 1 files 150s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 150s fffffff..0668eb8 master -> master 150s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 150s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 150s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 150s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 150s /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. 150s or locale.getdefaultlocale()[1] 150s no changes found 150s 1 local changesets published 150s searching for changes 150s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 150s * [new branch] feature-a -> feature-a 150s ok 32 - push bookmark without changesets 150s 150s expecting success: 150s test_when_finished "rm -rf hgrepo gitrepo" && 150s 150s ( 150s hg init hgrepo && 150s cd hgrepo && 150s echo one > content && 150s hg add content && 150s hg commit -m one 150s ) && 150s 150s git clone "hg::hgrepo" gitrepo && 150s 150s (cd hgrepo && hg tag v1.0) && 150s (cd gitrepo && git pull) && 150s 150s echo "v1.0" > expected && 150s git --git-dir=gitrepo/.git tag > actual && 150s test_cmp expected actual 150s 151s Cloning into 'gitrepo'... 151s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 151s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 151s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 151s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 151s /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. 151s or locale.getdefaultlocale()[1] 151s adding changesets 151s adding manifests 151s adding file changes 151s added 1 changesets with 1 changes to 1 files 151s new changesets 2dd455ec6fd9 151s progress revision walk 'bookmarks/master' (0/0) 151s progress revision 0 'master' (0/1) 151s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 151s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 151s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 151s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 151s /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. 151s or locale.getdefaultlocale()[1] 151s searching for changes 151s adding changesets 151s adding manifests 151s adding file changes 151s added 1 changesets with 1 changes to 1 files 151s new changesets 15e5c4c38f67 151s progress revision 1 'default' (0/1) 151s From hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 151s 3066725..229f406 master -> origin/master 151s 3066725..229f406 branches/default -> origin/branches/default 151s * [new tag] v1.0 -> v1.0 151s Updating 3066725..229f406 151s Fast-forward 151s .hgtags | 1 + 151s 1 file changed, 1 insertion(+) 151s create mode 100644 .hgtags 151s ok 33 - pull tags 151s 151s expecting success: 151s test_when_finished "rm -rf hgrepo gitrepo" && 151s 151s ( 151s hg init hgrepo && 151s cd hgrepo && 151s echo one > content && 151s hg add content && 151s hg commit -m one && 151s hg branch feature && 151s echo two > content && 151s hg commit -m two && 151s hg update default && 151s echo three > content && 151s hg commit -m three 151s ) && 151s 151s ( 151s git clone "hg::hgrepo" gitrepo && 151s cd gitrepo && 151s git merge -m Merge -Xtheirs origin/branches/feature && 151s git push 151s ) && 151s 151s cat > expected <<-EOF && 151s Merge 151s three 151s two 151s one 151s EOF 151s hg -R hgrepo log --template "{desc}\n" > actual && 151s test_cmp expected actual 151s 152s marked working directory as branch feature 152s (branches are permanent and global, did you want a bookmark?) 152s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 152s Cloning into 'gitrepo'... 152s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 152s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 152s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 152s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 152s /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. 152s or locale.getdefaultlocale()[1] 153s adding changesets 153s adding manifests 153s adding file changes 153s added 3 changesets with 3 changes to 1 files (+1 heads) 153s new changesets 2dd455ec6fd9:35117ce3e1af 153s progress revision walk 'bookmarks/master' (2/2) 153s progress revision 0 'master' (0/2) 153s progress revision 1 'feature' (0/1) 153s Auto-merging content 153s Merge made by the 'ort' strategy. 153s content | 2 +- 153s 1 file changed, 1 insertion(+), 1 deletion(-) 153s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 153s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 153s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 153s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 153s /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. 153s or locale.getdefaultlocale()[1] 153s no changes found 153s searching for changes 153s adding changesets 153s adding manifests 153s adding file changes 153s added 1 changesets with 1 changes to 1 files (-1 heads) 153s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 153s fffffff..baeb2e7 master -> master 153s ok 34 - push merged named branch 153s 153s expecting success: 153s test_when_finished "rm -rf hgrepo gitrepo" && 153s 153s ( 153s hg init hgrepo && 153s cd hgrepo && 153s echo one > content && 153s hg add content && 153s hg commit -m one 153s ) && 153s 153s ( 153s git clone "hg::hgrepo" gitrepo && 153s cd gitrepo && 153s git tag v1.0 && 153s git push --tags 153s ) && 153s 153s echo "C O Mitter " > expected && 153s hg -R hgrepo log --template "{author}\n" -r tip > actual && 153s test_cmp expected actual 153s 153s Cloning into 'gitrepo'... 153s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 153s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 153s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 153s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 153s /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. 153s or locale.getdefaultlocale()[1] 153s adding changesets 153s adding manifests 153s adding file changes 153s added 1 changesets with 1 changes to 1 files 153s new changesets 99610be8e410 153s progress revision walk 'bookmarks/master' (0/0) 153s progress revision 0 'master' (0/1) 154s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 154s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 154s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 154s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 154s /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. 154s or locale.getdefaultlocale()[1] 154s no changes found 154s searching for changes 154s adding changesets 154s adding manifests 154s adding file changes 154s added 1 changesets with 1 changes to 1 files 154s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 154s * [new tag] v1.0 -> v1.0 154s ok 35 - light tag sets author 154s 154s expecting success: 154s test_when_finished "rm -rf hgrepo gitrepo" && 154s 154s ( 154s hg init hgrepo && 154s cd hgrepo && 154s echo one > content && 154s hg add content && 154s hg commit -m one && 154s hg branch feature && 154s echo two > content && 154s hg commit -m two 154s ) && 154s 154s ( 154s git clone "hg::hgrepo" gitrepo && 154s cd gitrepo && 154s git branch && 154s git checkout branches/feature && 154s git tag v1.0 && 154s git push --tags 154s ) && 154s 154s echo feature > expected && 154s hg -R hgrepo log --template="{branch}\n" -r tip > actual && 154s test_cmp expected actual 154s 154s marked working directory as branch feature 154s (branches are permanent and global, did you want a bookmark?) 154s Cloning into 'gitrepo'... 155s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 155s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 155s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 155s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 155s /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. 155s or locale.getdefaultlocale()[1] 155s adding changesets 155s adding manifests 155s adding file changes 155s added 2 changesets with 2 changes to 1 files 155s new changesets b42935d329fb:39f216bdd262 155s progress revision walk 'bookmarks/master' (0/0) 155s progress revision 0 'master' (0/1) 155s progress revision 1 'feature' (0/1) 155s * master 155s branch 'branches/feature' set up to track 'origin/branches/feature'. 155s Switched to a new branch 'branches/feature' 155s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 155s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 155s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 155s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 155s /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. 155s or locale.getdefaultlocale()[1] 155s no changes found 155s searching for changes 155s adding changesets 155s adding manifests 155s adding file changes 155s added 1 changesets with 1 changes to 1 files 155s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 155s * [new tag] v1.0 -> v1.0 155s ok 36 - push tag different branch 155s 155s expecting success: 155s test_when_finished "rm -rf hgrepo gitrepo" && 155s 155s ( 155s hg init hgrepo && 155s cd hgrepo && 155s 155s echo test > test_file && 155s hg add test_file && 155s hg commit -m add && 155s 155s hg rm test_file && 155s hg commit -m remove 155s ) && 155s 155s git clone "hg::hgrepo" gitrepo && 155s check_files gitrepo 155s 156s Cloning into 'gitrepo'... 156s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 156s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 156s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 156s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 156s /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. 156s or locale.getdefaultlocale()[1] 156s adding changesets 156s adding manifests 156s adding file changes 156s added 2 changesets with 1 changes to 1 files 156s new changesets d376b3fdc074:fd5c3f29d609 156s progress revision walk 'bookmarks/master' (1/1) 156s progress revision 0 'master' (0/2) 156s ok 37 - cloning a removed file works 156s 156s expecting success: 156s test_when_finished "rm -rf hgrepo gitrepo" && 156s 156s ( 156s hg init hgrepo && 156s cd hgrepo && 156s 156s echo test > dir_or_file && 156s hg add dir_or_file && 156s hg commit -m add && 156s 156s hg rm dir_or_file && 156s mkdir dir_or_file && 156s echo test > dir_or_file/test_file && 156s hg add dir_or_file/test_file && 156s hg commit -m replase 156s ) && 156s 156s git clone "hg::hgrepo" gitrepo && 156s check_files gitrepo "dir_or_file/test_file" 156s 157s Cloning into 'gitrepo'... 157s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 157s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 157s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 157s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 157s /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. 157s or locale.getdefaultlocale()[1] 157s adding changesets 157s adding manifests 157s adding file changes 157s added 2 changesets with 2 changes to 2 files 157s new changesets 55a7c5677158:764397c024ee 157s progress revision walk 'bookmarks/master' (1/1) 157s progress revision 0 'master' (0/2) 157s ok 38 - cloning a file replaced with a directory 157s 157s expecting success: 157s test_when_finished "rm -rf hgrepo gitrepo" && 157s 157s ( 157s hg init hgrepo && 157s cd hgrepo && 157s 157s mkdir dir_or_file && 157s echo test > dir_or_file/test_file && 157s hg add dir_or_file/test_file && 157s hg commit -m add && 157s 157s hg rm dir_or_file/test_file && 157s echo test > dir_or_file && 157s hg add dir_or_file && 157s hg commit -m add && 157s 157s hg rm dir_or_file 157s ) && 157s 157s git clone "hg::hgrepo" gitrepo && 157s check_files gitrepo "dir_or_file" 157s 158s Cloning into 'gitrepo'... 158s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 158s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 158s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 158s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 158s /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. 158s or locale.getdefaultlocale()[1] 158s adding changesets 158s adding manifests 158s adding file changes 158s added 2 changesets with 2 changes to 2 files 158s new changesets d56ea75343fa:786e54df095b 158s progress revision walk 'bookmarks/master' (1/1) 158s progress revision 0 'master' (0/2) 158s ok 39 - clone replace directory with a file 158s 158s expecting success: 158s test_when_finished "rm -rf hgrepo gitrepo" && 158s 158s ( 158s hg init hgrepo && 158s cd hgrepo && 158s 158s touch test.txt && 158s hg add test.txt && 158s hg commit -m master && 158s hg branch parent && 158s echo test >test.txt && 158s hg commit -m test && 158s hg branch parent/child && 158s echo test1 >test.txt && 158s hg commit -m test1 158s ) && 158s 158s git clone -c remote-hg.ignore-name=child "hg::hgrepo" gitrepo && 158s check_files gitrepo "test.txt" 158s 158s marked working directory as branch parent 158s (branches are permanent and global, did you want a bookmark?) 159s marked working directory as branch parent/child 159s Cloning into 'gitrepo'... 159s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 159s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 159s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 159s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 159s /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. 159s or locale.getdefaultlocale()[1] 159s adding changesets 159s adding manifests 159s adding file changes 159s added 3 changesets with 3 changes to 1 files 159s new changesets 41674176d800:2c2dab6bb5bd 159s WARNING: Ignoring matched branch parent/child 159s progress revision walk 'bookmarks/master' (0/0) 159s progress revision 0 'master' (0/1) 159s progress revision 1 'parent' (0/1) 159s ok 40 - clone can ignore invalid refnames 159s 159s expecting success: 159s test_when_finished "rm -rf hgrepo gitrepo" && 159s 159s ( 159s hg init hgrepo && 159s cd hgrepo && 159s echo one > content && 159s hg add content && 159s hg commit -m one 159s ) && 159s 159s ( 159s git clone "hg::hgrepo" gitrepo && 159s cd gitrepo && 159s git tag -m "Version 1.0" v1.0 && 159s git push --tags 159s ) && 159s 159s cat > expected <<-\EOF && 159s tip:Version 1.0:C O Mitter 159s v1.0:one:H G Wells 159s EOF 159s 159s hg -R hgrepo log --template "{tags}:{desc}:{author}\n" > actual && 159s 159s test_cmp expected actual 159s 159s Cloning into 'gitrepo'... 159s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 159s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 159s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 159s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 160s /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. 160s or locale.getdefaultlocale()[1] 160s adding changesets 160s adding manifests 160s adding file changes 160s added 1 changesets with 1 changes to 1 files 160s new changesets 594ba59a7283 160s progress revision walk 'bookmarks/master' (0/0) 160s progress revision 0 'master' (0/1) 160s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 160s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 160s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 160s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 160s /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. 160s or locale.getdefaultlocale()[1] 160s no changes found 160s searching for changes 160s adding changesets 160s adding manifests 160s adding file changes 160s added 1 changesets with 1 changes to 1 files 160s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 160s * [new tag] v1.0 -> v1.0 160s ok 41 - push annotated tag 160s 160s expecting success: 160s test_when_finished "rm -rf hgrepo gitrepo1 gitrepo2" && 160s 160s hg init hgrepo && 160s 160s ( 160s git clone "hg::hgrepo" gitrepo1 && 160s cd gitrepo1 && 160s echo two >> content && 160s git add content && 160s git commit -m two --date="2016-09-26 00:00:00 -0230" && 160s git push 160s ) && 160s 160s git clone "hg::hgrepo" gitrepo2 && 160s 160s git --git-dir=gitrepo1/.git log -1 --format="%ai" > expected && 160s git --git-dir=gitrepo2/.git log -1 --format="%ai" > actual && 160s test_cmp expected actual 160s 160s Cloning into 'gitrepo1'... 160s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 160s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 160s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 160s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 160s /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. 160s or locale.getdefaultlocale()[1] 160s no changes found 160s warning: You appear to have cloned an empty repository. 160s [master (root-commit) 9f40cc0] two 160s Author: A U Thor 160s Date: Mon Sep 26 00:00:00 2016 -0230 160s 1 file changed, 1 insertion(+) 160s create mode 100644 content 160s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 160s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 160s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 160s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 160s /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. 160s or locale.getdefaultlocale()[1] 161s no changes found 161s searching for changes 161s adding changesets 161s adding manifests 161s adding file changes 161s added 1 changesets with 1 changes to 1 files 161s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 161s * [new branch] master -> master 161s Cloning into 'gitrepo2'... 161s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 161s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 161s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 161s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 161s /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. 161s or locale.getdefaultlocale()[1] 161s adding changesets 161s adding manifests 161s adding file changes 161s added 1 changesets with 1 changes to 1 files 161s new changesets e522f351d13b 161s progress revision walk 'bookmarks/master' (0/0) 161s progress revision 0 'master' (0/1) 161s ok 42 - timezone issues with negative offsets 161s 161s expecting success: 161s test_when_finished "rm -rf hgrepo* gitrepo*" && 161s 161s ( 161s hg init hgrepo && 161s cd hgrepo && 161s echo zero > content && 161s hg add content && 161s hg commit -m zero 161s hg bookmark feature-a 161s ) && 161s 161s git clone "hg::hgrepo" gitrepo && 161s check_bookmark hgrepo feature-a zero && 161s 161s ( 161s cd gitrepo && 161s git push --quiet origin :feature-a 161s ) && 161s 161s check_bookmark hgrepo feature-a 161s 161s Cloning into 'gitrepo'... 161s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 161s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 161s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 161s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 161s /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. 161s or locale.getdefaultlocale()[1] 161s adding changesets 161s adding manifests 161s adding file changes 161s adding remote bookmark feature-a 161s added 1 changesets with 1 changes to 1 files 161s new changesets ab0858691667 161s progress revision walk 'bookmarks/master' (0/0) 161s progress revision 0 'master' (0/1) 162s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 162s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 162s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 162s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 162s /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. 162s or locale.getdefaultlocale()[1] 162s no changes found 162s error: refusing to update ref with bad name 'hg/origin/refs/heads/feature-a' 162s ok 43 - remote delete bookmark 162s 162s expecting success: 162s test_when_finished "rm -rf hgrepo gitrepo" && 162s 162s ( 162s hg init hgrepo && 162s cd hgrepo && 162s echo zero > content && 162s hg add content && 162s hg commit -m zero 162s ) && 162s 162s git clone "hg::hgrepo" gitrepo && 162s 162s ( 162s cd gitrepo && 162s echo one > content && 162s git commit -a -m one && 162s git push --quiet origin master:feature-b && 162s git push --quiet origin master^:refs/heads/feature-a 162s ) && 162s 162s check_bookmark hgrepo feature-a zero && 162s check_bookmark hgrepo feature-b one && 162s 162s ( 162s cd gitrepo && 162s git push --quiet origin master:feature-a 162s ) && 162s 162s check_bookmark hgrepo feature-a one 162s 162s Cloning into 'gitrepo'... 162s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 162s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 162s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 162s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 162s /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. 162s or locale.getdefaultlocale()[1] 162s adding changesets 162s adding manifests 162s adding file changes 163s added 1 changesets with 1 changes to 1 files 163s new changesets e86ae60055d6 163s progress revision walk 'bookmarks/master' (0/0) 163s progress revision 0 'master' (0/1) 163s [master 51e21a3] one 163s Author: A U Thor 163s 1 file changed, 1 insertion(+), 1 deletion(-) 163s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 163s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 163s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 163s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 163s /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. 163s or locale.getdefaultlocale()[1] 163s no changes found 163s searching for changes 163s adding changesets 163s adding manifests 163s adding file changes 163s added 1 changesets with 1 changes to 1 files 163s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 163s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 163s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 163s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 163s /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. 163s or locale.getdefaultlocale()[1] 163s no changes found 163s adding remote bookmark feature-b 163s 1 local changesets published 163s searching for changes 163s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 163s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 163s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 163s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 163s /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. 163s or locale.getdefaultlocale()[1] 163s no changes found 163s adding remote bookmark feature-a 163s searching for changes 164s ok 44 - source:dest bookmark 164s 164s expecting success: 164s test_when_finished "rm -rf gitrepo* hgrepo*" && 164s 164s setup_check_hg_commits_repo && 164s 164s ( 164s cd gitrepo && 164s git fetch origin && 164s git reset --hard origin/master && 164s ! git push second master 2>../error 164s ) 164s 164s cat error && 164s grep rejected error | grep hg 164s 164s Cloning into 'gitrepo'... 164s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 164s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 164s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 164s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 164s /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. 164s or locale.getdefaultlocale()[1] 164s adding changesets 164s adding manifests 164s adding file changes 164s progress revision walk 'bookmarks/master' (0/0) 164s progress revision 0 'master' (0/1) 164s added 1 changesets with 1 changes to 1 files 164s new changesets 99316c926d08 164s updating to branch default 164s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 164s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 164s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 164s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 164s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 164s /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. 164s or locale.getdefaultlocale()[1] 165s no changes found 165s progress revision walk 'branches/default' (0/0) 165s progress revision 0 'default' (0/1) 165s From hg::../hgrepo.second 165s * [new branch] branches/default -> second/branches/default 165s * [new branch] master -> second/master 165s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 165s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 165s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 165s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 166s /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. 166s or locale.getdefaultlocale()[1] 166s searching for changes 166s progress revision 1 'default' (0/5) 166s adding changesets 166s adding manifests 166s adding file changes 166s added 5 changesets with 5 changes to 2 files 166s new changesets 473d12a0535d:9c8bf6af9596 166s From hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 166s f20e657..71a863c master -> origin/master 166s f20e657..71a863c branches/default -> origin/branches/default 166s HEAD is now at 71a863c restored 166s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 166s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 166s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 166s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 166s /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. 166s or locale.getdefaultlocale()[1] 166s no changes found 166s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo.second 166s ! [remote rejected] master -> master (rejected not pushing hg based commit 8726c4e34d75b4ef5f2b48f7ace418a5ce4e0e0d) 166s error: failed to push some refs to 'hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo.second' 166s ! [remote rejected] master -> master (rejected not pushing hg based commit 8726c4e34d75b4ef5f2b48f7ace418a5ce4e0e0d) 166s ok 45 - check-hg-commits with fail mode 166s 166s expecting success: 166s check_hg_commits_push 166s 166s Cloning into 'gitrepo'... 166s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 166s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 166s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 166s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 166s /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. 166s or locale.getdefaultlocale()[1] 166s progress revision walk 'bookmarks/master' (0/0) 166s progress revision 0 'master' (0/1) 167s updating to branch default 167s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 167s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 167s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 167s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 167s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 167s /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. 167s or locale.getdefaultlocale()[1] 167s progress revision walk 'branches/default' (0/0) 167s progress revision 0 'default' (0/1) 167s From hg::../hgrepo.second 167s * [new branch] branches/default -> second/branches/default 167s * [new branch] master -> second/master 168s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 168s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 168s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 168s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 168s /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. 168s or locale.getdefaultlocale()[1] 168s progress revision 1 'default' (0/5) 168s From hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 168s d6cdda9..a05f243 master -> origin/master 168s d6cdda9..a05f243 branches/default -> origin/branches/default 168s HEAD is now at a05f243 restored 168s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 168s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 168s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 168s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 168s /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. 168s or locale.getdefaultlocale()[1] 168s WARNING: Pushing hg changeset 9d299128f19a3bad8f3c59c7541cf5b8f90107e1 for acfb20a8462f79f48d1ffc11060327897a56695f 168s WARNING: Pushing hg changeset 448e9d89950f3e4de02a999d710319724157813b for 7f4b98a716e9c71334ece4306c26820f5e4355ca 168s WARNING: Pushing hg changeset 11e972deff2c4eb4a1137d3ba00b5c97aeac8981 for dc3dbbb2997222509ed77646ab0a32b666e23a12 168s WARNING: Pushing hg changeset 5c43973d5181244db48e972fd2ddb7658590a8b4 for 0884f3f63144b1d3205ff9902269d6f413e23ecd 168s WARNING: Pushing hg changeset 029164e010efb3ac86b5c8444daee1f355924e62 for a05f243ea8b8051658f27d002335ae7f01779e94 168s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo.second 168s fffffff..a05f243 master -> master 168s WARNING: Pushing hg changeset 9d299128f19a3bad8f3c59c7541cf5b8f90107e1 for acfb20a8462f79f48d1ffc11060327897a56695f 168s WARNING: Pushing hg changeset 448e9d89950f3e4de02a999d710319724157813b for 7f4b98a716e9c71334ece4306c26820f5e4355ca 168s WARNING: Pushing hg changeset 11e972deff2c4eb4a1137d3ba00b5c97aeac8981 for dc3dbbb2997222509ed77646ab0a32b666e23a12 168s WARNING: Pushing hg changeset 5c43973d5181244db48e972fd2ddb7658590a8b4 for 0884f3f63144b1d3205ff9902269d6f413e23ecd 168s WARNING: Pushing hg changeset 029164e010efb3ac86b5c8444daee1f355924e62 for a05f243ea8b8051658f27d002335ae7f01779e94 169s ok 46 - check-hg-commits with push mode - no local proxy 169s 169s expecting success: 169s check_hg_commits_push 169s 169s Cloning into 'gitrepo'... 169s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 169s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 169s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 169s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 169s /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. 169s or locale.getdefaultlocale()[1] 169s adding changesets 169s adding manifests 169s adding file changes 169s added 1 changesets with 1 changes to 1 files 169s new changesets c303f57128e5 169s progress revision walk 'bookmarks/master' (0/0) 169s progress revision 0 'master' (0/1) 169s updating to branch default 169s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 169s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 169s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 169s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 169s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 169s /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. 169s or locale.getdefaultlocale()[1] 169s progress revision walk 'branches/default' (0/0) 169s progress revision 0 'default' (0/1) 169s no changes found 169s From hg::../hgrepo.second 169s * [new branch] branches/default -> second/branches/default 169s * [new branch] master -> second/master 170s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 170s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 170s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 170s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 171s /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. 171s or locale.getdefaultlocale()[1] 171s searching for changes 171s adding changesets 171s adding manifests 171s adding file changes 171s added 5 changesets with 5 changes to 2 files 171s new changesets ce23d5f7123a:542942820152 171s progress revision 1 'default' (0/5) 171s From hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo 171s 97760e6..101ef40 master -> origin/master 171s 97760e6..101ef40 branches/default -> origin/branches/default 171s HEAD is now at 101ef40 restored 171s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 171s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 171s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 171s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 171s /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. 171s or locale.getdefaultlocale()[1] 171s no changes found 171s WARNING: Using hg changeset ce23d5f7123a28df341e6ac1325d7f0f3d0d0a95 for 2451f04029bd4af809076c81a6acda95a535f4af 171s WARNING: Using hg changeset 599b8d86cc8eb0b44983531bed3d58fdff62eeda for 4aa78dd17f10487a7d6c13f0cb1389591f618499 171s WARNING: Using hg changeset 6fa1cc92b4d65a7ce0c5436c3ce68d7a9252e0d1 for f1106794af757322a08170ba184162dde984d632 171s WARNING: Using hg changeset 910db78468895dc9f62a5064fb06a4a054271309 for cec9ef875e17e2d3f355e5d21f8061c2fa72d5f9 171s WARNING: Using hg changeset 5429428201524edd3a241a8bda5d967c42b578af for 101ef401c6ceade3675c7f4886bbce377669e20a 171s searching for changes 171s adding changesets 171s adding manifests 171s adding file changes 171s added 5 changesets with 5 changes to 2 files 171s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/hgrepo.second 171s fffffff..101ef40 master -> master 171s WARNING: Using hg changeset ce23d5f7123a28df341e6ac1325d7f0f3d0d0a95 for 2451f04029bd4af809076c81a6acda95a535f4af 171s WARNING: Using hg changeset 599b8d86cc8eb0b44983531bed3d58fdff62eeda for 4aa78dd17f10487a7d6c13f0cb1389591f618499 171s WARNING: Using hg changeset 6fa1cc92b4d65a7ce0c5436c3ce68d7a9252e0d1 for f1106794af757322a08170ba184162dde984d632 171s WARNING: Using hg changeset 910db78468895dc9f62a5064fb06a4a054271309 for cec9ef875e17e2d3f355e5d21f8061c2fa72d5f9 171s WARNING: Using hg changeset 5429428201524edd3a241a8bda5d967c42b578af for 101ef401c6ceade3675c7f4886bbce377669e20a 171s ok 47 - check-hg-commits with push mode - with local proxy 171s 171s expecting success: 171s test_when_finished "rm -rf gitrepo* hgrepo*" && 171s 171s setup_check_shared_marks_repo && 171s 171s ( 171s cd gitrepo && 171s check_marks .git/hg y && 171s check_marks .git/hg/origin n && 171s check_marks .git/hg/second n 171s ) 171s 171s Cloning into 'gitrepo'... 171s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 171s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 171s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 171s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 172s /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. 172s or locale.getdefaultlocale()[1] 172s adding changesets 172s adding manifests 172s adding file changes 172s progress revision walk 'bookmarks/master' (0/0) 172s progress revision 0 'master' (0/1) 172s added 1 changesets with 1 changes to 1 files 172s new changesets 10c30986d3ad 172s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 172s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 172s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 172s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 172s /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. 172s or locale.getdefaultlocale()[1] 172s no changes found 172s From hg::../hgrepo 172s * [new branch] branches/default -> second/branches/default 172s * [new branch] master -> second/master 172s total 28 172s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 18:41 . 172s drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 18 18:41 .. 172s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 18:41 .hg 172s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 18:41 marks-git 172s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 18:41 marks-hg 172s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 origin 172s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 second 172s total 16 172s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 . 172s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 18:41 .. 172s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 18:41 clone 172s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 refs 172s total 16 172s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 . 172s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 18:41 .. 172s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 18:41 clone 172s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 refs 172s ok 48 - shared-marks unset 172s 172s expecting success: 172s test_when_finished "rm -rf gitrepo* hgrepo*" && 172s 172s git config --global remote-hg.shared-marks true && 172s setup_check_shared_marks_repo && 172s 172s ( 172s cd gitrepo && 172s check_marks .git/hg y && 172s check_marks .git/hg/origin n && 172s check_marks .git/hg/second n 172s ) && 172s 172s git config --global remote-hg.shared-marks false && 172s ( 172s cd gitrepo && 172s git fetch origin && 172s check_marks .git/hg n && 172s check_marks .git/hg/origin y && 172s check_marks .git/hg/second y 172s ) 172s 172s Cloning into 'gitrepo'... 172s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 172s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 172s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 172s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 172s /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. 172s or locale.getdefaultlocale()[1] 172s adding changesets 172s adding manifests 172s adding file changes 172s added 1 changesets with 1 changes to 1 files 172s new changesets 6001ebc21587 172s progress revision walk 'bookmarks/master' (0/0) 172s progress revision 0 'master' (0/1) 173s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 173s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 173s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 173s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 173s /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. 173s or locale.getdefaultlocale()[1] 173s no changes found 173s From hg::../hgrepo 173s * [new branch] branches/default -> second/branches/default 173s * [new branch] master -> second/master 173s total 28 173s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 18:41 . 173s drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 18 18:41 .. 173s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 18:41 .hg 173s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 18:41 marks-git 173s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 18:41 marks-hg 173s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 origin 173s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 second 173s total 16 173s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 . 173s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 18:41 .. 173s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 18:41 clone 173s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 refs 173s total 16 173s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 . 173s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 18:41 .. 173s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 18:41 clone 173s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 refs 173s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 173s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 173s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 173s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 173s /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. 173s or locale.getdefaultlocale()[1] 173s WARNING: seeded marks of second with shared; performing gc 173s /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. 173s or locale.getdefaultlocale()[1] 173s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 173s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 173s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 173s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 173s ERROR: found both .git/hg/second/marks-git and .git/hg/marks-git 173s WARNING: gc for second failed 173s WARNING: seeded marks of origin with shared; performing gc 173s /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. 173s or locale.getdefaultlocale()[1] 173s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 173s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 173s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 173s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 173s Loading hg marks ... 173s Loading git marks ... 173s Performing garbage collection on git commits ... 173s Computing marks intersection ... 173s Including notes commits ... 173s Writing hg marks ... 173s Writing git marks ... 173s no changes found 173s progress revision walk 'branches/default' (0/0) 173s progress revision 0 'default' (0/1) 173s total 20 173s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 18:41 . 173s drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 18 18:41 .. 173s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 18:41 .hg 173s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 origin 173s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 second 173s total 24 173s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 . 173s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 18:41 .. 173s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 18:41 clone 173s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 18:41 marks-git 173s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 18:41 marks-hg 173s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 refs 173s total 24 173s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 . 173s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 18:41 .. 173s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 18:41 clone 173s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 18:41 marks-git 173s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 18:41 marks-hg 173s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 refs 173s ok 49 - shared-marks set to unset 173s 173s expecting success: 173s test_when_finished "rm -rf gitrepo* hgrepo*" && 173s 173s git config --global remote-hg.shared-marks false && 173s setup_check_shared_marks_repo && 173s 173s ( 173s cd gitrepo && 173s check_marks .git/hg n && 173s check_marks .git/hg/origin y && 173s check_marks .git/hg/second y 173s ) && 173s 173s git config --global --unset remote-hg.shared-marks && 173s ( 173s cd gitrepo && 173s git fetch origin && 173s check_marks .git/hg n && 173s check_marks .git/hg/origin y && 173s check_marks .git/hg/second y 173s ) && 173s 173s git config --global remote-hg.shared-marks true && 173s ( 173s cd gitrepo && 173s git fetch origin && 173s check_marks .git/hg y && 173s check_marks .git/hg/origin n && 173s check_marks .git/hg/second n 173s ) 173s 174s Cloning into 'gitrepo'... 174s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 174s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 174s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 174s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 174s /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. 174s or locale.getdefaultlocale()[1] 174s adding changesets 174s adding manifests 174s adding file changes 174s added 1 changesets with 1 changes to 1 files 174s new changesets 2ad46b45b106 174s progress revision walk 'bookmarks/master' (0/0) 174s progress revision 0 'master' (0/1) 174s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 174s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 174s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 174s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 174s /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. 174s or locale.getdefaultlocale()[1] 174s no changes found 174s From hg::../hgrepo 174s * [new branch] branches/default -> second/branches/default 174s * [new branch] master -> second/master 174s progress revision walk 'branches/default' (0/0) 174s progress revision 0 'default' (0/1) 174s total 20 174s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 18:41 . 174s drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 18 18:41 .. 174s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 18:41 .hg 174s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 origin 174s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 second 174s total 24 174s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 . 174s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 18:41 .. 174s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 18:41 clone 174s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 18:41 marks-git 174s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 18:41 marks-hg 174s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 refs 174s total 24 174s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 . 174s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 18:41 .. 174s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 18:41 clone 174s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 18:41 marks-git 174s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 18:41 marks-hg 174s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 refs 174s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 174s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 174s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 174s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 174s /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. 174s or locale.getdefaultlocale()[1] 174s no changes found 174s total 20 174s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 18:41 . 174s drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 18 18:41 .. 174s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 18:41 .hg 174s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 origin 174s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 second 174s total 24 174s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 . 174s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 18:41 .. 174s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 18:41 clone 174s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 18:41 marks-git 174s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 18:41 marks-hg 174s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 refs 174s total 24 174s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 . 174s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 18:41 .. 174s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 18:41 clone 174s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 18:41 marks-git 174s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 18:41 marks-hg 174s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 refs 174s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 174s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 174s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 174s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 175s /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. 175s or locale.getdefaultlocale()[1] 175s WARNING: using marks of remote origin as shared marks 175s no changes found 175s total 28 175s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 18:41 . 175s drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 18 18:41 .. 175s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 18:41 .hg 175s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 18:41 marks-git 175s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 18:41 marks-hg 175s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 origin 175s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 second 175s total 16 175s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 . 175s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 18:41 .. 175s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 18:41 clone 175s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 refs 175s total 16 175s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 . 175s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 18:41 .. 175s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 18:41 clone 175s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 18:41 refs 175s ok 50 - shared-marks unset to set 175s 175s expecting success: 175s test_when_finished "rm -rf hgrepo gitrepo*" && 175s 175s hg init hgrepo && 175s 175s ( 175s git init gitrepo && 175s cd gitrepo && 175s git remote add origin "hg::../hgrepo" && 175s echo one > content && 175s chmod a+x content && 175s git add content && 175s git commit -a -m one && 175s git mv content content2 && 175s git commit -a -m two && 175s git push origin master 175s ) && 175s 175s ( 175s umask 0 && 175s cd hgrepo && 175s hg update && 175s stat content2 >expected && 175s grep -- -r.xr.xr.x expected 175s ) 175s 175s Initialized empty Git repository in /tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/gitrepo/.git/ 175s [master (root-commit) 5913097] one 175s Author: A U Thor 175s 1 file changed, 1 insertion(+) 175s create mode 100755 content 175s [master cbb24bc] two 175s Author: A U Thor 175s 1 file changed, 0 insertions(+), 0 deletions(-) 175s rename content => content2 (100%) 175s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 175s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 175s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 175s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 175s /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. 175s or locale.getdefaultlocale()[1] 175s no changes found 175s searching for changes 175s adding changesets 175s adding manifests 175s adding file changes 175s added 2 changesets with 2 changes to 2 files 175s To hg::../hgrepo 175s * [new branch] master -> master 175s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 175s Access: (0777/-rwxrwxrwx) Uid: ( 1000/ ubuntu) Gid: ( 1000/ ubuntu) 175s ok 51 - push with renamed executable preserves executable bit 175s 175s expecting success: 175s test_when_finished "rm -rf sub hgrepo gitrepo*" && 175s 175s hg init hgrepo && 175s 175s ( 175s git init sub && 175s cd sub && 175s : >empty && 175s git add empty && 175s git commit -m init 175s ) && 175s 175s ( 175s git init gitrepo && 175s cd gitrepo && 175s git submodule add ../sub sub && 175s git remote add origin "hg::../hgrepo" && 175s git commit -a -m sub && 175s git push origin master 175s ) && 175s 175s ( 175s cd hgrepo && 175s hg update && 175s expected="[git-remote-hg: skipped import of submodule at $(git -C ../sub rev-parse HEAD)]" 175s test "$expected" = "$(cat sub)" 175s ) 175s 175s Initialized empty Git repository in /tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/sub/.git/ 175s [master (root-commit) be983cd] init 175s Author: A U Thor 175s 1 file changed, 0 insertions(+), 0 deletions(-) 175s create mode 100644 empty 175s Initialized empty Git repository in /tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/gitrepo/.git/ 175s Cloning into '/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.main-push/tmp/gitrepo/sub'... 175s done. 175s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 175s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 175s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 175s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 175s [master (root-commit) c56d720] sub 175s Author: A U Thor 175s 2 files changed, 4 insertions(+) 175s create mode 100644 .gitmodules 175s create mode 160000 sub 175s /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. 175s or locale.getdefaultlocale()[1] 175s no changes found 175s searching for changes 175s adding changesets 175s adding manifests 175s adding file changes 175s added 1 changesets with 2 changes to 2 files 175s To hg::../hgrepo 175s * [new branch] master -> master 176s 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 176s ok 52 - push with submodule 176s 176s # passed all 52 test(s) 176s 1..52 176s /bin/sh bidi.t --verbose 176s expecting success: 176s test_when_finished "rm -rf gitrepo* hgrepo*" && 176s 176s ( 176s git init -q gitrepo && 176s cd gitrepo && 176s 176s echo alpha > alpha && 176s git add alpha && 176s git commit -m "add älphà" && 176s 176s GIT_AUTHOR_NAME="tést èncödîng" && 176s export GIT_AUTHOR_NAME && 176s echo beta > beta && 176s git add beta && 176s git commit -m "add beta" && 176s 176s echo gamma > gamma && 176s git add gamma && 176s git commit -m "add gämmâ" && 176s 176s : TODO git config i18n.commitencoding latin-1 && 176s echo delta > delta && 176s git add delta && 176s git commit -m "add déltà" 176s ) && 176s 176s hg_clone gitrepo hgrepo && 176s git_clone hgrepo gitrepo2 && 176s hg_clone gitrepo2 hgrepo2 && 176s 176s HGENCODING=utf-8 hg_log hgrepo > expected && 176s HGENCODING=utf-8 hg_log hgrepo2 > actual && 176s 176s test_cmp expected actual 176s 176s [master (root-commit) 79c6ce2] add älphà 176s Author: A U Thor 176s 1 file changed, 1 insertion(+) 176s create mode 100644 alpha 176s [master 68b42de] add beta 176s Author: tést èncödîng 176s 1 file changed, 1 insertion(+) 176s create mode 100644 beta 176s [master 8ee0762] add gämmâ 176s Author: tést èncödîng 176s 1 file changed, 1 insertion(+) 176s create mode 100644 gamma 176s [master 3b0b48f] add déltà 176s Author: tést èncödîng 176s 1 file changed, 1 insertion(+) 176s create mode 100644 delta 176s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 176s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 176s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 176s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 176s /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. 176s or locale.getdefaultlocale()[1] 176s no changes found 176s searching for changes 176s adding changesets 176s adding manifests 176s adding file changes 176s added 4 changesets with 4 changes to 4 files 176s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 176s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 176s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 176s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 176s /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. 176s or locale.getdefaultlocale()[1] 176s adding changesets 176s adding manifests 176s adding file changes 176s added 4 changesets with 4 changes to 4 files 176s new changesets 1e3e49d2cc8f:6674f1c866b5 176s progress revision walk 'bookmarks/master' (3/3) 176s progress revision 0 'master' (0/4) 176s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 176s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 176s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 176s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 177s /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. 177s or locale.getdefaultlocale()[1] 177s searching for changes 177s no changes found 177s searching for changes 177s adding changesets 177s adding manifests 177s adding file changes 177s added 4 changesets with 4 changes to 4 files 177s ok 1 - encoding 177s 177s expecting success: 177s test_when_finished "rm -rf gitrepo* hgrepo*" && 177s 177s ( 177s git init -q gitrepo && 177s cd gitrepo && 177s echo alpha > alpha && 177s git add alpha && 177s git commit -m "add alpha" && 177s echo beta > beta && 177s git add beta && 177s git commit -m "add beta" 177s mkdir foo && 177s echo blah > foo/bar && 177s git add foo && 177s git commit -m "add foo" && 177s git rm alpha && 177s git commit -m "remove alpha" && 177s git rm foo/bar && 177s git commit -m "remove foo/bar" 177s ) && 177s 177s hg_clone gitrepo hgrepo && 177s git_clone hgrepo gitrepo2 && 177s hg_clone gitrepo2 hgrepo2 && 177s 177s hg_log hgrepo > expected && 177s hg_log hgrepo2 > actual && 177s 177s test_cmp expected actual 177s 177s [master (root-commit) 223a6f6] add alpha 177s Author: A U Thor 177s 1 file changed, 1 insertion(+) 177s create mode 100644 alpha 177s [master 862befc] add beta 177s Author: A U Thor 177s 1 file changed, 1 insertion(+) 177s create mode 100644 beta 177s [master 86bf00d] add foo 177s Author: A U Thor 177s 1 file changed, 1 insertion(+) 177s create mode 100644 foo/bar 177s rm 'alpha' 177s [master 74dc957] remove alpha 177s Author: A U Thor 177s 1 file changed, 1 deletion(-) 177s delete mode 100644 alpha 177s rm 'foo/bar' 177s [master ea36818] remove foo/bar 177s Author: A U Thor 177s 1 file changed, 1 deletion(-) 177s delete mode 100644 foo/bar 177s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 177s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 177s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 177s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 177s /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. 177s or locale.getdefaultlocale()[1] 177s no changes found 177s searching for changes 177s adding changesets 177s adding manifests 177s adding file changes 177s added 5 changesets with 3 changes to 3 files 178s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 178s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 178s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 178s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 178s /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. 178s or locale.getdefaultlocale()[1] 178s adding changesets 178s adding manifests 178s adding file changes 178s added 5 changesets with 3 changes to 3 files 178s new changesets 362b656574c3:54f595cbdf1f 178s progress revision walk 'bookmarks/master' (4/4) 178s progress revision 0 'master' (0/5) 178s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 178s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 178s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 178s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 178s /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. 178s or locale.getdefaultlocale()[1] 178s searching for changes 178s no changes found 178s searching for changes 178s adding changesets 178s adding manifests 178s adding file changes 178s added 5 changesets with 3 changes to 3 files 178s ok 2 - file removal 178s 178s expecting success: 178s test_when_finished "rm -rf gitrepo* hgrepo*" && 178s 178s ( 178s git init -q gitrepo && 178s cd gitrepo && 178s git config receive.denyCurrentBranch ignore && 178s echo alpha > alpha && 178s git add alpha && 178s git commit -m "add alpha" && 178s git tag alpha && 178s 178s echo beta > beta && 178s git add beta && 178s git commit -m "add beta" && 178s git tag -a -m "added tag beta" beta 178s ) && 178s 178s hg_clone gitrepo hgrepo && 178s git_clone hgrepo gitrepo2 && 178s hg_clone gitrepo2 hgrepo2 && 178s 178s hg_log hgrepo > expected && 178s hg_log hgrepo2 > actual && 178s 178s test_cmp expected actual 178s 178s [master (root-commit) 223a6f6] add alpha 178s Author: A U Thor 178s 1 file changed, 1 insertion(+) 178s create mode 100644 alpha 179s [master 862befc] add beta 179s Author: A U Thor 179s 1 file changed, 1 insertion(+) 179s create mode 100644 beta 179s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 179s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 179s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 179s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 179s /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. 179s or locale.getdefaultlocale()[1] 179s no changes found 179s searching for changes 179s adding changesets 179s adding manifests 179s adding file changes 179s added 2 changesets with 2 changes to 2 files 179s searching for changes 179s searching for changes 179s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 179s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 179s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 179s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 179s /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. 179s or locale.getdefaultlocale()[1] 179s adding changesets 179s adding manifests 179s adding file changes 179s added 2 changesets with 2 changes to 2 files 179s new changesets 362b656574c3:7cd99375c843 179s progress revision walk 'bookmarks/master' (1/1) 179s progress revision 0 'master' (0/2) 179s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 179s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 179s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 179s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 179s /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. 179s or locale.getdefaultlocale()[1] 179s searching for changes 179s no changes found 179s searching for changes 179s adding changesets 179s adding manifests 179s adding file changes 179s added 2 changesets with 2 changes to 2 files 180s ok 3 - git tags 180s 180s expecting success: 180s test_when_finished "rm -rf gitrepo* hgrepo*" && 180s 180s ( 180s git init -q gitrepo && 180s cd gitrepo && 180s 180s echo alpha > alpha && 180s git add alpha && 180s git commit -q -m "add alpha" && 180s git checkout -q -b not-master 180s ) && 180s 180s ( 180s hg_clone gitrepo hgrepo && 180s 180s cd hgrepo && 180s hg -q co default && 180s hg mv alpha beta && 180s hg -q commit -m "rename alpha to beta" && 180s hg branch gamma | grep -v "permanent and global" && 180s hg -q commit -m "started branch gamma" 180s ) && 180s 180s hg_push hgrepo gitrepo && 180s hg_clone gitrepo hgrepo2 && 180s 180s : Back to the common revision && 180s (cd hgrepo && hg checkout default) && 180s 180s # fetch does not affect phase, but pushing now does 180s hg_log hgrepo | grep -v phase > expected && 180s hg_log hgrepo2 | grep -v phase > actual && 180s 180s test_cmp expected actual 180s 180s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 180s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 180s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 180s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 180s /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. 180s or locale.getdefaultlocale()[1] 180s no changes found 180s searching for changes 180s adding changesets 180s adding manifests 180s adding file changes 180s added 1 changesets with 1 changes to 1 files 180s searching for changes 181s marked working directory as branch gamma 181s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 181s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 181s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 181s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 181s /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. 181s or locale.getdefaultlocale()[1] 181s searching for changes 181s adding changesets 181s adding manifests 181s adding file changes 181s adding remote bookmark not-master 181s added 2 changesets with 1 changes to 1 files 181s new changesets 5889597089fe:3320583a8de0 181s 1 local changesets published 181s progress revision 1 'default' (0/1) 181s progress revision 2 'gamma' (0/1) 181s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 181s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 181s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 181s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 181s /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. 181s or locale.getdefaultlocale()[1] 181s searching for changes 181s no changes found 181s searching for changes 182s adding changesets 182s adding manifests 182s adding file changes 182s added 2 changesets with 2 changes to 2 files 182s searching for changes 182s adding changesets 182s adding manifests 182s adding file changes 182s added 1 changesets with 0 changes to 0 files 182s searching for changes 182s searching for changes 182s 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 182s ok 4 - hg branch 182s 182s expecting success: 182s test_when_finished "rm -rf gitrepo* hgrepo*" && 182s 182s ( 182s git init -q gitrepo && 182s cd gitrepo && 182s 182s echo alpha > alpha && 182s git add alpha && 182s git commit -m "add alpha" && 182s git checkout -q -b not-master 182s ) && 182s 182s ( 182s hg_clone gitrepo hgrepo && 182s 182s cd hgrepo && 182s hg co default && 182s hg tag alpha 182s ) && 182s 182s hg_push hgrepo gitrepo && 182s # pushing a fetched tag is a problem ... 182s { hg_clone gitrepo hgrepo2 || true ; } && 182s 182s # fetch does not affect phase, but pushing now does 182s hg_log hgrepo | grep -v phase > expected && 182s hg_log hgrepo2 | grep -v phase > actual && 182s 182s test_cmp expected actual 182s 182s [master (root-commit) 223a6f6] add alpha 182s Author: A U Thor 182s 1 file changed, 1 insertion(+) 182s create mode 100644 alpha 182s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 182s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 182s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 182s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 182s /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. 182s or locale.getdefaultlocale()[1] 182s no changes found 182s searching for changes 182s adding changesets 182s adding manifests 182s adding file changes 182s added 1 changesets with 1 changes to 1 files 182s searching for changes 183s 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 183s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 183s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 183s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 183s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 183s /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. 183s or locale.getdefaultlocale()[1] 183s searching for changes 183s adding changesets 183s adding manifests 183s adding file changes 183s adding remote bookmark not-master 183s added 1 changesets with 1 changes to 1 files 183s new changesets 16869bbe54be 183s 1 local changesets published 183s progress revision 1 'default' (0/1) 183s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 183s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 183s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 183s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 183s /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. 183s or locale.getdefaultlocale()[1] 183s searching for changes 183s no changes found 183s searching for changes 183s adding changesets 183s adding manifests 183s adding file changes 183s added 2 changesets with 2 changes to 2 files 183s searching for changes 183s searching for changes 183s To hg::../hgrepo2 183s * [new branch] branches/default -> branches/default 183s * [new branch] master -> master 183s * [new branch] not-master -> not-master 183s ! [rejected] alpha -> alpha (already exists) 183s error: failed to push some refs to 'hg::../hgrepo2' 183s hint: Updates were rejected because the tag already exists in the remote. 184s ok 5 - hg tags 184s 184s expecting success: 184s test_when_finished "rm -rf gitrepo* hgrepo*" && 184s 184s ( 184s git init -q gitrepo && 184s cd gitrepo && 184s 184s echo alpha > alpha && 184s git add alpha && 184s git commit -m "add alpha" --date="2007-01-01 00:00:00 +0000" && 184s 184s echo beta > beta && 184s git add beta && 184s git commit -m "add beta" --date="2007-01-01 00:00:00 +0100" && 184s 184s echo gamma > gamma && 184s git add gamma && 184s git commit -m "add gamma" --date="2007-01-01 00:00:00 -0100" && 184s 184s echo delta > delta && 184s git add delta && 184s git commit -m "add delta" --date="2007-01-01 00:00:00 +0130" && 184s 184s echo epsilon > epsilon && 184s git add epsilon && 184s git commit -m "add epsilon" --date="2007-01-01 00:00:00 -0130" 184s ) && 184s 184s hg_clone gitrepo hgrepo && 184s git_clone hgrepo gitrepo2 && 184s hg_clone gitrepo2 hgrepo2 && 184s 184s hg_log hgrepo > expected && 184s hg_log hgrepo2 > actual && 184s 184s test_cmp expected actual 184s 184s [master (root-commit) a663549] add alpha 184s Author: A U Thor 184s Date: Mon Jan 1 00:00:00 2007 +0000 184s 1 file changed, 1 insertion(+) 184s create mode 100644 alpha 184s [master ea3e397] add beta 184s Author: A U Thor 184s Date: Mon Jan 1 00:00:00 2007 +0100 184s 1 file changed, 1 insertion(+) 184s create mode 100644 beta 184s [master d7a1343] add gamma 184s Author: A U Thor 184s Date: Mon Jan 1 00:00:00 2007 -0100 184s 1 file changed, 1 insertion(+) 184s create mode 100644 gamma 184s [master 79cd3e4] add delta 184s Author: A U Thor 184s Date: Mon Jan 1 00:00:00 2007 +0130 184s 1 file changed, 1 insertion(+) 184s create mode 100644 delta 184s [master f12dbdf] add epsilon 184s Author: A U Thor 184s Date: Mon Jan 1 00:00:00 2007 -0130 184s 1 file changed, 1 insertion(+) 184s create mode 100644 epsilon 184s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 184s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 184s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 184s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 184s /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. 184s or locale.getdefaultlocale()[1] 184s no changes found 184s searching for changes 184s adding changesets 184s adding manifests 184s adding file changes 184s added 5 changesets with 5 changes to 5 files 184s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 184s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 184s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 184s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 184s /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. 184s or locale.getdefaultlocale()[1] 184s adding changesets 184s adding manifests 184s adding file changes 184s added 5 changesets with 5 changes to 5 files 184s new changesets 87c8f82b00d0:21e96c99dac4 184s progress revision walk 'bookmarks/master' (4/4) 184s progress revision 0 'master' (0/5) 184s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 184s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 184s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 184s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 185s /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. 185s or locale.getdefaultlocale()[1] 185s searching for changes 185s no changes found 185s searching for changes 185s adding changesets 185s adding manifests 185s adding file changes 185s added 5 changesets with 5 changes to 5 files 185s ok 6 - test timezones 185s 185s # passed all 6 test(s) 185s 1..6 185s /bin/sh helper.t --verbose 185s expecting success: 185s test_when_finished "rm -rf gitrepo* hgrepo*" && 185s 185s setup_repos && 185s 185s ( 185s cd gitrepo && 185s test_expect_code 2 git-hg-helper help 2> ../help 185s ) 185s # remotes should be in help output 185s grep origin help 185s 185s Cloning into 'gitrepo'... 185s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 185s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 185s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 185s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 186s /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. 186s or locale.getdefaultlocale()[1] 186s adding changesets 186s adding manifests 186s adding file changes 186s added 1 changesets with 1 changes to 1 files 186s new changesets 5a5511b7b37d 186s progress revision walk 'bookmarks/master' (0/0) 186s progress revision 0 'master' (0/1) 186s origin 186s ok 1 - subcommand help 186s 186s expecting success: 186s test_when_finished "rm -rf gitrepo* hgrepo*" && 186s 186s setup_repos && 186s 186s ( 186s cd hgrepo && 186s pwd >../expected 186s ) && 186s 186s ( 186s cd gitrepo && 186s git-hg-helper repo origin > ../actual 186s ) && 186s 186s test_cmp expected actual 186s 186s Cloning into 'gitrepo'... 186s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 186s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 186s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 186s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 186s /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. 186s or locale.getdefaultlocale()[1] 186s progress revision walk 'bookmarks/master' (0/0) 186s progress revision 0 'master' (0/1) 187s /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. 187s or locale.getdefaultlocale()[1] 187s ok 2 - subcommand repo - no local proxy 187s 187s expecting success: 187s test_when_finished "rm -rf gitrepo* hgrepo*" && 187s 187s setup_repos && 187s 187s ( 187s cd gitrepo && 187s export gitdir=`git rev-parse --git-dir` 187s # trick to normalize path 187s ( cd $gitdir/hg/origin/clone && pwd ) >../expected && 187s ( cd `git-hg-helper repo origin` && pwd ) > ../actual 187s ) && 187s 187s test_cmp expected actual 187s 187s Cloning into 'gitrepo'... 187s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 187s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 187s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 187s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 187s /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. 187s or locale.getdefaultlocale()[1] 187s adding changesets 187s adding manifests 187s adding file changes 187s added 1 changesets with 1 changes to 1 files 187s new changesets 2c3eeeee6c95 187s progress revision walk 'bookmarks/master' (0/0) 187s progress revision 0 'master' (0/1) 187s /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. 187s or locale.getdefaultlocale()[1] 187s ok 3 - subcommand repo - with local proxy 187s 187s expecting success: 187s test_when_finished "rm -rf gitrepo* hgrepo*" && 187s 187s setup_repos && 187s 187s ( 187s cd gitrepo && 187s git rev-parse HEAD > rev-HEAD && 187s test -s rev-HEAD && 187s git-hg-helper hg-rev `cat rev-HEAD` > hg-HEAD && 187s git-hg-helper git-rev `cat hg-HEAD` > git-HEAD && 187s test_cmp rev-HEAD git-HEAD 187s ) 187s 188s Cloning into 'gitrepo'... 188s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 188s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 188s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 188s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 188s /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. 188s or locale.getdefaultlocale()[1] 188s adding changesets 188s adding manifests 188s adding file changes 188s added 1 changesets with 1 changes to 1 files 188s new changesets 2c3eeeee6c95 188s progress revision walk 'bookmarks/master' (0/0) 188s progress revision 0 'master' (0/1) 188s /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. 188s or locale.getdefaultlocale()[1] 188s /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. 188s or locale.getdefaultlocale()[1] 188s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 188s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 188s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 188s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 188s ok 4 - subcommands hg-rev and git-rev 188s 188s expecting success: 188s test_when_finished "rm -rf gitrepo* hgrepo*" && 188s 188s ( 188s hg init hgrepo && 188s cd hgrepo && 188s echo zero > content && 188s hg add content && 188s hg commit -m zero 188s echo one > content && 188s hg commit -m one && 188s echo two > content && 188s hg commit -m two && 188s echo three > content && 188s hg commit -m three 188s ) && 188s 188s git clone hg::hgrepo gitrepo && 188s 188s ( 188s cd hgrepo && 188s hg strip -r 1 && 188s echo four > content && 188s hg commit -m four 188s ) && 188s 188s ( 188s cd gitrepo && 188s git fetch origin && 188s git reset --hard origin/master && 188s git gc && 188s git-hg-helper gc --check-hg origin > output && 188s cat output && 188s grep "hg marks" output && 188s grep "git marks" output 188s ) 188s 189s Cloning into 'gitrepo'... 189s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 189s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 189s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 189s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 189s /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. 189s or locale.getdefaultlocale()[1] 189s adding changesets 189s adding manifests 189s adding file changes 189s added 4 changesets with 4 changes to 1 files 189s new changesets 814ca223d67d:c54b6ff9619e 189s progress revision walk 'bookmarks/master' (3/3) 189s progress revision 0 'master' (0/4) 189s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 189s saved backup bundle to /tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo/.hg/strip-backup/ffae20f7990a-8d0732f6-backup.hg 190s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 190s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 190s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 190s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 190s /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. 190s or locale.getdefaultlocale()[1] 190s searching for changes 190s adding changesets 190s adding manifests 190s adding file changes 190s added 1 changesets with 1 changes to 1 files (+1 heads) 190s new changesets 6c0d86bb0962 190s progress revision 4 'default' (0/1) 190s From hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo 190s + c6601f8...41cb751 master -> origin/master (forced update) 190s + c6601f8...41cb751 branches/default -> origin/branches/default (forced update) 190s HEAD is now at 41cb751 four 190s /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. 190s or locale.getdefaultlocale()[1] 190s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 190s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 190s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 190s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 190s Loading hg marks ... 190s Loading git marks ... 190s Performing garbage collection on git commits ... 190s Computing marks intersection ... 190s Including notes commits ... 190s Trimmed hg marks from #5 down to #0 190s Trimmed git marks from #12 down to #2 190s Writing hg marks ... 190s Writing git marks ... 190s Loading hg marks ... 190s Trimmed hg marks from #5 down to #0 190s Writing hg marks ... 190s Loading git marks ... 190s Trimmed git marks from #12 down to #2 190s Writing git marks ... 190s ok 5 - subcommand gc 190s 190s expecting success: 190s test_when_finished "rm -rf gitrepo* hgrepo*" && 190s 190s setup_repos && 190s 190s ( 190s cd hgrepo && 190s echo one > content && 190s hg commit -m one 190s ) && 190s 190s ( 190s cd gitrepo && 190s git fetch origin 190s ) && 190s 190s hg log -R hgrepo > expected && 190s # not inside gitrepo; test shared path handling 190s GIT_DIR=gitrepo/.git git-hg-helper origin log > actual 190s 190s test_cmp expected actual 190s 190s Cloning into 'gitrepo'... 190s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 190s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 190s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 190s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 191s /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. 191s or locale.getdefaultlocale()[1] 191s adding changesets 191s adding manifests 191s adding file changes 191s added 1 changesets with 1 changes to 1 files 191s new changesets c5164b5d7999 191s progress revision walk 'bookmarks/master' (0/0) 191s progress revision 0 'master' (0/1) 191s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 191s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 191s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 191s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 191s /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. 191s or locale.getdefaultlocale()[1] 191s searching for changes 191s adding changesets 191s adding manifests 191s adding file changes 191s added 1 changesets with 1 changes to 1 files 191s new changesets 9893ebb66043 191s progress revision 1 'default' (0/1) 191s From hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo 191s 576e3dd..c0f357e master -> origin/master 191s 576e3dd..c0f357e branches/default -> origin/branches/default 191s /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. 191s or locale.getdefaultlocale()[1] 191s ok 6 - subcommand [some-repo] 191s 191s expecting success: 191s test_when_finished "rm -rf gitrepo* hgrepo*" && 191s 191s setup_repo hg hgrepo && 191s ( 191s cd hgrepo && 191s setup_repo hg sub_hg_a && 191s setup_repo hg sub_hg_b && 191s setup_repo git sub_git && 191s echo "sub_hg_a = sub_hg_a" > .hgsub && 191s echo "sub_hg_b = sub_hg_b" >> .hgsub && 191s echo "sub_git = [git]sub_git" >> .hgsub && 191s hg add .hgsub && 191s hg commit -m substate 191s ) 191s 191s git clone hg::hgrepo gitrepo && 191s 191s ( 191s cd gitrepo && 191s git-hg-helper sub update --force && 191s test -f content_hgrepo && 191s test -f sub_hg_a/content_sub_hg_a && 191s test -f sub_hg_b/content_sub_hg_b && 191s test -f sub_git/content_sub_git 191s ) && 191s 191s check gitrepo HEAD substate && 191s check gitrepo/sub_hg_a HEAD zero_sub_hg_a && 191s check gitrepo/sub_hg_b HEAD zero_sub_hg_b && 191s check gitrepo/sub_git HEAD zero_sub_git 191s 193s Initialized empty Git repository in /tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo/sub_git/.git/ 193s [master (root-commit) e9a16bb] zero_sub_git 193s Author: A U Thor 193s 1 file changed, 1 insertion(+) 193s create mode 100644 content_sub_git 193s Cloning into 'gitrepo'... 193s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 193s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 193s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 193s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 193s /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. 193s or locale.getdefaultlocale()[1] 193s adding changesets 193s adding manifests 193s adding file changes 193s added 2 changesets with 3 changes to 3 files 193s new changesets aa2a468cfe33:61dd015c7d70 193s progress revision walk 'bookmarks/master' (1/1) 193s progress revision 0 'master' (0/2) 193s /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. 193s or locale.getdefaultlocale()[1] 193s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 193s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 193s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 193s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 193s Cloning into './sub_hg_a'... 193s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 193s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 193s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 193s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 193s /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. 193s or locale.getdefaultlocale()[1] 193s adding changesets 193s adding manifests 193s adding file changes 193s progress revision walk 'bookmarks/master' (0/0) 193s progress revision 0 'master' (0/1) 193s added 1 changesets with 1 changes to 1 files 193s new changesets dc23aed21184 193s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 193s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 193s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 193s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 193s Cloning into './sub_hg_b'... 193s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 193s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 193s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 193s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 194s /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. 194s or locale.getdefaultlocale()[1] 194s adding changesets 194s adding manifests 194s adding file changes 194s added 1 changesets with 1 changes to 1 files 194s new changesets c00dcedb134d 194s progress revision walk 'bookmarks/master' (0/0) 194s progress revision 0 'master' (0/1) 194s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 194s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 194s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 194s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 194s Cloning into './sub_git'... 194s done. 194s ok 7 - subcommand sub initial update (hg and git subrepos) 194s 194s expecting success: 194s test_when_finished "rm -rf gitrepo* hgrepo*" && 194s 194s setup_subrepos && 194s 194s git clone hg::hgrepo gitrepo && 194s 194s ( 194s cd gitrepo && 194s git-hg-helper sub --recursive update --force && 194s test -f content_hgrepo && 194s test -f sub_hg_a/content_sub_hg_a && 194s test -f sub_hg_a/sub_hg_a_x/content_sub_hg_a_x && 194s test -f sub_hg_b/content_sub_hg_b && 194s test -f sub_hg_b/sub_git/content_sub_git 194s ) && 194s 194s check gitrepo HEAD substate && 194s check gitrepo/sub_hg_a HEAD substate_hg_a && 194s check gitrepo/sub_hg_b HEAD substate_hg_b && 194s check gitrepo/sub_hg_a/sub_hg_a_x HEAD zero_sub_hg_a_x && 194s check gitrepo/sub_hg_b/sub_git HEAD zero_sub_git 194s 195s Initialized empty Git repository in /tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ 195s [master (root-commit) e9a16bb] zero_sub_git 195s Author: A U Thor 195s 1 file changed, 1 insertion(+) 195s create mode 100644 content_sub_git 196s Cloning into 'gitrepo'... 196s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 196s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 196s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 196s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 196s /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. 196s or locale.getdefaultlocale()[1] 196s adding changesets 196s adding manifests 196s adding file changes 196s added 2 changesets with 3 changes to 3 files 196s new changesets d73a36261710:bfbc8ae16676 196s progress revision walk 'bookmarks/master' (1/1) 196s progress revision 0 'master' (0/2) 196s /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. 196s or locale.getdefaultlocale()[1] 196s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 196s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 196s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 196s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 196s Cloning into './sub_hg_a'... 196s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 196s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 196s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 196s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 197s /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. 197s or locale.getdefaultlocale()[1] 197s adding changesets 197s adding manifests 197s adding file changes 197s added 2 changesets with 3 changes to 3 files 197s new changesets 2b3ad093ff05:fbad1191a4cd 197s progress revision walk 'bookmarks/master' (1/1) 197s progress revision 0 'master' (0/2) 197s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 197s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 197s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 197s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 197s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 197s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 197s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 197s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 197s Cloning into './sub_hg_a/sub_hg_a_x'... 197s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 197s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 197s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 197s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 197s /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. 197s or locale.getdefaultlocale()[1] 197s adding changesets 197s adding manifests 197s adding file changes 197s added 1 changesets with 1 changes to 1 files 197s progress revision walk 'bookmarks/master' (0/0) 197s progress revision 0 'master' (0/1) 197s new changesets 7c28bfa2a08a 197s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 197s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 197s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 197s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 197s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 197s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 197s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 197s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 197s Cloning into './sub_hg_b'... 197s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 197s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 197s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 197s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 197s /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. 197s or locale.getdefaultlocale()[1] 197s adding changesets 197s adding manifests 197s adding file changes 197s added 2 changesets with 3 changes to 3 files 197s new changesets 9e1355d9ad79:ac47f3a10f66 197s progress revision walk 'bookmarks/master' (1/1) 197s progress revision 0 'master' (0/2) 197s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 197s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 197s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 197s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 197s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 197s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 197s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 197s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 197s Cloning into './sub_hg_b/sub_git'... 197s done. 197s ok 8 - subcommand sub initial recursive update 197s 197s expecting success: 197s test_when_finished "rm -rf gitrepo* hgrepo*" && 197s 197s test_sub_update 197s 199s Initialized empty Git repository in /tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ 199s [master (root-commit) e9a16bb] zero_sub_git 199s Author: A U Thor 199s 1 file changed, 1 insertion(+) 199s create mode 100644 content_sub_git 199s Cloning into 'gitrepo'... 199s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 199s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 199s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 199s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 200s /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. 200s or locale.getdefaultlocale()[1] 200s adding changesets 200s adding manifests 200s adding file changes 200s added 2 changesets with 3 changes to 3 files 200s new changesets 9ec3f3a9c30b:d97cb18c6a95 200s progress revision walk 'bookmarks/master' (1/1) 200s progress revision 0 'master' (0/2) 200s /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. 200s or locale.getdefaultlocale()[1] 200s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 200s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 200s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 200s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 200s Cloning into './sub_hg_a'... 200s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 200s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 200s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 200s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 200s /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. 200s or locale.getdefaultlocale()[1] 200s adding changesets 200s adding manifests 200s adding file changes 200s added 2 changesets with 3 changes to 3 files 200s new changesets 05ae761a55de:f6ad561d9b0a 200s progress revision walk 'bookmarks/master' (1/1) 200s progress revision 0 'master' (0/2) 200s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 200s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 200s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 200s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 200s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 200s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 200s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 200s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 200s Cloning into './sub_hg_a/sub_hg_a_x'... 200s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 200s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 200s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 200s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 200s /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. 200s or locale.getdefaultlocale()[1] 200s adding changesets 200s adding manifests 200s adding file changes 200s added 1 changesets with 1 changes to 1 files 200s new changesets 71f4fe669ba3 200s progress revision walk 'bookmarks/master' (0/0) 200s progress revision 0 'master' (0/1) 200s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 200s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 200s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 200s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 200s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 200s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 200s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 200s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 200s Cloning into './sub_hg_b'... 200s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 200s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 200s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 200s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 200s /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. 200s or locale.getdefaultlocale()[1] 201s adding changesets 201s adding manifests 201s adding file changes 201s added 2 changesets with 3 changes to 3 files 201s new changesets 556475a838c5:805ea698a33d 201s progress revision walk 'bookmarks/master' (1/1) 201s progress revision 0 'master' (0/2) 201s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 201s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 201s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 201s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 201s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 201s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 201s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 201s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 201s Cloning into './sub_hg_b/sub_git'... 201s done. 201s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 201s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 201s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 201s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 201s /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. 201s or locale.getdefaultlocale()[1] 201s searching for changes 201s adding changesets 201s adding manifests 201s adding file changes 201s added 1 changesets with 1 changes to 1 files 201s new changesets c76aed598147 201s progress revision 2 'default' (0/1) 201s From hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo 201s 4770ae9..6258ecc master -> origin/master 201s 4770ae9..6258ecc branches/default -> origin/branches/default 201s Updating 4770ae9..6258ecc 201s Fast-forward 201s .hgsubstate | 2 +- 201s 1 file changed, 1 insertion(+), 1 deletion(-) 201s /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. 201s or locale.getdefaultlocale()[1] 201s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 201s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 201s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 201s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 201s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 201s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 201s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 201s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 202s /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. 202s or locale.getdefaultlocale()[1] 202s searching for changes 202s adding changesets 202s adding manifests 202s adding file changes 202s added 1 changesets with 1 changes to 1 files 202s new changesets e149c26d938b 202s progress revision 2 'default' (0/1) 202s From hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo/sub_hg_a 202s 70545a2..e5ee598 branches/default -> origin/branches/default 202s 70545a2..e5ee598 master -> origin/master 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) 202s HEAD is now at 70545a2 substate_hg_a 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) 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) 202s /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. 202s or locale.getdefaultlocale()[1] 202s searching for changes 202s adding changesets 202s adding manifests 202s adding file changes 202s added 1 changesets with 1 changes to 1 files 202s new changesets 1dfe37bbd364 202s progress revision 1 'default' (0/1) 202s From hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo/sub_hg_a/sub_hg_a_x 202s 9225514..d93093b branches/default -> origin/branches/default 202s 9225514..d93093b master -> origin/master 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) 202s HEAD is now at 9225514 zero_sub_hg_a_x 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) 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) 202s /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. 202s or locale.getdefaultlocale()[1] 202s no changes found 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) 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) 202s ok 9 - subcommand sub subsequent recursive update 202s 202s expecting success: 202s test_when_finished "rm -rf gitrepo* hgrepo*" && 202s 202s test_sub_update --rebase 202s 204s Initialized empty Git repository in /tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ 204s [master (root-commit) e9a16bb] zero_sub_git 204s Author: A U Thor 204s 1 file changed, 1 insertion(+) 204s create mode 100644 content_sub_git 204s Cloning into 'gitrepo'... 205s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 205s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 205s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 205s 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 adding changesets 205s adding manifests 205s adding file changes 205s added 2 changesets with 3 changes to 3 files 205s new changesets 135cad992f35:557ece35a6d9 205s progress revision walk 'bookmarks/master' (1/1) 205s progress revision 0 'master' (0/2) 205s /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. 205s or locale.getdefaultlocale()[1] 205s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 205s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 205s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 205s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 205s Cloning into './sub_hg_a'... 205s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 205s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 205s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 205s 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 adding changesets 205s adding manifests 205s adding file changes 205s added 2 changesets with 3 changes to 3 files 205s new changesets 7baa63a5f090:ce2590d68ac0 205s progress revision walk 'bookmarks/master' (1/1) 205s progress revision 0 'master' (0/2) 205s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 205s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 205s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 205s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 205s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 205s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 205s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 205s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 205s Cloning into './sub_hg_a/sub_hg_a_x'... 205s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 205s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 205s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 205s 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 adding changesets 205s adding manifests 205s adding file changes 205s added 1 changesets with 1 changes to 1 files 205s new changesets 4f669cc73580 205s progress revision walk 'bookmarks/master' (0/0) 205s progress revision 0 'master' (0/1) 205s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 205s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 205s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 205s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 205s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 205s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 205s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 205s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 205s Cloning into './sub_hg_b'... 205s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 205s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 205s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 205s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 206s /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. 206s or locale.getdefaultlocale()[1] 206s adding changesets 206s adding manifests 206s adding file changes 206s added 2 changesets with 3 changes to 3 files 206s new changesets 5c7a3809c6a5:ace6f00a0cc4 206s progress revision walk 'bookmarks/master' (1/1) 206s progress revision 0 'master' (0/2) 206s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 206s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 206s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 206s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 206s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 206s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 206s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 206s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 206s Cloning into './sub_hg_b/sub_git'... 206s done. 206s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 206s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 206s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 206s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 206s /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. 206s or locale.getdefaultlocale()[1] 206s searching for changes 206s adding changesets 206s adding manifests 206s adding file changes 206s added 1 changesets with 1 changes to 1 files 206s new changesets 49d26896b9e1 206s progress revision 2 'default' (0/1) 206s From hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo 206s 0471f46..0e6522e master -> origin/master 206s 0471f46..0e6522e branches/default -> origin/branches/default 206s Updating 0471f46..0e6522e 206s Fast-forward 206s .hgsubstate | 2 +- 206s 1 file changed, 1 insertion(+), 1 deletion(-) 206s /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. 206s or locale.getdefaultlocale()[1] 206s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 206s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 206s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 206s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 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 searching for changes 207s adding changesets 207s adding manifests 207s adding file changes 207s added 1 changesets with 1 changes to 1 files 207s new changesets edd378b08c13 207s progress revision 2 'default' (0/1) 207s From hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo/sub_hg_a 207s 8ee3b30..c723ef9 branches/default -> origin/branches/default 207s 8ee3b30..c723ef9 master -> origin/master 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 HEAD is now at 8ee3b30 substate_hg_a 207s Successfully rebased and updated detached HEAD. 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: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 progress revision 1 'default' (0/1) 207s searching for changes 207s adding changesets 207s adding manifests 207s adding file changes 207s added 1 changesets with 1 changes to 1 files 207s new changesets 9d9e38898b1f 207s From hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo/sub_hg_a/sub_hg_a_x 207s 057a4b4..f00d7ab branches/default -> origin/branches/default 207s 057a4b4..f00d7ab master -> origin/master 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 HEAD is now at 057a4b4 zero_sub_hg_a_x 207s Successfully rebased and updated detached HEAD. 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: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 no changes found 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: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 ok 10 - subcommand sub subsequent recursive update -- rebase 207s 207s expecting success: 207s test_when_finished "rm -rf gitrepo* hgrepo*" && 207s 207s test_sub_update --merge 207s 209s Initialized empty Git repository in /tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ 209s [master (root-commit) e9a16bb] zero_sub_git 209s Author: A U Thor 209s 1 file changed, 1 insertion(+) 209s create mode 100644 content_sub_git 210s Cloning into 'gitrepo'... 210s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 210s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 210s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 210s 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 adding changesets 210s adding manifests 210s adding file changes 210s added 2 changesets with 3 changes to 3 files 210s new changesets e1a902439978:7323bbf2cc7a 210s progress revision walk 'bookmarks/master' (1/1) 210s progress revision 0 'master' (0/2) 210s /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. 210s or locale.getdefaultlocale()[1] 210s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 210s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 210s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 210s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 210s Cloning into './sub_hg_a'... 210s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 210s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 210s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 210s 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 adding changesets 210s adding manifests 210s adding file changes 210s added 2 changesets with 3 changes to 3 files 210s new changesets d70e2e6c7140:c32bc006f7e2 210s progress revision walk 'bookmarks/master' (1/1) 210s progress revision 0 'master' (0/2) 210s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 210s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 210s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 210s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 210s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 210s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 210s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 210s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 210s Cloning into './sub_hg_a/sub_hg_a_x'... 210s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 210s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 210s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 210s 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 adding changesets 210s adding manifests 210s adding file changes 210s added 1 changesets with 1 changes to 1 files 210s new changesets deb9ab736b56 210s progress revision walk 'bookmarks/master' (0/0) 210s progress revision 0 'master' (0/1) 210s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 210s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 210s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 210s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 210s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 210s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 210s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 210s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 210s Cloning into './sub_hg_b'... 210s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 210s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 210s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 210s 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 adding changesets 211s adding manifests 211s adding file changes 211s added 2 changesets with 3 changes to 3 files 211s new changesets 2aac822ab95d:33d310adaa32 211s progress revision walk 'bookmarks/master' (1/1) 211s progress revision 0 'master' (0/2) 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: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 Cloning into './sub_hg_b/sub_git'... 211s done. 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 searching for changes 211s adding changesets 211s adding manifests 211s adding file changes 211s added 1 changesets with 1 changes to 1 files 211s new changesets fe3a3c0343eb 211s progress revision 2 'default' (0/1) 211s From hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo 211s 618e1fe..a8eb30c master -> origin/master 211s 618e1fe..a8eb30c branches/default -> origin/branches/default 211s Updating 618e1fe..a8eb30c 211s Fast-forward 211s .hgsubstate | 2 +- 211s 1 file changed, 1 insertion(+), 1 deletion(-) 212s /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. 212s or locale.getdefaultlocale()[1] 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: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 searching for changes 212s adding changesets 212s adding manifests 212s adding file changes 212s added 1 changesets with 1 changes to 1 files 212s new changesets b2efbb1dbb21 212s progress revision 2 'default' (0/1) 212s From hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo/sub_hg_a 212s 51cc4cb..290ec2b branches/default -> origin/branches/default 212s 51cc4cb..290ec2b master -> origin/master 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 HEAD is now at 51cc4cb substate_hg_a 212s Updating 51cc4cb..290ec2b 212s Fast-forward 212s .hgsubstate | 2 +- 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: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 searching for changes 212s adding changesets 212s adding manifests 212s adding file changes 212s added 1 changesets with 1 changes to 1 files 212s new changesets 4587bf7d74f0 212s progress revision 1 'default' (0/1) 212s From hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo/sub_hg_a/sub_hg_a_x 212s c4e9269..d844708 branches/default -> origin/branches/default 212s c4e9269..d844708 master -> origin/master 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 HEAD is now at c4e9269 zero_sub_hg_a_x 212s Updating c4e9269..d844708 212s Fast-forward 212s content_sub_hg_a_x | 2 +- 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: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 no changes found 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: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 ok 11 - subcommand sub subsequent recursive update -- merge 212s 212s expecting success: 212s test_when_finished "rm -rf gitrepo* hgrepo*" && 212s 212s test_sub_foreach 212s 214s Initialized empty Git repository in /tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ 214s [master (root-commit) e9a16bb] zero_sub_git 214s Author: A U Thor 214s 1 file changed, 1 insertion(+) 214s create mode 100644 content_sub_git 215s Cloning into 'gitrepo'... 215s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 215s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 215s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 215s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 215s /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. 215s or locale.getdefaultlocale()[1] 215s adding changesets 215s adding manifests 215s adding file changes 215s progress revision walk 'bookmarks/master' (1/1) 215s progress revision 0 'master' (0/2) 215s added 2 changesets with 3 changes to 3 files 215s new changesets 43698e33d064:81ccc7c83346 215s /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. 215s or locale.getdefaultlocale()[1] 215s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 215s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 215s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 215s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 215s Cloning into './sub_hg_a'... 215s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 215s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 215s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 215s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 215s /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. 215s or locale.getdefaultlocale()[1] 215s adding changesets 215s adding manifests 215s adding file changes 215s added 2 changesets with 3 changes to 3 files 215s new changesets 21824cc3d6d8:cb9eb55affbb 215s progress revision walk 'bookmarks/master' (1/1) 215s progress revision 0 'master' (0/2) 215s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 215s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 215s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 215s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 215s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 215s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 215s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 215s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 215s Cloning into './sub_hg_a/sub_hg_a_x'... 215s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 215s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 215s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 215s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 215s /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. 215s or locale.getdefaultlocale()[1] 215s adding changesets 215s adding manifests 215s adding file changes 215s added 1 changesets with 1 changes to 1 files 215s new changesets 15ffe692add4 215s progress revision walk 'bookmarks/master' (0/0) 215s progress revision 0 'master' (0/1) 215s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 215s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 215s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 215s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 215s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 215s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 215s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 215s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 215s Cloning into './sub_hg_b'... 215s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 215s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 215s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 215s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 216s /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. 216s or locale.getdefaultlocale()[1] 216s adding changesets 216s adding manifests 216s adding file changes 216s added 2 changesets with 3 changes to 3 files 216s new changesets a80c946c9096:ad0491e7e9bf 216s progress revision walk 'bookmarks/master' (1/1) 216s progress revision 0 'master' (0/2) 216s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 216s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 216s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 216s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 216s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 216s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 216s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 216s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 216s Cloning into './sub_hg_b/sub_git'... 216s done. 216s /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. 216s or locale.getdefaultlocale()[1] 216s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 216s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 216s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 216s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 216s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 216s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 216s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 216s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 216s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 216s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 216s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 216s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 216s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 216s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 216s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 216s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 216s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 216s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 216s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 216s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 216s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 216s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 216s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 216s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 216s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 216s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 216s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 216s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 216s hg 76a44e6c839dc53f7f193ed69f9a78d0e521ebe1 cb9eb55affbba3bf7a5c08dda5cffdc1adaca20a sub_hg_a /tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/gitrepo 216s hg acdc578b6a8d8ef1cc436dfeeca582dae6fb0382 15ffe692add444ca3ddee16e2058c6a6cc33a901 sub_hg_a_x /tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/gitrepo/sub_hg_a 216s hg d4b3676a15ebdc8f4c3f15f2f63a46ad576c7a52 ad0491e7e9bf79178001a537ad43c5ca0ac1c4d9 sub_hg_b /tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/gitrepo 216s git e9a16bb7c08361f85ab0002e4094b4229fefb384 e9a16bb7c08361f85ab0002e4094b4229fefb384 sub_git /tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/gitrepo/sub_hg_b 216s ok 12 - subcommand sub foreach 216s 216s expecting success: 216s test_when_finished "rm -rf gitrepo* hgrepo*" && 216s 216s setup_repo hg hgrepo && 216s ( 216s cd hgrepo && 216s setup_repo hg sub_hg && 216s echo "sub_hg = sub_hg" > .hgsub && 216s hg add .hgsub && 216s hg commit -m substate 216s ) 216s 216s git clone hg::hgrepo gitrepo && 216s 216s ( 216s cd gitrepo && 216s git-hg-helper sub update --force && 216s 216s ( 216s cd sub_hg && 216s grep url .git/config > ../expected && 216s git config remote.origin.url foobar && 216s grep foobar .git/config 216s ) && 216s 216s git-hg-helper sub sync && 216s grep url sub_hg/.git/config > actual && 216s test_cmp expected actual 216s ) 216s 217s Cloning into 'gitrepo'... 217s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 217s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 217s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 217s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 217s /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. 217s or locale.getdefaultlocale()[1] 217s adding changesets 217s adding manifests 217s adding file changes 217s added 2 changesets with 3 changes to 3 files 217s new changesets 636505dc914e:ecc28057d79f 217s progress revision walk 'bookmarks/master' (1/1) 217s progress revision 0 'master' (0/2) 217s /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. 217s or locale.getdefaultlocale()[1] 217s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 217s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 217s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 217s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 217s Cloning into './sub_hg'... 217s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 217s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 217s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 217s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 218s /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. 218s or locale.getdefaultlocale()[1] 218s adding changesets 218s adding manifests 218s adding file changes 218s added 1 changesets with 1 changes to 1 files 218s new changesets 5524e42b7a77 218s progress revision walk 'bookmarks/master' (0/0) 218s progress revision 0 'master' (0/1) 218s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 218s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 218s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 218s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 218s url = foobar 218s /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. 218s or locale.getdefaultlocale()[1] 218s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 218s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 218s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 218s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 218s ok 13 - subcommand sub sync 218s 218s expecting success: 218s test_when_finished "rm -rf gitrepo* hgrepo*" && 218s 218s setup_repo hg hgrepo && 218s ( 218s cd hgrepo && 218s setup_repo hg sub_hg && 218s setup_repo git sub_git && 218s echo "sub_hg = sub_hg" > .hgsub && 218s echo "sub_git = [git]sub_git" >> .hgsub && 218s hg add .hgsub && 218s hg commit -m substate 218s ) 218s 218s git clone hg::hgrepo gitrepo && 218s 218s ( 218s cd gitrepo && 218s git-hg-helper sub update --force && 218s 218s ( 218s cd sub_hg && 218s echo one > content_sub_hg && 218s git add content_sub_hg && 218s git commit -m one_sub_hg && 218s # detached HEAD 218s git push origin HEAD:master && 218s # also fetch to ensure notes are updated 218s git fetch origin 218s ) && 218s 218s ( 218s cd sub_git && 218s echo one > content_sub_git && 218s git add content_sub_git && 218s git commit -m one_sub_git && 218s # detached HEAD; push revision to other side ... anywhere 218s git push origin HEAD:refs/heads/new 218s ) 218s ) && 218s 218s ( 218s cd gitrepo && 218s git-hg-helper sub upstate && 218s git diff && 218s git status --porcelain | grep .hgsubstate && 218s git add .hgsubstate && 218s git commit -m update_sub && 218s git push origin master 218s ) && 218s 218s hg clone hgrepo hgclone && 218s 218s ( 218s cd hgclone && 218s hg update 218s ) && 218s 218s check_branch hgclone default update_sub && 218s check_branch hgclone/sub_hg default one_sub_hg && 218s check hgclone/sub_git HEAD one_sub_git 218s 219s Initialized empty Git repository in /tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo/sub_git/.git/ 219s [master (root-commit) e9a16bb] zero_sub_git 219s Author: A U Thor 219s 1 file changed, 1 insertion(+) 219s create mode 100644 content_sub_git 219s Cloning into 'gitrepo'... 219s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 219s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 219s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 219s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 219s /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. 219s or locale.getdefaultlocale()[1] 219s adding changesets 219s adding manifests 219s adding file changes 219s added 2 changesets with 3 changes to 3 files 219s new changesets 8397e0e22347:ce84ccbf89d5 219s progress revision walk 'bookmarks/master' (1/1) 219s progress revision 0 'master' (0/2) 219s /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. 219s or locale.getdefaultlocale()[1] 219s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 219s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 219s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 219s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 219s Cloning into './sub_hg'... 219s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 219s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 219s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 219s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 219s /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. 219s or locale.getdefaultlocale()[1] 219s adding changesets 219s adding manifests 219s adding file changes 219s added 1 changesets with 1 changes to 1 files 219s new changesets 510c3ca68d01 219s progress revision walk 'bookmarks/master' (0/0) 219s progress revision 0 'master' (0/1) 219s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 219s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 219s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 219s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 220s Cloning into './sub_git'... 220s done. 220s [detached HEAD b22101d] one_sub_hg 220s Author: A U Thor 220s 1 file changed, 1 insertion(+), 1 deletion(-) 220s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 220s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 220s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 220s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 220s /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. 220s or locale.getdefaultlocale()[1] 220s no changes found 220s searching for changes 220s adding changesets 220s adding manifests 220s adding file changes 220s added 1 changesets with 1 changes to 1 files 220s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo/sub_hg 220s fffffff..b22101d HEAD -> master 220s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 220s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 220s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 220s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 220s /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. 220s or locale.getdefaultlocale()[1] 220s [detached HEAD cea1af1] one_sub_git 220s Author: A U Thor 220s 1 file changed, 1 insertion(+), 1 deletion(-) 220s no changes found 220s 1 local changesets published 220s From hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo/sub_hg 220s 971f89d..b22101d branches/default -> origin/branches/default 220s To /tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo/sub_git 220s * [new branch] HEAD -> new 220s /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. 220s or locale.getdefaultlocale()[1] 220s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 220s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 220s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 220s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 220s Updating ./sub_hg to 428220c8839a07e52cf1d452c7c0c59ed738181a [git b22101d] 220s Updating ./sub_git to cea1af1c0bdaae94623e5a8e4d85c13835bb44b6 [git cea1af1] 220s diff --git a/.hgsubstate b/.hgsubstate 220s index c735f6d..94e7b45 100644 220s --- a/.hgsubstate 220s +++ b/.hgsubstate 220s @@ -1,2 +1,2 @@ 220s -e9a16bb7c08361f85ab0002e4094b4229fefb384 sub_git 220s -510c3ca68d01fe1b05fcf5656e727c99108e9743 sub_hg 220s +cea1af1c0bdaae94623e5a8e4d85c13835bb44b6 sub_git 220s +428220c8839a07e52cf1d452c7c0c59ed738181a sub_hg 220s M .hgsubstate 220s [master 86ee3c9] update_sub 220s Author: A U Thor 220s 1 file changed, 2 insertions(+), 2 deletions(-) 220s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 220s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 220s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 220s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 220s /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. 220s or locale.getdefaultlocale()[1] 220s no changes found 220s searching for changes 220s adding changesets 220s adding manifests 220s adding file changes 220s added 1 changesets with 1 changes to 1 files 220s To hg::/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo 220s fffffff..86ee3c9 master -> master 221s Cloning into '/tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgclone/sub_git'... 221s done. 221s Switched to a new branch 'new' 221s updating to branch default 221s cloning subrepo sub_git from /tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo/sub_git 221s cloning subrepo sub_hg from /tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo/sub_hg 221s 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 221s 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 221s ok 14 - subcommand sub addstate 221s 221s expecting success: 221s test_when_finished "rm -rf gitrepo* hgrepo*" && 221s 221s setup_repo hg hgrepo && 221s ( 221s cd hgrepo && 221s setup_repo hg sub_hg_a && 221s setup_repo hg sub_hg_b && 221s setup_repo git sub_git && 221s echo "sub_hg_a = sub_hg_a" > .hgsub && 221s echo "sub_hg_b = sub_hg_b" >> .hgsub && 221s echo "sub_git = [git]sub_git" >> .hgsub && 221s hg add .hgsub && 221s hg commit -m substate 221s ) 221s 221s git clone hg::hgrepo gitrepo && 221s 221s ( 221s cd gitrepo && 221s git-hg-helper sub update --force sub_hg_a && 221s git-hg-helper sub update --force sub_git && 221s ( 221s # advance and add a tag to the git repo 221s cd sub_git && 221s echo one > content_sub_git && 221s git add content_sub_git && 221s git commit -m one_sub_git && 221s git tag feature-a 221s ) && 221s 221s git-hg-helper sub status --cached > output && 221s cat output && 221s grep "^ .*sub_hg_a (.*master.*)$" output && 221s grep "^-.*sub_hg_b$" output && 221s grep "^+.*sub_git (feature-a~1)$" output && 221s git-hg-helper sub status sub_git > output && 221s cat output && 221s grep "^+.*sub_git (feature-a)$" output > actual && 221s test_cmp output actual 221s ) 221s 222s Initialized empty Git repository in /tmp/autopkgtest.qZpevr/build.pLS/src/test/trash directory.helper/hgrepo/sub_git/.git/ 222s [master (root-commit) e9a16bb] zero_sub_git 222s Author: A U Thor 222s 1 file changed, 1 insertion(+) 222s create mode 100644 content_sub_git 222s Cloning into 'gitrepo'... 222s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 222s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 222s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 222s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 223s /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. 223s or locale.getdefaultlocale()[1] 223s adding changesets 223s adding manifests 223s adding file changes 223s added 2 changesets with 3 changes to 3 files 223s new changesets f578079a078a:10b4d819e381 223s progress revision walk 'bookmarks/master' (1/1) 223s progress revision 0 'master' (0/2) 223s /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. 223s or locale.getdefaultlocale()[1] 223s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 223s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 223s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 223s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 223s /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. 223s or locale.getdefaultlocale()[1] 223s Cloning into './sub_hg_a'... 223s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 223s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 223s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 223s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 223s /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. 223s or locale.getdefaultlocale()[1] 223s adding changesets 223s adding manifests 223s adding file changes 223s added 1 changesets with 1 changes to 1 files 223s new changesets 9728ebc4ed65 223s progress revision walk 'bookmarks/master' (0/0) 223s progress revision 0 'master' (0/1) 223s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 223s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 223s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 223s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 223s /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. 223s or locale.getdefaultlocale()[1] 223s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 223s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 223s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 223s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 223s /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. 223s or locale.getdefaultlocale()[1] 223s Cloning into './sub_git'... 223s done. 223s [detached HEAD cea1af1] one_sub_git 223s Author: A U Thor 223s 1 file changed, 1 insertion(+), 1 deletion(-) 223s /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. 223s or locale.getdefaultlocale()[1] 223s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 223s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 223s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 223s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 223s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 223s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 223s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 223s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 224s 5d92aac59b7c2ddad6c0677691b40a62b991e21b ./sub_hg_a (heads/master) 224s -3863d3e1750b9b404285d863127961752a205390[hg] ./sub_hg_b 224s +e9a16bb7c08361f85ab0002e4094b4229fefb384 ./sub_git (feature-a~1) 224s 5d92aac59b7c2ddad6c0677691b40a62b991e21b ./sub_hg_a (heads/master) 224s -3863d3e1750b9b404285d863127961752a205390[hg] ./sub_hg_b 224s +e9a16bb7c08361f85ab0002e4094b4229fefb384 ./sub_git (feature-a~1) 224s /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. 224s or locale.getdefaultlocale()[1] 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-hg-helper:44: 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 +cea1af1c0bdaae94623e5a8e4d85c13835bb44b6 ./sub_git (feature-a) 224s ok 15 - subcommand sub status 224s 224s # passed all 15 test(s) 224s 1..15 224s make clean 224s make[1]: Entering directory '/tmp/autopkgtest.qZpevr/build.pLS/src/test' 224s rm -f -r 'trash directory'.* test-results 224s make[1]: Leaving directory '/tmp/autopkgtest.qZpevr/build.pLS/src/test' 224s make: Leaving directory '/tmp/autopkgtest.qZpevr/build.pLS/src/test' 224s autopkgtest [18:42:41]: test upstream-test-suite: -----------------------] 225s upstream-test-suite PASS 225s autopkgtest [18:42:42]: test upstream-test-suite: - - - - - - - - - - results - - - - - - - - - - 225s autopkgtest [18:42:42]: @@@@@@@@@@@@@@@@@@@@ summary 225s upstream-test-suite PASS