0s autopkgtest [22:59:37]: starting date and time: 2025-10-18 22:59:37+0000 0s autopkgtest [22:59:37]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [22:59:37]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.d_9cwve5/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults --apt-upgrade git-remote-hg --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.13.7-2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-2.secgroup --name adt-resolute-amd64-git-remote-hg-20251018-225937-juju-7f2275-prod-proposed-migration-environment-15-258d46a8-157a-4586-8d15-dd0510fcb77c --image adt/ubuntu-resolute-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-amd64-git-remote-hg-20251018-225937-juju-7f2275-prod-proposed-migration-environment-15-258d46a8-157a-4586-8d15-dd0510fcb77c from image adt/ubuntu-resolute-amd64-server-20251018.img (UUID 1e43d7d4-3f39-4b59-975d-5a285d0b86c1)... 63s autopkgtest [23:00:40]: testbed dpkg architecture: amd64 63s autopkgtest [23:00:40]: testbed apt version: 3.1.6ubuntu2 63s autopkgtest [23:00:40]: @@@@@@@@@@@@@@@@@@@@ test bed setup 63s autopkgtest [23:00:40]: testbed release detected to be: None 64s autopkgtest [23:00:41]: updating testbed package index (apt update) 64s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 65s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 65s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 65s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 65s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 65s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [54.3 kB] 65s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [431 kB] 65s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [18.2 kB] 65s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [108 kB] 65s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [65.5 kB] 65s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 Packages [28.0 kB] 65s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted i386 Packages [3208 B] 65s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [125 kB] 65s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [319 kB] 65s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [9188 B] 65s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [3088 B] 65s Fetched 1253 kB in 1s (970 kB/s) 66s Reading package lists... 67s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 67s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 67s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 67s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 68s Reading package lists... 68s Reading package lists... 68s Building dependency tree... 68s Reading state information... 68s Calculating upgrade... 68s The following packages will be upgraded: 68s apt gir1.2-girepository-2.0 libapt-pkg7.0 libgirepository-1.0-1 68s libpython3-stdlib lto-disabled-list python3 python3-minimal 68s 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 68s Need to get 2763 kB of archives. 68s After this operation, 2048 B of additional disk space will be used. 68s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3-minimal amd64 3.13.7-2 [27.8 kB] 69s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3 amd64 3.13.7-2 [23.9 kB] 69s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libpython3-stdlib amd64 3.13.7-2 [10.6 kB] 69s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 libapt-pkg7.0 amd64 3.1.8ubuntu1 [1140 kB] 69s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 apt amd64 3.1.8ubuntu1 [1438 kB] 69s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 libgirepository-1.0-1 amd64 1.86.0-6 [85.9 kB] 69s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-girepository-2.0 amd64 1.86.0-6 [25.3 kB] 69s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 lto-disabled-list all 71 [12.5 kB] 69s dpkg-preconfigure: unable to re-open stdin: No such file or directory 69s Fetched 2763 kB in 1s (2950 kB/s) 70s (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.) 70s Preparing to unpack .../python3-minimal_3.13.7-2_amd64.deb ... 70s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 70s Setting up python3-minimal (3.13.7-2) ... 70s (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.) 70s Preparing to unpack .../0-python3_3.13.7-2_amd64.deb ... 70s running python pre-rtupdate hooks for python3.13... 70s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 70s Preparing to unpack .../1-libpython3-stdlib_3.13.7-2_amd64.deb ... 70s Unpacking libpython3-stdlib:amd64 (3.13.7-2) over (3.13.7-1) ... 70s Preparing to unpack .../2-libapt-pkg7.0_3.1.8ubuntu1_amd64.deb ... 70s Unpacking libapt-pkg7.0:amd64 (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 70s Preparing to unpack .../3-apt_3.1.8ubuntu1_amd64.deb ... 70s Unpacking apt (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 70s Preparing to unpack .../4-libgirepository-1.0-1_1.86.0-6_amd64.deb ... 70s Unpacking libgirepository-1.0-1:amd64 (1.86.0-6) over (1.84.0-1) ... 70s Preparing to unpack .../5-gir1.2-girepository-2.0_1.86.0-6_amd64.deb ... 70s Unpacking gir1.2-girepository-2.0:amd64 (1.86.0-6) over (1.84.0-1) ... 70s Preparing to unpack .../6-lto-disabled-list_71_all.deb ... 70s Unpacking lto-disabled-list (71) over (69) ... 70s Setting up lto-disabled-list (71) ... 70s Setting up libgirepository-1.0-1:amd64 (1.86.0-6) ... 70s Setting up libapt-pkg7.0:amd64 (3.1.8ubuntu1) ... 70s Setting up libpython3-stdlib:amd64 (3.13.7-2) ... 70s Setting up apt (3.1.8ubuntu1) ... 72s Setting up python3 (3.13.7-2) ... 72s running python rtupdate hooks for python3.13... 72s running python post-rtupdate hooks for python3.13... 72s Setting up gir1.2-girepository-2.0:amd64 (1.86.0-6) ... 72s Processing triggers for man-db (2.13.1-1) ... 72s Processing triggers for libc-bin (2.42-0ubuntu3) ... 73s autopkgtest [23:00:50]: upgrading testbed (apt dist-upgrade and autopurge) 73s Reading package lists... 74s Building dependency tree... 74s Reading state information... 74s Calculating upgrade... 74s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 74s Reading package lists... 74s Building dependency tree... 74s Reading state information... 74s Solving dependencies... 74s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 75s autopkgtest [23:00:52]: rebooting testbed after setup commands that affected boot 94s autopkgtest [23:01:11]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 10:00:33 UTC 2025 97s autopkgtest [23:01:14]: @@@@@@@@@@@@@@@@@@@@ apt-source git-remote-hg 98s Get:1 http://ftpmaster.internal/ubuntu resolute/universe git-remote-hg 1.0.4~ds-3 (dsc) [2146 B] 98s Get:2 http://ftpmaster.internal/ubuntu resolute/universe git-remote-hg 1.0.4~ds-3 (tar) [51.2 kB] 98s Get:3 http://ftpmaster.internal/ubuntu resolute/universe git-remote-hg 1.0.4~ds-3 (diff) [6096 B] 99s gpgv: Signature made Fri Feb 21 20:16:13 2025 UTC 99s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 99s gpgv: issuer "tchet@debian.org" 99s gpgv: Can't check signature: No public key 99s dpkg-source: warning: cannot verify inline signature for ./git-remote-hg_1.0.4~ds-3.dsc: no acceptable signature found 99s autopkgtest [23:01:16]: testing package git-remote-hg version 1.0.4~ds-3 99s autopkgtest [23:01:16]: build not needed 99s autopkgtest [23:01:16]: test upstream-test-suite: preparing testbed 100s Reading package lists... 100s Building dependency tree... 100s Reading state information... 100s Solving dependencies... 100s The following NEW packages will be installed: 100s git git-man git-remote-hg liberror-perl mercurial mercurial-common 100s mercurial-git python3-dulwich python3-zombie-imp sharness 100s 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. 100s Need to get 9150 kB of archives. 100s After this operation, 47.1 MB of additional disk space will be used. 100s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 liberror-perl all 0.17030-1 [23.5 kB] 100s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 git-man all 1:2.51.0-1ubuntu1 [1179 kB] 101s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 git amd64 1:2.51.0-1ubuntu1 [4414 kB] 101s Get:4 http://ftpmaster.internal/ubuntu resolute/universe amd64 mercurial-common all 7.0.1-2 [2783 kB] 102s Get:5 http://ftpmaster.internal/ubuntu resolute/universe amd64 mercurial amd64 7.0.1-2 [428 kB] 102s Get:6 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-zombie-imp all 0.0.3-1 [12.1 kB] 102s Get:7 http://ftpmaster.internal/ubuntu resolute/universe amd64 git-remote-hg all 1.0.4~ds-3 [39.5 kB] 102s Get:8 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-dulwich amd64 0.22.7-1 [183 kB] 102s Get:9 http://ftpmaster.internal/ubuntu resolute/universe amd64 mercurial-git all 1.2.0-1 [60.9 kB] 102s Get:10 http://ftpmaster.internal/ubuntu resolute/universe amd64 sharness all 1.0.0-1.1 [25.7 kB] 102s Fetched 9150 kB in 2s (5974 kB/s) 102s Selecting previously unselected package liberror-perl. 102s (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.) 102s Preparing to unpack .../0-liberror-perl_0.17030-1_all.deb ... 102s Unpacking liberror-perl (0.17030-1) ... 102s Selecting previously unselected package git-man. 102s Preparing to unpack .../1-git-man_1%3a2.51.0-1ubuntu1_all.deb ... 102s Unpacking git-man (1:2.51.0-1ubuntu1) ... 102s Selecting previously unselected package git. 102s Preparing to unpack .../2-git_1%3a2.51.0-1ubuntu1_amd64.deb ... 102s Unpacking git (1:2.51.0-1ubuntu1) ... 102s Selecting previously unselected package mercurial-common. 102s Preparing to unpack .../3-mercurial-common_7.0.1-2_all.deb ... 102s Unpacking mercurial-common (7.0.1-2) ... 102s Selecting previously unselected package mercurial. 102s Preparing to unpack .../4-mercurial_7.0.1-2_amd64.deb ... 102s Unpacking mercurial (7.0.1-2) ... 102s Selecting previously unselected package python3-zombie-imp. 102s Preparing to unpack .../5-python3-zombie-imp_0.0.3-1_all.deb ... 102s Unpacking python3-zombie-imp (0.0.3-1) ... 102s Selecting previously unselected package git-remote-hg. 102s Preparing to unpack .../6-git-remote-hg_1.0.4~ds-3_all.deb ... 102s Unpacking git-remote-hg (1.0.4~ds-3) ... 102s Selecting previously unselected package python3-dulwich. 102s Preparing to unpack .../7-python3-dulwich_0.22.7-1_amd64.deb ... 102s Unpacking python3-dulwich (0.22.7-1) ... 102s Selecting previously unselected package mercurial-git. 102s Preparing to unpack .../8-mercurial-git_1.2.0-1_all.deb ... 102s Unpacking mercurial-git (1.2.0-1) ... 102s Selecting previously unselected package sharness. 102s Preparing to unpack .../9-sharness_1.0.0-1.1_all.deb ... 102s Unpacking sharness (1.0.0-1.1) ... 102s Setting up python3-zombie-imp (0.0.3-1) ... 103s Setting up mercurial-common (7.0.1-2) ... 104s Setting up liberror-perl (0.17030-1) ... 104s Setting up sharness (1.0.0-1.1) ... 104s Setting up python3-dulwich (0.22.7-1) ... 104s Setting up git-man (1:2.51.0-1ubuntu1) ... 104s Setting up mercurial (7.0.1-2) ... 104s Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version 104s Setting up mercurial-git (1.2.0-1) ... 104s mercurial-git extension is disabled by default. 104s You can follow the instructions in /usr/share/doc/mercurial-git/README.Debian to enable it. 104s Setting up git (1:2.51.0-1ubuntu1) ... 104s Setting up git-remote-hg (1.0.4~ds-3) ... 104s Processing triggers for man-db (2.13.1-1) ... 106s autopkgtest [23:01:23]: test upstream-test-suite: make -C test TEST_INSTALLED_SCRIPTS=1 TEST_OPTS=--verbose 106s autopkgtest [23:01:23]: test upstream-test-suite: [----------------------- 106s make: Entering directory '/tmp/autopkgtest.uw8TTc/build.bGY/src/test' 106s /bin/sh main.t --verbose 106s expecting success: 106s ( 106s hg init hgrepo && 106s cd hgrepo && 106s echo zero > content && 106s hg add content && 106s hg commit -m zero 106s ) 106s 107s ok 1 - setup 107s 107s expecting success: 107s test_when_finished "rm -rf gitrepo*" && 107s git clone "hg::hgrepo" gitrepo && 107s check gitrepo HEAD zero 107s 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 adding changesets 107s adding manifests 107s adding file changes 107s added 1 changesets with 1 changes to 1 files 107s new changesets 8d8ee8f93cd9 107s progress revision walk 'bookmarks/master' (0/0) 107s progress revision 0 'master' (0/1) 107s ok 2 - cloning 107s 107s expecting success: 107s test_when_finished "rm -rf gitrepo*" && 107s 107s ( 107s cd hgrepo && 107s hg branch next && 107s echo next > content && 107s hg commit -m next 107s ) && 107s 107s git clone "hg::hgrepo" gitrepo && 107s check gitrepo origin/branches/next next 107s 107s marked working directory as branch next 107s (branches are permanent and global, did you want a bookmark?) 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 1 files 108s new changesets 8d8ee8f93cd9:7cbcca2b81ba 108s progress revision walk 'bookmarks/master' (0/0) 108s progress revision 0 'master' (0/1) 108s progress revision 1 'next' (0/1) 108s ok 3 - cloning with branches 108s 108s expecting success: 108s test_when_finished "rm -rf gitrepo*" && 108s 108s ( 108s cd hgrepo && 108s hg checkout default && 108s hg bookmark feature-a && 108s echo feature-a > content && 108s hg commit -m feature-a 108s ) && 108s 108s git clone "hg::hgrepo" gitrepo && 108s check gitrepo origin/feature-a feature-a 108s 108s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 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 adding remote bookmark feature-a 109s added 3 changesets with 3 changes to 1 files (+1 heads) 109s new changesets 8d8ee8f93cd9:0b735fc4f66e 109s progress revision walk 'bookmarks/master' (2/2) 109s progress revision 0 'master' (0/2) 109s progress revision 1 'next' (0/1) 109s ok 4 - cloning with bookmarks 109s 109s expecting success: 109s test_when_finished "rm -rf gitrepo*" && 109s 109s ( 109s cd hgrepo && 109s hg bookmark devel 109s ) && 109s 109s ( 109s git clone "hg::hgrepo" gitrepo && 109s cd gitrepo && 109s git checkout --quiet devel && 109s echo devel > content && 109s git commit -a -m devel && 109s git push --quiet origin devel 109s ) && 109s 109s check_bookmark hgrepo devel devel 109s 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 adding remote bookmark devel 109s adding remote bookmark feature-a 109s added 3 changesets with 3 changes to 1 files (+1 heads) 109s new changesets 8d8ee8f93cd9:0b735fc4f66e 109s progress revision walk 'bookmarks/master' (2/2) 109s progress revision 0 'master' (0/2) 109s progress revision 1 'next' (0/1) 109s [devel a0c63f6] devel 109s Author: A U Thor 109s 1 file changed, 1 insertion(+), 1 deletion(-) 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) 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 ok 5 - update bookmark 110s 110s expecting success: 110s test_when_finished "rm -rf gitrepo*" && 110s 110s ( 110s git clone "hg::hgrepo" gitrepo && 110s cd gitrepo && 110s git checkout --quiet -b feature-b && 110s echo feature-b > content && 110s git commit -a -m feature-b && 110s git push --quiet origin feature-b 110s ) && 110s 110s check_bookmark hgrepo feature-b feature-b 110s 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 adding remote bookmark devel 110s adding remote bookmark feature-a 110s added 4 changesets with 4 changes to 1 files (+1 heads) 110s new changesets 8d8ee8f93cd9:c3b7700616c4 110s progress revision walk 'bookmarks/master' (3/3) 110s progress revision 0 'master' (0/3) 110s progress revision 1 'next' (0/1) 110s [feature-b 908d0a4] feature-b 110s Author: A U Thor 110s 1 file changed, 1 insertion(+), 1 deletion(-) 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) 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 ok 6 - new bookmark 111s 111s expecting success: 111s test_when_finished "rm -rf hgrepo gitrepo" && 111s 111s ( 111s hg init hgrepo && 111s cd hgrepo && 111s 111s touch content && 111s hg add content && 111s 111s > ../expected && 111s author_test alpha "" "H G Wells " && 111s author_test beta "beta" "beta " && 111s author_test gamma "gamma (comment)" "gamma " && 111s author_test delta "" "Unknown " && 111s author_test epsilon "epsilon" "epsilon " && 111s author_test zeta "zeta " && 111s author_test eta " eta " "eta " && 111s author_test theta "theta < test@example.com >" "theta " && 111s author_test iota "iota >test@example.com>" "iota " && 111s author_test kappa "kappa < test example com>" "kappa " && 111s author_test lambda "lambda@example.com" "Unknown " && 111s author_test mu "mu.mu@example.com" "Unknown " 111s ) && 111s 111s git clone "hg::hgrepo" gitrepo && 111s git --git-dir=gitrepo/.git log --reverse --format="%an <%ae>" > actual && 111s 111s test_cmp expected actual 111s 114s Cloning into 'gitrepo'... 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 WARNING: capability_push is disabled, only do so when really sure 114s WARNING: various enhanced features might fail in subtle ways 114s adding changesets 114s adding manifests 114s adding file changes 114s added 12 changesets with 12 changes to 1 files 114s new changesets e18f50f34b99:a3f372853153 114s progress revision walk 'bookmarks/master' (11/11) 114s progress revision 0 'master' (0/12) 114s ok 7 - authors 114s 114s expecting success: 114s test_when_finished "rm -rf hgrepo gitrepo" && 114s 114s ( 114s hg init hgrepo && 114s cd hgrepo && 114s 114s echo one >> content && 114s hg add content && 114s hg commit -m one && 114s 114s echo two >> content && 114s hg commit -m two 114s ) && 114s 114s git clone "hg::hgrepo" gitrepo && 114s 114s ( 114s cd hgrepo && 114s hg strip 1 && 114s 114s echo three >> content && 114s hg commit -m three && 114s 114s echo four >> content && 114s hg commit -m four 114s ) && 114s 114s ( 114s cd gitrepo && 114s git fetch && 114s git log --format="%s" origin/master > ../actual 114s ) && 114s 114s hg -R hgrepo log --template "{desc}\n" > expected && 114s test_cmp actual expected 114s 115s Cloning into 'gitrepo'... 115s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 115s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 115s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 115s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 115s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 115s or locale.getdefaultlocale()[1] 115s WARNING: capability_push is disabled, only do so when really sure 115s WARNING: various enhanced features might fail in subtle ways 115s adding changesets 115s adding manifests 115s adding file changes 115s added 2 changesets with 2 changes to 1 files 115s new changesets f34976361a8f:6a5d4b74827c 115s progress revision walk 'bookmarks/master' (1/1) 115s progress revision 0 'master' (0/2) 115s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 115s saved backup bundle to /tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/hgrepo/.hg/strip-backup/6a5d4b74827c-d1200113-backup.hg 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 WARNING: capability_push is disabled, only do so when really sure 116s WARNING: various enhanced features might fail in subtle ways 116s searching for changes 116s adding changesets 116s adding manifests 116s adding file changes 116s added 2 changesets with 2 changes to 1 files (+1 heads) 116s new changesets 85207ca9891e:1c38e49764ca 116s progress revision 2 'default' (0/2) 116s From hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/hgrepo 116s + 4dd3959...9fb03db master -> origin/master (forced update) 116s + 4dd3959...9fb03db branches/default -> origin/branches/default (forced update) 116s ok 8 - strip 116s 116s expecting success: 116s test_when_finished "rm -rf hgrepo gitrepo*" && 116s 116s ( 116s hg init hgrepo && 116s cd hgrepo && 116s echo zero > content && 116s hg add content && 116s hg commit -m zero && 116s hg bookmark master && 116s echo one > content && 116s hg commit -m one 116s ) && 116s 116s ( 116s git clone "hg::hgrepo" gitrepo && 116s cd gitrepo && 116s echo two > content && 116s git commit -a -m two && 116s git push 116s ) && 116s 116s check_branch hgrepo default two 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) 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 WARNING: capability_push is disabled, only do so when really sure 118s WARNING: various enhanced features might fail in subtle ways 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 e8ba3c7265cc:b1c529b30d47 118s progress revision walk 'bookmarks/default' (1/1) 118s progress revision 0 'default' (0/2) 118s [default 9d6b0f6] 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) 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 WARNING: capability_push is disabled, only do so when really sure 118s WARNING: various enhanced features might fail in subtle ways 118s no changes found 118s searching for changes 118s adding changesets 118s adding manifests 118s adding file changes 118s added 1 changesets with 1 changes to 1 files 118s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/hgrepo 118s c37121a..9d6b0f6 default -> default 118s ok 9 - remote push with master bookmark 118s 118s expecting success: 118s test_when_finished "rm -rf hgrepo gitrepo*" && 118s 118s hg init hgrepo && 118s 118s ( 118s git init gitrepo && 118s cd gitrepo && 118s git remote add origin "hg::../hgrepo" && 118s echo one > content && 118s git add content && 118s git commit -a -m one && 118s git push origin master 118s ) && 118s 118s hg -R hgrepo log > actual && 118s cat actual && 118s test_cmp expected actual && 118s 118s check_branch hgrepo default one 118s 119s Initialized empty Git repository in /tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/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 WARNING: capability_push is disabled, only do so when really sure 119s WARNING: various enhanced features might fail in subtle ways 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 WARNING: capability_push is disabled, only do so when really sure 120s WARNING: various enhanced features might fail in subtle ways 120s adding changesets 120s adding manifests 120s adding file changes 120s added 1 changesets with 1 changes to 1 files 120s new changesets a5c73a48fb73 120s progress revision walk 'bookmarks/master' (0/0) 120s progress revision 0 'master' (0/1) 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 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 WARNING: capability_push is disabled, only do so when really sure 120s WARNING: various enhanced features might fail in subtle ways 121s adding changesets 121s adding manifests 121s adding file changes 121s added 1 changesets with 1 changes to 1 files 121s new changesets a5c73a48fb73 121s progress revision walk 'bookmarks/master' (0/0) 121s progress revision 0 'master' (0/1) 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 WARNING: capability_push is disabled, only do so when really sure 121s WARNING: various enhanced features might fail in subtle ways 121s no changes found 121s ok 12 - moving remote clone 121s 121s expecting success: 121s test_when_finished "rm -rf gitrepo*" && 121s 121s ( 121s cd hgrepo && 121s hg bookmark devel 121s ) && 121s 121s ( 121s git clone "hg::hgrepo" gitrepo && 121s cd gitrepo && 121s git checkout --quiet devel && 121s echo devel > content && 121s git commit -a -m devel && 121s git push --quiet 121s ) && 121s 121s check_bookmark hgrepo devel devel 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 WARNING: capability_push is disabled, only do so when really sure 121s WARNING: various enhanced features might fail in subtle ways 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 a5c73a48fb73 121s progress revision walk 'bookmarks/master' (0/0) 121s progress revision 0 'master' (0/1) 122s [devel 9245e95] devel 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 WARNING: capability_push is disabled, only do so when really sure 122s WARNING: various enhanced features might fail in subtle ways 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 13 - remote update bookmark 122s 122s expecting success: 122s test_when_finished "rm -rf gitrepo*" && 122s 122s ( 122s git clone "hg::hgrepo" gitrepo && 122s cd gitrepo && 122s git checkout --quiet -b feature-b && 122s echo feature-b > content && 122s git commit -a -m feature-b && 122s git push --quiet origin feature-b 122s ) && 122s 122s check_bookmark hgrepo feature-b feature-b 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 WARNING: capability_push is disabled, only do so when really sure 122s WARNING: various enhanced features might fail in subtle ways 122s adding changesets 122s adding manifests 122s adding file changes 122s adding remote bookmark devel 122s added 2 changesets with 2 changes to 1 files 122s new changesets a5c73a48fb73:dbb4479ffba2 122s progress revision walk 'bookmarks/master' (1/1) 122s progress revision 0 'master' (0/2) 122s [feature-b 7f26d72] feature-b 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) 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 WARNING: capability_push is disabled, only do so when really sure 123s WARNING: various enhanced features might fail in subtle ways 123s no changes found 123s searching for changes 123s adding changesets 123s adding manifests 123s adding file changes 123s added 1 changesets with 1 changes to 1 files 123s ok 14 - remote new bookmark 123s 123s expecting success: 123s test_when_finished "rm -rf gitrepo*" && 123s 123s git clone "hg::hgrepo" gitrepo && 123s 123s ( 123s cd hgrepo && 123s hg checkout default && 123s echo bump > content && 123s hg commit -m bump 123s ) && 123s 123s ( 123s cd gitrepo && 123s echo diverge > content && 123s git commit -a -m diverged && 123s check_push 1 <<-\EOF 123s master:non-fast-forward 123s EOF 123s ) && 123s 123s check_branch hgrepo default bump 123s 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 WARNING: capability_push is disabled, only do so when really sure 123s WARNING: various enhanced features might fail in subtle ways 123s adding changesets 123s adding manifests 123s adding file changes 123s adding remote bookmark devel 123s adding remote bookmark feature-b 123s added 3 changesets with 3 changes to 1 files 123s new changesets a5c73a48fb73:48f22f573551 123s progress revision walk 'bookmarks/master' (2/2) 123s progress revision 0 'master' (0/3) 124s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 124s (leaving bookmark devel) 124s [master cf282f0] diverged 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 WARNING: capability_push is disabled, only do so when really sure 124s WARNING: various enhanced features might fail in subtle ways 124s searching for changes 124s adding changesets 124s adding manifests 124s adding file changes 124s added 1 changesets with 1 changes to 1 files 124s new changesets 14e4bef26885 124s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/hgrepo 124s ! [rejected] master -> master (non-fast-forward) 124s error: failed to push some refs to 'hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/hgrepo' 124s hint: Updates were rejected because the tip of your current branch is behind 124s hint: its remote counterpart. If you want to integrate the remote changes, 124s hint: use 'git pull' before pushing again. 124s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 124s ! [rejected] master -> master (non-fast-forward) 124s ok 15 - remote push diverged 124s 124s expecting success: 124s test_when_finished "rm -rf gitrepo*" && 124s 124s ( 124s cd hgrepo && 124s hg checkout tip^ && 124s hg bookmark diverge 124s ) && 124s 124s git clone "hg::hgrepo" gitrepo && 124s 124s ( 124s cd hgrepo && 124s echo "bump bookmark" > content && 124s hg commit -m "bump bookmark" 124s ) && 124s 124s ( 124s cd gitrepo && 124s git checkout --quiet diverge && 124s echo diverge > content && 124s git commit -a -m diverge && 124s check_push 1 <<-\EOF 124s diverge:non-fast-forward 124s EOF 124s ) && 124s 124s check_bookmark hgrepo diverge "bump bookmark" 124s 125s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 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 WARNING: capability_push is disabled, only do so when really sure 125s WARNING: various enhanced features might fail in subtle ways 125s adding changesets 125s adding manifests 125s adding file changes 125s adding remote bookmark devel 125s adding remote bookmark diverge 125s adding remote bookmark feature-b 125s added 4 changesets with 4 changes to 1 files 125s new changesets a5c73a48fb73:14e4bef26885 125s progress revision walk 'bookmarks/master' (3/3) 125s progress revision 0 'master' (0/4) 125s created new head 125s [diverge c588887] diverge 125s Author: A U Thor 125s 1 file changed, 1 insertion(+), 1 deletion(-) 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 /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 126s or locale.getdefaultlocale()[1] 126s WARNING: capability_push is disabled, only do so when really sure 126s WARNING: various enhanced features might fail in subtle ways 126s searching for changes 126s adding changesets 126s adding manifests 126s adding file changes 126s updating bookmark diverge 126s added 1 changesets with 1 changes to 1 files (+1 heads) 126s new changesets ef03731d16e2 126s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/hgrepo 126s ! [rejected] diverge -> diverge (non-fast-forward) 126s error: failed to push some refs to 'hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/hgrepo' 126s hint: Updates were rejected because the tip of your current branch is behind 126s hint: its remote counterpart. If you want to integrate the remote changes, 126s hint: use 'git pull' before pushing again. 126s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 126s ! [rejected] diverge -> diverge (non-fast-forward) 126s ok 16 - remote update bookmark diverge 126s 126s expecting success: 126s test_when_finished "rm -rf gitrepo*" && 126s 126s ( 126s git clone "hg::hgrepo" gitrepo && 126s cd gitrepo && 126s git checkout --quiet -b feature-c HEAD^ && 126s echo feature-c > content && 126s git commit -a -m feature-c && 126s git push --quiet origin feature-c 126s ) && 126s 126s check_bookmark hgrepo feature-c feature-c 126s 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 /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 126s or locale.getdefaultlocale()[1] 126s WARNING: capability_push is disabled, only do so when really sure 126s WARNING: various enhanced features might fail in subtle ways 126s adding changesets 126s adding manifests 126s adding file changes 126s adding remote bookmark devel 126s adding remote bookmark diverge 126s adding remote bookmark feature-b 126s added 5 changesets with 5 changes to 1 files (+1 heads) 126s new changesets a5c73a48fb73:ef03731d16e2 126s WARNING: Branch 'default' has more than one head, consider merging 126s progress revision walk 'bookmarks/master' (4/4) 126s progress revision 0 'master' (0/4) 126s [feature-c f6dff0e] feature-c 126s Author: A U Thor 126s 1 file changed, 1 insertion(+), 1 deletion(-) 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 /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 126s or locale.getdefaultlocale()[1] 126s WARNING: capability_push is disabled, only do so when really sure 126s WARNING: various enhanced features might fail in subtle ways 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 (+1 heads) 127s ok 17 - remote new bookmark multiple branch head 127s 127s checking known breakage: 127s test_when_finished "rm -rf gitrepo hgrepo" && 127s 127s ( 127s hg init hgrepo && 127s cd hgrepo && 127s echo zero > content && 127s hg add content && 127s hg commit -m zero 127s ) && 127s 127s git clone "hg::hgrepo" gitrepo && 127s 127s ( 127s cd gitrepo && 127s cp content content-copy && 127s # recent git-fast-export is (too) picky in recognizing copies 127s # although git-log is not as picky; 127s # since https://github.com/git/git/commit/8096e1d385660c159d9d47e69b2be63cf22e4f31 127s # a copy is only marked if source filed not modified as well 127s # (though destination file can be modified) 127s echo one >> content-copy && 127s git add content content-copy && 127s git commit -m copy && 127s git mv content-copy content-moved 127s git commit -m moved && 127s git push origin master 127s ) && 127s 127s ( 127s hg -R hgrepo update && 127s test_cmp gitrepo/content hgrepo/content 127s test_cmp gitrepo/content-moved hgrepo/content-moved 127s cd hgrepo && 127s test `hg log -f content-moved | grep -c changeset` -eq 3 127s ) 127s 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) 128s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 128s or locale.getdefaultlocale()[1] 128s WARNING: capability_push is disabled, only do so when really sure 128s WARNING: various enhanced features might fail in subtle ways 128s adding changesets 128s adding manifests 128s adding file changes 128s added 1 changesets with 1 changes to 1 files 128s new changesets f53ffefb543c 128s progress revision walk 'bookmarks/master' (0/0) 128s progress revision 0 'master' (0/1) 128s [master b51be73] copy 128s Author: A U Thor 128s 1 file changed, 2 insertions(+) 128s create mode 100644 content-copy 128s [master 987112c] moved 128s Author: A U Thor 128s 1 file changed, 0 insertions(+), 0 deletions(-) 128s rename content-copy => content-moved (100%) 128s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 128s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 128s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 128s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 128s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 128s or locale.getdefaultlocale()[1] 128s WARNING: capability_push is disabled, only do so when really sure 128s WARNING: various enhanced features might fail in subtle ways 128s no changes found 128s searching for changes 128s adding changesets 128s adding manifests 128s adding file changes 128s added 2 changesets with 2 changes to 2 files 128s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/hgrepo 128s 86a82d0..987112c master -> master 128s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 128s not ok 18 - push commits with copy and rename # TODO known breakage 128s 128s expecting success: 128s test_when_finished "rm -rf hgrepo gitrepo && LC_ALL=C" && 128s 128s LC_ALL=C.UTF-8 128s export LC_ALL 128s 128s ( 128s hg init hgrepo && 128s cd hgrepo && 128s 128s echo test >> "æ rø" && 128s hg add "æ rø" && 128s echo test >> "ø~?" && 128s hg add "ø~?" && 128s hg commit -m add-utf-8 && 128s echo test >> "æ rø" && 128s hg commit -m test-utf-8 && 128s hg rm "ø~?" && 128s hg mv "æ rø" "ø~?" && 128s hg commit -m hg-mv-utf-8 128s ) && 128s 128s ( 128s git clone "hg::hgrepo" gitrepo && 128s cd gitrepo && 128s git -c core.quotepath=false ls-files > ../actual 128s ) && 128s echo "ø~?" > expected && 128s test_cmp expected actual 128s 129s warning: filename contains '?', which is reserved on Windows: 'ø~?' 131s warning: filename contains '?', which is reserved on Windows: 'ø~?' 131s progress revision walk 'bookmarks/master' (2/2) 131s progress revision 0 'master' (0/3) 131s ok 19 - fetch special filenames 131s 131s expecting success: 131s test_when_finished "rm -rf hgrepo gitrepo && LC_ALL=C" && 131s 131s mkdir -p tmp && cd tmp && 131s 131s LC_ALL=C.UTF-8 131s export LC_ALL 131s 131s ( 131s hg init hgrepo && 131s cd hgrepo && 131s 131s echo one >> content && 131s hg add content && 131s hg commit -m one 131s ) && 131s 131s ( 131s git clone "hg::hgrepo" gitrepo && 131s cd gitrepo && 131s 131s echo test >> "æ rø" && 131s git add "æ rø" && 131s git commit -m utf-8 && 131s 131s git push 131s ) && 131s 131s (cd hgrepo && 131s hg update && 131s hg manifest > ../actual 131s ) && 131s 131s printf "content\næ rø\n" > expected && 131s test_cmp expected actual 131s 131s Cloning into 'gitrepo'... 131s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 131s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 131s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 131s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 131s WARNING: capability_push is disabled, only do so when really sure 131s WARNING: various enhanced features might fail in subtle ways 131s adding changesets 131s adding manifests 131s adding file changes 131s added 3 changesets with 4 changes to 2 files 131s new changesets 6a1265eb7119:e9b56b832a1a 131s Cloning into 'gitrepo'... 131s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 131s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 131s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 131s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 131s WARNING: capability_push is disabled, only do so when really sure 131s WARNING: various enhanced features might fail in subtle ways 131s adding changesets 131s adding manifests 131s adding file changes 131s added 1 changesets with 1 changes to 1 files 131s new changesets a6dc77890f70 131s progress revision walk 'bookmarks/master' (0/0) 131s progress revision 0 'master' (0/1) 131s [master ff2a9ac] utf-8 131s Author: A U Thor 131s 1 file changed, 1 insertion(+) 131s create mode 100644 "\303\246 r\303\270" 131s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 131s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 131s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 131s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 132s WARNING: capability_push is disabled, only do so when really sure 132s WARNING: various enhanced features might fail in subtle ways 132s no changes found 132s searching for changes 132s adding changesets 132s adding manifests 132s adding file changes 132s added 1 changesets with 1 changes to 1 files 132s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo 132s 4760e66..ff2a9ac master -> master 132s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 132s ok 20 - push special filenames 132s 132s expecting success: 132s test_when_finished "rm -rf hgrepo gitrepo*" && 132s 132s setup_big_push 132s 132s ( 132s cd gitrepo && 132s 132s check_push 1 --all <<-\EOF 132s master 132s good_bmark 132s branches/good_branch 132s new_bmark:new 132s branches/new_branch:new 132s bad_bmark1:non-fast-forward 132s bad_bmark2:non-fast-forward 132s branches/bad_branch:non-fast-forward 132s EOF 132s ) && 132s 132s if test "$CAPABILITY_PUSH" = "t" 132s then 132s # cap push handles refs one by one 132s # so it will push all requested it can 132s check_branch hgrepo default six && 132s check_branch hgrepo good_branch eight && 132s check_branch hgrepo bad_branch "bad branch" && 132s check_branch hgrepo new_branch ten && 132s check_bookmark hgrepo good_bmark three && 132s check_bookmark hgrepo bad_bmark1 one && 132s check_bookmark hgrepo bad_bmark2 one && 132s check_bookmark hgrepo new_bmark six 132s else 132s check_branch hgrepo default one && 132s check_branch hgrepo good_branch "good branch" && 132s check_branch hgrepo bad_branch "bad branch" && 132s check_branch hgrepo new_branch && 132s check_bookmark hgrepo good_bmark one && 132s check_bookmark hgrepo bad_bmark1 one && 132s check_bookmark hgrepo bad_bmark2 one && 132s check_bookmark hgrepo new_bmark 132s fi 132s 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 WARNING: capability_push is disabled, only do so when really sure 135s WARNING: various enhanced features might fail in subtle ways 135s adding changesets 135s adding manifests 135s adding file changes 135s adding remote bookmark bad_bmark1 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 c3a601bea6e3:150b038006bd 135s progress revision walk 'bookmarks/master' (1/1) 135s progress revision 0 'master' (0/2) 135s progress revision 2 'bad_branch' (0/2) 135s HEAD is now at fbba302 zero 135s HEAD is now at fbba302 zero 135s HEAD is now at 9b08ff2 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 WARNING: capability_push is disabled, only do so when really sure 135s WARNING: various enhanced features might fail in subtle ways 135s no changes found 135s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo 135s 9b08ff2..59feabb branches/good_branch -> branches/good_branch 135s 51b2890..55f860c good_bmark -> good_bmark 135s 51b2890..b53670f master -> master 135s * [new branch] branches/new_branch -> branches/new_branch 135s * [new branch] new_bmark -> new_bmark 135s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 135s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 135s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 135s error: failed to push some refs to 'hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo' 135s hint: Updates were rejected because a pushed branch tip is behind its remote 135s hint: counterpart. If you want to integrate the remote changes, use 'git pull' 135s hint: before pushing again. 135s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 135s 51b2890..b53670f master -> master 135s 51b2890..55f860c good_bmark -> good_bmark 135s 9b08ff2..59feabb branches/good_branch -> branches/good_branch 135s * [new branch] new_bmark -> new_bmark 135s * [new branch] branches/new_branch -> branches/new_branch 135s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 135s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 135s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 137s ok 21 - remote big push 137s 137s expecting success: 137s test_when_finished "rm -rf hgrepo gitrepo*" && 137s 137s ( 137s hg init hgrepo && 137s cd hgrepo && 137s echo zero > content && 137s hg add content && 137s hg commit -m zero && 137s hg bookmark bad_bmark && 137s hg bookmark good_bmark && 137s hg bookmark -i good_bmark && 137s hg -q branch good_branch && 137s echo "good branch" > content && 137s hg commit -m "good branch" && 137s hg -q branch bad_branch && 137s echo "bad branch" > content && 137s hg commit -m "bad branch" 137s ) && 137s 137s git clone "hg::hgrepo" gitrepo && 137s 137s ( 137s cd hgrepo && 137s hg bookmark -f bad_bmark && 137s echo update_bmark > content && 137s hg commit -m "update bmark" 137s ) && 137s 137s ( 137s cd gitrepo && 137s echo two > content && 137s git commit -q -a -m two && 137s 137s git checkout -q good_bmark && 137s echo three > content && 137s git commit -q -a -m three && 137s 137s git checkout -q bad_bmark && 137s echo four > content && 137s git commit -q -a -m four && 137s 137s git checkout -q branches/bad_branch && 137s echo five > content && 137s git commit -q -a -m five && 137s 137s check_push 1 --all <<-\EOF && 137s master 137s good_bmark 137s bad_bmark:non-fast-forward 137s branches/bad_branch:non-fast-forward 137s EOF 137s 137s git fetch && 137s 137s if test "$CAPABILITY_PUSH" = "t" 137s then 137s # cap push handles refs one by one 137s # so it will already have pushed some above previously 137s # (and master is a fake one that jumps around a bit) 137s check_push 1 --all <<-\EOF 137s bad_bmark:non-fast-forward 137s branches/bad_branch:non-fast-forward 137s EOF 137s else 137s check_push 1 --all <<-\EOF 137s master 137s good_bmark 137s bad_bmark:non-fast-forward 137s branches/bad_branch:non-fast-forward 137s EOF 137s fi 137s ) 137s 139s Cloning into 'gitrepo'... 139s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 139s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 139s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 139s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 139s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 139s or locale.getdefaultlocale()[1] 139s WARNING: capability_push is disabled, only do so when really sure 139s WARNING: various enhanced features might fail in subtle ways 139s adding changesets 139s adding manifests 139s adding file changes 139s adding remote bookmark bad_bmark 139s adding remote bookmark good_bmark 139s added 3 changesets with 3 changes to 1 files 139s new changesets 5a073754f12b:e0548fa12769 139s progress revision walk 'bookmarks/master' (0/0) 139s progress revision 0 'master' (0/1) 139s progress revision 1 'bad_branch' (0/2) 140s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 140s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 140s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 140s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 140s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 140s or locale.getdefaultlocale()[1] 140s WARNING: capability_push is disabled, only do so when really sure 140s WARNING: various enhanced features might fail in subtle ways 140s searching for changes 140s adding changesets 140s adding manifests 140s adding file changes 140s updating bookmark bad_bmark 140s added 1 changesets with 1 changes to 1 files 140s new changesets deb21f05f6e8 140s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo 140s d90bb80..5b81170 good_bmark -> good_bmark 140s d90bb80..4eab0d5 master -> master 140s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 140s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 140s error: failed to push some refs to 'hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo' 140s hint: Updates were rejected because the tip of your current branch is behind 140s hint: its remote counterpart. If you want to integrate the remote changes, 140s hint: use 'git pull' before pushing again. 140s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 140s d90bb80..4eab0d5 master -> master 140s d90bb80..5b81170 good_bmark -> good_bmark 140s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 140s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 140s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 140s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 140s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 140s 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 WARNING: capability_push is disabled, only do so when really sure 141s WARNING: various enhanced features might fail in subtle ways 141s no changes found 141s progress revision 3 'bad_branch' (0/1) 141s From hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo 141s 1da5146..644ba4d branches/bad_branch -> origin/branches/bad_branch 141s d90bb80..644ba4d bad_bmark -> origin/bad_bmark 141s + 5b81170...d90bb80 good_bmark -> origin/good_bmark (forced update) 141s + 4eab0d5...d90bb80 master -> origin/master (forced update) 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 WARNING: capability_push is disabled, only do so when really sure 141s WARNING: various enhanced features might fail in subtle ways 141s no changes found 141s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo 141s d90bb80..5b81170 good_bmark -> good_bmark 141s d90bb80..4eab0d5 master -> master 141s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 141s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 141s error: failed to push some refs to 'hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo' 141s hint: Updates were rejected because the tip of your current branch is behind 141s hint: its remote counterpart. If you want to integrate the remote changes, 141s hint: use 'git pull' before pushing again. 141s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 141s d90bb80..4eab0d5 master -> master 141s d90bb80..5b81170 good_bmark -> good_bmark 141s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 141s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 141s ok 22 - remote big push non fast forward 141s 141s expecting success: 141s test_when_finished "rm -rf hgrepo gitrepo*" && 141s 141s setup_big_push 141s 141s ( 141s cd gitrepo && 141s 141s if test "$CAPABILITY_PUSH" = "t" 141s then 141s check_push 0 --force --all <<-\EOF 141s master:forced-update 141s good_bmark:forced-update 141s branches/good_branch:forced-update 141s new_bmark:new 141s branches/new_branch:new 141s bad_bmark1:forced-update 141s bad_bmark2:forced-update 141s branches/bad_branch:forced-update 141s EOF 141s else 141s check_push 0 --force --all <<-\EOF 141s master 141s good_bmark 141s branches/good_branch 141s new_bmark:new 141s branches/new_branch:new 141s bad_bmark1:forced-update 141s bad_bmark2:forced-update 141s branches/bad_branch:forced-update 141s EOF 141s fi 141s ) && 141s 141s check_branch hgrepo good_branch eight && 141s check_branch hgrepo bad_branch nine && 141s check_branch hgrepo new_branch ten && 141s check_bookmark hgrepo good_bmark three && 141s check_bookmark hgrepo bad_bmark1 four && 141s check_bookmark hgrepo bad_bmark2 five && 141s check_bookmark hgrepo new_bmark six 141s 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) 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 WARNING: capability_push is disabled, only do so when really sure 144s WARNING: various enhanced features might fail in subtle ways 144s adding changesets 144s adding manifests 144s adding file changes 144s adding remote bookmark bad_bmark1 144s adding remote bookmark bad_bmark2 144s adding remote bookmark good_bmark 144s added 4 changesets with 4 changes to 1 files 144s new changesets 0f8758b12557:f110fb277893 144s progress revision walk 'bookmarks/master' (1/1) 144s progress revision 0 'master' (0/2) 144s progress revision 2 'bad_branch' (0/2) 144s HEAD is now at 182dfe9 zero 144s HEAD is now at 182dfe9 zero 144s HEAD is now at 03b9756 good branch 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 WARNING: capability_push is disabled, only do so when really sure 144s WARNING: various enhanced features might fail in subtle ways 144s no changes found 144s searching for changes 144s adding changesets 144s adding manifests 144s adding file changes 144s added 9 changesets with 9 changes to 1 files (+7 heads) 144s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo 144s + 4608a8b...c263d3e branches/bad_branch -> branches/bad_branch (forced update) 144s 03b9756..7d70700 branches/good_branch -> branches/good_branch 144s + 6502651...c864b1c bad_bmark1 -> bad_bmark1 (forced update) 144s + 6502651...c408a48 bad_bmark2 -> bad_bmark2 (forced update) 144s 6502651..d30acab good_bmark -> good_bmark 144s 6502651..ecba9bd master -> master 144s * [new branch] branches/new_branch -> branches/new_branch 144s * [new branch] new_bmark -> new_bmark 144s 6502651..ecba9bd master -> master 144s 6502651..d30acab good_bmark -> good_bmark 144s 03b9756..7d70700 branches/good_branch -> branches/good_branch 144s * [new branch] new_bmark -> new_bmark 144s * [new branch] branches/new_branch -> branches/new_branch 144s + 6502651...c864b1c bad_bmark1 -> bad_bmark1 (forced update) 144s + 6502651...c408a48 bad_bmark2 -> bad_bmark2 (forced update) 144s + 4608a8b...c263d3e branches/bad_branch -> branches/bad_branch (forced update) 145s ok 23 - remote big push force 145s 145s expecting success: 145s test_when_finished "rm -rf hgrepo gitrepo*" && 145s 145s setup_big_push 145s 145s ( 145s cd gitrepo && 145s 145s check_push 1 --dry-run --all <<-\EOF && 145s master 145s good_bmark 145s branches/good_branch 145s new_bmark:new 145s branches/new_branch:new 145s bad_bmark1:non-fast-forward 145s bad_bmark2:non-fast-forward 145s branches/bad_branch:non-fast-forward 145s EOF 145s 145s check_push 0 --dry-run master good_bmark new_bmark branches/good_branch branches/new_branch <<-\EOF 145s master 145s good_bmark 145s branches/good_branch 145s new_bmark:new 145s branches/new_branch:new 145s EOF 145s ) && 145s 145s check_branch hgrepo default one && 145s check_branch hgrepo good_branch "good branch" && 145s check_branch hgrepo bad_branch "bad branch" && 145s check_branch hgrepo new_branch && 145s check_bookmark hgrepo good_bmark one && 145s check_bookmark hgrepo bad_bmark1 one && 145s check_bookmark hgrepo bad_bmark2 one && 145s check_bookmark hgrepo new_bmark 145s 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 WARNING: capability_push is disabled, only do so when really sure 148s WARNING: various enhanced features might fail in subtle ways 148s adding changesets 148s adding manifests 148s adding file changes 148s adding remote bookmark bad_bmark1 148s adding remote bookmark bad_bmark2 148s adding remote bookmark good_bmark 148s added 4 changesets with 4 changes to 1 files 148s new changesets cd91039f5be6:8851d79d755b 148s progress revision walk 'bookmarks/master' (1/1) 148s progress revision 0 'master' (0/2) 148s progress revision 2 'bad_branch' (0/2) 148s HEAD is now at fe8dd04 zero 148s HEAD is now at fe8dd04 zero 148s HEAD is now at 47e78e7 good branch 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 WARNING: capability_push is disabled, only do so when really sure 149s WARNING: various enhanced features might fail in subtle ways 149s no changes found 149s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo 149s 47e78e7..b3b747c branches/good_branch -> branches/good_branch 149s fcc881f..623593a good_bmark -> good_bmark 149s fcc881f..d8debba master -> master 149s * [new branch] branches/new_branch -> branches/new_branch 149s * [new branch] new_bmark -> new_bmark 149s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 149s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 149s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 149s error: failed to push some refs to 'hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo' 149s hint: Updates were rejected because a pushed branch tip is behind its remote 149s hint: counterpart. If you want to integrate the remote changes, use 'git pull' 149s hint: before pushing again. 149s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 149s fcc881f..d8debba master -> master 149s fcc881f..623593a good_bmark -> good_bmark 149s 47e78e7..b3b747c branches/good_branch -> branches/good_branch 149s * [new branch] new_bmark -> new_bmark 149s * [new branch] branches/new_branch -> branches/new_branch 149s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 149s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 149s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 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 WARNING: capability_push is disabled, only do so when really sure 149s WARNING: various enhanced features might fail in subtle ways 149s no changes found 149s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo 149s 47e78e7..b3b747c branches/good_branch -> branches/good_branch 149s fcc881f..623593a good_bmark -> good_bmark 149s fcc881f..d8debba master -> master 149s * [new branch] new_bmark -> new_bmark 149s * [new branch] branches/new_branch -> branches/new_branch 149s fcc881f..d8debba master -> master 149s fcc881f..623593a good_bmark -> good_bmark 149s 47e78e7..b3b747c branches/good_branch -> branches/good_branch 149s * [new branch] new_bmark -> new_bmark 149s * [new branch] branches/new_branch -> branches/new_branch 151s ok 24 - remote big push dry-run 151s 151s expecting success: 151s test_when_finished "rm -rf hgrepo gitrepo*" && 151s 151s setup_big_push 151s 151s ( 151s cd gitrepo && 151s 151s if test "$CAPABILITY_PUSH" = "t" 151s then 151s check_push 0 --force --dry-run --all <<-\EOF 151s master:forced-update 151s good_bmark:forced-update 151s branches/good_branch:forced-update 151s new_bmark:new 151s branches/new_branch:new 151s bad_bmark1:forced-update 151s bad_bmark2:forced-update 151s branches/bad_branch:forced-update 151s EOF 151s else 151s check_push 0 --force --dry-run --all <<-\EOF 151s master 151s good_bmark 151s branches/good_branch 151s new_bmark:new 151s branches/new_branch:new 151s bad_bmark1:forced-update 151s bad_bmark2:forced-update 151s branches/bad_branch:forced-update 151s EOF 151s fi 151s ) && 151s 151s check_branch hgrepo default one && 151s check_branch hgrepo good_branch "good branch" && 151s check_branch hgrepo bad_branch "bad branch" && 151s check_branch hgrepo new_branch && 151s check_bookmark hgrepo good_bmark one && 151s check_bookmark hgrepo bad_bmark1 one && 151s check_bookmark hgrepo bad_bmark2 one && 151s check_bookmark hgrepo new_bmark 151s 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 WARNING: capability_push is disabled, only do so when really sure 153s WARNING: various enhanced features might fail in subtle ways 153s adding changesets 153s adding manifests 153s adding file changes 153s adding remote bookmark bad_bmark1 153s adding remote bookmark bad_bmark2 153s adding remote bookmark good_bmark 153s added 4 changesets with 4 changes to 1 files 153s new changesets e779abc7de27:de4264a565dc 153s progress revision walk 'bookmarks/master' (1/1) 153s progress revision 0 'master' (0/2) 153s progress revision 2 'bad_branch' (0/2) 153s HEAD is now at 77e4245 zero 153s HEAD is now at 77e4245 zero 153s HEAD is now at d8759af good branch 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 WARNING: capability_push is disabled, only do so when really sure 154s WARNING: various enhanced features might fail in subtle ways 154s no changes found 154s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo 154s + 03f19bd...6059f30 branches/bad_branch -> branches/bad_branch (forced update) 154s d8759af..39395a9 branches/good_branch -> branches/good_branch 154s + 823243c...596abdc bad_bmark1 -> bad_bmark1 (forced update) 154s + 823243c...5dd34d0 bad_bmark2 -> bad_bmark2 (forced update) 154s 823243c..f0eaeb6 good_bmark -> good_bmark 154s 823243c..126140b master -> master 154s * [new branch] branches/new_branch -> branches/new_branch 154s * [new branch] new_bmark -> new_bmark 154s 823243c..126140b master -> master 154s 823243c..f0eaeb6 good_bmark -> good_bmark 154s d8759af..39395a9 branches/good_branch -> branches/good_branch 154s * [new branch] new_bmark -> new_bmark 154s * [new branch] branches/new_branch -> branches/new_branch 154s + 823243c...596abdc bad_bmark1 -> bad_bmark1 (forced update) 154s + 823243c...5dd34d0 bad_bmark2 -> bad_bmark2 (forced update) 154s + 03f19bd...6059f30 branches/bad_branch -> branches/bad_branch (forced update) 155s ok 25 - remote big push force dry-run 155s 155s expecting success: 155s test_when_finished "rm -rf hgrepo gitrepo*" && 155s 155s ( 155s hg init hgrepo && 155s cd hgrepo && 155s echo zero > content && 155s hg add content && 155s hg commit -m zero && 155s echo one > content && 155s hg commit -m one 155s ) && 155s 155s ( 155s git clone "hg::hgrepo" gitrepo && 155s cd gitrepo && 155s git reset --hard HEAD^ && 155s echo two > content && 155s git commit -a -m two && 155s test_expect_code 1 git push && 155s test_expect_code 1 git push 155s ) 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 WARNING: capability_push is disabled, only do so when really sure 156s WARNING: various enhanced features might fail in subtle ways 156s adding changesets 156s adding manifests 156s adding file changes 156s added 2 changesets with 2 changes to 1 files 156s new changesets 90c4593b1a93:dfa907f5daa5 156s progress revision walk 'bookmarks/master' (1/1) 156s progress revision 0 'master' (0/2) 156s HEAD is now at 57e4f23 zero 157s [master 36161a4] two 157s Author: A U Thor 157s 1 file changed, 1 insertion(+), 1 deletion(-) 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 WARNING: capability_push is disabled, only do so when really sure 157s WARNING: various enhanced features might fail in subtle ways 157s no changes found 157s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo 157s ! [rejected] master -> master (non-fast-forward) 157s error: failed to push some refs to 'hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo' 157s hint: Updates were rejected because the tip of your current branch is behind 157s hint: its remote counterpart. If you want to integrate the remote changes, 157s hint: use 'git pull' before pushing again. 157s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 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 WARNING: capability_push is disabled, only do so when really sure 157s WARNING: various enhanced features might fail in subtle ways 157s no changes found 157s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo 157s ! [rejected] master -> master (non-fast-forward) 157s error: failed to push some refs to 'hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo' 157s hint: Updates were rejected because the tip of your current branch is behind 157s hint: its remote counterpart. If you want to integrate the remote changes, 157s hint: use 'git pull' before pushing again. 157s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 157s ok 26 - remote double failed push 157s 157s expecting success: 157s test_when_finished "rm -rf gitrepo hgrepo" && 157s 157s ( 157s hg init hgrepo && 157s cd hgrepo && 157s echo zero > content && 157s hg add content && 157s hg commit -m zero && 157s echo feature-a > content && 157s hg commit -m feature-a 157s hg bookmark feature-a 157s ) && 157s 157s git clone "hg::hgrepo" gitrepo && 157s check gitrepo origin/feature-a feature-a && 157s 157s ( 157s cd hgrepo && 157s hg bookmark -d feature-a 157s ) && 157s 157s ( 157s cd gitrepo && 157s git fetch --prune origin 157s git branch -a > out && 157s ! grep feature-a out 157s ) 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 WARNING: capability_push is disabled, only do so when really sure 158s WARNING: various enhanced features might fail in subtle ways 158s adding changesets 158s adding manifests 158s adding file changes 158s adding remote bookmark feature-a 158s added 2 changesets with 2 changes to 1 files 158s new changesets bec4b5d08a84:0965f251b874 158s progress revision walk 'bookmarks/master' (1/1) 158s progress revision 0 'master' (0/2) 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 WARNING: capability_push is disabled, only do so when really sure 159s WARNING: various enhanced features might fail in subtle ways 159s no changes found 159s error: refusing to update ref with bad name 'hg/origin/refs/bookmarks/feature-a' 159s From hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo 159s - [deleted] (none) -> origin/feature-a 159s ok 27 - fetch prune 159s 159s expecting success: 159s test_when_finished "rm -rf gitrepo hgrepo" && 159s 159s ( 159s hg init hgrepo && 159s cd hgrepo && 159s echo zero > content && 159s hg add content && 159s hg commit -m zero && 159s hg up -r null && 159s echo another > ocontent && 159s hg add ocontent && 159s hg commit -m one 159s ) && 159s 159s # -r 1 acts as master 159s ( 159s git init --bare gitrepo && cd gitrepo && 159s git remote add origin hg::../hgrepo && 159s git fetch origin refs/heads/*:refs/heads/* 159s ) && 159s 159s ( 159s cd hgrepo && 159s hg up 0 && 159s echo two > content && 159s hg commit -m two 159s ) && 159s 159s # now master already exists 159s # -r 2 becomes master head which has rev 0 as ancestor 159s # so when importing (parentless) rev 0, a reset is needed 159s # (to ensure rev 0 is not given a parent commit) 159s ( 159s cd gitrepo && 159s git fetch origin && 159s git log --format="%s" origin/master > ../actual 159s ) && 159s 159s hg -R hgrepo log -r . -f --template "{desc}\n" > expected && 159s test_cmp actual expected 159s 160s 0 files updated, 0 files merged, 1 files removed, 0 files unresolved 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 created new head 160s Initialized empty Git repository in /tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/gitrepo/ 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 WARNING: capability_push is disabled, only do so when really sure 160s WARNING: various enhanced features might fail in subtle ways 160s adding changesets 160s adding manifests 160s adding file changes 160s added 2 changesets with 2 changes to 2 files (+1 heads) 160s new changesets 49390a8c5be3:69ed5edd3364 160s WARNING: Branch 'default' has more than one head, consider merging 160s WARNING: Branch 'default' has more than one head, consider merging 160s progress revision 1 'default' (0/1) 160s From hg::../hgrepo 160s * [new branch] branches/default -> branches/default 160s * [new branch] master -> master 160s * [new branch] branches/default -> origin/branches/default 160s * [new branch] master -> origin/master 161s 1 files updated, 0 files merged, 1 files removed, 0 files unresolved 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 WARNING: capability_push is disabled, only do so when really sure 161s WARNING: various enhanced features might fail in subtle ways 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 new changesets b88608c55a85 161s WARNING: Branch 'default' has more than one head, consider merging 161s progress revision walk 'branches/default' (2/2) 161s progress revision 0 'default' (0/2) 161s From hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo 161s + 3a2b542...d7fbd26 branches/default -> origin/branches/default (forced update) 161s + 3a2b542...d7fbd26 master -> origin/master (forced update) 161s ok 28 - fetch multiple independent histories 161s 161s expecting success: 161s test_when_finished "rm -rf gitrepo* hgrepo*" && 161s 161s ( 161s hg init hgrepo && 161s cd hgrepo && 161s echo a > a && 161s hg add a && 161s hg commit -m a && 161s hg bookmark -r null bookmark 161s ) && 161s 161s ( 161s git clone "hg::hgrepo" gitrepo && 161s check gitrepo HEAD a && 161s cd gitrepo && 161s git checkout --quiet -b bookmark && 161s git remote -v && 161s echo b > b && 161s git add b && 161s git commit -m b && 161s git push origin bookmark 161s ) 161s 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 WARNING: capability_push is disabled, only do so when really sure 162s WARNING: various enhanced features might fail in subtle ways 162s adding changesets 162s adding manifests 162s adding file changes 162s adding remote bookmark bookmark 162s added 1 changesets with 1 changes to 1 files 162s new changesets 02396a096b71 162s WARNING: Ignoring invalid bookmark 'bookmark' 162s progress revision walk 'bookmarks/master' (0/0) 162s progress revision 0 'master' (0/1) 163s origin hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo (fetch) 163s origin hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo (push) 163s [bookmark 4c5aa89] b 163s Author: A U Thor 163s 1 file changed, 1 insertion(+) 163s create mode 100644 b 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 WARNING: capability_push is disabled, only do so when really sure 163s WARNING: various enhanced features might fail in subtle ways 163s no changes found 163s WARNING: Ignoring invalid bookmark 'bookmark' 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 To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo 163s * [new branch] bookmark -> bookmark 163s ok 29 - clone remote with null bookmark, then push 163s 163s expecting success: 163s test_when_finished "rm -rf hgrepo gitrepo" && 163s 163s ( 163s hg init hgrepo && 163s cd hgrepo && 163s echo one > content && 163s hg add content && 163s hg commit -m one && 163s echo two > content && 163s hg commit -m two 163s ) && 163s 163s git clone "hg::hgrepo" gitrepo && 163s hg -R hgrepo log --template "{node}\n\n" > expected && 163s git --git-dir=gitrepo/.git log --pretty="tformat:%N" --notes=hg > actual && 163s test_cmp expected actual 163s 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 WARNING: capability_push is disabled, only do so when really sure 164s WARNING: various enhanced features might fail in subtle ways 164s adding changesets 164s adding manifests 164s adding file changes 164s added 2 changesets with 2 changes to 1 files 164s new changesets 42ffb7e4bf61:24e76158e759 164s progress revision walk 'bookmarks/master' (1/1) 164s progress revision 0 'master' (0/2) 164s ok 30 - notes 164s 164s checking known breakage: 164s test_when_finished "rm -rf hgrepo gitrepo" && 164s 164s ( 164s hg init hgrepo && 164s cd hgrepo && 164s echo one > content && 164s hg add content && 164s hg commit -m one 164s ) && 164s 164s git clone "hg::hgrepo" gitrepo && 164s 164s ( 164s cd gitrepo && 164s echo two > content && 164s git commit -a -m two && 164s git push 164s ) && 164s 164s hg -R hgrepo log --template "{node}\n\n" > expected && 164s git --git-dir=gitrepo/.git log --pretty="tformat:%N" --notes=hg > actual && 164s test_cmp expected actual 164s 165s Cloning into 'gitrepo'... 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) 165s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 165s or locale.getdefaultlocale()[1] 165s WARNING: capability_push is disabled, only do so when really sure 165s WARNING: various enhanced features might fail in subtle ways 165s adding changesets 165s adding manifests 165s adding file changes 165s added 1 changesets with 1 changes to 1 files 165s new changesets 0a124776ef3e 165s progress revision walk 'bookmarks/master' (0/0) 165s progress revision 0 'master' (0/1) 165s [master 5fc6859] two 165s Author: A U Thor 165s 1 file changed, 1 insertion(+), 1 deletion(-) 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) 165s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 165s or locale.getdefaultlocale()[1] 165s WARNING: capability_push is disabled, only do so when really sure 165s WARNING: various enhanced features might fail in subtle ways 165s no changes found 165s searching for changes 165s adding changesets 165s adding manifests 165s adding file changes 165s added 1 changesets with 1 changes to 1 files 165s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo 165s 64a2792..5fc6859 master -> master 166s --- expected 2025-10-18 23:02:23.156577609 +0000 166s +++ actual 2025-10-18 23:02:23.183577838 +0000 166s @@ -1,4 +1,3 @@ 166s -094cf44dec14adcd2ef83d328bc70cab804c2fcc 166s 166s 0a124776ef3e4055e225151bca173c2a44c70212 166s 166s not ok 31 - push updates notes # TODO known breakage 166s 166s expecting success: 166s test_when_finished "rm -rf hgrepo gitrepo" && 166s 166s ( 166s hg init hgrepo && 166s cd hgrepo && 166s echo one > content && 166s hg add content && 166s hg commit -m one 166s ) && 166s 166s git clone "hg::hgrepo" gitrepo && 166s 166s ( 166s cd gitrepo && 166s echo two > content && 166s git commit -a -m two && 166s git push origin master && 166s git branch feature-a && 166s git push origin feature-a 166s ) && 166s 166s check_bookmark hgrepo feature-a two 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) 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 WARNING: capability_push is disabled, only do so when really sure 167s WARNING: various enhanced features might fail in subtle ways 167s adding changesets 167s adding manifests 167s adding file changes 167s added 1 changesets with 1 changes to 1 files 167s new changesets 7feb3ce7b594 167s progress revision walk 'bookmarks/master' (0/0) 167s progress revision 0 'master' (0/1) 167s [master c26b44c] two 167s Author: A U Thor 167s 1 file changed, 1 insertion(+), 1 deletion(-) 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 WARNING: capability_push is disabled, only do so when really sure 167s WARNING: various enhanced features might fail in subtle ways 167s no changes found 167s searching for changes 167s adding changesets 167s adding manifests 167s adding file changes 167s added 1 changesets with 1 changes to 1 files 167s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo 167s 7381333..c26b44c master -> master 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 WARNING: capability_push is disabled, only do so when really sure 167s WARNING: various enhanced features might fail in subtle ways 167s no changes found 167s 1 local changesets published 167s searching for changes 167s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo 167s * [new branch] feature-a -> feature-a 168s ok 32 - push bookmark without changesets 168s 168s expecting success: 168s test_when_finished "rm -rf hgrepo gitrepo" && 168s 168s ( 168s hg init hgrepo && 168s cd hgrepo && 168s echo one > content && 168s hg add content && 168s hg commit -m one 168s ) && 168s 168s git clone "hg::hgrepo" gitrepo && 168s 168s (cd hgrepo && hg tag v1.0) && 168s (cd gitrepo && git pull) && 168s 168s echo "v1.0" > expected && 168s git --git-dir=gitrepo/.git tag > actual && 168s test_cmp expected actual 168s 168s Cloning into 'gitrepo'... 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: capability_push is disabled, only do so when really sure 168s WARNING: various enhanced features might fail in subtle ways 168s adding changesets 168s adding manifests 168s adding file changes 168s added 1 changesets with 1 changes to 1 files 168s new changesets 00231691bf58 168s progress revision walk 'bookmarks/master' (0/0) 168s progress revision 0 'master' (0/1) 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 WARNING: capability_push is disabled, only do so when really sure 169s WARNING: various enhanced features might fail in subtle ways 169s searching for changes 169s adding changesets 169s adding manifests 169s adding file changes 169s added 1 changesets with 1 changes to 1 files 169s new changesets ffc7bad8c042 169s progress revision 1 'default' (0/1) 169s From hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo 169s 5f217b9..71ebc26 master -> origin/master 169s 5f217b9..71ebc26 branches/default -> origin/branches/default 169s * [new tag] v1.0 -> v1.0 169s Updating 5f217b9..71ebc26 169s Fast-forward 169s .hgtags | 1 + 169s 1 file changed, 1 insertion(+) 169s create mode 100644 .hgtags 169s ok 33 - pull tags 169s 169s expecting success: 169s test_when_finished "rm -rf hgrepo gitrepo" && 169s 169s ( 169s hg init hgrepo && 169s cd hgrepo && 169s echo one > content && 169s hg add content && 169s hg commit -m one && 169s hg branch feature && 169s echo two > content && 169s hg commit -m two && 169s hg update default && 169s echo three > content && 169s hg commit -m three 169s ) && 169s 169s ( 169s git clone "hg::hgrepo" gitrepo && 169s cd gitrepo && 169s git merge -m Merge -Xtheirs origin/branches/feature && 169s git push 169s ) && 169s 169s cat > expected <<-EOF && 169s Merge 169s three 169s two 169s one 169s EOF 169s hg -R hgrepo log --template "{desc}\n" > actual && 169s test_cmp expected actual 169s 170s marked working directory as branch feature 170s (branches are permanent and global, did you want a bookmark?) 170s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 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) 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 WARNING: capability_push is disabled, only do so when really sure 171s WARNING: various enhanced features might fail in subtle ways 171s adding changesets 171s adding manifests 171s adding file changes 171s added 3 changesets with 3 changes to 1 files (+1 heads) 171s new changesets 79f3c4fbad37:92444cb9dc72 171s progress revision walk 'bookmarks/master' (2/2) 171s progress revision 0 'master' (0/2) 171s progress revision 1 'feature' (0/1) 171s Auto-merging content 171s Merge made by the 'ort' strategy. 171s content | 2 +- 171s 1 file changed, 1 insertion(+), 1 deletion(-) 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 WARNING: capability_push is disabled, only do so when really sure 171s WARNING: various enhanced features might fail in subtle ways 171s no changes found 171s searching for changes 171s adding changesets 171s adding manifests 171s adding file changes 171s added 1 changesets with 1 changes to 1 files (-1 heads) 171s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo 171s 3bb28ec..f5066f3 master -> master 171s ok 34 - push merged named branch 171s 171s expecting success: 171s test_when_finished "rm -rf hgrepo gitrepo" && 171s 171s ( 171s hg init hgrepo && 171s cd hgrepo && 171s echo one > content && 171s hg add content && 171s hg commit -m one 171s ) && 171s 171s ( 171s git clone "hg::hgrepo" gitrepo && 171s cd gitrepo && 171s git tag v1.0 && 171s git push --tags 171s ) && 171s 171s echo "C O Mitter " > expected && 171s hg -R hgrepo log --template "{author}\n" -r tip > actual && 171s test_cmp expected actual 171s 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 WARNING: capability_push is disabled, only do so when really sure 172s WARNING: various enhanced features might fail in subtle ways 172s adding changesets 172s adding manifests 172s adding file changes 172s added 1 changesets with 1 changes to 1 files 172s new changesets 045556ff34b3 172s progress revision walk 'bookmarks/master' (0/0) 172s progress revision 0 'master' (0/1) 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) 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: capability_push is disabled, only do so when really sure 173s WARNING: various enhanced features might fail in subtle ways 173s no changes found 173s searching for changes 173s adding changesets 173s adding manifests 173s adding file changes 173s added 1 changesets with 1 changes to 1 files 173s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo 173s * [new tag] v1.0 -> v1.0 173s ok 35 - light tag sets author 173s 173s expecting success: 173s test_when_finished "rm -rf hgrepo gitrepo" && 173s 173s ( 173s hg init hgrepo && 173s cd hgrepo && 173s echo one > content && 173s hg add content && 173s hg commit -m one && 173s hg branch feature && 173s echo two > content && 173s hg commit -m two 173s ) && 173s 173s ( 173s git clone "hg::hgrepo" gitrepo && 173s cd gitrepo && 173s git branch && 173s git checkout branches/feature && 173s git tag v1.0 && 173s git push --tags 173s ) && 173s 173s echo feature > expected && 173s hg -R hgrepo log --template="{branch}\n" -r tip > actual && 173s test_cmp expected actual 173s 174s marked working directory as branch feature 174s (branches are permanent and global, did you want a bookmark?) 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 WARNING: capability_push is disabled, only do so when really sure 174s WARNING: various enhanced features might fail in subtle ways 174s adding changesets 174s adding manifests 174s adding file changes 174s added 2 changesets with 2 changes to 1 files 174s new changesets 150bd9133501:88d96ca0173d 174s progress revision walk 'bookmarks/master' (0/0) 174s progress revision 0 'master' (0/1) 174s progress revision 1 'feature' (0/1) 175s * master 175s Switched to a new branch 'branches/feature' 175s branch 'branches/feature' set up to track 'origin/branches/feature'. 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 WARNING: capability_push is disabled, only do so when really sure 175s WARNING: various enhanced features might fail in subtle ways 175s no changes found 175s searching for changes 175s adding changesets 175s adding manifests 175s adding file changes 175s added 1 changesets with 1 changes to 1 files 175s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo 175s * [new tag] v1.0 -> v1.0 175s ok 36 - push tag different branch 175s 175s expecting success: 175s test_when_finished "rm -rf hgrepo gitrepo" && 175s 175s ( 175s hg init hgrepo && 175s cd hgrepo && 175s 175s echo test > test_file && 175s hg add test_file && 175s hg commit -m add && 175s 175s hg rm test_file && 175s hg commit -m remove 175s ) && 175s 175s git clone "hg::hgrepo" gitrepo && 175s check_files gitrepo 175s 176s Cloning into 'gitrepo'... 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 WARNING: capability_push is disabled, only do so when really sure 176s WARNING: various enhanced features might fail in subtle ways 176s adding changesets 176s adding manifests 176s adding file changes 176s added 2 changesets with 1 changes to 1 files 176s new changesets 44c2b607fd7c:8daa8ebaa187 176s progress revision walk 'bookmarks/master' (1/1) 176s progress revision 0 'master' (0/2) 176s ok 37 - cloning a removed file works 176s 176s expecting success: 176s test_when_finished "rm -rf hgrepo gitrepo" && 176s 176s ( 176s hg init hgrepo && 176s cd hgrepo && 176s 176s echo test > dir_or_file && 176s hg add dir_or_file && 176s hg commit -m add && 176s 176s hg rm dir_or_file && 176s mkdir dir_or_file && 176s echo test > dir_or_file/test_file && 176s hg add dir_or_file/test_file && 176s hg commit -m replase 176s ) && 176s 176s git clone "hg::hgrepo" gitrepo && 176s check_files gitrepo "dir_or_file/test_file" 176s 178s Cloning into 'gitrepo'... 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 WARNING: capability_push is disabled, only do so when really sure 178s WARNING: various enhanced features might fail in subtle ways 178s adding changesets 178s adding manifests 178s adding file changes 178s added 2 changesets with 2 changes to 2 files 178s new changesets 74e6a746ac14:cbfd2455865d 178s progress revision walk 'bookmarks/master' (1/1) 178s progress revision 0 'master' (0/2) 178s ok 38 - cloning a file replaced with a directory 178s 178s expecting success: 178s test_when_finished "rm -rf hgrepo gitrepo" && 178s 178s ( 178s hg init hgrepo && 178s cd hgrepo && 178s 178s mkdir dir_or_file && 178s echo test > dir_or_file/test_file && 178s hg add dir_or_file/test_file && 178s hg commit -m add && 178s 178s hg rm dir_or_file/test_file && 178s echo test > dir_or_file && 178s hg add dir_or_file && 178s hg commit -m add && 178s 178s hg rm dir_or_file 178s ) && 178s 178s git clone "hg::hgrepo" gitrepo && 178s check_files gitrepo "dir_or_file" 178s 179s Cloning into 'gitrepo'... 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) 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 progress revision walk 'bookmarks/master' (1/1) 180s WARNING: capability_push is disabled, only do so when really sure 180s WARNING: various enhanced features might fail in subtle ways 180s adding changesets 180s adding manifests 180s adding file changes 180s added 2 changesets with 2 changes to 2 files 180s new changesets 9ffdf2b0ea00:fd8af26f36df 180s progress revision 0 'master' (0/2) 180s ok 39 - clone replace directory with a file 180s 180s expecting success: 180s test_when_finished "rm -rf hgrepo gitrepo" && 180s 180s ( 180s hg init hgrepo && 180s cd hgrepo && 180s 180s touch test.txt && 180s hg add test.txt && 180s hg commit -m master && 180s hg branch parent && 180s echo test >test.txt && 180s hg commit -m test && 180s hg branch parent/child && 180s echo test1 >test.txt && 180s hg commit -m test1 180s ) && 180s 180s git clone -c remote-hg.ignore-name=child "hg::hgrepo" gitrepo && 180s check_files gitrepo "test.txt" 180s 180s marked working directory as branch parent 180s (branches are permanent and global, did you want a bookmark?) 181s marked working directory as branch parent/child 181s Cloning into 'gitrepo'... 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 WARNING: capability_push is disabled, only do so when really sure 181s WARNING: various enhanced features might fail in subtle ways 181s adding changesets 181s adding manifests 181s adding file changes 181s added 3 changesets with 3 changes to 1 files 181s new changesets 323c0e37da3d:e9ce0b1beede 181s WARNING: Ignoring matched branch parent/child 181s progress revision walk 'bookmarks/master' (0/0) 181s progress revision 0 'master' (0/1) 181s progress revision 1 'parent' (0/1) 181s ok 40 - clone can ignore invalid refnames 181s 181s expecting success: 181s test_when_finished "rm -rf hgrepo gitrepo" && 181s 181s ( 181s hg init hgrepo && 181s cd hgrepo && 181s echo one > content && 181s hg add content && 181s hg commit -m one 181s ) && 181s 181s ( 181s git clone "hg::hgrepo" gitrepo && 181s cd gitrepo && 181s git tag -m "Version 1.0" v1.0 && 181s git push --tags 181s ) && 181s 181s cat > expected <<-\EOF && 181s tip:Version 1.0:C O Mitter 181s v1.0:one:H G Wells 181s EOF 181s 181s hg -R hgrepo log --template "{tags}:{desc}:{author}\n" > actual && 181s 181s test_cmp expected actual 181s 182s Cloning into 'gitrepo'... 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 WARNING: capability_push is disabled, only do so when really sure 182s WARNING: various enhanced features might fail in subtle ways 182s adding changesets 182s adding manifests 182s adding file changes 182s added 1 changesets with 1 changes to 1 files 182s new changesets b298bfc345a2 182s progress revision walk 'bookmarks/master' (0/0) 182s progress revision 0 'master' (0/1) 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) 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 WARNING: capability_push is disabled, only do so when really sure 183s WARNING: various enhanced features might fail in subtle ways 183s no changes found 183s searching for changes 183s adding changesets 183s adding manifests 183s adding file changes 183s added 1 changesets with 1 changes to 1 files 183s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo 183s * [new tag] v1.0 -> v1.0 183s ok 41 - push annotated tag 183s 183s expecting success: 183s test_when_finished "rm -rf hgrepo gitrepo1 gitrepo2" && 183s 183s hg init hgrepo && 183s 183s ( 183s git clone "hg::hgrepo" gitrepo1 && 183s cd gitrepo1 && 183s echo two >> content && 183s git add content && 183s git commit -m two --date="2016-09-26 00:00:00 -0230" && 183s git push 183s ) && 183s 183s git clone "hg::hgrepo" gitrepo2 && 183s 183s git --git-dir=gitrepo1/.git log -1 --format="%ai" > expected && 183s git --git-dir=gitrepo2/.git log -1 --format="%ai" > actual && 183s test_cmp expected actual 183s 183s Cloning into 'gitrepo1'... 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 WARNING: capability_push is disabled, only do so when really sure 183s WARNING: various enhanced features might fail in subtle ways 183s no changes found 183s warning: You appear to have cloned an empty repository. 183s [master (root-commit) 9f40cc0] two 183s Author: A U Thor 183s Date: Mon Sep 26 00:00:00 2016 -0230 183s 1 file changed, 1 insertion(+) 183s create mode 100644 content 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) 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 WARNING: capability_push is disabled, only do so when really sure 184s WARNING: various enhanced features might fail in subtle ways 184s no changes found 184s searching for changes 184s adding changesets 184s adding manifests 184s adding file changes 184s added 1 changesets with 1 changes to 1 files 184s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main/tmp/hgrepo 184s * [new branch] master -> master 184s Cloning into 'gitrepo2'... 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 WARNING: capability_push is disabled, only do so when really sure 184s WARNING: various enhanced features might fail in subtle ways 184s adding changesets 184s adding manifests 184s adding file changes 184s added 1 changesets with 1 changes to 1 files 184s new changesets e522f351d13b 184s progress revision walk 'bookmarks/master' (0/0) 184s progress revision 0 'master' (0/1) 184s ok 42 - timezone issues with negative offsets 184s 184s # still have 2 known breakage(s) 184s # passed all remaining 40 test(s) 184s 1..42 184s /bin/sh main-push.t --verbose 184s expecting success: 184s ( 184s hg init hgrepo && 184s cd hgrepo && 184s echo zero > content && 184s hg add content && 184s hg commit -m zero 184s ) 184s 185s ok 1 - setup 185s 185s expecting success: 185s test_when_finished "rm -rf gitrepo*" && 185s git clone "hg::hgrepo" gitrepo && 185s check gitrepo HEAD zero 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) 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 adding changesets 185s adding manifests 185s adding file changes 185s added 1 changesets with 1 changes to 1 files 185s new changesets 4587c8f8249e 185s progress revision walk 'bookmarks/master' (0/0) 185s progress revision 0 'master' (0/1) 185s ok 2 - cloning 185s 185s expecting success: 185s test_when_finished "rm -rf gitrepo*" && 185s 185s ( 185s cd hgrepo && 185s hg branch next && 185s echo next > content && 185s hg commit -m next 185s ) && 185s 185s git clone "hg::hgrepo" gitrepo && 185s check gitrepo origin/branches/next next 185s 185s marked working directory as branch next 185s (branches are permanent and global, did you want a bookmark?) 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 2 changesets with 2 changes to 1 files 186s new changesets 4587c8f8249e:29b80a1ed5fc 186s progress revision walk 'bookmarks/master' (0/0) 186s progress revision 0 'master' (0/1) 186s progress revision 1 'next' (0/1) 186s ok 3 - cloning with branches 186s 186s expecting success: 186s test_when_finished "rm -rf gitrepo*" && 186s 186s ( 186s cd hgrepo && 186s hg checkout default && 186s hg bookmark feature-a && 186s echo feature-a > content && 186s hg commit -m feature-a 186s ) && 186s 186s git clone "hg::hgrepo" gitrepo && 186s check gitrepo origin/feature-a feature-a 186s 186s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 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) 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 adding remote bookmark feature-a 187s added 3 changesets with 3 changes to 1 files (+1 heads) 187s new changesets 4587c8f8249e:ee88a53914d1 187s progress revision walk 'bookmarks/master' (2/2) 187s progress revision 0 'master' (0/2) 187s progress revision 1 'next' (0/1) 187s ok 4 - cloning with bookmarks 187s 187s expecting success: 187s test_when_finished "rm -rf gitrepo*" && 187s 187s ( 187s cd hgrepo && 187s hg bookmark devel 187s ) && 187s 187s ( 187s git clone "hg::hgrepo" gitrepo && 187s cd gitrepo && 187s git checkout --quiet devel && 187s echo devel > content && 187s git commit -a -m devel && 187s git push --quiet origin devel 187s ) && 187s 187s check_bookmark hgrepo devel devel 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 adding remote bookmark devel 187s adding remote bookmark feature-a 187s added 3 changesets with 3 changes to 1 files (+1 heads) 187s new changesets 4587c8f8249e:ee88a53914d1 187s progress revision walk 'bookmarks/master' (2/2) 187s progress revision 0 'master' (0/2) 187s progress revision 1 'next' (0/1) 187s [devel eff75a1] devel 187s Author: A U Thor 187s 1 file changed, 1 insertion(+), 1 deletion(-) 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] 188s no changes found 188s searching for changes 188s adding changesets 188s adding manifests 188s adding file changes 188s added 1 changesets with 1 changes to 1 files 188s ok 5 - update bookmark 188s 188s expecting success: 188s test_when_finished "rm -rf gitrepo*" && 188s 188s ( 188s git clone "hg::hgrepo" gitrepo && 188s cd gitrepo && 188s git checkout --quiet -b feature-b && 188s echo feature-b > content && 188s git commit -a -m feature-b && 188s git push --quiet origin feature-b 188s ) && 188s 188s check_bookmark hgrepo feature-b feature-b 188s 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 adding remote bookmark devel 188s adding remote bookmark feature-a 188s added 4 changesets with 4 changes to 1 files (+1 heads) 188s new changesets 4587c8f8249e:d37a988c4da2 188s progress revision walk 'bookmarks/master' (3/3) 188s progress revision 0 'master' (0/3) 188s progress revision 1 'next' (0/1) 188s [feature-b dcc165f] feature-b 188s Author: A U Thor 188s 1 file changed, 1 insertion(+), 1 deletion(-) 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 no changes found 188s searching for changes 188s adding changesets 188s adding manifests 188s adding file changes 188s added 1 changesets with 1 changes to 1 files 189s ok 6 - new bookmark 189s 189s expecting success: 189s test_when_finished "rm -rf hgrepo gitrepo" && 189s 189s ( 189s hg init hgrepo && 189s cd hgrepo && 189s 189s touch content && 189s hg add content && 189s 189s > ../expected && 189s author_test alpha "" "H G Wells " && 189s author_test beta "beta" "beta " && 189s author_test gamma "gamma (comment)" "gamma " && 189s author_test delta "" "Unknown " && 189s author_test epsilon "epsilon" "epsilon " && 189s author_test zeta "zeta " && 189s author_test eta " eta " "eta " && 189s author_test theta "theta < test@example.com >" "theta " && 189s author_test iota "iota >test@example.com>" "iota " && 189s author_test kappa "kappa < test example com>" "kappa " && 189s author_test lambda "lambda@example.com" "Unknown " && 189s author_test mu "mu.mu@example.com" "Unknown " 189s ) && 189s 189s git clone "hg::hgrepo" gitrepo && 189s git --git-dir=gitrepo/.git log --reverse --format="%an <%ae>" > actual && 189s 189s test_cmp expected actual 189s 191s Cloning into 'gitrepo'... 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) 192s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 192s or locale.getdefaultlocale()[1] 192s adding changesets 192s adding manifests 192s adding file changes 192s added 12 changesets with 12 changes to 1 files 192s new changesets 8bf4b46776d1:31089166ec6d 192s progress revision walk 'bookmarks/master' (11/11) 192s progress revision 0 'master' (0/12) 192s ok 7 - authors 192s 192s expecting success: 192s test_when_finished "rm -rf hgrepo gitrepo" && 192s 192s ( 192s hg init hgrepo && 192s cd hgrepo && 192s 192s echo one >> content && 192s hg add content && 192s hg commit -m one && 192s 192s echo two >> content && 192s hg commit -m two 192s ) && 192s 192s git clone "hg::hgrepo" gitrepo && 192s 192s ( 192s cd hgrepo && 192s hg strip 1 && 192s 192s echo three >> content && 192s hg commit -m three && 192s 192s echo four >> content && 192s hg commit -m four 192s ) && 192s 192s ( 192s cd gitrepo && 192s git fetch && 192s git log --format="%s" origin/master > ../actual 192s ) && 192s 192s hg -R hgrepo log --template "{desc}\n" > expected && 192s test_cmp actual expected 192s 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 2 changes to 1 files 193s new changesets 98e7be9849b8:36bfc7f0cae6 193s progress revision walk 'bookmarks/master' (1/1) 193s progress revision 0 'master' (0/2) 193s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 193s saved backup bundle to /tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/hgrepo/.hg/strip-backup/36bfc7f0cae6-bd165eb5-backup.hg 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 /usr/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 searching for changes 194s adding changesets 194s adding manifests 194s adding file changes 194s added 2 changesets with 2 changes to 1 files (+1 heads) 194s new changesets 59f1ae57d6ec:b109994da645 194s progress revision 2 'default' (0/2) 194s From hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/hgrepo 194s + afeaa7f...4f0ba2d master -> origin/master (forced update) 194s + afeaa7f...4f0ba2d branches/default -> origin/branches/default (forced update) 194s ok 8 - strip 194s 194s expecting success: 194s test_when_finished "rm -rf hgrepo gitrepo*" && 194s 194s ( 194s hg init hgrepo && 194s cd hgrepo && 194s echo zero > content && 194s hg add content && 194s hg commit -m zero && 194s hg bookmark master && 194s echo one > content && 194s hg commit -m one 194s ) && 194s 194s ( 194s git clone "hg::hgrepo" gitrepo && 194s cd gitrepo && 194s echo two > content && 194s git commit -a -m two && 194s git push 194s ) && 194s 194s check_branch hgrepo default two 194s 195s Cloning into 'gitrepo'... 195s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 195s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 195s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 195s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 195s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 195s or locale.getdefaultlocale()[1] 195s adding changesets 195s adding manifests 195s adding file changes 195s adding remote bookmark master 195s added 2 changesets with 2 changes to 1 files 195s new changesets b7c8af605622:9562af4411b1 195s progress revision walk 'bookmarks/default' (1/1) 195s progress revision 0 'default' (0/2) 195s [default 4cb6b08] two 195s Author: A U Thor 195s 1 file changed, 1 insertion(+), 1 deletion(-) 195s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 195s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 195s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 195s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 195s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 195s or locale.getdefaultlocale()[1] 196s no changes found 196s searching for changes 196s adding changesets 196s adding manifests 196s adding file changes 196s added 1 changesets with 1 changes to 1 files 196s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/hgrepo 196s fffffff..4cb6b08 default -> default 196s ok 9 - remote push with master bookmark 196s 196s expecting success: 196s test_when_finished "rm -rf hgrepo gitrepo*" && 196s 196s hg init hgrepo && 196s 196s ( 196s git init gitrepo && 196s cd gitrepo && 196s git remote add origin "hg::../hgrepo" && 196s echo one > content && 196s git add content && 196s git commit -a -m one && 196s git push origin master 196s ) && 196s 196s hg -R hgrepo log > actual && 196s cat actual && 196s test_cmp expected actual && 196s 196s check_branch hgrepo default one 196s 196s Initialized empty Git repository in /tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/gitrepo/.git/ 196s [master (root-commit) 64caca5] one 196s Author: A U Thor 196s 1 file changed, 1 insertion(+) 196s create mode 100644 content 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 no changes found 196s searching for changes 196s adding changesets 196s adding manifests 196s adding file changes 196s added 1 changesets with 1 changes to 1 files 196s To hg::../hgrepo 196s * [new branch] master -> master 196s changeset: 0:6e2126489d3d 196s tag: tip 196s user: A U Thor 196s date: Mon Jan 01 00:00:00 2007 +0230 196s summary: one 196s 197s ok 10 - remote push from master branch 197s 197s expecting success: 197s test_when_finished "rm -rf gitrepo*" && 197s 197s ( 197s hg init hgrepo && 197s cd hgrepo && 197s echo zero > content && 197s hg add content && 197s hg commit -m zero 197s ) && 197s 197s git clone "hg::hgrepo" gitrepo && 197s check gitrepo HEAD zero 197s 197s Cloning into 'gitrepo'... 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] 198s adding changesets 198s adding manifests 198s adding file changes 198s added 1 changesets with 1 changes to 1 files 198s new changesets 6516a1116e82 198s progress revision walk 'bookmarks/master' (0/0) 198s progress revision 0 'master' (0/1) 198s ok 11 - remote cloning 198s 198s expecting success: 198s test_when_finished "rm -rf gitrepo*" && 198s 198s ( 198s git clone "hg::hgrepo" gitrepo && 198s mv gitrepo gitrepo2 && 198s cd gitrepo2 && 198s git fetch 198s ) 198s 198s Cloning into 'gitrepo'... 198s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 198s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 198s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 198s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 198s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 198s or locale.getdefaultlocale()[1] 198s adding changesets 198s adding manifests 198s adding file changes 198s added 1 changesets with 1 changes to 1 files 198s new changesets 6516a1116e82 198s progress revision walk 'bookmarks/master' (0/0) 198s progress revision 0 'master' (0/1) 198s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 198s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 198s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 198s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 198s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 198s or locale.getdefaultlocale()[1] 198s no changes found 198s ok 12 - moving remote clone 198s 198s expecting success: 198s test_when_finished "rm -rf gitrepo*" && 198s 198s ( 198s cd hgrepo && 198s hg bookmark devel 198s ) && 198s 198s ( 198s git clone "hg::hgrepo" gitrepo && 198s cd gitrepo && 198s git checkout --quiet devel && 198s echo devel > content && 198s git commit -a -m devel && 198s git push --quiet 198s ) && 198s 198s check_bookmark hgrepo devel devel 198s 198s Cloning into 'gitrepo'... 198s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 198s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 198s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 198s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 199s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 199s or locale.getdefaultlocale()[1] 199s adding changesets 199s adding manifests 199s adding file changes 199s adding remote bookmark devel 199s added 1 changesets with 1 changes to 1 files 199s new changesets 6516a1116e82 199s progress revision walk 'bookmarks/master' (0/0) 199s progress revision 0 'master' (0/1) 199s [devel 28be5bd] devel 199s Author: A U Thor 199s 1 file changed, 1 insertion(+), 1 deletion(-) 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) 199s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 199s or locale.getdefaultlocale()[1] 199s no changes found 199s searching for changes 199s adding changesets 199s adding manifests 199s adding file changes 199s added 1 changesets with 1 changes to 1 files 199s ok 13 - remote update bookmark 199s 199s expecting success: 199s test_when_finished "rm -rf gitrepo*" && 199s 199s ( 199s git clone "hg::hgrepo" gitrepo && 199s cd gitrepo && 199s git checkout --quiet -b feature-b && 199s echo feature-b > content && 199s git commit -a -m feature-b && 199s git push --quiet origin feature-b 199s ) && 199s 199s check_bookmark hgrepo feature-b feature-b 199s 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) 199s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 199s or locale.getdefaultlocale()[1] 200s adding changesets 200s adding manifests 200s adding file changes 200s adding remote bookmark devel 200s added 2 changesets with 2 changes to 1 files 200s new changesets 6516a1116e82:433cb25f0fa9 200s progress revision walk 'bookmarks/master' (1/1) 200s progress revision 0 'master' (0/2) 200s [feature-b 33bded5] feature-b 200s Author: A U Thor 200s 1 file changed, 1 insertion(+), 1 deletion(-) 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 no changes found 200s searching for changes 200s adding changesets 200s adding manifests 200s adding file changes 200s added 1 changesets with 1 changes to 1 files 200s ok 14 - remote new bookmark 200s 200s expecting success: 200s test_when_finished "rm -rf gitrepo*" && 200s 200s git clone "hg::hgrepo" gitrepo && 200s 200s ( 200s cd hgrepo && 200s hg checkout default && 200s echo bump > content && 200s hg commit -m bump 200s ) && 200s 200s ( 200s cd gitrepo && 200s echo diverge > content && 200s git commit -a -m diverged && 200s check_push 1 <<-\EOF 200s master:non-fast-forward 200s EOF 200s ) && 200s 200s check_branch hgrepo default bump 200s 200s Cloning into 'gitrepo'... 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 adding remote bookmark devel 200s adding remote bookmark feature-b 200s added 3 changesets with 3 changes to 1 files 200s new changesets 6516a1116e82:b945a5588ae2 200s progress revision walk 'bookmarks/master' (2/2) 200s progress revision 0 'master' (0/3) 201s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 201s (leaving bookmark devel) 201s [master e6aee59] diverged 201s Author: A U Thor 201s 1 file changed, 1 insertion(+), 1 deletion(-) 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 340343e8abfa 201s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/hgrepo 201s ! [rejected] master -> master (non-fast-forward) 201s error: failed to push some refs to 'hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/hgrepo' 201s hint: Updates were rejected because the tip of your current branch is behind 201s hint: its remote counterpart. If you want to integrate the remote changes, 201s hint: use 'git pull' before pushing again. 201s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 201s ! [rejected] master -> master (non-fast-forward) 201s ok 15 - remote push diverged 201s 201s expecting success: 201s test_when_finished "rm -rf gitrepo*" && 201s 201s ( 201s cd hgrepo && 201s hg checkout tip^ && 201s hg bookmark diverge 201s ) && 201s 201s git clone "hg::hgrepo" gitrepo && 201s 201s ( 201s cd hgrepo && 201s echo "bump bookmark" > content && 201s hg commit -m "bump bookmark" 201s ) && 201s 201s ( 201s cd gitrepo && 201s git checkout --quiet diverge && 201s echo diverge > content && 201s git commit -a -m diverge && 201s check_push 1 <<-\EOF 201s diverge:non-fast-forward 201s EOF 201s ) && 201s 201s check_bookmark hgrepo diverge "bump bookmark" 201s 202s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 202s Cloning into 'gitrepo'... 202s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 202s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 202s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 202s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 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 adding changesets 202s adding manifests 202s adding file changes 202s adding remote bookmark devel 202s adding remote bookmark diverge 202s adding remote bookmark feature-b 202s added 4 changesets with 4 changes to 1 files 202s new changesets 6516a1116e82:340343e8abfa 202s progress revision walk 'bookmarks/master' (3/3) 202s progress revision 0 'master' (0/4) 202s created new head 202s [diverge 4207b1d] diverge 202s Author: A U Thor 202s 1 file changed, 1 insertion(+), 1 deletion(-) 203s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 203s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 203s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 203s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 203s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 203s or locale.getdefaultlocale()[1] 203s searching for changes 203s adding changesets 203s adding manifests 203s adding file changes 203s updating bookmark diverge 203s added 1 changesets with 1 changes to 1 files (+1 heads) 203s new changesets 48cf692634e9 203s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/hgrepo 203s ! [rejected] diverge -> diverge (non-fast-forward) 203s error: failed to push some refs to 'hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/hgrepo' 203s hint: Updates were rejected because the tip of your current branch is behind 203s hint: its remote counterpart. If you want to integrate the remote changes, 203s hint: use 'git pull' before pushing again. 203s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 203s ! [rejected] diverge -> diverge (non-fast-forward) 203s ok 16 - remote update bookmark diverge 203s 203s expecting success: 203s test_when_finished "rm -rf gitrepo*" && 203s 203s ( 203s git clone "hg::hgrepo" gitrepo && 203s cd gitrepo && 203s git checkout --quiet -b feature-c HEAD^ && 203s echo feature-c > content && 203s git commit -a -m feature-c && 203s git push --quiet origin feature-c 203s ) && 203s 203s check_bookmark hgrepo feature-c feature-c 203s 203s Cloning into 'gitrepo'... 203s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 203s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 203s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 203s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 203s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 203s or locale.getdefaultlocale()[1] 203s adding changesets 203s adding manifests 203s adding file changes 203s adding remote bookmark devel 203s adding remote bookmark diverge 203s adding remote bookmark feature-b 203s added 5 changesets with 5 changes to 1 files (+1 heads) 203s new changesets 6516a1116e82:48cf692634e9 203s WARNING: Branch 'default' has more than one head, consider merging 203s progress revision walk 'bookmarks/master' (4/4) 203s progress revision 0 'master' (0/4) 203s [feature-c e9bdf96] feature-c 203s Author: A U Thor 203s 1 file changed, 1 insertion(+), 1 deletion(-) 203s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 203s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 203s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 203s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 204s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 204s or locale.getdefaultlocale()[1] 204s no changes found 204s searching for changes 204s adding changesets 204s adding manifests 204s adding file changes 204s added 1 changesets with 1 changes to 1 files (+1 heads) 204s ok 17 - remote new bookmark multiple branch head 204s 204s expecting success: 204s test_when_finished "rm -rf gitrepo hgrepo" && 204s 204s ( 204s hg init hgrepo && 204s cd hgrepo && 204s echo zero > content && 204s hg add content && 204s hg commit -m zero 204s ) && 204s 204s git clone "hg::hgrepo" gitrepo && 204s 204s ( 204s cd gitrepo && 204s cp content content-copy && 204s # recent git-fast-export is (too) picky in recognizing copies 204s # although git-log is not as picky; 204s # since https://github.com/git/git/commit/8096e1d385660c159d9d47e69b2be63cf22e4f31 204s # a copy is only marked if source filed not modified as well 204s # (though destination file can be modified) 204s echo one >> content-copy && 204s git add content content-copy && 204s git commit -m copy && 204s git mv content-copy content-moved 204s git commit -m moved && 204s git push origin master 204s ) && 204s 204s ( 204s hg -R hgrepo update && 204s test_cmp gitrepo/content hgrepo/content 204s test_cmp gitrepo/content-moved hgrepo/content-moved 204s cd hgrepo && 204s test `hg log -f content-moved | grep -c changeset` -eq 3 204s ) 204s 205s 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 1 changesets with 1 changes to 1 files 205s new changesets 01f29ad2f58f 205s progress revision walk 'bookmarks/master' (0/0) 205s progress revision 0 'master' (0/1) 205s [master 4d632c2] copy 205s Author: A U Thor 205s 1 file changed, 2 insertions(+) 205s create mode 100644 content-copy 205s [master eec5c08] moved 205s Author: A U Thor 205s 1 file changed, 0 insertions(+), 0 deletions(-) 205s rename content-copy => content-moved (100%) 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 no changes found 205s searching for changes 205s adding changesets 205s adding manifests 205s adding file changes 205s added 2 changesets with 2 changes to 2 files 205s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/hgrepo 205s fffffff..eec5c08 master -> master 205s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 206s ok 18 - push commits with copy and rename 206s 206s expecting success: 206s test_when_finished "rm -rf hgrepo gitrepo && LC_ALL=C" && 206s 206s LC_ALL=C.UTF-8 206s export LC_ALL 206s 206s ( 206s hg init hgrepo && 206s cd hgrepo && 206s 206s echo test >> "æ rø" && 206s hg add "æ rø" && 206s echo test >> "ø~?" && 206s hg add "ø~?" && 206s hg commit -m add-utf-8 && 206s echo test >> "æ rø" && 206s hg commit -m test-utf-8 && 206s hg rm "ø~?" && 206s hg mv "æ rø" "ø~?" && 206s hg commit -m hg-mv-utf-8 206s ) && 206s 206s ( 206s git clone "hg::hgrepo" gitrepo && 206s cd gitrepo && 206s git -c core.quotepath=false ls-files > ../actual 206s ) && 206s echo "ø~?" > expected && 206s test_cmp expected actual 206s 206s warning: filename contains '?', which is reserved on Windows: 'ø~?' 207s warning: filename contains '?', which is reserved on Windows: 'ø~?' 207s Cloning into 'gitrepo'... 207s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 207s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 207s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 207s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 207s adding changesets 207s adding manifests 207s adding file changes 207s added 3 changesets with 4 changes to 2 files 207s new changesets ba2407fa6d1a:18c85d860aa8 207s progress revision walk 'bookmarks/master' (2/2) 207s progress revision 0 'master' (0/3) 208s ok 19 - fetch special filenames 208s 208s expecting success: 208s test_when_finished "rm -rf hgrepo gitrepo && LC_ALL=C" && 208s 208s mkdir -p tmp && cd tmp && 208s 208s LC_ALL=C.UTF-8 208s export LC_ALL 208s 208s ( 208s hg init hgrepo && 208s cd hgrepo && 208s 208s echo one >> content && 208s hg add content && 208s hg commit -m one 208s ) && 208s 208s ( 208s git clone "hg::hgrepo" gitrepo && 208s cd gitrepo && 208s 208s echo test >> "æ rø" && 208s git add "æ rø" && 208s git commit -m utf-8 && 208s 208s git push 208s ) && 208s 208s (cd hgrepo && 208s hg update && 208s hg manifest > ../actual 208s ) && 208s 208s printf "content\næ rø\n" > expected && 208s test_cmp expected actual 208s 208s Cloning into 'gitrepo'... 208s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 208s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 208s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 208s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 208s adding changesets 208s adding manifests 208s adding file changes 208s added 1 changesets with 1 changes to 1 files 208s new changesets 04864fccd5a6 208s progress revision walk 'bookmarks/master' (0/0) 208s progress revision 0 'master' (0/1) 209s [master 4c0fd75] utf-8 209s Author: A U Thor 209s 1 file changed, 1 insertion(+) 209s create mode 100644 "\303\246 r\303\270" 209s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 209s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 209s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 209s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 209s no changes found 209s searching for changes 209s adding changesets 209s adding manifests 209s adding file changes 209s added 1 changesets with 1 changes to 1 files 209s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 209s fffffff..4c0fd75 master -> master 209s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 209s ok 20 - push special filenames 209s 209s expecting success: 209s test_when_finished "rm -rf hgrepo gitrepo*" && 209s 209s setup_big_push 209s 209s ( 209s cd gitrepo && 209s 209s check_push 1 --all <<-\EOF 209s master 209s good_bmark 209s branches/good_branch 209s new_bmark:new 209s branches/new_branch:new 209s bad_bmark1:non-fast-forward 209s bad_bmark2:non-fast-forward 209s branches/bad_branch:non-fast-forward 209s EOF 209s ) && 209s 209s if test "$CAPABILITY_PUSH" = "t" 209s then 209s # cap push handles refs one by one 209s # so it will push all requested it can 209s check_branch hgrepo default six && 209s check_branch hgrepo good_branch eight && 209s check_branch hgrepo bad_branch "bad branch" && 209s check_branch hgrepo new_branch ten && 209s check_bookmark hgrepo good_bmark three && 209s check_bookmark hgrepo bad_bmark1 one && 209s check_bookmark hgrepo bad_bmark2 one && 209s check_bookmark hgrepo new_bmark six 209s else 209s check_branch hgrepo default one && 209s check_branch hgrepo good_branch "good branch" && 209s check_branch hgrepo bad_branch "bad branch" && 209s check_branch hgrepo new_branch && 209s check_bookmark hgrepo good_bmark one && 209s check_bookmark hgrepo bad_bmark1 one && 209s check_bookmark hgrepo bad_bmark2 one && 209s check_bookmark hgrepo new_bmark 209s fi 209s 212s Cloning into 'gitrepo'... 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 adding changesets 212s adding manifests 212s adding file changes 212s adding remote bookmark bad_bmark1 212s adding remote bookmark bad_bmark2 212s adding remote bookmark good_bmark 212s added 4 changesets with 4 changes to 1 files 212s new changesets ad8092303d2b:19053693d56b 212s progress revision walk 'bookmarks/master' (1/1) 212s progress revision 0 'master' (0/2) 212s progress revision 2 'bad_branch' (0/2) 212s HEAD is now at 7973448 zero 212s HEAD is now at 7973448 zero 212s HEAD is now at 636b451 good branch 213s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 213s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 213s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 213s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 213s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 213s or locale.getdefaultlocale()[1] 213s no changes found 213s searching for changes 213s adding changesets 213s adding manifests 213s adding file changes 213s added 2 changesets with 2 changes to 1 files (+1 heads) 213s searching for changes 213s adding changesets 213s adding manifests 213s adding file changes 213s added 1 changesets with 1 changes to 1 files (+1 heads) 213s searching for changes 213s adding changesets 213s adding manifests 213s adding file changes 213s added 1 changesets with 1 changes to 1 files (+1 heads) 213s searching for changes 213s adding changesets 213s adding manifests 213s adding file changes 213s added 1 changesets with 1 changes to 1 files 213s searching for changes 213s adding changesets 213s adding manifests 213s adding file changes 213s added 1 changesets with 1 changes to 1 files (+1 heads) 213s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 213s fffffff..b3f5b56 branches/good_branch -> branches/good_branch 213s fffffff..6023510 good_bmark -> good_bmark 213s fffffff..61e939e master -> master 213s * [new branch] branches/new_branch -> branches/new_branch 213s * [new branch] new_bmark -> new_bmark 213s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 213s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 213s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 213s error: failed to push some refs to 'hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo' 213s hint: Updates were rejected because a pushed branch tip is behind its remote 213s hint: counterpart. If you want to integrate the remote changes, use 'git pull' 213s hint: before pushing again. 213s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 213s fffffff..61e939e master -> master 213s fffffff..6023510 good_bmark -> good_bmark 213s fffffff..b3f5b56 branches/good_branch -> branches/good_branch 213s * [new branch] new_bmark -> new_bmark 213s * [new branch] branches/new_branch -> branches/new_branch 213s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 213s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 213s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 214s ok 21 - remote big push 214s 214s expecting success: 214s test_when_finished "rm -rf hgrepo gitrepo*" && 214s 214s ( 214s hg init hgrepo && 214s cd hgrepo && 214s echo zero > content && 214s hg add content && 214s hg commit -m zero && 214s hg bookmark bad_bmark && 214s hg bookmark good_bmark && 214s hg bookmark -i good_bmark && 214s hg -q branch good_branch && 214s echo "good branch" > content && 214s hg commit -m "good branch" && 214s hg -q branch bad_branch && 214s echo "bad branch" > content && 214s hg commit -m "bad branch" 214s ) && 214s 214s git clone "hg::hgrepo" gitrepo && 214s 214s ( 214s cd hgrepo && 214s hg bookmark -f bad_bmark && 214s echo update_bmark > content && 214s hg commit -m "update bmark" 214s ) && 214s 214s ( 214s cd gitrepo && 214s echo two > content && 214s git commit -q -a -m two && 214s 214s git checkout -q good_bmark && 214s echo three > content && 214s git commit -q -a -m three && 214s 214s git checkout -q bad_bmark && 214s echo four > content && 214s git commit -q -a -m four && 214s 214s git checkout -q branches/bad_branch && 214s echo five > content && 214s git commit -q -a -m five && 214s 214s check_push 1 --all <<-\EOF && 214s master 214s good_bmark 214s bad_bmark:non-fast-forward 214s branches/bad_branch:non-fast-forward 214s EOF 214s 214s git fetch && 214s 214s if test "$CAPABILITY_PUSH" = "t" 214s then 214s # cap push handles refs one by one 214s # so it will already have pushed some above previously 214s # (and master is a fake one that jumps around a bit) 214s check_push 1 --all <<-\EOF 214s bad_bmark:non-fast-forward 214s branches/bad_branch:non-fast-forward 214s EOF 214s else 214s check_push 1 --all <<-\EOF 214s master 214s good_bmark 214s bad_bmark:non-fast-forward 214s branches/bad_branch:non-fast-forward 214s EOF 214s fi 214s ) 214s 216s Cloning into 'gitrepo'... 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: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 adding remote bookmark bad_bmark 216s adding remote bookmark good_bmark 216s added 3 changesets with 3 changes to 1 files 216s new changesets 7a0a64e39ee2:a7a45e366832 216s progress revision walk 'bookmarks/master' (0/0) 216s progress revision 0 'master' (0/1) 216s progress revision 1 'bad_branch' (0/2) 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 searching for changes 217s adding changesets 217s adding manifests 217s adding file changes 217s updating bookmark bad_bmark 217s added 1 changesets with 1 changes to 1 files 217s new changesets cbcddf82c51c 217s searching for changes 217s adding changesets 217s adding manifests 217s adding file changes 217s added 1 changesets with 1 changes to 1 files (+1 heads) 217s searching for changes 217s adding changesets 217s adding manifests 217s adding file changes 217s added 1 changesets with 1 changes to 1 files (+1 heads) 217s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 217s fffffff..7a1a048 good_bmark -> good_bmark 217s fffffff..e5ff94d master -> master 217s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 217s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 217s error: failed to push some refs to 'hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo' 217s hint: Updates were rejected because the tip of your current branch is behind 217s hint: its remote counterpart. If you want to integrate the remote changes, 217s hint: use 'git pull' before pushing again. 217s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 217s fffffff..e5ff94d master -> master 217s fffffff..7a1a048 good_bmark -> good_bmark 217s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 217s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 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] 218s no changes found 218s updating bookmark good_bmark 218s 2 local changesets published 218s WARNING: Branch 'default' has more than one head, consider merging 218s progress revision 3 'bad_branch' (0/1) 218s From hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 218s 201f5e3..0c46727 branches/bad_branch -> origin/branches/bad_branch 218s 74c0b76..e5ff94d branches/default -> origin/branches/default 218s 74c0b76..0c46727 bad_bmark -> origin/bad_bmark 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 /usr/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 no changes found 218s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 218s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 218s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 218s error: failed to push some refs to 'hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo' 218s hint: Updates were rejected because the tip of your current branch is behind 218s hint: its remote counterpart. If you want to integrate the remote changes, 218s hint: use 'git pull' before pushing again. 218s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 218s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 218s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 218s ok 22 - remote big push non fast forward 218s 218s expecting success: 218s test_when_finished "rm -rf hgrepo gitrepo*" && 218s 218s setup_big_push 218s 218s ( 218s cd gitrepo && 218s 218s if test "$CAPABILITY_PUSH" = "t" 218s then 218s check_push 0 --force --all <<-\EOF 218s master:forced-update 218s good_bmark:forced-update 218s branches/good_branch:forced-update 218s new_bmark:new 218s branches/new_branch:new 218s bad_bmark1:forced-update 218s bad_bmark2:forced-update 218s branches/bad_branch:forced-update 218s EOF 218s else 218s check_push 0 --force --all <<-\EOF 218s master 218s good_bmark 218s branches/good_branch 218s new_bmark:new 218s branches/new_branch:new 218s bad_bmark1:forced-update 218s bad_bmark2:forced-update 218s branches/bad_branch:forced-update 218s EOF 218s fi 218s ) && 218s 218s check_branch hgrepo good_branch eight && 218s check_branch hgrepo bad_branch nine && 218s check_branch hgrepo new_branch ten && 218s check_bookmark hgrepo good_bmark three && 218s check_bookmark hgrepo bad_bmark1 four && 218s check_bookmark hgrepo bad_bmark2 five && 218s check_bookmark hgrepo new_bmark six 218s 220s Cloning into 'gitrepo'... 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 adding changesets 220s adding manifests 220s adding file changes 220s adding remote bookmark bad_bmark1 220s adding remote bookmark bad_bmark2 220s adding remote bookmark good_bmark 220s added 4 changesets with 4 changes to 1 files 220s new changesets 31e83fbafddf:34379b1ca597 220s progress revision walk 'bookmarks/master' (1/1) 220s progress revision 0 'master' (0/2) 220s progress revision 2 'bad_branch' (0/2) 220s HEAD is now at 03d2fd7 zero 220s HEAD is now at 03d2fd7 zero 220s HEAD is now at e84ffdc good branch 221s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 221s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 221s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 221s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 221s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 221s or locale.getdefaultlocale()[1] 221s no changes found 221s searching for changes 221s adding changesets 221s adding manifests 221s adding file changes 221s added 1 changesets with 1 changes to 1 files (+1 heads) 221s searching for changes 221s adding changesets 221s adding manifests 221s adding file changes 221s added 2 changesets with 2 changes to 1 files (+1 heads) 221s searching for changes 221s adding changesets 221s adding manifests 221s adding file changes 221s added 1 changesets with 1 changes to 1 files (+1 heads) 221s searching for changes 221s adding changesets 221s adding manifests 221s adding file changes 221s added 1 changesets with 1 changes to 1 files (+1 heads) 221s searching for changes 221s adding changesets 221s adding manifests 221s adding file changes 221s added 1 changesets with 1 changes to 1 files (+1 heads) 221s searching for changes 221s adding changesets 221s adding manifests 221s adding file changes 221s added 1 changesets with 1 changes to 1 files (+1 heads) 221s searching for changes 221s adding changesets 221s adding manifests 221s adding file changes 221s added 1 changesets with 1 changes to 1 files 221s searching for changes 221s adding changesets 221s adding manifests 221s adding file changes 221s added 1 changesets with 1 changes to 1 files (+1 heads) 221s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 221s + fffffff...6123554 branches/bad_branch -> branches/bad_branch (forced update) 221s + fffffff...6b77937 branches/good_branch -> branches/good_branch (forced update) 221s + fffffff...13505b7 bad_bmark1 -> bad_bmark1 (forced update) 221s + fffffff...4689542 bad_bmark2 -> bad_bmark2 (forced update) 221s + fffffff...bf714c3 good_bmark -> good_bmark (forced update) 221s + fffffff...08ba39d master -> master (forced update) 221s * [new branch] branches/new_branch -> branches/new_branch 221s * [new branch] new_bmark -> new_bmark 221s + fffffff...08ba39d master -> master (forced update) 221s + fffffff...bf714c3 good_bmark -> good_bmark (forced update) 221s + fffffff...6b77937 branches/good_branch -> branches/good_branch (forced update) 221s * [new branch] new_bmark -> new_bmark 221s * [new branch] branches/new_branch -> branches/new_branch 221s + fffffff...13505b7 bad_bmark1 -> bad_bmark1 (forced update) 221s + fffffff...4689542 bad_bmark2 -> bad_bmark2 (forced update) 221s + fffffff...6123554 branches/bad_branch -> branches/bad_branch (forced update) 222s ok 23 - remote big push force 222s 222s expecting success: 222s test_when_finished "rm -rf hgrepo gitrepo*" && 222s 222s setup_big_push 222s 222s ( 222s cd gitrepo && 222s 222s check_push 1 --dry-run --all <<-\EOF && 222s master 222s good_bmark 222s branches/good_branch 222s new_bmark:new 222s branches/new_branch:new 222s bad_bmark1:non-fast-forward 222s bad_bmark2:non-fast-forward 222s branches/bad_branch:non-fast-forward 222s EOF 222s 222s check_push 0 --dry-run master good_bmark new_bmark branches/good_branch branches/new_branch <<-\EOF 222s master 222s good_bmark 222s branches/good_branch 222s new_bmark:new 222s branches/new_branch:new 222s EOF 222s ) && 222s 222s check_branch hgrepo default one && 222s check_branch hgrepo good_branch "good branch" && 222s check_branch hgrepo bad_branch "bad branch" && 222s check_branch hgrepo new_branch && 222s check_bookmark hgrepo good_bmark one && 222s check_bookmark hgrepo bad_bmark1 one && 222s check_bookmark hgrepo bad_bmark2 one && 222s check_bookmark hgrepo new_bmark 222s 225s Cloning into 'gitrepo'... 225s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 225s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 225s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 225s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 225s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 225s or locale.getdefaultlocale()[1] 225s adding changesets 225s adding manifests 225s adding file changes 225s adding remote bookmark bad_bmark1 225s adding remote bookmark bad_bmark2 225s adding remote bookmark good_bmark 225s added 4 changesets with 4 changes to 1 files 225s new changesets 4be5b52bf7af:9022f31e30af 225s progress revision walk 'bookmarks/master' (1/1) 225s progress revision 0 'master' (0/2) 225s progress revision 2 'bad_branch' (0/2) 225s HEAD is now at f44d05b zero 225s HEAD is now at f44d05b zero 225s HEAD is now at cd8cf1e good branch 225s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 225s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 225s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 225s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 225s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 225s or locale.getdefaultlocale()[1] 225s no changes found 225s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 225s fffffff..783a102 branches/good_branch -> branches/good_branch 225s fffffff..74cddb4 good_bmark -> good_bmark 225s fffffff..288d4f0 master -> master 225s * [new branch] branches/new_branch -> branches/new_branch 225s * [new branch] new_bmark -> new_bmark 225s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 225s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 225s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 225s error: failed to push some refs to 'hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo' 225s hint: Updates were rejected because a pushed branch tip is behind its remote 225s hint: counterpart. If you want to integrate the remote changes, use 'git pull' 225s hint: before pushing again. 225s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 225s fffffff..288d4f0 master -> master 225s fffffff..74cddb4 good_bmark -> good_bmark 225s fffffff..783a102 branches/good_branch -> branches/good_branch 225s * [new branch] new_bmark -> new_bmark 225s * [new branch] branches/new_branch -> branches/new_branch 225s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 225s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 225s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 226s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 226s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 226s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 226s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 226s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 226s or locale.getdefaultlocale()[1] 226s no changes found 226s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 226s fffffff..783a102 branches/good_branch -> branches/good_branch 226s fffffff..74cddb4 good_bmark -> good_bmark 226s fffffff..288d4f0 master -> master 226s * [new branch] new_bmark -> new_bmark 226s * [new branch] branches/new_branch -> branches/new_branch 226s fffffff..288d4f0 master -> master 226s fffffff..74cddb4 good_bmark -> good_bmark 226s fffffff..783a102 branches/good_branch -> branches/good_branch 226s * [new branch] new_bmark -> new_bmark 226s * [new branch] branches/new_branch -> branches/new_branch 227s ok 24 - remote big push dry-run 227s 227s expecting success: 227s test_when_finished "rm -rf hgrepo gitrepo*" && 227s 227s setup_big_push 227s 227s ( 227s cd gitrepo && 227s 227s if test "$CAPABILITY_PUSH" = "t" 227s then 227s check_push 0 --force --dry-run --all <<-\EOF 227s master:forced-update 227s good_bmark:forced-update 227s branches/good_branch:forced-update 227s new_bmark:new 227s branches/new_branch:new 227s bad_bmark1:forced-update 227s bad_bmark2:forced-update 227s branches/bad_branch:forced-update 227s EOF 227s else 227s check_push 0 --force --dry-run --all <<-\EOF 227s master 227s good_bmark 227s branches/good_branch 227s new_bmark:new 227s branches/new_branch:new 227s bad_bmark1:forced-update 227s bad_bmark2:forced-update 227s branches/bad_branch:forced-update 227s EOF 227s fi 227s ) && 227s 227s check_branch hgrepo default one && 227s check_branch hgrepo good_branch "good branch" && 227s check_branch hgrepo bad_branch "bad branch" && 227s check_branch hgrepo new_branch && 227s check_bookmark hgrepo good_bmark one && 227s check_bookmark hgrepo bad_bmark1 one && 227s check_bookmark hgrepo bad_bmark2 one && 227s check_bookmark hgrepo new_bmark 227s 230s Cloning into 'gitrepo'... 230s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 230s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 230s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 230s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 230s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 230s or locale.getdefaultlocale()[1] 230s adding changesets 230s adding manifests 230s adding file changes 230s adding remote bookmark bad_bmark1 230s adding remote bookmark bad_bmark2 230s adding remote bookmark good_bmark 230s added 4 changesets with 4 changes to 1 files 230s new changesets d519eee93ccf:ee8bb55246f8 230s progress revision walk 'bookmarks/master' (1/1) 230s progress revision 0 'master' (0/2) 230s progress revision 2 'bad_branch' (0/2) 230s HEAD is now at da4555a zero 230s HEAD is now at da4555a zero 230s HEAD is now at 6e45c00 good branch 230s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 230s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 230s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 230s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 230s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 230s or locale.getdefaultlocale()[1] 230s no changes found 230s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 230s + fffffff...32b01f0 branches/bad_branch -> branches/bad_branch (forced update) 230s + fffffff...0def729 branches/good_branch -> branches/good_branch (forced update) 230s + fffffff...2af2524 bad_bmark1 -> bad_bmark1 (forced update) 230s + fffffff...e789b2e bad_bmark2 -> bad_bmark2 (forced update) 230s + fffffff...88cea16 good_bmark -> good_bmark (forced update) 230s + fffffff...fed7451 master -> master (forced update) 230s * [new branch] branches/new_branch -> branches/new_branch 230s * [new branch] new_bmark -> new_bmark 230s + fffffff...fed7451 master -> master (forced update) 230s + fffffff...88cea16 good_bmark -> good_bmark (forced update) 230s + fffffff...0def729 branches/good_branch -> branches/good_branch (forced update) 230s * [new branch] new_bmark -> new_bmark 230s * [new branch] branches/new_branch -> branches/new_branch 230s + fffffff...2af2524 bad_bmark1 -> bad_bmark1 (forced update) 230s + fffffff...e789b2e bad_bmark2 -> bad_bmark2 (forced update) 230s + fffffff...32b01f0 branches/bad_branch -> branches/bad_branch (forced update) 232s ok 25 - remote big push force dry-run 232s 232s expecting success: 232s test_when_finished "rm -rf hgrepo gitrepo*" && 232s 232s ( 232s hg init hgrepo && 232s cd hgrepo && 232s echo zero > content && 232s hg add content && 232s hg commit -m zero && 232s echo one > content && 232s hg commit -m one 232s ) && 232s 232s ( 232s git clone "hg::hgrepo" gitrepo && 232s cd gitrepo && 232s git reset --hard HEAD^ && 232s echo two > content && 232s git commit -a -m two && 232s test_expect_code 1 git push && 232s test_expect_code 1 git push 232s ) 232s 233s Cloning into 'gitrepo'... 233s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 233s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 233s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 233s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 233s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 233s or locale.getdefaultlocale()[1] 233s adding changesets 233s adding manifests 233s adding file changes 233s added 2 changesets with 2 changes to 1 files 233s new changesets 3991da59f6e4:4c755b3ea908 233s progress revision walk 'bookmarks/master' (1/1) 233s progress revision 0 'master' (0/2) 233s HEAD is now at c8b8417 zero 233s [master 1549c7d] two 233s Author: A U Thor 233s 1 file changed, 1 insertion(+), 1 deletion(-) 233s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 233s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 233s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 233s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 233s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 233s or locale.getdefaultlocale()[1] 234s no changes found 234s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 234s ! [rejected] master -> master (non-fast-forward) 234s error: failed to push some refs to 'hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo' 234s hint: Updates were rejected because the tip of your current branch is behind 234s hint: its remote counterpart. If you want to integrate the remote changes, 234s hint: use 'git pull' before pushing again. 234s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 234s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 234s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 234s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 234s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 234s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 234s or locale.getdefaultlocale()[1] 234s no changes found 234s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 234s ! [rejected] master -> master (non-fast-forward) 234s error: failed to push some refs to 'hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo' 234s hint: Updates were rejected because the tip of your current branch is behind 234s hint: its remote counterpart. If you want to integrate the remote changes, 234s hint: use 'git pull' before pushing again. 234s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 234s ok 26 - remote double failed push 234s 234s expecting success: 234s test_when_finished "rm -rf gitrepo hgrepo" && 234s 234s ( 234s hg init hgrepo && 234s cd hgrepo && 234s echo zero > content && 234s hg add content && 234s hg commit -m zero && 234s echo feature-a > content && 234s hg commit -m feature-a 234s hg bookmark feature-a 234s ) && 234s 234s git clone "hg::hgrepo" gitrepo && 234s check gitrepo origin/feature-a feature-a && 234s 234s ( 234s cd hgrepo && 234s hg bookmark -d feature-a 234s ) && 234s 234s ( 234s cd gitrepo && 234s git fetch --prune origin 234s git branch -a > out && 234s ! grep feature-a out 234s ) 234s 235s Cloning into 'gitrepo'... 235s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 235s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 235s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 235s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 235s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 235s or locale.getdefaultlocale()[1] 235s adding changesets 235s adding manifests 235s adding file changes 235s adding remote bookmark feature-a 235s added 2 changesets with 2 changes to 1 files 235s new changesets e294578dd1c0:0b57cc28bccd 235s progress revision walk 'bookmarks/master' (1/1) 235s progress revision 0 'master' (0/2) 235s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 235s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 235s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 235s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 236s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 236s or locale.getdefaultlocale()[1] 236s no changes found 236s error: refusing to update ref with bad name 'hg/origin/refs/bookmarks/feature-a' 236s From hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 236s - [deleted] (none) -> origin/feature-a 236s ok 27 - fetch prune 236s 236s expecting success: 236s test_when_finished "rm -rf gitrepo hgrepo" && 236s 236s ( 236s hg init hgrepo && 236s cd hgrepo && 236s echo zero > content && 236s hg add content && 236s hg commit -m zero && 236s hg up -r null && 236s echo another > ocontent && 236s hg add ocontent && 236s hg commit -m one 236s ) && 236s 236s # -r 1 acts as master 236s ( 236s git init --bare gitrepo && cd gitrepo && 236s git remote add origin hg::../hgrepo && 236s git fetch origin refs/heads/*:refs/heads/* 236s ) && 236s 236s ( 236s cd hgrepo && 236s hg up 0 && 236s echo two > content && 236s hg commit -m two 236s ) && 236s 236s # now master already exists 236s # -r 2 becomes master head which has rev 0 as ancestor 236s # so when importing (parentless) rev 0, a reset is needed 236s # (to ensure rev 0 is not given a parent commit) 236s ( 236s cd gitrepo && 236s git fetch origin && 236s git log --format="%s" origin/master > ../actual 236s ) && 236s 236s hg -R hgrepo log -r . -f --template "{desc}\n" > expected && 236s test_cmp actual expected 236s 236s 0 files updated, 0 files merged, 1 files removed, 0 files unresolved 237s created new head 237s Initialized empty Git repository in /tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/gitrepo/ 237s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 237s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 237s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 237s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 237s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 237s or locale.getdefaultlocale()[1] 237s adding changesets 237s adding manifests 237s adding file changes 237s added 2 changesets with 2 changes to 2 files (+1 heads) 237s new changesets 5bd686740083:aca589b3b7ce 237s progress revision 1 'default' (0/1) 237s WARNING: Branch 'default' has more than one head, consider merging 237s WARNING: Branch 'default' has more than one head, consider merging 237s From hg::../hgrepo 237s * [new branch] branches/default -> branches/default 237s * [new branch] master -> master 237s * [new branch] branches/default -> origin/branches/default 237s * [new branch] master -> origin/master 237s 1 files updated, 0 files merged, 1 files removed, 0 files unresolved 238s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 238s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 238s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 238s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 238s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 238s or locale.getdefaultlocale()[1] 238s searching for changes 238s adding changesets 238s adding manifests 238s adding file changes 238s added 1 changesets with 1 changes to 1 files 238s new changesets 421e1c09e147 238s WARNING: Branch 'default' has more than one head, consider merging 238s progress revision walk 'branches/default' (2/2) 238s progress revision 0 'default' (0/2) 238s From hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 238s + 5c3449b...4f1b909 branches/default -> origin/branches/default (forced update) 238s + 5c3449b...4f1b909 master -> origin/master (forced update) 238s ok 28 - fetch multiple independent histories 238s 238s expecting success: 238s test_when_finished "rm -rf gitrepo* hgrepo*" && 238s 238s ( 238s hg init hgrepo && 238s cd hgrepo && 238s echo a > a && 238s hg add a && 238s hg commit -m a && 238s hg bookmark -r null bookmark 238s ) && 238s 238s ( 238s git clone "hg::hgrepo" gitrepo && 238s check gitrepo HEAD a && 238s cd gitrepo && 238s git checkout --quiet -b bookmark && 238s git remote -v && 238s echo b > b && 238s git add b && 238s git commit -m b && 238s git push origin bookmark 238s ) 238s 239s Cloning into 'gitrepo'... 239s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 239s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 239s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 239s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 239s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 239s or locale.getdefaultlocale()[1] 239s adding changesets 239s adding manifests 239s adding file changes 239s adding remote bookmark bookmark 239s added 1 changesets with 1 changes to 1 files 239s new changesets 47b9918b315f 239s WARNING: Ignoring invalid bookmark 'bookmark' 239s progress revision walk 'bookmarks/master' (0/0) 239s progress revision 0 'master' (0/1) 239s origin hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo (fetch) 239s origin hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo (push) 239s [bookmark a291809] b 239s Author: A U Thor 239s 1 file changed, 1 insertion(+) 239s create mode 100644 b 239s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 239s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 239s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 239s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 239s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 239s or locale.getdefaultlocale()[1] 239s no changes found 239s WARNING: Ignoring invalid bookmark 'bookmark' 239s searching for changes 239s adding changesets 239s adding manifests 239s adding file changes 239s added 1 changesets with 1 changes to 1 files 239s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 239s * [new branch] bookmark -> bookmark 239s ok 29 - clone remote with null bookmark, then push 239s 239s expecting success: 239s test_when_finished "rm -rf hgrepo gitrepo" && 239s 239s ( 239s hg init hgrepo && 239s cd hgrepo && 239s echo one > content && 239s hg add content && 239s hg commit -m one && 239s echo two > content && 239s hg commit -m two 239s ) && 239s 239s git clone "hg::hgrepo" gitrepo && 239s hg -R hgrepo log --template "{node}\n\n" > expected && 239s git --git-dir=gitrepo/.git log --pretty="tformat:%N" --notes=hg > actual && 239s test_cmp expected actual 239s 240s Cloning into 'gitrepo'... 240s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 240s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 240s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 240s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 240s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 240s or locale.getdefaultlocale()[1] 241s adding changesets 241s adding manifests 241s adding file changes 241s added 2 changesets with 2 changes to 1 files 241s new changesets 63e3060ff3f9:76d5bfbcc8ea 241s progress revision walk 'bookmarks/master' (1/1) 241s progress revision 0 'master' (0/2) 241s ok 30 - notes 241s 241s expecting success: 241s test_when_finished "rm -rf hgrepo gitrepo" && 241s 241s ( 241s hg init hgrepo && 241s cd hgrepo && 241s echo one > content && 241s hg add content && 241s hg commit -m one 241s ) && 241s 241s git clone "hg::hgrepo" gitrepo && 241s 241s ( 241s cd gitrepo && 241s echo two > content && 241s git commit -a -m two && 241s git push 241s ) && 241s 241s hg -R hgrepo log --template "{node}\n\n" > expected && 241s git --git-dir=gitrepo/.git log --pretty="tformat:%N" --notes=hg > actual && 241s test_cmp expected actual 241s 241s Cloning into 'gitrepo'... 241s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 241s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 241s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 241s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 242s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 242s or locale.getdefaultlocale()[1] 242s adding changesets 242s adding manifests 242s adding file changes 242s added 1 changesets with 1 changes to 1 files 242s new changesets 5c6d7db6f6c8 242s progress revision walk 'bookmarks/master' (0/0) 242s progress revision 0 'master' (0/1) 242s [master 03a0706] two 242s Author: A U Thor 242s 1 file changed, 1 insertion(+), 1 deletion(-) 242s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 242s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 242s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 242s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 242s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 242s or locale.getdefaultlocale()[1] 242s no changes found 242s searching for changes 242s adding changesets 242s adding manifests 242s adding file changes 242s added 1 changesets with 1 changes to 1 files 242s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 242s fffffff..03a0706 master -> master 242s ok 31 - push updates notes 242s 242s expecting success: 242s test_when_finished "rm -rf hgrepo gitrepo" && 242s 242s ( 242s hg init hgrepo && 242s cd hgrepo && 242s echo one > content && 242s hg add content && 242s hg commit -m one 242s ) && 242s 242s git clone "hg::hgrepo" gitrepo && 242s 242s ( 242s cd gitrepo && 242s echo two > content && 242s git commit -a -m two && 242s git push origin master && 242s git branch feature-a && 242s git push origin feature-a 242s ) && 242s 242s check_bookmark hgrepo feature-a two 242s 243s Cloning into 'gitrepo'... 243s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 243s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 243s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 243s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 243s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 243s or locale.getdefaultlocale()[1] 243s adding changesets 243s adding manifests 243s adding file changes 243s added 1 changesets with 1 changes to 1 files 243s new changesets 3d9cebf227f5 243s progress revision walk 'bookmarks/master' (0/0) 243s progress revision 0 'master' (0/1) 243s [master 0438d91] two 243s Author: A U Thor 243s 1 file changed, 1 insertion(+), 1 deletion(-) 243s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 243s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 243s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 243s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 243s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 243s or locale.getdefaultlocale()[1] 243s no changes found 243s searching for changes 243s adding changesets 243s adding manifests 243s adding file changes 243s added 1 changesets with 1 changes to 1 files 243s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 243s fffffff..0438d91 master -> master 244s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 244s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 244s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 244s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 244s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 244s or locale.getdefaultlocale()[1] 244s no changes found 244s 1 local changesets published 244s searching for changes 244s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 244s * [new branch] feature-a -> feature-a 244s ok 32 - push bookmark without changesets 244s 244s expecting success: 244s test_when_finished "rm -rf hgrepo gitrepo" && 244s 244s ( 244s hg init hgrepo && 244s cd hgrepo && 244s echo one > content && 244s hg add content && 244s hg commit -m one 244s ) && 244s 244s git clone "hg::hgrepo" gitrepo && 244s 244s (cd hgrepo && hg tag v1.0) && 244s (cd gitrepo && git pull) && 244s 244s echo "v1.0" > expected && 244s git --git-dir=gitrepo/.git tag > actual && 244s test_cmp expected actual 244s 245s Cloning into 'gitrepo'... 245s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 245s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 245s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 245s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 245s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 245s or locale.getdefaultlocale()[1] 245s adding changesets 245s adding manifests 245s adding file changes 245s added 1 changesets with 1 changes to 1 files 245s new changesets 025e42d24b03 245s progress revision walk 'bookmarks/master' (0/0) 245s progress revision 0 'master' (0/1) 245s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 245s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 245s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 245s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 245s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 245s or locale.getdefaultlocale()[1] 245s searching for changes 245s adding changesets 245s adding manifests 245s adding file changes 245s added 1 changesets with 1 changes to 1 files 245s new changesets ee6f2833dbd7 245s progress revision 1 'default' (0/1) 245s From hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 245s dcf557c..efda1cc master -> origin/master 245s dcf557c..efda1cc branches/default -> origin/branches/default 246s * [new tag] v1.0 -> v1.0 246s Updating dcf557c..efda1cc 246s Fast-forward 246s .hgtags | 1 + 246s 1 file changed, 1 insertion(+) 246s create mode 100644 .hgtags 246s ok 33 - pull tags 246s 246s expecting success: 246s test_when_finished "rm -rf hgrepo gitrepo" && 246s 246s ( 246s hg init hgrepo && 246s cd hgrepo && 246s echo one > content && 246s hg add content && 246s hg commit -m one && 246s hg branch feature && 246s echo two > content && 246s hg commit -m two && 246s hg update default && 246s echo three > content && 246s hg commit -m three 246s ) && 246s 246s ( 246s git clone "hg::hgrepo" gitrepo && 246s cd gitrepo && 246s git merge -m Merge -Xtheirs origin/branches/feature && 246s git push 246s ) && 246s 246s cat > expected <<-EOF && 246s Merge 246s three 246s two 246s one 246s EOF 246s hg -R hgrepo log --template "{desc}\n" > actual && 246s test_cmp expected actual 246s 246s marked working directory as branch feature 246s (branches are permanent and global, did you want a bookmark?) 247s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 247s Cloning into 'gitrepo'... 247s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 247s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 247s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 247s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 247s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 247s or locale.getdefaultlocale()[1] 247s adding changesets 247s adding manifests 247s adding file changes 247s added 3 changesets with 3 changes to 1 files (+1 heads) 247s new changesets 7e6feda7ce46:792376204327 247s progress revision walk 'bookmarks/master' (2/2) 247s progress revision 0 'master' (0/2) 247s progress revision 1 'feature' (0/1) 247s Auto-merging content 247s Merge made by the 'ort' strategy. 247s content | 2 +- 247s 1 file changed, 1 insertion(+), 1 deletion(-) 247s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 247s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 247s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 247s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 247s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 247s or locale.getdefaultlocale()[1] 248s no changes found 248s searching for changes 248s adding changesets 248s adding manifests 248s adding file changes 248s added 1 changesets with 1 changes to 1 files (-1 heads) 248s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 248s fffffff..5ac7edb master -> master 248s ok 34 - push merged named branch 248s 248s expecting success: 248s test_when_finished "rm -rf hgrepo gitrepo" && 248s 248s ( 248s hg init hgrepo && 248s cd hgrepo && 248s echo one > content && 248s hg add content && 248s hg commit -m one 248s ) && 248s 248s ( 248s git clone "hg::hgrepo" gitrepo && 248s cd gitrepo && 248s git tag v1.0 && 248s git push --tags 248s ) && 248s 248s echo "C O Mitter " > expected && 248s hg -R hgrepo log --template "{author}\n" -r tip > actual && 248s test_cmp expected actual 248s 248s Cloning into 'gitrepo'... 248s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 248s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 248s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 248s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 249s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 249s or locale.getdefaultlocale()[1] 249s adding changesets 249s adding manifests 249s adding file changes 249s added 1 changesets with 1 changes to 1 files 249s new changesets cd254f8dfecc 249s progress revision walk 'bookmarks/master' (0/0) 249s progress revision 0 'master' (0/1) 249s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 249s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 249s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 249s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 249s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 249s or locale.getdefaultlocale()[1] 249s no changes found 249s searching for changes 249s adding changesets 249s adding manifests 249s adding file changes 249s added 1 changesets with 1 changes to 1 files 249s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 249s * [new tag] v1.0 -> v1.0 249s ok 35 - light tag sets author 249s 249s expecting success: 249s test_when_finished "rm -rf hgrepo gitrepo" && 249s 249s ( 249s hg init hgrepo && 249s cd hgrepo && 249s echo one > content && 249s hg add content && 249s hg commit -m one && 249s hg branch feature && 249s echo two > content && 249s hg commit -m two 249s ) && 249s 249s ( 249s git clone "hg::hgrepo" gitrepo && 249s cd gitrepo && 249s git branch && 249s git checkout branches/feature && 249s git tag v1.0 && 249s git push --tags 249s ) && 249s 249s echo feature > expected && 249s hg -R hgrepo log --template="{branch}\n" -r tip > actual && 249s test_cmp expected actual 249s 250s marked working directory as branch feature 250s (branches are permanent and global, did you want a bookmark?) 250s Cloning into 'gitrepo'... 250s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 250s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 250s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 250s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 250s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 250s or locale.getdefaultlocale()[1] 250s adding changesets 250s adding manifests 250s adding file changes 250s added 2 changesets with 2 changes to 1 files 250s new changesets 126589a23d7d:dbbc7d276988 250s progress revision walk 'bookmarks/master' (0/0) 250s progress revision 0 'master' (0/1) 250s progress revision 1 'feature' (0/1) 250s * master 250s Switched to a new branch 'branches/feature' 250s branch 'branches/feature' set up to track 'origin/branches/feature'. 251s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 251s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 251s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 251s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 251s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 251s or locale.getdefaultlocale()[1] 251s no changes found 251s searching for changes 251s adding changesets 251s adding manifests 251s adding file changes 251s added 1 changesets with 1 changes to 1 files 251s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 251s * [new tag] v1.0 -> v1.0 251s ok 36 - push tag different branch 251s 251s expecting success: 251s test_when_finished "rm -rf hgrepo gitrepo" && 251s 251s ( 251s hg init hgrepo && 251s cd hgrepo && 251s 251s echo test > test_file && 251s hg add test_file && 251s hg commit -m add && 251s 251s hg rm test_file && 251s hg commit -m remove 251s ) && 251s 251s git clone "hg::hgrepo" gitrepo && 251s check_files gitrepo 251s 252s Cloning into 'gitrepo'... 252s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 252s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 252s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 252s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 252s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 252s or locale.getdefaultlocale()[1] 252s adding changesets 252s adding manifests 252s adding file changes 252s added 2 changesets with 1 changes to 1 files 252s new changesets 3ccc73769dbc:5196ed5c0cef 252s progress revision walk 'bookmarks/master' (1/1) 252s progress revision 0 'master' (0/2) 252s ok 37 - cloning a removed file works 252s 252s expecting success: 252s test_when_finished "rm -rf hgrepo gitrepo" && 252s 252s ( 252s hg init hgrepo && 252s cd hgrepo && 252s 252s echo test > dir_or_file && 252s hg add dir_or_file && 252s hg commit -m add && 252s 252s hg rm dir_or_file && 252s mkdir dir_or_file && 252s echo test > dir_or_file/test_file && 252s hg add dir_or_file/test_file && 252s hg commit -m replase 252s ) && 252s 252s git clone "hg::hgrepo" gitrepo && 252s check_files gitrepo "dir_or_file/test_file" 252s 253s Cloning into 'gitrepo'... 253s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 253s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 253s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 253s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 254s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 254s or locale.getdefaultlocale()[1] 254s adding changesets 254s adding manifests 254s adding file changes 254s added 2 changesets with 2 changes to 2 files 254s new changesets f0e0b7f7a3a1:15593b094dda 254s progress revision walk 'bookmarks/master' (1/1) 254s progress revision 0 'master' (0/2) 254s ok 38 - cloning a file replaced with a directory 254s 254s expecting success: 254s test_when_finished "rm -rf hgrepo gitrepo" && 254s 254s ( 254s hg init hgrepo && 254s cd hgrepo && 254s 254s mkdir dir_or_file && 254s echo test > dir_or_file/test_file && 254s hg add dir_or_file/test_file && 254s hg commit -m add && 254s 254s hg rm dir_or_file/test_file && 254s echo test > dir_or_file && 254s hg add dir_or_file && 254s hg commit -m add && 254s 254s hg rm dir_or_file 254s ) && 254s 254s git clone "hg::hgrepo" gitrepo && 254s check_files gitrepo "dir_or_file" 254s 255s Cloning into 'gitrepo'... 255s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 255s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 255s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 255s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 255s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 255s or locale.getdefaultlocale()[1] 255s adding changesets 255s adding manifests 255s adding file changes 255s added 2 changesets with 2 changes to 2 files 255s new changesets 9044c757e661:5f53695cea13 255s progress revision walk 'bookmarks/master' (1/1) 255s progress revision 0 'master' (0/2) 255s ok 39 - clone replace directory with a file 255s 255s expecting success: 255s test_when_finished "rm -rf hgrepo gitrepo" && 255s 255s ( 255s hg init hgrepo && 255s cd hgrepo && 255s 255s touch test.txt && 255s hg add test.txt && 255s hg commit -m master && 255s hg branch parent && 255s echo test >test.txt && 255s hg commit -m test && 255s hg branch parent/child && 255s echo test1 >test.txt && 255s hg commit -m test1 255s ) && 255s 255s git clone -c remote-hg.ignore-name=child "hg::hgrepo" gitrepo && 255s check_files gitrepo "test.txt" 255s 256s marked working directory as branch parent 256s (branches are permanent and global, did you want a bookmark?) 257s marked working directory as branch parent/child 257s Cloning into 'gitrepo'... 257s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 257s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 257s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 257s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 257s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 257s or locale.getdefaultlocale()[1] 257s adding changesets 257s adding manifests 257s adding file changes 257s added 3 changesets with 3 changes to 1 files 257s new changesets 445d835bb928:002c3257bedb 257s WARNING: Ignoring matched branch parent/child 257s progress revision walk 'bookmarks/master' (0/0) 257s progress revision 0 'master' (0/1) 257s progress revision 1 'parent' (0/1) 257s ok 40 - clone can ignore invalid refnames 257s 257s expecting success: 257s test_when_finished "rm -rf hgrepo gitrepo" && 257s 257s ( 257s hg init hgrepo && 257s cd hgrepo && 257s echo one > content && 257s hg add content && 257s hg commit -m one 257s ) && 257s 257s ( 257s git clone "hg::hgrepo" gitrepo && 257s cd gitrepo && 257s git tag -m "Version 1.0" v1.0 && 257s git push --tags 257s ) && 257s 257s cat > expected <<-\EOF && 257s tip:Version 1.0:C O Mitter 257s v1.0:one:H G Wells 257s EOF 257s 257s hg -R hgrepo log --template "{tags}:{desc}:{author}\n" > actual && 257s 257s test_cmp expected actual 257s 258s Cloning into 'gitrepo'... 258s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 258s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 258s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 258s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 258s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 258s or locale.getdefaultlocale()[1] 258s adding changesets 258s adding manifests 258s adding file changes 258s added 1 changesets with 1 changes to 1 files 258s new changesets e6f096a34002 258s progress revision walk 'bookmarks/master' (0/0) 258s progress revision 0 'master' (0/1) 258s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 258s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 258s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 258s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 258s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 258s or locale.getdefaultlocale()[1] 258s no changes found 258s searching for changes 258s adding changesets 258s adding manifests 258s adding file changes 258s added 1 changesets with 1 changes to 1 files 258s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 258s * [new tag] v1.0 -> v1.0 259s ok 41 - push annotated tag 259s 259s expecting success: 259s test_when_finished "rm -rf hgrepo gitrepo1 gitrepo2" && 259s 259s hg init hgrepo && 259s 259s ( 259s git clone "hg::hgrepo" gitrepo1 && 259s cd gitrepo1 && 259s echo two >> content && 259s git add content && 259s git commit -m two --date="2016-09-26 00:00:00 -0230" && 259s git push 259s ) && 259s 259s git clone "hg::hgrepo" gitrepo2 && 259s 259s git --git-dir=gitrepo1/.git log -1 --format="%ai" > expected && 259s git --git-dir=gitrepo2/.git log -1 --format="%ai" > actual && 259s test_cmp expected actual 259s 259s Cloning into 'gitrepo1'... 259s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 259s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 259s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 259s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 259s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 259s or locale.getdefaultlocale()[1] 259s no changes found 259s warning: You appear to have cloned an empty repository. 259s [master (root-commit) 9f40cc0] two 259s Author: A U Thor 259s Date: Mon Sep 26 00:00:00 2016 -0230 259s 1 file changed, 1 insertion(+) 259s create mode 100644 content 259s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 259s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 259s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 259s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 259s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 259s or locale.getdefaultlocale()[1] 260s no changes found 260s searching for changes 260s adding changesets 260s adding manifests 260s adding file changes 260s added 1 changesets with 1 changes to 1 files 260s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 260s * [new branch] master -> master 260s Cloning into 'gitrepo2'... 260s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 260s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 260s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 260s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 260s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 260s or locale.getdefaultlocale()[1] 260s adding changesets 260s adding manifests 260s adding file changes 260s added 1 changesets with 1 changes to 1 files 260s new changesets e522f351d13b 260s progress revision walk 'bookmarks/master' (0/0) 260s progress revision 0 'master' (0/1) 260s ok 42 - timezone issues with negative offsets 260s 260s expecting success: 260s test_when_finished "rm -rf hgrepo* gitrepo*" && 260s 260s ( 260s hg init hgrepo && 260s cd hgrepo && 260s echo zero > content && 260s hg add content && 260s hg commit -m zero 260s hg bookmark feature-a 260s ) && 260s 260s git clone "hg::hgrepo" gitrepo && 260s check_bookmark hgrepo feature-a zero && 260s 260s ( 260s cd gitrepo && 260s git push --quiet origin :feature-a 260s ) && 260s 260s check_bookmark hgrepo feature-a 260s 261s Cloning into 'gitrepo'... 261s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 261s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 261s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 261s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 261s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 261s or locale.getdefaultlocale()[1] 261s adding changesets 261s adding manifests 261s adding file changes 261s adding remote bookmark feature-a 261s added 1 changesets with 1 changes to 1 files 261s new changesets ca2a617195fc 261s progress revision walk 'bookmarks/master' (0/0) 261s progress revision 0 'master' (0/1) 261s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 261s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 261s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 261s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 261s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 261s or locale.getdefaultlocale()[1] 261s no changes found 262s error: refusing to update ref with bad name 'hg/origin/refs/heads/feature-a' 262s ok 43 - remote delete bookmark 262s 262s expecting success: 262s test_when_finished "rm -rf hgrepo gitrepo" && 262s 262s ( 262s hg init hgrepo && 262s cd hgrepo && 262s echo zero > content && 262s hg add content && 262s hg commit -m zero 262s ) && 262s 262s git clone "hg::hgrepo" gitrepo && 262s 262s ( 262s cd gitrepo && 262s echo one > content && 262s git commit -a -m one && 262s git push --quiet origin master:feature-b && 262s git push --quiet origin master^:refs/heads/feature-a 262s ) && 262s 262s check_bookmark hgrepo feature-a zero && 262s check_bookmark hgrepo feature-b one && 262s 262s ( 262s cd gitrepo && 262s git push --quiet origin master:feature-a 262s ) && 262s 262s check_bookmark hgrepo feature-a one 262s 262s Cloning into 'gitrepo'... 262s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 262s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 262s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 262s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 262s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 262s or locale.getdefaultlocale()[1] 263s adding changesets 263s adding manifests 263s adding file changes 263s added 1 changesets with 1 changes to 1 files 263s new changesets 0c937eaefa42 263s progress revision walk 'bookmarks/master' (0/0) 263s progress revision 0 'master' (0/1) 263s [master fd7250f] one 263s Author: A U Thor 263s 1 file changed, 1 insertion(+), 1 deletion(-) 263s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 263s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 263s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 263s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 263s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 263s or locale.getdefaultlocale()[1] 263s no changes found 263s searching for changes 263s adding changesets 263s adding manifests 263s adding file changes 263s added 1 changesets with 1 changes to 1 files 263s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 263s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 263s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 263s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 263s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 263s or locale.getdefaultlocale()[1] 263s no changes found 263s adding remote bookmark feature-b 263s 1 local changesets published 263s searching for changes 264s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 264s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 264s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 264s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 264s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 264s or locale.getdefaultlocale()[1] 264s no changes found 264s adding remote bookmark feature-a 264s searching for changes 264s ok 44 - source:dest bookmark 264s 264s expecting success: 264s test_when_finished "rm -rf gitrepo* hgrepo*" && 264s 264s setup_check_hg_commits_repo && 264s 264s ( 264s cd gitrepo && 264s git fetch origin && 264s git reset --hard origin/master && 264s ! git push second master 2>../error 264s ) 264s 264s cat error && 264s grep rejected error | grep hg 264s 265s Cloning into 'gitrepo'... 265s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 265s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 265s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 265s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 265s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 265s or locale.getdefaultlocale()[1] 265s adding changesets 265s adding manifests 265s adding file changes 265s added 1 changesets with 1 changes to 1 files 265s new changesets 9d0ac0b035b6 265s progress revision walk 'bookmarks/master' (0/0) 265s progress revision 0 'master' (0/1) 265s updating to branch default 265s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 265s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 265s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 265s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 265s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 265s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 265s or locale.getdefaultlocale()[1] 266s no changes found 266s progress revision walk 'branches/default' (0/0) 266s progress revision 0 'default' (0/1) 266s From hg::../hgrepo.second 266s * [new branch] branches/default -> second/branches/default 266s * [new branch] master -> second/master 267s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 267s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 267s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 267s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 267s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 267s or locale.getdefaultlocale()[1] 267s searching for changes 267s adding changesets 267s adding manifests 267s adding file changes 267s added 5 changesets with 5 changes to 2 files 267s new changesets f7f34e9d7f15:567627afb795 267s progress revision 1 'default' (0/5) 267s From hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 267s d6f72c4..34b1322 master -> origin/master 267s d6f72c4..34b1322 branches/default -> origin/branches/default 267s HEAD is now at 34b1322 restored 268s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 268s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 268s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 268s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 268s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 268s or locale.getdefaultlocale()[1] 268s no changes found 268s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo.second 268s ! [remote rejected] master -> master (rejected not pushing hg based commit 3bc8203e61c9a7f046d406694323ae9009d6dd52) 268s error: failed to push some refs to 'hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo.second' 268s ! [remote rejected] master -> master (rejected not pushing hg based commit 3bc8203e61c9a7f046d406694323ae9009d6dd52) 268s ok 45 - check-hg-commits with fail mode 268s 268s expecting success: 268s check_hg_commits_push 268s 268s Cloning into 'gitrepo'... 268s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 268s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 268s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 268s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 268s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 268s or locale.getdefaultlocale()[1] 269s progress revision walk 'bookmarks/master' (0/0) 269s progress revision 0 'master' (0/1) 269s updating to branch default 269s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 269s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 269s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 269s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 269s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 269s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 269s or locale.getdefaultlocale()[1] 269s progress revision walk 'branches/default' (0/0) 269s progress revision 0 'default' (0/1) 269s From hg::../hgrepo.second 269s * [new branch] branches/default -> second/branches/default 269s * [new branch] master -> second/master 271s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 271s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 271s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 271s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 271s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 271s or locale.getdefaultlocale()[1] 271s progress revision 1 'default' (0/5) 271s From hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 271s 256b813..3b6d9e0 master -> origin/master 271s 256b813..3b6d9e0 branches/default -> origin/branches/default 271s HEAD is now at 3b6d9e0 restored 271s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 271s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 271s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 271s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 271s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 271s or locale.getdefaultlocale()[1] 271s WARNING: Pushing hg changeset de5f77ad9ea8e84494828d6f8f0348a8fd45070e for 477db644357133e11cabc777e0191d73c471da10 271s WARNING: Pushing hg changeset 1a8e76fe05053164ef41c0462a6ef8126d2211c6 for 3f110f9e58a14eaa8fdcbc8d2056d8ad58e96773 271s WARNING: Pushing hg changeset 7dccdaabd18f695dc8fcd012e3602ea6517c4fd1 for 31c18eb242d0e9c13da2fdbf3235bf27a6553287 271s WARNING: Pushing hg changeset 40fa0acbbdb29a951954feb646b110a7c0b6b3df for 9400de84af8171617080d9ad3c359610949277df 271s WARNING: Pushing hg changeset e538723d3528347d7695ede86739e089a2c47f2f for 3b6d9e0d135e6038a7c8a15daca3547f5db60c35 271s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo.second 271s fffffff..3b6d9e0 master -> master 271s WARNING: Pushing hg changeset de5f77ad9ea8e84494828d6f8f0348a8fd45070e for 477db644357133e11cabc777e0191d73c471da10 271s WARNING: Pushing hg changeset 1a8e76fe05053164ef41c0462a6ef8126d2211c6 for 3f110f9e58a14eaa8fdcbc8d2056d8ad58e96773 271s WARNING: Pushing hg changeset 7dccdaabd18f695dc8fcd012e3602ea6517c4fd1 for 31c18eb242d0e9c13da2fdbf3235bf27a6553287 271s WARNING: Pushing hg changeset 40fa0acbbdb29a951954feb646b110a7c0b6b3df for 9400de84af8171617080d9ad3c359610949277df 271s WARNING: Pushing hg changeset e538723d3528347d7695ede86739e089a2c47f2f for 3b6d9e0d135e6038a7c8a15daca3547f5db60c35 272s ok 46 - check-hg-commits with push mode - no local proxy 272s 272s expecting success: 272s check_hg_commits_push 272s 272s Cloning into 'gitrepo'... 272s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 272s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 272s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 272s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 272s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 272s or locale.getdefaultlocale()[1] 272s adding changesets 272s adding manifests 272s adding file changes 272s added 1 changesets with 1 changes to 1 files 272s new changesets f84148563738 272s progress revision walk 'bookmarks/master' (0/0) 272s progress revision 0 'master' (0/1) 273s updating to branch default 273s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 273s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 273s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 273s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 273s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 273s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 273s or locale.getdefaultlocale()[1] 273s no changes found 273s progress revision walk 'branches/default' (0/0) 273s progress revision 0 'default' (0/1) 273s From hg::../hgrepo.second 273s * [new branch] branches/default -> second/branches/default 273s * [new branch] master -> second/master 274s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 274s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 274s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 274s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 275s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 275s or locale.getdefaultlocale()[1] 275s searching for changes 275s adding changesets 275s progress revision 1 'default' (0/5) 275s adding manifests 275s adding file changes 275s added 5 changesets with 5 changes to 2 files 275s new changesets 1ec9940be244:57114e69db9b 275s From hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo 275s e91a01a..4b9d951 master -> origin/master 275s e91a01a..4b9d951 branches/default -> origin/branches/default 275s HEAD is now at 4b9d951 restored 275s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 275s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 275s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 275s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 275s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 275s or locale.getdefaultlocale()[1] 275s no changes found 275s WARNING: Using hg changeset 1ec9940be24427c6da13ae199aa0fee6edbd573a for 8872a64a51e49a89953ac6267c4559fc74ae6e20 275s WARNING: Using hg changeset 626cd449e9c5d9fde9b6467aa4deb7d29a566ccc for a414b73680eae398e4cea667289d4d96ef2be3c2 275s WARNING: Using hg changeset 6fc098055ba9d5a45dc96b5e9d78b9ea998f3b01 for 282c03f123bd3d8234e977a228a085ca52d16cb2 275s WARNING: Using hg changeset 62d190272d03f84ff153b726e5e8afa5aabdc3c8 for e637070c254e2c6a64216e53c047669ddc19164b 275s WARNING: Using hg changeset 57114e69db9bfcb0a5d09b473709985e60ccc658 for 4b9d951055a6e48841e6dacd9b58255ece0f5e73 275s searching for changes 275s adding changesets 275s adding manifests 275s adding file changes 275s added 5 changesets with 5 changes to 2 files 275s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/hgrepo.second 275s fffffff..4b9d951 master -> master 275s WARNING: Using hg changeset 1ec9940be24427c6da13ae199aa0fee6edbd573a for 8872a64a51e49a89953ac6267c4559fc74ae6e20 275s WARNING: Using hg changeset 626cd449e9c5d9fde9b6467aa4deb7d29a566ccc for a414b73680eae398e4cea667289d4d96ef2be3c2 275s WARNING: Using hg changeset 6fc098055ba9d5a45dc96b5e9d78b9ea998f3b01 for 282c03f123bd3d8234e977a228a085ca52d16cb2 275s WARNING: Using hg changeset 62d190272d03f84ff153b726e5e8afa5aabdc3c8 for e637070c254e2c6a64216e53c047669ddc19164b 275s WARNING: Using hg changeset 57114e69db9bfcb0a5d09b473709985e60ccc658 for 4b9d951055a6e48841e6dacd9b58255ece0f5e73 275s ok 47 - check-hg-commits with push mode - with local proxy 275s 275s expecting success: 275s test_when_finished "rm -rf gitrepo* hgrepo*" && 275s 275s setup_check_shared_marks_repo && 275s 275s ( 275s cd gitrepo && 275s check_marks .git/hg y && 275s check_marks .git/hg/origin n && 275s check_marks .git/hg/second n 275s ) 275s 276s Cloning into 'gitrepo'... 276s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 276s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 276s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 276s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 276s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 276s or locale.getdefaultlocale()[1] 276s adding changesets 276s adding manifests 276s adding file changes 276s added 1 changesets with 1 changes to 1 files 276s new changesets df47b5aea558 276s progress revision walk 'bookmarks/master' (0/0) 276s progress revision 0 'master' (0/1) 276s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 276s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 276s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 276s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 277s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 277s or locale.getdefaultlocale()[1] 277s no changes found 277s From hg::../hgrepo 277s * [new branch] branches/default -> second/branches/default 277s * [new branch] master -> second/master 277s total 28 277s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 23:04 . 277s drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 18 23:04 .. 277s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 23:04 .hg 277s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 23:04 marks-git 277s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 23:04 marks-hg 277s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 origin 277s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 second 277s total 16 277s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 . 277s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 23:04 .. 277s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 23:04 clone 277s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 refs 277s total 16 277s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 . 277s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 23:04 .. 277s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 23:04 clone 277s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 refs 277s ok 48 - shared-marks unset 277s 277s expecting success: 277s test_when_finished "rm -rf gitrepo* hgrepo*" && 277s 277s git config --global remote-hg.shared-marks true && 277s setup_check_shared_marks_repo && 277s 277s ( 277s cd gitrepo && 277s check_marks .git/hg y && 277s check_marks .git/hg/origin n && 277s check_marks .git/hg/second n 277s ) && 277s 277s git config --global remote-hg.shared-marks false && 277s ( 277s cd gitrepo && 277s git fetch origin && 277s check_marks .git/hg n && 277s check_marks .git/hg/origin y && 277s check_marks .git/hg/second y 277s ) 277s 277s Cloning into 'gitrepo'... 277s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 277s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 277s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 277s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 277s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 277s or locale.getdefaultlocale()[1] 277s adding changesets 277s adding manifests 277s adding file changes 277s added 1 changesets with 1 changes to 1 files 277s new changesets 184d41aeae0f 277s progress revision walk 'bookmarks/master' (0/0) 277s progress revision 0 'master' (0/1) 278s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 278s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 278s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 278s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 278s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 278s or locale.getdefaultlocale()[1] 278s no changes found 278s From hg::../hgrepo 278s * [new branch] branches/default -> second/branches/default 278s * [new branch] master -> second/master 278s total 28 278s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 23:04 . 278s drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 18 23:04 .. 278s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 23:04 .hg 278s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 23:04 marks-git 278s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 23:04 marks-hg 278s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 origin 278s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 second 278s total 16 278s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 . 278s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 23:04 .. 278s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 23:04 clone 278s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 refs 278s total 16 278s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 . 278s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 23:04 .. 278s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 23:04 clone 278s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 refs 278s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 278s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 278s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 278s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 278s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 278s or locale.getdefaultlocale()[1] 278s WARNING: seeded marks of second with shared; performing gc 278s /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. 278s or locale.getdefaultlocale()[1] 278s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 278s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 278s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 278s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 278s ERROR: found both .git/hg/second/marks-git and .git/hg/marks-git 278s WARNING: gc for second failed 278s WARNING: seeded marks of origin with shared; performing gc 279s /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. 279s or locale.getdefaultlocale()[1] 279s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 279s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 279s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 279s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 279s Loading hg marks ... 279s Loading git marks ... 279s Performing garbage collection on git commits ... 279s Computing marks intersection ... 279s Including notes commits ... 279s Writing hg marks ... 279s Writing git marks ... 279s no changes found 279s progress revision walk 'branches/default' (0/0) 279s progress revision 0 'default' (0/1) 279s total 20 279s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 23:04 . 279s drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 18 23:04 .. 279s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 23:04 .hg 279s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 origin 279s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 second 279s total 24 279s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 . 279s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 23:04 .. 279s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 23:04 clone 279s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 23:04 marks-git 279s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 23:04 marks-hg 279s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 refs 279s total 24 279s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 . 279s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 23:04 .. 279s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 23:04 clone 279s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 23:04 marks-git 279s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 23:04 marks-hg 279s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 refs 279s ok 49 - shared-marks set to unset 279s 279s expecting success: 279s test_when_finished "rm -rf gitrepo* hgrepo*" && 279s 279s git config --global remote-hg.shared-marks false && 279s setup_check_shared_marks_repo && 279s 279s ( 279s cd gitrepo && 279s check_marks .git/hg n && 279s check_marks .git/hg/origin y && 279s check_marks .git/hg/second y 279s ) && 279s 279s git config --global --unset remote-hg.shared-marks && 279s ( 279s cd gitrepo && 279s git fetch origin && 279s check_marks .git/hg n && 279s check_marks .git/hg/origin y && 279s check_marks .git/hg/second y 279s ) && 279s 279s git config --global remote-hg.shared-marks true && 279s ( 279s cd gitrepo && 279s git fetch origin && 279s check_marks .git/hg y && 279s check_marks .git/hg/origin n && 279s check_marks .git/hg/second n 279s ) 279s 279s Cloning into 'gitrepo'... 279s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 279s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 279s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 279s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 279s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 279s or locale.getdefaultlocale()[1] 280s adding changesets 280s adding manifests 280s adding file changes 280s added 1 changesets with 1 changes to 1 files 280s new changesets 38d1dee37759 280s progress revision walk 'bookmarks/master' (0/0) 280s progress revision 0 'master' (0/1) 280s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 280s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 280s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 280s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 280s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 280s or locale.getdefaultlocale()[1] 280s no changes found 280s progress revision walk 'branches/default' (0/0) 280s progress revision 0 'default' (0/1) 280s From hg::../hgrepo 280s * [new branch] branches/default -> second/branches/default 280s * [new branch] master -> second/master 280s total 20 280s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 23:04 . 280s drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 18 23:04 .. 280s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 23:04 .hg 280s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 origin 280s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 second 280s total 24 280s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 . 280s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 23:04 .. 280s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 23:04 clone 280s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 23:04 marks-git 280s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 23:04 marks-hg 280s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 refs 280s total 24 280s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 . 280s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 23:04 .. 280s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 23:04 clone 280s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 23:04 marks-git 280s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 23:04 marks-hg 280s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 refs 280s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 280s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 280s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 280s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 280s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 280s or locale.getdefaultlocale()[1] 280s no changes found 280s total 20 280s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 23:04 . 280s drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 18 23:04 .. 280s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 23:04 .hg 280s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 origin 280s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 second 280s total 24 280s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 . 280s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 23:04 .. 280s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 23:04 clone 280s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 23:04 marks-git 280s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 23:04 marks-hg 280s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 refs 280s total 24 280s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 . 280s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 23:04 .. 280s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 23:04 clone 280s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 23:04 marks-git 280s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 23:04 marks-hg 280s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 refs 280s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 280s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 280s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 280s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 280s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 280s or locale.getdefaultlocale()[1] 280s WARNING: using marks of remote origin as shared marks 280s no changes found 281s total 28 281s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 23:04 . 281s drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 18 23:04 .. 281s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 23:04 .hg 281s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 23:04 marks-git 281s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 23:04 marks-hg 281s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 origin 281s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 second 281s total 16 281s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 . 281s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 23:04 .. 281s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 23:04 clone 281s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 refs 281s total 16 281s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 . 281s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 23:04 .. 281s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 23:04 clone 281s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 23:04 refs 281s ok 50 - shared-marks unset to set 281s 281s expecting success: 281s test_when_finished "rm -rf hgrepo gitrepo*" && 281s 281s hg init hgrepo && 281s 281s ( 281s git init gitrepo && 281s cd gitrepo && 281s git remote add origin "hg::../hgrepo" && 281s echo one > content && 281s chmod a+x content && 281s git add content && 281s git commit -a -m one && 281s git mv content content2 && 281s git commit -a -m two && 281s git push origin master 281s ) && 281s 281s ( 281s umask 0 && 281s cd hgrepo && 281s hg update && 281s stat content2 >expected && 281s grep -- -r.xr.xr.x expected 281s ) 281s 281s Initialized empty Git repository in /tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/gitrepo/.git/ 281s [master (root-commit) 5913097] one 281s Author: A U Thor 281s 1 file changed, 1 insertion(+) 281s create mode 100755 content 281s [master cbb24bc] two 281s Author: A U Thor 281s 1 file changed, 0 insertions(+), 0 deletions(-) 281s rename content => content2 (100%) 281s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 281s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 281s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 281s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 281s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 281s or locale.getdefaultlocale()[1] 281s no changes found 281s searching for changes 281s adding changesets 281s adding manifests 281s adding file changes 281s added 2 changesets with 2 changes to 2 files 281s To hg::../hgrepo 281s * [new branch] master -> master 281s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 281s Access: (0777/-rwxrwxrwx) Uid: ( 1000/ ubuntu) Gid: ( 1000/ ubuntu) 281s ok 51 - push with renamed executable preserves executable bit 281s 281s expecting success: 281s test_when_finished "rm -rf sub hgrepo gitrepo*" && 281s 281s hg init hgrepo && 281s 281s ( 281s git init sub && 281s cd sub && 281s : >empty && 281s git add empty && 281s git commit -m init 281s ) && 281s 281s ( 281s git init gitrepo && 281s cd gitrepo && 281s git submodule add ../sub sub && 281s git remote add origin "hg::../hgrepo" && 281s git commit -a -m sub && 281s git push origin master 281s ) && 281s 281s ( 281s cd hgrepo && 281s hg update && 281s expected="[git-remote-hg: skipped import of submodule at $(git -C ../sub rev-parse HEAD)]" 281s test "$expected" = "$(cat sub)" 281s ) 281s 281s Initialized empty Git repository in /tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/sub/.git/ 281s [master (root-commit) be983cd] init 281s Author: A U Thor 281s 1 file changed, 0 insertions(+), 0 deletions(-) 281s create mode 100644 empty 281s Initialized empty Git repository in /tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/gitrepo/.git/ 281s Cloning into '/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.main-push/tmp/gitrepo/sub'... 281s done. 281s [master (root-commit) c56d720] sub 281s Author: A U Thor 281s 2 files changed, 4 insertions(+) 281s create mode 100644 .gitmodules 281s create mode 160000 sub 281s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 281s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 281s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 281s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 282s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 282s or locale.getdefaultlocale()[1] 282s no changes found 282s searching for changes 282s adding changesets 282s adding manifests 282s adding file changes 282s added 1 changesets with 2 changes to 2 files 282s To hg::../hgrepo 282s * [new branch] master -> master 282s 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 282s ok 52 - push with submodule 282s 282s # passed all 52 test(s) 282s 1..52 282s /bin/sh bidi.t --verbose 282s expecting success: 282s test_when_finished "rm -rf gitrepo* hgrepo*" && 282s 282s ( 282s git init -q gitrepo && 282s cd gitrepo && 282s 282s echo alpha > alpha && 282s git add alpha && 282s git commit -m "add älphà" && 282s 282s GIT_AUTHOR_NAME="tést èncödîng" && 282s export GIT_AUTHOR_NAME && 282s echo beta > beta && 282s git add beta && 282s git commit -m "add beta" && 282s 282s echo gamma > gamma && 282s git add gamma && 282s git commit -m "add gämmâ" && 282s 282s : TODO git config i18n.commitencoding latin-1 && 282s echo delta > delta && 282s git add delta && 282s git commit -m "add déltà" 282s ) && 282s 282s hg_clone gitrepo hgrepo && 282s git_clone hgrepo gitrepo2 && 282s hg_clone gitrepo2 hgrepo2 && 282s 282s HGENCODING=utf-8 hg_log hgrepo > expected && 282s HGENCODING=utf-8 hg_log hgrepo2 > actual && 282s 282s test_cmp expected actual 282s 282s [master (root-commit) 79c6ce2] add älphà 282s Author: A U Thor 282s 1 file changed, 1 insertion(+) 282s create mode 100644 alpha 282s [master 68b42de] add beta 282s Author: tést èncödîng 282s 1 file changed, 1 insertion(+) 282s create mode 100644 beta 282s [master 8ee0762] add gämmâ 282s Author: tést èncödîng 282s 1 file changed, 1 insertion(+) 282s create mode 100644 gamma 282s [master 3b0b48f] add déltà 282s Author: tést èncödîng 282s 1 file changed, 1 insertion(+) 282s create mode 100644 delta 282s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 282s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 282s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 282s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 282s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 282s or locale.getdefaultlocale()[1] 282s no changes found 283s searching for changes 283s adding changesets 283s adding manifests 283s adding file changes 283s added 4 changesets with 4 changes to 4 files 283s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 283s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 283s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 283s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 283s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 283s or locale.getdefaultlocale()[1] 283s adding changesets 283s adding manifests 283s adding file changes 283s added 4 changesets with 4 changes to 4 files 283s new changesets 1e3e49d2cc8f:6674f1c866b5 283s progress revision walk 'bookmarks/master' (3/3) 283s progress revision 0 'master' (0/4) 283s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 283s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 283s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 283s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 283s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 283s or locale.getdefaultlocale()[1] 284s searching for changes 284s no changes found 284s searching for changes 284s adding changesets 284s adding manifests 284s adding file changes 284s added 4 changesets with 4 changes to 4 files 284s ok 1 - encoding 284s 284s expecting success: 284s test_when_finished "rm -rf gitrepo* hgrepo*" && 284s 284s ( 284s git init -q gitrepo && 284s cd gitrepo && 284s echo alpha > alpha && 284s git add alpha && 284s git commit -m "add alpha" && 284s echo beta > beta && 284s git add beta && 284s git commit -m "add beta" 284s mkdir foo && 284s echo blah > foo/bar && 284s git add foo && 284s git commit -m "add foo" && 284s git rm alpha && 284s git commit -m "remove alpha" && 284s git rm foo/bar && 284s git commit -m "remove foo/bar" 284s ) && 284s 284s hg_clone gitrepo hgrepo && 284s git_clone hgrepo gitrepo2 && 284s hg_clone gitrepo2 hgrepo2 && 284s 284s hg_log hgrepo > expected && 284s hg_log hgrepo2 > actual && 284s 284s test_cmp expected actual 284s 284s [master (root-commit) 223a6f6] add alpha 284s Author: A U Thor 284s 1 file changed, 1 insertion(+) 284s create mode 100644 alpha 284s [master 862befc] add beta 284s Author: A U Thor 284s 1 file changed, 1 insertion(+) 284s create mode 100644 beta 284s [master 86bf00d] add foo 284s Author: A U Thor 284s 1 file changed, 1 insertion(+) 284s create mode 100644 foo/bar 284s rm 'alpha' 284s [master 74dc957] remove alpha 284s Author: A U Thor 284s 1 file changed, 1 deletion(-) 284s delete mode 100644 alpha 284s rm 'foo/bar' 284s [master ea36818] remove foo/bar 284s Author: A U Thor 284s 1 file changed, 1 deletion(-) 284s delete mode 100644 foo/bar 284s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 284s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 284s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 284s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 285s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 285s or locale.getdefaultlocale()[1] 285s no changes found 285s searching for changes 285s adding changesets 285s adding manifests 285s adding file changes 285s added 5 changesets with 3 changes to 3 files 285s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 285s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 285s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 285s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 285s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 285s or locale.getdefaultlocale()[1] 285s adding changesets 285s adding manifests 285s adding file changes 285s added 5 changesets with 3 changes to 3 files 285s new changesets 362b656574c3:54f595cbdf1f 285s progress revision walk 'bookmarks/master' (4/4) 285s progress revision 0 'master' (0/5) 285s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 285s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 285s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 285s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 286s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 286s or locale.getdefaultlocale()[1] 286s searching for changes 286s no changes found 286s searching for changes 286s adding changesets 286s adding manifests 286s adding file changes 286s added 5 changesets with 3 changes to 3 files 286s ok 2 - file removal 286s 286s expecting success: 286s test_when_finished "rm -rf gitrepo* hgrepo*" && 286s 286s ( 286s git init -q gitrepo && 286s cd gitrepo && 286s git config receive.denyCurrentBranch ignore && 286s echo alpha > alpha && 286s git add alpha && 286s git commit -m "add alpha" && 286s git tag alpha && 286s 286s echo beta > beta && 286s git add beta && 286s git commit -m "add beta" && 286s git tag -a -m "added tag beta" beta 286s ) && 286s 286s hg_clone gitrepo hgrepo && 286s git_clone hgrepo gitrepo2 && 286s hg_clone gitrepo2 hgrepo2 && 286s 286s hg_log hgrepo > expected && 286s hg_log hgrepo2 > actual && 286s 286s test_cmp expected actual 286s 286s [master (root-commit) 223a6f6] add alpha 286s Author: A U Thor 286s 1 file changed, 1 insertion(+) 286s create mode 100644 alpha 286s [master 862befc] add beta 286s Author: A U Thor 286s 1 file changed, 1 insertion(+) 286s create mode 100644 beta 287s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 287s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 287s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 287s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 287s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 287s or locale.getdefaultlocale()[1] 287s no changes found 287s searching for changes 287s adding changesets 287s adding manifests 287s adding file changes 287s added 2 changesets with 2 changes to 2 files 287s searching for changes 287s searching for changes 287s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 287s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 287s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 287s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 287s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 287s or locale.getdefaultlocale()[1] 287s adding changesets 287s adding manifests 287s adding file changes 287s added 2 changesets with 2 changes to 2 files 287s new changesets 362b656574c3:7cd99375c843 287s progress revision walk 'bookmarks/master' (1/1) 287s progress revision 0 'master' (0/2) 288s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 288s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 288s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 288s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 288s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 288s or locale.getdefaultlocale()[1] 288s searching for changes 288s no changes found 288s searching for changes 288s adding changesets 288s adding manifests 288s adding file changes 288s added 2 changesets with 2 changes to 2 files 288s ok 3 - git tags 288s 288s expecting success: 288s test_when_finished "rm -rf gitrepo* hgrepo*" && 288s 288s ( 288s git init -q gitrepo && 288s cd gitrepo && 288s 288s echo alpha > alpha && 288s git add alpha && 288s git commit -q -m "add alpha" && 288s git checkout -q -b not-master 288s ) && 288s 288s ( 288s hg_clone gitrepo hgrepo && 288s 288s cd hgrepo && 288s hg -q co default && 288s hg mv alpha beta && 288s hg -q commit -m "rename alpha to beta" && 288s hg branch gamma | grep -v "permanent and global" && 288s hg -q commit -m "started branch gamma" 288s ) && 288s 288s hg_push hgrepo gitrepo && 288s hg_clone gitrepo hgrepo2 && 288s 288s : Back to the common revision && 288s (cd hgrepo && hg checkout default) && 288s 288s # fetch does not affect phase, but pushing now does 288s hg_log hgrepo | grep -v phase > expected && 288s hg_log hgrepo2 | grep -v phase > actual && 288s 288s test_cmp expected actual 288s 289s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 289s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 289s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 289s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 289s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 289s or locale.getdefaultlocale()[1] 289s no changes found 289s searching for changes 289s adding changesets 289s adding manifests 289s adding file changes 289s added 1 changesets with 1 changes to 1 files 289s searching for changes 290s marked working directory as branch gamma 290s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 290s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 290s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 290s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 290s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 290s or locale.getdefaultlocale()[1] 290s searching for changes 290s adding changesets 290s adding manifests 290s adding file changes 290s adding remote bookmark not-master 290s added 2 changesets with 1 changes to 1 files 290s new changesets 5889597089fe:3320583a8de0 290s 1 local changesets published 290s progress revision 1 'default' (0/1) 290s progress revision 2 'gamma' (0/1) 291s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 291s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 291s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 291s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 291s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 291s or locale.getdefaultlocale()[1] 291s searching for changes 291s no changes found 291s searching for changes 291s adding changesets 291s adding manifests 291s adding file changes 291s added 2 changesets with 2 changes to 2 files 291s searching for changes 291s adding changesets 291s adding manifests 291s adding file changes 291s added 1 changesets with 0 changes to 0 files 291s searching for changes 291s searching for changes 291s 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 292s ok 4 - hg branch 292s 292s expecting success: 292s test_when_finished "rm -rf gitrepo* hgrepo*" && 292s 292s ( 292s git init -q gitrepo && 292s cd gitrepo && 292s 292s echo alpha > alpha && 292s git add alpha && 292s git commit -m "add alpha" && 292s git checkout -q -b not-master 292s ) && 292s 292s ( 292s hg_clone gitrepo hgrepo && 292s 292s cd hgrepo && 292s hg co default && 292s hg tag alpha 292s ) && 292s 292s hg_push hgrepo gitrepo && 292s # pushing a fetched tag is a problem ... 292s { hg_clone gitrepo hgrepo2 || true ; } && 292s 292s # fetch does not affect phase, but pushing now does 292s hg_log hgrepo | grep -v phase > expected && 292s hg_log hgrepo2 | grep -v phase > actual && 292s 292s test_cmp expected actual 292s 292s [master (root-commit) 223a6f6] add alpha 292s Author: A U Thor 292s 1 file changed, 1 insertion(+) 292s create mode 100644 alpha 292s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 292s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 292s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 292s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 292s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 292s or locale.getdefaultlocale()[1] 292s no changes found 292s searching for changes 292s adding changesets 292s adding manifests 292s adding file changes 292s added 1 changesets with 1 changes to 1 files 292s searching for changes 293s 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 293s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 293s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 293s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 293s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 293s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 293s or locale.getdefaultlocale()[1] 293s searching for changes 293s adding changesets 293s adding manifests 293s adding file changes 293s adding remote bookmark not-master 293s added 1 changesets with 1 changes to 1 files 293s new changesets 16869bbe54be 293s 1 local changesets published 293s progress revision 1 'default' (0/1) 293s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 293s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 293s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 293s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 294s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 294s or locale.getdefaultlocale()[1] 294s searching for changes 294s no changes found 294s searching for changes 294s adding changesets 294s adding manifests 294s adding file changes 294s added 2 changesets with 2 changes to 2 files 294s searching for changes 294s searching for changes 294s To hg::../hgrepo2 294s * [new branch] branches/default -> branches/default 294s * [new branch] master -> master 294s * [new branch] not-master -> not-master 294s ! [rejected] alpha -> alpha (already exists) 294s error: failed to push some refs to 'hg::../hgrepo2' 294s hint: Updates were rejected because the tag already exists in the remote. 294s ok 5 - hg tags 294s 294s expecting success: 294s test_when_finished "rm -rf gitrepo* hgrepo*" && 294s 294s ( 294s git init -q gitrepo && 294s cd gitrepo && 294s 294s echo alpha > alpha && 294s git add alpha && 294s git commit -m "add alpha" --date="2007-01-01 00:00:00 +0000" && 294s 294s echo beta > beta && 294s git add beta && 294s git commit -m "add beta" --date="2007-01-01 00:00:00 +0100" && 294s 294s echo gamma > gamma && 294s git add gamma && 294s git commit -m "add gamma" --date="2007-01-01 00:00:00 -0100" && 294s 294s echo delta > delta && 294s git add delta && 294s git commit -m "add delta" --date="2007-01-01 00:00:00 +0130" && 294s 294s echo epsilon > epsilon && 294s git add epsilon && 294s git commit -m "add epsilon" --date="2007-01-01 00:00:00 -0130" 294s ) && 294s 294s hg_clone gitrepo hgrepo && 294s git_clone hgrepo gitrepo2 && 294s hg_clone gitrepo2 hgrepo2 && 294s 294s hg_log hgrepo > expected && 294s hg_log hgrepo2 > actual && 294s 294s test_cmp expected actual 294s 294s [master (root-commit) a663549] add alpha 294s Author: A U Thor 294s Date: Mon Jan 1 00:00:00 2007 +0000 294s 1 file changed, 1 insertion(+) 294s create mode 100644 alpha 294s [master ea3e397] add beta 294s Author: A U Thor 294s Date: Mon Jan 1 00:00:00 2007 +0100 294s 1 file changed, 1 insertion(+) 294s create mode 100644 beta 294s [master d7a1343] add gamma 294s Author: A U Thor 294s Date: Mon Jan 1 00:00:00 2007 -0100 294s 1 file changed, 1 insertion(+) 294s create mode 100644 gamma 294s [master 79cd3e4] add delta 294s Author: A U Thor 294s Date: Mon Jan 1 00:00:00 2007 +0130 294s 1 file changed, 1 insertion(+) 294s create mode 100644 delta 294s [master f12dbdf] add epsilon 294s Author: A U Thor 294s Date: Mon Jan 1 00:00:00 2007 -0130 294s 1 file changed, 1 insertion(+) 294s create mode 100644 epsilon 294s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 294s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 294s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 294s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 295s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 295s or locale.getdefaultlocale()[1] 295s no changes found 295s searching for changes 295s adding changesets 295s adding manifests 295s adding file changes 295s added 5 changesets with 5 changes to 5 files 295s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 295s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 295s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 295s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 295s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 295s or locale.getdefaultlocale()[1] 295s adding changesets 295s adding manifests 295s adding file changes 295s added 5 changesets with 5 changes to 5 files 295s new changesets 87c8f82b00d0:21e96c99dac4 295s progress revision walk 'bookmarks/master' (4/4) 295s progress revision 0 'master' (0/5) 295s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 295s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 295s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 295s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 296s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 296s or locale.getdefaultlocale()[1] 296s searching for changes 296s no changes found 296s searching for changes 296s adding changesets 296s adding manifests 296s adding file changes 296s added 5 changesets with 5 changes to 5 files 296s ok 6 - test timezones 296s 296s # passed all 6 test(s) 296s 1..6 296s /bin/sh helper.t --verbose 296s expecting success: 296s test_when_finished "rm -rf gitrepo* hgrepo*" && 296s 296s setup_repos && 296s 296s ( 296s cd gitrepo && 296s test_expect_code 2 git-hg-helper help 2> ../help 296s ) 296s # remotes should be in help output 296s grep origin help 296s 297s Cloning into 'gitrepo'... 297s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 297s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 297s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 297s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 297s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 297s or locale.getdefaultlocale()[1] 297s adding changesets 297s adding manifests 297s adding file changes 297s added 1 changesets with 1 changes to 1 files 297s new changesets 0c6d7eb2bc7f 297s progress revision walk 'bookmarks/master' (0/0) 297s progress revision 0 'master' (0/1) 298s origin 298s ok 1 - subcommand help 298s 298s expecting success: 298s test_when_finished "rm -rf gitrepo* hgrepo*" && 298s 298s setup_repos && 298s 298s ( 298s cd hgrepo && 298s pwd >../expected 298s ) && 298s 298s ( 298s cd gitrepo && 298s git-hg-helper repo origin > ../actual 298s ) && 298s 298s test_cmp expected actual 298s 298s Cloning into 'gitrepo'... 298s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 298s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 298s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 298s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 298s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 298s or locale.getdefaultlocale()[1] 298s progress revision walk 'bookmarks/master' (0/0) 298s progress revision 0 'master' (0/1) 299s /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. 299s or locale.getdefaultlocale()[1] 299s ok 2 - subcommand repo - no local proxy 299s 299s expecting success: 299s test_when_finished "rm -rf gitrepo* hgrepo*" && 299s 299s setup_repos && 299s 299s ( 299s cd gitrepo && 299s export gitdir=`git rev-parse --git-dir` 299s # trick to normalize path 299s ( cd $gitdir/hg/origin/clone && pwd ) >../expected && 299s ( cd `git-hg-helper repo origin` && pwd ) > ../actual 299s ) && 299s 299s test_cmp expected actual 299s 299s Cloning into 'gitrepo'... 299s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 299s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 299s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 299s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 300s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 300s or locale.getdefaultlocale()[1] 300s adding changesets 300s adding manifests 300s adding file changes 300s added 1 changesets with 1 changes to 1 files 300s new changesets b4290816bb9c 300s progress revision walk 'bookmarks/master' (0/0) 300s progress revision 0 'master' (0/1) 300s /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. 300s or locale.getdefaultlocale()[1] 300s ok 3 - subcommand repo - with local proxy 300s 300s expecting success: 300s test_when_finished "rm -rf gitrepo* hgrepo*" && 300s 300s setup_repos && 300s 300s ( 300s cd gitrepo && 300s git rev-parse HEAD > rev-HEAD && 300s test -s rev-HEAD && 300s git-hg-helper hg-rev `cat rev-HEAD` > hg-HEAD && 300s git-hg-helper git-rev `cat hg-HEAD` > git-HEAD && 300s test_cmp rev-HEAD git-HEAD 300s ) 300s 300s Cloning into 'gitrepo'... 300s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 300s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 300s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 300s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 301s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 301s or locale.getdefaultlocale()[1] 301s adding changesets 301s adding manifests 301s adding file changes 301s added 1 changesets with 1 changes to 1 files 301s new changesets fdd4397e0f6a 301s progress revision walk 'bookmarks/master' (0/0) 301s progress revision 0 'master' (0/1) 301s /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. 301s or locale.getdefaultlocale()[1] 301s /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. 301s or locale.getdefaultlocale()[1] 301s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 301s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 301s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 301s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 301s ok 4 - subcommands hg-rev and git-rev 301s 301s expecting success: 301s test_when_finished "rm -rf gitrepo* hgrepo*" && 301s 301s ( 301s hg init hgrepo && 301s cd hgrepo && 301s echo zero > content && 301s hg add content && 301s hg commit -m zero 301s echo one > content && 301s hg commit -m one && 301s echo two > content && 301s hg commit -m two && 301s echo three > content && 301s hg commit -m three 301s ) && 301s 301s git clone hg::hgrepo gitrepo && 301s 301s ( 301s cd hgrepo && 301s hg strip -r 1 && 301s echo four > content && 301s hg commit -m four 301s ) && 301s 301s ( 301s cd gitrepo && 301s git fetch origin && 301s git reset --hard origin/master && 301s git gc && 301s git-hg-helper gc --check-hg origin > output && 301s cat output && 301s grep "hg marks" output && 301s grep "git marks" output 301s ) 301s 302s Cloning into 'gitrepo'... 302s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 302s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 302s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 302s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 303s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 303s or locale.getdefaultlocale()[1] 303s adding changesets 303s adding manifests 303s adding file changes 303s added 4 changesets with 4 changes to 1 files 303s new changesets c547ad2e6ed6:8da915ceda57 303s progress revision walk 'bookmarks/master' (3/3) 303s progress revision 0 'master' (0/4) 303s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 303s saved backup bundle to /tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo/.hg/strip-backup/ab9fd506d213-b7d6edb1-backup.hg 303s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 303s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 303s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 303s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 303s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 303s or locale.getdefaultlocale()[1] 303s searching for changes 303s adding changesets 303s adding manifests 303s adding file changes 303s added 1 changesets with 1 changes to 1 files (+1 heads) 303s new changesets 98433ab1b468 303s progress revision 4 'default' (0/1) 303s From hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo 303s + 5026947...3340a25 master -> origin/master (forced update) 303s + 5026947...3340a25 branches/default -> origin/branches/default (forced update) 304s HEAD is now at 3340a25 four 304s /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. 304s or locale.getdefaultlocale()[1] 304s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 304s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 304s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 304s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 304s Loading hg marks ... 304s Loading git marks ... 304s Performing garbage collection on git commits ... 304s Computing marks intersection ... 304s Including notes commits ... 304s Trimmed hg marks from #5 down to #0 304s Trimmed git marks from #12 down to #2 304s Writing hg marks ... 304s Writing git marks ... 304s Loading hg marks ... 304s Trimmed hg marks from #5 down to #0 304s Writing hg marks ... 304s Loading git marks ... 304s Trimmed git marks from #12 down to #2 304s Writing git marks ... 304s ok 5 - subcommand gc 304s 304s expecting success: 304s test_when_finished "rm -rf gitrepo* hgrepo*" && 304s 304s setup_repos && 304s 304s ( 304s cd hgrepo && 304s echo one > content && 304s hg commit -m one 304s ) && 304s 304s ( 304s cd gitrepo && 304s git fetch origin 304s ) && 304s 304s hg log -R hgrepo > expected && 304s # not inside gitrepo; test shared path handling 304s GIT_DIR=gitrepo/.git git-hg-helper origin log > actual 304s 304s test_cmp expected actual 304s 304s Cloning into 'gitrepo'... 304s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 304s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 304s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 304s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 305s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 305s or locale.getdefaultlocale()[1] 305s adding changesets 305s adding manifests 305s adding file changes 305s added 1 changesets with 1 changes to 1 files 305s new changesets f02fcbae7cc6 305s progress revision walk 'bookmarks/master' (0/0) 305s progress revision 0 'master' (0/1) 305s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 305s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 305s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 305s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 305s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 305s or locale.getdefaultlocale()[1] 305s searching for changes 305s adding changesets 305s adding manifests 305s adding file changes 305s added 1 changesets with 1 changes to 1 files 305s new changesets 13823a3fecc4 305s progress revision 1 'default' (0/1) 305s From hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo 305s d218380..9a371af master -> origin/master 305s d218380..9a371af branches/default -> origin/branches/default 306s /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. 306s or locale.getdefaultlocale()[1] 306s ok 6 - subcommand [some-repo] 306s 306s expecting success: 306s test_when_finished "rm -rf gitrepo* hgrepo*" && 306s 306s setup_repo hg hgrepo && 306s ( 306s cd hgrepo && 306s setup_repo hg sub_hg_a && 306s setup_repo hg sub_hg_b && 306s setup_repo git sub_git && 306s echo "sub_hg_a = sub_hg_a" > .hgsub && 306s echo "sub_hg_b = sub_hg_b" >> .hgsub && 306s echo "sub_git = [git]sub_git" >> .hgsub && 306s hg add .hgsub && 306s hg commit -m substate 306s ) 306s 306s git clone hg::hgrepo gitrepo && 306s 306s ( 306s cd gitrepo && 306s git-hg-helper sub update --force && 306s test -f content_hgrepo && 306s test -f sub_hg_a/content_sub_hg_a && 306s test -f sub_hg_b/content_sub_hg_b && 306s test -f sub_git/content_sub_git 306s ) && 306s 306s check gitrepo HEAD substate && 306s check gitrepo/sub_hg_a HEAD zero_sub_hg_a && 306s check gitrepo/sub_hg_b HEAD zero_sub_hg_b && 306s check gitrepo/sub_git HEAD zero_sub_git 306s 308s Initialized empty Git repository in /tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo/sub_git/.git/ 308s [master (root-commit) e9a16bb] zero_sub_git 308s Author: A U Thor 308s 1 file changed, 1 insertion(+) 308s create mode 100644 content_sub_git 308s Cloning into 'gitrepo'... 308s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 308s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 308s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 308s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 308s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 308s or locale.getdefaultlocale()[1] 308s adding changesets 308s adding manifests 308s adding file changes 308s added 2 changesets with 3 changes to 3 files 308s new changesets 80698dde166c:72dfcefd0aa0 308s progress revision walk 'bookmarks/master' (1/1) 308s progress revision 0 'master' (0/2) 309s /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. 309s or locale.getdefaultlocale()[1] 309s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 309s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 309s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 309s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 309s Cloning into './sub_hg_a'... 309s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 309s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 309s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 309s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 309s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 309s or locale.getdefaultlocale()[1] 309s adding changesets 309s adding manifests 309s adding file changes 309s added 1 changesets with 1 changes to 1 files 309s new changesets bfdc83ed7d4b 309s progress revision walk 'bookmarks/master' (0/0) 309s progress revision 0 'master' (0/1) 309s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 309s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 309s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 309s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 309s Cloning into './sub_hg_b'... 309s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 309s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 309s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 309s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 309s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 309s or locale.getdefaultlocale()[1] 309s adding changesets 309s adding manifests 309s adding file changes 309s added 1 changesets with 1 changes to 1 files 309s new changesets 65f45dfb442d 309s progress revision walk 'bookmarks/master' (0/0) 309s progress revision 0 'master' (0/1) 309s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 309s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 309s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 309s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 309s Cloning into './sub_git'... 309s done. 310s ok 7 - subcommand sub initial update (hg and git subrepos) 310s 310s expecting success: 310s test_when_finished "rm -rf gitrepo* hgrepo*" && 310s 310s setup_subrepos && 310s 310s git clone hg::hgrepo gitrepo && 310s 310s ( 310s cd gitrepo && 310s git-hg-helper sub --recursive update --force && 310s test -f content_hgrepo && 310s test -f sub_hg_a/content_sub_hg_a && 310s test -f sub_hg_a/sub_hg_a_x/content_sub_hg_a_x && 310s test -f sub_hg_b/content_sub_hg_b && 310s test -f sub_hg_b/sub_git/content_sub_git 310s ) && 310s 310s check gitrepo HEAD substate && 310s check gitrepo/sub_hg_a HEAD substate_hg_a && 310s check gitrepo/sub_hg_b HEAD substate_hg_b && 310s check gitrepo/sub_hg_a/sub_hg_a_x HEAD zero_sub_hg_a_x && 310s check gitrepo/sub_hg_b/sub_git HEAD zero_sub_git 310s 312s Initialized empty Git repository in /tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ 312s [master (root-commit) e9a16bb] zero_sub_git 312s Author: A U Thor 312s 1 file changed, 1 insertion(+) 312s create mode 100644 content_sub_git 313s Cloning into 'gitrepo'... 313s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 313s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 313s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 313s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 313s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 313s or locale.getdefaultlocale()[1] 313s adding changesets 313s adding manifests 313s adding file changes 313s added 2 changesets with 3 changes to 3 files 313s new changesets 7be0361fa2f6:fef47ed4bedd 313s progress revision walk 'bookmarks/master' (1/1) 313s progress revision 0 'master' (0/2) 314s /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. 314s or locale.getdefaultlocale()[1] 314s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 314s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 314s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 314s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 314s Cloning into './sub_hg_a'... 314s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 314s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 314s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 314s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 314s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 314s or locale.getdefaultlocale()[1] 314s adding changesets 314s adding manifests 314s adding file changes 314s added 2 changesets with 3 changes to 3 files 314s new changesets bed12ccac31f:6243f29db983 314s progress revision walk 'bookmarks/master' (1/1) 314s progress revision 0 'master' (0/2) 314s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 314s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 314s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 314s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 314s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 314s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 314s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 314s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 314s Cloning into './sub_hg_a/sub_hg_a_x'... 314s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 314s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 314s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 314s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 314s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 314s or locale.getdefaultlocale()[1] 314s adding changesets 314s adding manifests 314s adding file changes 314s added 1 changesets with 1 changes to 1 files 314s new changesets 75459a5f1ace 314s progress revision walk 'bookmarks/master' (0/0) 314s progress revision 0 'master' (0/1) 314s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 314s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 314s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 314s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 314s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 314s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 314s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 314s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 314s Cloning into './sub_hg_b'... 314s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 314s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 314s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 314s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 315s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 315s or locale.getdefaultlocale()[1] 315s adding changesets 315s adding manifests 315s adding file changes 315s added 2 changesets with 3 changes to 3 files 315s new changesets 73535d7fd27b:a0248f962cc3 315s progress revision walk 'bookmarks/master' (1/1) 315s progress revision 0 'master' (0/2) 315s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 315s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 315s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 315s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 315s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 315s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 315s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 315s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 315s Cloning into './sub_hg_b/sub_git'... 315s done. 315s ok 8 - subcommand sub initial recursive update 315s 315s expecting success: 315s test_when_finished "rm -rf gitrepo* hgrepo*" && 315s 315s test_sub_update 315s 318s Initialized empty Git repository in /tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ 318s [master (root-commit) e9a16bb] zero_sub_git 318s Author: A U Thor 318s 1 file changed, 1 insertion(+) 318s create mode 100644 content_sub_git 318s Cloning into 'gitrepo'... 318s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 318s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 318s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 318s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 319s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 319s or locale.getdefaultlocale()[1] 319s adding changesets 319s adding manifests 319s adding file changes 319s added 2 changesets with 3 changes to 3 files 319s new changesets a96e459b6f71:376829398287 319s progress revision walk 'bookmarks/master' (1/1) 319s progress revision 0 'master' (0/2) 319s /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. 319s or locale.getdefaultlocale()[1] 319s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 319s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 319s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 319s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 319s Cloning into './sub_hg_a'... 319s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 319s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 319s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 319s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 319s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 319s or locale.getdefaultlocale()[1] 319s adding changesets 319s adding manifests 319s adding file changes 319s added 2 changesets with 3 changes to 3 files 319s new changesets 0b3fad994b63:ec7f78be0c7d 319s progress revision walk 'bookmarks/master' (1/1) 319s progress revision 0 'master' (0/2) 319s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 319s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 319s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 319s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 319s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 319s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 319s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 319s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 319s Cloning into './sub_hg_a/sub_hg_a_x'... 319s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 319s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 319s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 319s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 319s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 319s or locale.getdefaultlocale()[1] 320s adding changesets 320s adding manifests 320s adding file changes 320s added 1 changesets with 1 changes to 1 files 320s new changesets bcbb5d69eceb 320s progress revision walk 'bookmarks/master' (0/0) 320s progress revision 0 'master' (0/1) 320s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 320s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 320s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 320s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 320s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 320s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 320s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 320s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 320s Cloning into './sub_hg_b'... 320s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 320s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 320s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 320s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 320s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 320s or locale.getdefaultlocale()[1] 320s adding changesets 320s adding manifests 320s adding file changes 320s added 2 changesets with 3 changes to 3 files 320s new changesets 5551189dd691:454650d07bf1 320s progress revision walk 'bookmarks/master' (1/1) 320s progress revision 0 'master' (0/2) 320s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 320s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 320s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 320s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 320s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 320s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 320s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 320s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 320s Cloning into './sub_hg_b/sub_git'... 320s done. 321s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 321s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 321s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 321s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 321s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 321s or locale.getdefaultlocale()[1] 321s searching for changes 321s adding changesets 321s adding manifests 321s adding file changes 321s added 1 changesets with 1 changes to 1 files 321s new changesets 74897b82e77b 321s progress revision 2 'default' (0/1) 321s From hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo 321s 0ba61dc..781e19e master -> origin/master 321s 0ba61dc..781e19e branches/default -> origin/branches/default 321s Updating 0ba61dc..781e19e 321s Fast-forward 321s .hgsubstate | 2 +- 321s 1 file changed, 1 insertion(+), 1 deletion(-) 321s /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. 321s or locale.getdefaultlocale()[1] 321s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 321s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 321s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 321s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 321s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 321s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 321s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 321s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 322s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 322s or locale.getdefaultlocale()[1] 322s searching for changes 322s adding changesets 322s adding manifests 322s adding file changes 322s added 1 changesets with 1 changes to 1 files 322s new changesets d1009bd938ba 322s progress revision 2 'default' (0/1) 322s From hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo/sub_hg_a 322s a700fb2..195cf27 branches/default -> origin/branches/default 322s a700fb2..195cf27 master -> origin/master 322s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 322s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 322s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 322s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 322s HEAD is now at a700fb2 substate_hg_a 322s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 322s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 322s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 322s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 322s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 322s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 322s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 322s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 322s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 322s or locale.getdefaultlocale()[1] 322s searching for changes 322s adding changesets 322s adding manifests 322s adding file changes 322s added 1 changesets with 1 changes to 1 files 322s new changesets a67ed25d14ea 322s progress revision 1 'default' (0/1) 322s From hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo/sub_hg_a/sub_hg_a_x 322s ba9aef9..db51c6d branches/default -> origin/branches/default 322s ba9aef9..db51c6d master -> origin/master 322s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 322s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 322s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 322s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 322s HEAD is now at ba9aef9 zero_sub_hg_a_x 322s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 322s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 322s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 322s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 322s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 322s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 322s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 322s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 322s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 322s or locale.getdefaultlocale()[1] 322s no changes found 322s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 322s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 322s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 322s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 322s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 322s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 322s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 322s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 323s ok 9 - subcommand sub subsequent recursive update 323s 323s expecting success: 323s test_when_finished "rm -rf gitrepo* hgrepo*" && 323s 323s test_sub_update --rebase 323s 325s Initialized empty Git repository in /tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ 325s [master (root-commit) e9a16bb] zero_sub_git 325s Author: A U Thor 325s 1 file changed, 1 insertion(+) 325s create mode 100644 content_sub_git 326s Cloning into 'gitrepo'... 326s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 326s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 326s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 326s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 326s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 326s or locale.getdefaultlocale()[1] 326s adding changesets 326s adding manifests 326s adding file changes 326s added 2 changesets with 3 changes to 3 files 326s new changesets 7b315135b9e9:5a9077b7aad6 326s progress revision walk 'bookmarks/master' (1/1) 326s progress revision 0 'master' (0/2) 327s /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. 327s or locale.getdefaultlocale()[1] 327s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 327s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 327s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 327s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 327s Cloning into './sub_hg_a'... 327s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 327s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 327s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 327s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 327s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 327s or locale.getdefaultlocale()[1] 327s adding changesets 327s adding manifests 327s adding file changes 327s added 2 changesets with 3 changes to 3 files 327s new changesets 507910ce033a:d1bf3d0fa9f0 327s progress revision walk 'bookmarks/master' (1/1) 327s progress revision 0 'master' (0/2) 327s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 327s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 327s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 327s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 327s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 327s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 327s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 327s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 327s Cloning into './sub_hg_a/sub_hg_a_x'... 327s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 327s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 327s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 327s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 327s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 327s or locale.getdefaultlocale()[1] 327s adding changesets 327s adding manifests 327s adding file changes 327s added 1 changesets with 1 changes to 1 files 327s new changesets 006c963efb73 327s progress revision walk 'bookmarks/master' (0/0) 327s progress revision 0 'master' (0/1) 327s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 327s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 327s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 327s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 327s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 327s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 327s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 327s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 327s Cloning into './sub_hg_b'... 327s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 327s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 327s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 327s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 328s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 328s or locale.getdefaultlocale()[1] 328s adding changesets 328s adding manifests 328s adding file changes 328s added 2 changesets with 3 changes to 3 files 328s new changesets 8f2dfd39ba61:bcefdda7d566 328s progress revision walk 'bookmarks/master' (1/1) 328s progress revision 0 'master' (0/2) 328s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 328s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 328s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 328s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 328s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 328s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 328s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 328s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 328s Cloning into './sub_hg_b/sub_git'... 328s done. 329s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 329s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 329s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 329s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 329s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 329s or locale.getdefaultlocale()[1] 329s searching for changes 329s adding changesets 329s adding manifests 329s adding file changes 329s added 1 changesets with 1 changes to 1 files 329s new changesets 472e42bdaa62 329s progress revision 2 'default' (0/1) 329s From hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo 329s cb8404a..590958c master -> origin/master 329s cb8404a..590958c branches/default -> origin/branches/default 329s Updating cb8404a..590958c 329s Fast-forward 329s .hgsubstate | 2 +- 329s 1 file changed, 1 insertion(+), 1 deletion(-) 329s /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. 329s or locale.getdefaultlocale()[1] 329s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 329s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 329s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 329s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 329s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 329s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 329s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 329s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 329s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 329s or locale.getdefaultlocale()[1] 329s searching for changes 329s adding changesets 329s adding manifests 329s adding file changes 329s added 1 changesets with 1 changes to 1 files 329s new changesets 4bfe531b5a26 329s progress revision 2 'default' (0/1) 329s From hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo/sub_hg_a 329s ad0d38b..c7b5d7d branches/default -> origin/branches/default 329s ad0d38b..c7b5d7d master -> origin/master 329s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 329s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 329s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 329s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 330s HEAD is now at ad0d38b substate_hg_a 330s Successfully rebased and updated detached HEAD. 330s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 330s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 330s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 330s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 330s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 330s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 330s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 330s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 330s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 330s or locale.getdefaultlocale()[1] 330s searching for changes 330s adding changesets 330s adding manifests 330s adding file changes 330s added 1 changesets with 1 changes to 1 files 330s new changesets 6f1e563dc6ad 330s progress revision 1 'default' (0/1) 330s From hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo/sub_hg_a/sub_hg_a_x 330s 5e892fd..3e20579 branches/default -> origin/branches/default 330s 5e892fd..3e20579 master -> origin/master 330s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 330s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 330s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 330s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 330s HEAD is now at 5e892fd zero_sub_hg_a_x 330s Successfully rebased and updated detached HEAD. 330s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 330s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 330s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 330s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 330s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 330s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 330s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 330s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 330s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 330s or locale.getdefaultlocale()[1] 330s no changes found 330s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 330s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 330s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 330s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 330s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 330s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 330s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 330s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 330s ok 10 - subcommand sub subsequent recursive update -- rebase 330s 330s expecting success: 330s test_when_finished "rm -rf gitrepo* hgrepo*" && 330s 330s test_sub_update --merge 330s 333s Initialized empty Git repository in /tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ 333s [master (root-commit) e9a16bb] zero_sub_git 333s Author: A U Thor 333s 1 file changed, 1 insertion(+) 333s create mode 100644 content_sub_git 334s Cloning into 'gitrepo'... 334s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 334s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 334s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 334s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 334s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 334s or locale.getdefaultlocale()[1] 334s adding changesets 334s adding manifests 334s adding file changes 334s added 2 changesets with 3 changes to 3 files 334s new changesets 870a82f0fc30:da7d849369c3 334s progress revision walk 'bookmarks/master' (1/1) 334s progress revision 0 'master' (0/2) 334s /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. 334s or locale.getdefaultlocale()[1] 334s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 334s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 334s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 334s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 334s Cloning into './sub_hg_a'... 334s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 334s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 334s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 334s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 335s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 335s or locale.getdefaultlocale()[1] 335s adding changesets 335s adding manifests 335s adding file changes 335s added 2 changesets with 3 changes to 3 files 335s new changesets c6f68800a46e:741d621cf03d 335s progress revision walk 'bookmarks/master' (1/1) 335s progress revision 0 'master' (0/2) 335s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 335s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 335s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 335s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 335s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 335s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 335s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 335s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 335s Cloning into './sub_hg_a/sub_hg_a_x'... 335s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 335s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 335s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 335s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 335s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 335s or locale.getdefaultlocale()[1] 335s adding changesets 335s adding manifests 335s adding file changes 335s added 1 changesets with 1 changes to 1 files 335s new changesets dfc584493d2f 335s progress revision walk 'bookmarks/master' (0/0) 335s progress revision 0 'master' (0/1) 335s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 335s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 335s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 335s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 335s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 335s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 335s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 335s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 335s Cloning into './sub_hg_b'... 335s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 335s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 335s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 335s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 335s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 335s or locale.getdefaultlocale()[1] 335s adding changesets 335s adding manifests 335s adding file changes 336s added 2 changesets with 3 changes to 3 files 336s new changesets ec0630d6ff67:ddbb2f70408d 336s progress revision walk 'bookmarks/master' (1/1) 336s progress revision 0 'master' (0/2) 336s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 336s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 336s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 336s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 336s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 336s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 336s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 336s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 336s Cloning into './sub_hg_b/sub_git'... 336s done. 336s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 336s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 336s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 336s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 337s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 337s or locale.getdefaultlocale()[1] 337s searching for changes 337s adding changesets 337s adding manifests 337s adding file changes 337s added 1 changesets with 1 changes to 1 files 337s new changesets 9898f5315c3f 337s progress revision 2 'default' (0/1) 337s From hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo 337s c6fdc5b..4f36f4b master -> origin/master 337s c6fdc5b..4f36f4b branches/default -> origin/branches/default 337s Updating c6fdc5b..4f36f4b 337s Fast-forward 337s .hgsubstate | 2 +- 337s 1 file changed, 1 insertion(+), 1 deletion(-) 337s /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. 337s or locale.getdefaultlocale()[1] 337s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 337s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 337s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 337s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 337s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 337s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 337s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 337s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 337s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 337s or locale.getdefaultlocale()[1] 337s searching for changes 337s adding changesets 337s adding manifests 337s adding file changes 337s added 1 changesets with 1 changes to 1 files 337s new changesets c4d75d577f11 337s progress revision 2 'default' (0/1) 337s From hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo/sub_hg_a 337s 259018d..138ac5b branches/default -> origin/branches/default 337s 259018d..138ac5b master -> origin/master 337s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 337s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 337s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 337s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 337s HEAD is now at 259018d substate_hg_a 337s Updating 259018d..138ac5b 337s Fast-forward 337s .hgsubstate | 2 +- 337s 1 file changed, 1 insertion(+), 1 deletion(-) 338s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 338s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 338s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 338s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 338s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 338s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 338s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 338s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 338s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 338s or locale.getdefaultlocale()[1] 338s searching for changes 338s adding changesets 338s adding manifests 338s adding file changes 338s added 1 changesets with 1 changes to 1 files 338s new changesets 65307c9aaa19 338s progress revision 1 'default' (0/1) 338s From hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo/sub_hg_a/sub_hg_a_x 338s 25a7cc7..94b37c3 branches/default -> origin/branches/default 338s 25a7cc7..94b37c3 master -> origin/master 338s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 338s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 338s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 338s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 338s HEAD is now at 25a7cc7 zero_sub_hg_a_x 338s Updating 25a7cc7..94b37c3 338s Fast-forward 338s content_sub_hg_a_x | 2 +- 338s 1 file changed, 1 insertion(+), 1 deletion(-) 338s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 338s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 338s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 338s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 338s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 338s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 338s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 338s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 338s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 338s or locale.getdefaultlocale()[1] 338s no changes found 338s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 338s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 338s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 338s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 338s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 338s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 338s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 338s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 338s ok 11 - subcommand sub subsequent recursive update -- merge 338s 338s expecting success: 338s test_when_finished "rm -rf gitrepo* hgrepo*" && 338s 338s test_sub_foreach 338s 341s Initialized empty Git repository in /tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ 341s [master (root-commit) e9a16bb] zero_sub_git 341s Author: A U Thor 341s 1 file changed, 1 insertion(+) 341s create mode 100644 content_sub_git 342s Cloning into 'gitrepo'... 342s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 342s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 342s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 342s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 342s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 342s or locale.getdefaultlocale()[1] 342s adding changesets 342s adding manifests 342s adding file changes 342s added 2 changesets with 3 changes to 3 files 342s new changesets 54a734c5712c:e2a5b4431bc5 342s progress revision walk 'bookmarks/master' (1/1) 342s progress revision 0 'master' (0/2) 343s /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. 343s or locale.getdefaultlocale()[1] 343s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 343s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 343s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 343s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 343s Cloning into './sub_hg_a'... 343s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 343s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 343s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 343s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 343s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 343s or locale.getdefaultlocale()[1] 343s adding changesets 343s adding manifests 343s adding file changes 343s added 2 changesets with 3 changes to 3 files 343s new changesets 5e57ce54d3d5:a79353d1ae4a 343s progress revision walk 'bookmarks/master' (1/1) 343s progress revision 0 'master' (0/2) 343s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 343s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 343s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 343s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 343s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 343s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 343s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 343s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 343s Cloning into './sub_hg_a/sub_hg_a_x'... 343s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 343s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 343s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 343s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 343s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 343s or locale.getdefaultlocale()[1] 343s adding changesets 343s adding manifests 343s adding file changes 343s added 1 changesets with 1 changes to 1 files 343s new changesets 9326414f6936 343s progress revision walk 'bookmarks/master' (0/0) 343s progress revision 0 'master' (0/1) 343s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 343s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 343s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 343s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 343s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 343s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 343s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 343s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 343s Cloning into './sub_hg_b'... 343s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 343s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 343s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 343s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 344s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 344s or locale.getdefaultlocale()[1] 344s adding changesets 344s adding manifests 344s adding file changes 344s added 2 changesets with 3 changes to 3 files 344s new changesets d6899afd5eed:378434a52f30 344s progress revision walk 'bookmarks/master' (1/1) 344s progress revision 0 'master' (0/2) 344s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 344s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 344s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 344s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 344s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 344s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 344s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 344s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 344s Cloning into './sub_hg_b/sub_git'... 344s done. 344s /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. 344s or locale.getdefaultlocale()[1] 344s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 344s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 344s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 344s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 344s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 344s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 344s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 344s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 344s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 344s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 344s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 344s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 344s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 344s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 344s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 344s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 344s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 344s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 344s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 344s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 344s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 344s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 344s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 344s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 344s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 344s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 344s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 344s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 344s hg d3345c294518be9d7c4b68ef068dc0ee6c9fd516 a79353d1ae4ac1015de00af8519419ec9474aa8a sub_hg_a /tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/gitrepo 344s hg 9104df2202e3d8a73e70da0274e8577e5d6a2d9f 9326414f6936ef6265ac00373d2a8740f38bce77 sub_hg_a_x /tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/gitrepo/sub_hg_a 344s hg 960ab0358189ec993c9dc2407b30339836b97b99 378434a52f301a5c274cfe54685a76727a941958 sub_hg_b /tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/gitrepo 344s git e9a16bb7c08361f85ab0002e4094b4229fefb384 e9a16bb7c08361f85ab0002e4094b4229fefb384 sub_git /tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/gitrepo/sub_hg_b 344s ok 12 - subcommand sub foreach 344s 344s expecting success: 344s test_when_finished "rm -rf gitrepo* hgrepo*" && 344s 344s setup_repo hg hgrepo && 344s ( 344s cd hgrepo && 344s setup_repo hg sub_hg && 344s echo "sub_hg = sub_hg" > .hgsub && 344s hg add .hgsub && 344s hg commit -m substate 344s ) 344s 344s git clone hg::hgrepo gitrepo && 344s 344s ( 344s cd gitrepo && 344s git-hg-helper sub update --force && 344s 344s ( 344s cd sub_hg && 344s grep url .git/config > ../expected && 344s git config remote.origin.url foobar && 344s grep foobar .git/config 344s ) && 344s 344s git-hg-helper sub sync && 344s grep url sub_hg/.git/config > actual && 344s test_cmp expected actual 344s ) 344s 346s Cloning into 'gitrepo'... 346s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 346s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 346s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 346s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 346s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 346s or locale.getdefaultlocale()[1] 346s adding changesets 346s adding manifests 346s adding file changes 346s added 2 changesets with 3 changes to 3 files 346s new changesets 229de22b10bc:274f0a1f4e98 346s progress revision walk 'bookmarks/master' (1/1) 346s progress revision 0 'master' (0/2) 346s /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. 346s or locale.getdefaultlocale()[1] 346s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 346s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 346s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 346s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 347s Cloning into './sub_hg'... 347s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 347s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 347s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 347s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 347s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 347s or locale.getdefaultlocale()[1] 347s adding changesets 347s adding manifests 347s adding file changes 347s added 1 changesets with 1 changes to 1 files 347s new changesets 4a0320c475c5 347s progress revision walk 'bookmarks/master' (0/0) 347s progress revision 0 'master' (0/1) 347s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 347s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 347s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 347s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 347s url = foobar 347s /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. 347s or locale.getdefaultlocale()[1] 347s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 347s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 347s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 347s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 347s ok 13 - subcommand sub sync 347s 347s expecting success: 347s test_when_finished "rm -rf gitrepo* hgrepo*" && 347s 347s setup_repo hg hgrepo && 347s ( 347s cd hgrepo && 347s setup_repo hg sub_hg && 347s setup_repo git sub_git && 347s echo "sub_hg = sub_hg" > .hgsub && 347s echo "sub_git = [git]sub_git" >> .hgsub && 347s hg add .hgsub && 347s hg commit -m substate 347s ) 347s 347s git clone hg::hgrepo gitrepo && 347s 347s ( 347s cd gitrepo && 347s git-hg-helper sub update --force && 347s 347s ( 347s cd sub_hg && 347s echo one > content_sub_hg && 347s git add content_sub_hg && 347s git commit -m one_sub_hg && 347s # detached HEAD 347s git push origin HEAD:master && 347s # also fetch to ensure notes are updated 347s git fetch origin 347s ) && 347s 347s ( 347s cd sub_git && 347s echo one > content_sub_git && 347s git add content_sub_git && 347s git commit -m one_sub_git && 347s # detached HEAD; push revision to other side ... anywhere 347s git push origin HEAD:refs/heads/new 347s ) 347s ) && 347s 347s ( 347s cd gitrepo && 347s git-hg-helper sub upstate && 347s git diff && 347s git status --porcelain | grep .hgsubstate && 347s git add .hgsubstate && 347s git commit -m update_sub && 347s git push origin master 347s ) && 347s 347s hg clone hgrepo hgclone && 347s 347s ( 347s cd hgclone && 347s hg update 347s ) && 347s 347s check_branch hgclone default update_sub && 347s check_branch hgclone/sub_hg default one_sub_hg && 347s check hgclone/sub_git HEAD one_sub_git 347s 348s Initialized empty Git repository in /tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo/sub_git/.git/ 348s [master (root-commit) e9a16bb] zero_sub_git 348s Author: A U Thor 348s 1 file changed, 1 insertion(+) 348s create mode 100644 content_sub_git 349s Cloning into 'gitrepo'... 349s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 349s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 349s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 349s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 349s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 349s or locale.getdefaultlocale()[1] 349s adding changesets 349s adding manifests 349s adding file changes 349s added 2 changesets with 3 changes to 3 files 349s new changesets 4b02ba603445:efab4cb3b7ae 349s progress revision walk 'bookmarks/master' (1/1) 349s progress revision 0 'master' (0/2) 350s /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. 350s or locale.getdefaultlocale()[1] 350s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 350s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 350s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 350s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 350s Cloning into './sub_hg'... 350s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 350s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 350s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 350s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 350s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 350s or locale.getdefaultlocale()[1] 350s adding changesets 350s adding manifests 350s adding file changes 350s added 1 changesets with 1 changes to 1 files 350s new changesets 172ad265b567 350s progress revision walk 'bookmarks/master' (0/0) 350s progress revision 0 'master' (0/1) 350s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 350s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 350s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 350s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 350s Cloning into './sub_git'... 350s done. 350s [detached HEAD ae4ea39] one_sub_hg 350s Author: A U Thor 350s 1 file changed, 1 insertion(+), 1 deletion(-) 350s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 350s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 350s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 350s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 350s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 350s or locale.getdefaultlocale()[1] 350s no changes found 350s searching for changes 350s adding changesets 350s adding manifests 350s adding file changes 350s added 1 changesets with 1 changes to 1 files 350s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo/sub_hg 350s fffffff..ae4ea39 HEAD -> master 350s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 350s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 350s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 350s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 351s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 351s or locale.getdefaultlocale()[1] 351s no changes found 351s 1 local changesets published 351s From hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo/sub_hg 351s 506883b..ae4ea39 branches/default -> origin/branches/default 351s [detached HEAD cea1af1] one_sub_git 351s Author: A U Thor 351s 1 file changed, 1 insertion(+), 1 deletion(-) 351s To /tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo/sub_git 351s * [new branch] HEAD -> new 351s /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. 351s or locale.getdefaultlocale()[1] 351s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 351s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 351s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 351s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 351s Updating ./sub_hg to a21b32aadfc11f2c986bd3cd24a8454b2076ab51 [git ae4ea39] 351s Updating ./sub_git to cea1af1c0bdaae94623e5a8e4d85c13835bb44b6 [git cea1af1] 351s diff --git a/.hgsubstate b/.hgsubstate 351s index c1f7b3a..9564016 100644 351s --- a/.hgsubstate 351s +++ b/.hgsubstate 351s @@ -1,2 +1,2 @@ 351s -e9a16bb7c08361f85ab0002e4094b4229fefb384 sub_git 351s -172ad265b56702c2fa874ce0cef071bd0d69ed60 sub_hg 351s +cea1af1c0bdaae94623e5a8e4d85c13835bb44b6 sub_git 351s +a21b32aadfc11f2c986bd3cd24a8454b2076ab51 sub_hg 351s M .hgsubstate 351s [master bc58998] update_sub 351s Author: A U Thor 351s 1 file changed, 2 insertions(+), 2 deletions(-) 351s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 351s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 351s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 351s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 351s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 351s or locale.getdefaultlocale()[1] 351s no changes found 351s searching for changes 351s adding changesets 351s adding manifests 351s adding file changes 351s added 1 changesets with 1 changes to 1 files 351s To hg::/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo 351s fffffff..bc58998 master -> master 352s Cloning into '/tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgclone/sub_git'... 352s done. 352s Switched to a new branch 'new' 352s updating to branch default 352s cloning subrepo sub_git from /tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo/sub_git 352s cloning subrepo sub_hg from /tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo/sub_hg 352s 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 352s 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 352s ok 14 - subcommand sub addstate 352s 352s expecting success: 352s test_when_finished "rm -rf gitrepo* hgrepo*" && 352s 352s setup_repo hg hgrepo && 352s ( 352s cd hgrepo && 352s setup_repo hg sub_hg_a && 352s setup_repo hg sub_hg_b && 352s setup_repo git sub_git && 352s echo "sub_hg_a = sub_hg_a" > .hgsub && 352s echo "sub_hg_b = sub_hg_b" >> .hgsub && 352s echo "sub_git = [git]sub_git" >> .hgsub && 352s hg add .hgsub && 352s hg commit -m substate 352s ) 352s 352s git clone hg::hgrepo gitrepo && 352s 352s ( 352s cd gitrepo && 352s git-hg-helper sub update --force sub_hg_a && 352s git-hg-helper sub update --force sub_git && 352s ( 352s # advance and add a tag to the git repo 352s cd sub_git && 352s echo one > content_sub_git && 352s git add content_sub_git && 352s git commit -m one_sub_git && 352s git tag feature-a 352s ) && 352s 352s git-hg-helper sub status --cached > output && 352s cat output && 352s grep "^ .*sub_hg_a (.*master.*)$" output && 352s grep "^-.*sub_hg_b$" output && 352s grep "^+.*sub_git (feature-a~1)$" output && 352s git-hg-helper sub status sub_git > output && 352s cat output && 352s grep "^+.*sub_git (feature-a)$" output > actual && 352s test_cmp output actual 352s ) 352s 354s Initialized empty Git repository in /tmp/autopkgtest.uw8TTc/build.bGY/src/test/trash directory.helper/hgrepo/sub_git/.git/ 354s [master (root-commit) e9a16bb] zero_sub_git 354s Author: A U Thor 354s 1 file changed, 1 insertion(+) 354s create mode 100644 content_sub_git 355s Cloning into 'gitrepo'... 355s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 355s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 355s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 355s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 355s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 355s or locale.getdefaultlocale()[1] 355s adding changesets 355s adding manifests 355s adding file changes 355s added 2 changesets with 3 changes to 3 files 355s new changesets ef25bb0ad620:aae86d40ffc7 355s progress revision walk 'bookmarks/master' (1/1) 355s progress revision 0 'master' (0/2) 355s /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. 355s or locale.getdefaultlocale()[1] 355s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 355s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 355s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 355s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 355s /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. 355s or locale.getdefaultlocale()[1] 355s Cloning into './sub_hg_a'... 355s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 355s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 355s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 355s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 355s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 355s or locale.getdefaultlocale()[1] 355s adding changesets 355s adding manifests 355s adding file changes 355s added 1 changesets with 1 changes to 1 files 355s new changesets 53fc17091104 355s progress revision walk 'bookmarks/master' (0/0) 355s progress revision 0 'master' (0/1) 356s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 356s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 356s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 356s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 356s /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. 356s or locale.getdefaultlocale()[1] 356s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 356s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 356s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 356s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 356s /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. 356s or locale.getdefaultlocale()[1] 356s Cloning into './sub_git'... 356s done. 356s [detached HEAD cea1af1] one_sub_git 356s Author: A U Thor 356s 1 file changed, 1 insertion(+), 1 deletion(-) 356s /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. 356s or locale.getdefaultlocale()[1] 356s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 356s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 356s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 356s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 356s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 356s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 356s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 356s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 356s 0d0f10bc959c33606cc93fdce112793e59f4e966 ./sub_hg_a (heads/master) 356s -08a96813591b3681680fefacfb71ef1b4e848e4f[hg] ./sub_hg_b 356s +e9a16bb7c08361f85ab0002e4094b4229fefb384 ./sub_git (feature-a~1) 356s 0d0f10bc959c33606cc93fdce112793e59f4e966 ./sub_hg_a (heads/master) 356s -08a96813591b3681680fefacfb71ef1b4e848e4f[hg] ./sub_hg_b 356s +e9a16bb7c08361f85ab0002e4094b4229fefb384 ./sub_git (feature-a~1) 357s /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. 357s or locale.getdefaultlocale()[1] 357s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 357s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 357s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 357s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 357s /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. 357s or locale.getdefaultlocale()[1] 357s +cea1af1c0bdaae94623e5a8e4d85c13835bb44b6 ./sub_git (feature-a) 357s ok 15 - subcommand sub status 357s 357s # passed all 15 test(s) 357s 1..15 357s make clean 357s make[1]: Entering directory '/tmp/autopkgtest.uw8TTc/build.bGY/src/test' 357s rm -f -r 'trash directory'.* test-results 357s make[1]: Leaving directory '/tmp/autopkgtest.uw8TTc/build.bGY/src/test' 357s make: Leaving directory '/tmp/autopkgtest.uw8TTc/build.bGY/src/test' 357s autopkgtest [23:05:34]: test upstream-test-suite: -----------------------] 358s upstream-test-suite PASS 358s autopkgtest [23:05:35]: test upstream-test-suite: - - - - - - - - - - results - - - - - - - - - - 358s autopkgtest [23:05:35]: @@@@@@@@@@@@@@@@@@@@ summary 358s upstream-test-suite PASS