0s autopkgtest [19:27:35]: starting date and time: 2025-10-18 19:27:35+0000 0s autopkgtest [19:27:35]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [19:27:35]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.khgf7iaq/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults --apt-upgrade git-remote-hg --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.13.7-2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-ppc64el-8.secgroup --name adt-resolute-ppc64el-git-remote-hg-20251018-192734-juju-7f2275-prod-proposed-migration-environment-2-688b50bf-3ed3-4d20-90c5-e152ecfa39c4 --image adt/ubuntu-resolute-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-ppc64el -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-ppc64el-git-remote-hg-20251018-192734-juju-7f2275-prod-proposed-migration-environment-2-688b50bf-3ed3-4d20-90c5-e152ecfa39c4 from image adt/ubuntu-resolute-ppc64el-server-20251018.img (UUID 746a0a80-14f1-4bf7-89b6-cbb5ab236a4e)... 52s autopkgtest [19:28:27]: testbed dpkg architecture: ppc64el 52s autopkgtest [19:28:27]: testbed apt version: 3.1.8ubuntu1 52s autopkgtest [19:28:27]: @@@@@@@@@@@@@@@@@@@@ test bed setup 52s autopkgtest [19:28:27]: testbed release detected to be: None 53s autopkgtest [19:28:28]: updating testbed package index (apt update) 54s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 54s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 54s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 54s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 54s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [50.7 kB] 54s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [16.7 kB] 54s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 54s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [456 kB] 54s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [92.0 kB] 54s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted ppc64el Packages [940 B] 54s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [317 kB] 54s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [4660 B] 54s Fetched 1026 kB in 1s (967 kB/s) 55s Reading package lists... 56s Failed to check for VM: Permission denied 56s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 56s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 56s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 56s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 57s Reading package lists... 57s Reading package lists... 57s Building dependency tree... 57s Reading state information... 58s Calculating upgrade... 58s The following packages will be upgraded: 58s gir1.2-girepository-2.0 libgirepository-1.0-1 libpython3-stdlib python3 58s python3-minimal 58s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 58s Need to get 185 kB of archives. 58s After this operation, 2048 B of additional disk space will be used. 58s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-minimal ppc64el 3.13.7-2 [27.8 kB] 58s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3 ppc64el 3.13.7-2 [23.9 kB] 58s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libpython3-stdlib ppc64el 3.13.7-2 [10.6 kB] 58s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgirepository-1.0-1 ppc64el 1.86.0-6 [97.4 kB] 58s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el gir1.2-girepository-2.0 ppc64el 1.86.0-6 [25.3 kB] 58s dpkg-preconfigure: unable to re-open stdin: No such file or directory 58s Fetched 185 kB in 0s (412 kB/s) 59s (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 ... 76461 files and directories currently installed.) 59s Preparing to unpack .../python3-minimal_3.13.7-2_ppc64el.deb ... 59s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 59s Setting up python3-minimal (3.13.7-2) ... 59s (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 ... 76461 files and directories currently installed.) 59s Preparing to unpack .../python3_3.13.7-2_ppc64el.deb ... 59s running python pre-rtupdate hooks for python3.13... 59s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 59s Preparing to unpack .../libpython3-stdlib_3.13.7-2_ppc64el.deb ... 59s Unpacking libpython3-stdlib:ppc64el (3.13.7-2) over (3.13.7-1) ... 59s Preparing to unpack .../libgirepository-1.0-1_1.86.0-6_ppc64el.deb ... 59s Unpacking libgirepository-1.0-1:ppc64el (1.86.0-6) over (1.84.0-1) ... 59s Preparing to unpack .../gir1.2-girepository-2.0_1.86.0-6_ppc64el.deb ... 59s Unpacking gir1.2-girepository-2.0:ppc64el (1.86.0-6) over (1.84.0-1) ... 59s Setting up libgirepository-1.0-1:ppc64el (1.86.0-6) ... 59s Setting up libpython3-stdlib:ppc64el (3.13.7-2) ... 59s Setting up python3 (3.13.7-2) ... 59s running python rtupdate hooks for python3.13... 59s running python post-rtupdate hooks for python3.13... 59s Setting up gir1.2-girepository-2.0:ppc64el (1.86.0-6) ... 59s Processing triggers for man-db (2.13.1-1) ... 60s Processing triggers for libc-bin (2.42-0ubuntu3) ... 61s autopkgtest [19:28:36]: upgrading testbed (apt dist-upgrade and autopurge) 61s Reading package lists... 61s Building dependency tree... 61s Reading state information... 61s Calculating upgrade... 61s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 61s Reading package lists... 62s Building dependency tree... 62s Reading state information... 62s Solving dependencies... 62s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 65s autopkgtest [19:28:40]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 10:02:41 UTC 2025 65s autopkgtest [19:28:40]: @@@@@@@@@@@@@@@@@@@@ apt-source git-remote-hg 67s Get:1 http://ftpmaster.internal/ubuntu resolute/universe git-remote-hg 1.0.4~ds-3 (dsc) [2146 B] 67s Get:2 http://ftpmaster.internal/ubuntu resolute/universe git-remote-hg 1.0.4~ds-3 (tar) [51.2 kB] 67s Get:3 http://ftpmaster.internal/ubuntu resolute/universe git-remote-hg 1.0.4~ds-3 (diff) [6096 B] 67s gpgv: Signature made Fri Feb 21 20:16:13 2025 UTC 67s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 67s gpgv: issuer "tchet@debian.org" 67s gpgv: Can't check signature: No public key 67s dpkg-source: warning: cannot verify inline signature for ./git-remote-hg_1.0.4~ds-3.dsc: no acceptable signature found 67s autopkgtest [19:28:42]: testing package git-remote-hg version 1.0.4~ds-3 67s autopkgtest [19:28:42]: build not needed 68s autopkgtest [19:28:43]: test upstream-test-suite: preparing testbed 68s Reading package lists... 68s Building dependency tree... 68s Reading state information... 68s Solving dependencies... 68s The following NEW packages will be installed: 68s git git-man git-remote-hg liberror-perl mercurial mercurial-common 68s mercurial-git python3-dulwich python3-zombie-imp sharness 68s 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. 68s Need to get 12.5 MB of archives. 68s After this operation, 56.1 MB of additional disk space will be used. 68s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el liberror-perl all 0.17030-1 [23.5 kB] 69s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el git-man all 1:2.51.0-1ubuntu1 [1179 kB] 69s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el git ppc64el 1:2.51.0-1ubuntu1 [7646 kB] 70s Get:4 http://ftpmaster.internal/ubuntu resolute/universe ppc64el mercurial-common all 7.0.1-2 [2783 kB] 70s Get:5 http://ftpmaster.internal/ubuntu resolute/universe ppc64el mercurial ppc64el 7.0.1-2 [521 kB] 70s Get:6 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-zombie-imp all 0.0.3-1 [12.1 kB] 70s Get:7 http://ftpmaster.internal/ubuntu resolute/universe ppc64el git-remote-hg all 1.0.4~ds-3 [39.5 kB] 70s Get:8 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-dulwich ppc64el 0.22.7-1 [183 kB] 70s Get:9 http://ftpmaster.internal/ubuntu resolute/universe ppc64el mercurial-git all 1.2.0-1 [60.9 kB] 70s Get:10 http://ftpmaster.internal/ubuntu resolute/universe ppc64el sharness all 1.0.0-1.1 [25.7 kB] 70s Fetched 12.5 MB in 1s (9517 kB/s) 70s Selecting previously unselected package liberror-perl. 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 ... 76461 files and directories currently installed.) 70s Preparing to unpack .../0-liberror-perl_0.17030-1_all.deb ... 70s Unpacking liberror-perl (0.17030-1) ... 70s Selecting previously unselected package git-man. 70s Preparing to unpack .../1-git-man_1%3a2.51.0-1ubuntu1_all.deb ... 70s Unpacking git-man (1:2.51.0-1ubuntu1) ... 70s Selecting previously unselected package git. 70s Preparing to unpack .../2-git_1%3a2.51.0-1ubuntu1_ppc64el.deb ... 70s Unpacking git (1:2.51.0-1ubuntu1) ... 70s Selecting previously unselected package mercurial-common. 70s Preparing to unpack .../3-mercurial-common_7.0.1-2_all.deb ... 70s Unpacking mercurial-common (7.0.1-2) ... 70s Selecting previously unselected package mercurial. 70s Preparing to unpack .../4-mercurial_7.0.1-2_ppc64el.deb ... 70s Unpacking mercurial (7.0.1-2) ... 70s Selecting previously unselected package python3-zombie-imp. 70s Preparing to unpack .../5-python3-zombie-imp_0.0.3-1_all.deb ... 70s Unpacking python3-zombie-imp (0.0.3-1) ... 70s Selecting previously unselected package git-remote-hg. 70s Preparing to unpack .../6-git-remote-hg_1.0.4~ds-3_all.deb ... 70s Unpacking git-remote-hg (1.0.4~ds-3) ... 70s Selecting previously unselected package python3-dulwich. 70s Preparing to unpack .../7-python3-dulwich_0.22.7-1_ppc64el.deb ... 70s Unpacking python3-dulwich (0.22.7-1) ... 70s Selecting previously unselected package mercurial-git. 70s Preparing to unpack .../8-mercurial-git_1.2.0-1_all.deb ... 70s Unpacking mercurial-git (1.2.0-1) ... 70s Selecting previously unselected package sharness. 70s Preparing to unpack .../9-sharness_1.0.0-1.1_all.deb ... 70s Unpacking sharness (1.0.0-1.1) ... 70s Setting up python3-zombie-imp (0.0.3-1) ... 70s Setting up mercurial-common (7.0.1-2) ... 72s Setting up liberror-perl (0.17030-1) ... 72s Setting up sharness (1.0.0-1.1) ... 72s Setting up python3-dulwich (0.22.7-1) ... 73s Setting up git-man (1:2.51.0-1ubuntu1) ... 73s Setting up mercurial (7.0.1-2) ... 73s Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version 73s Setting up mercurial-git (1.2.0-1) ... 73s mercurial-git extension is disabled by default. 73s You can follow the instructions in /usr/share/doc/mercurial-git/README.Debian to enable it. 73s Setting up git (1:2.51.0-1ubuntu1) ... 73s Setting up git-remote-hg (1.0.4~ds-3) ... 73s Processing triggers for man-db (2.13.1-1) ... 75s autopkgtest [19:28:50]: test upstream-test-suite: make -C test TEST_INSTALLED_SCRIPTS=1 TEST_OPTS=--verbose 75s autopkgtest [19:28:50]: test upstream-test-suite: [----------------------- 75s make: Entering directory '/tmp/autopkgtest.BMirzM/build.cPU/src/test' 75s /bin/sh main.t --verbose 75s expecting success: 75s ( 75s hg init hgrepo && 75s cd hgrepo && 75s echo zero > content && 75s hg add content && 75s hg commit -m zero 75s ) 75s 76s ok 1 - setup 76s 76s expecting success: 76s test_when_finished "rm -rf gitrepo*" && 76s git clone "hg::hgrepo" gitrepo && 76s check gitrepo HEAD zero 76s 76s Cloning into 'gitrepo'... 76s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 76s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 76s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 76s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 76s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 76s or locale.getdefaultlocale()[1] 76s WARNING: capability_push is disabled, only do so when really sure 76s WARNING: various enhanced features might fail in subtle ways 76s adding changesets 76s adding manifests 76s adding file changes 76s added 1 changesets with 1 changes to 1 files 76s new changesets 3abb3b87a7db 76s progress revision walk 'bookmarks/master' (0/0) 76s progress revision 0 'master' (0/1) 76s ok 2 - cloning 76s 76s expecting success: 76s test_when_finished "rm -rf gitrepo*" && 76s 76s ( 76s cd hgrepo && 76s hg branch next && 76s echo next > content && 76s hg commit -m next 76s ) && 76s 76s git clone "hg::hgrepo" gitrepo && 76s check gitrepo origin/branches/next next 76s 76s marked working directory as branch next 76s (branches are permanent and global, did you want a bookmark?) 77s Cloning into 'gitrepo'... 77s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 77s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 77s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 77s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 77s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 77s or locale.getdefaultlocale()[1] 77s WARNING: capability_push is disabled, only do so when really sure 77s WARNING: various enhanced features might fail in subtle ways 77s adding changesets 77s adding manifests 77s adding file changes 77s added 2 changesets with 2 changes to 1 files 77s progress revision walk 'bookmarks/master' (0/0) 77s progress revision 0 'master' (0/1) 77s progress revision 1 'next' (0/1) 77s new changesets 3abb3b87a7db:f0070af0f441 77s ok 3 - cloning with branches 77s 77s expecting success: 77s test_when_finished "rm -rf gitrepo*" && 77s 77s ( 77s cd hgrepo && 77s hg checkout default && 77s hg bookmark feature-a && 77s echo feature-a > content && 77s hg commit -m feature-a 77s ) && 77s 77s git clone "hg::hgrepo" gitrepo && 77s check gitrepo origin/feature-a feature-a 77s 77s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 78s Cloning into 'gitrepo'... 78s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 78s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 78s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 78s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 78s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 78s or locale.getdefaultlocale()[1] 78s WARNING: capability_push is disabled, only do so when really sure 78s WARNING: various enhanced features might fail in subtle ways 78s adding changesets 78s adding manifests 78s adding file changes 78s adding remote bookmark feature-a 78s added 3 changesets with 3 changes to 1 files (+1 heads) 78s new changesets 3abb3b87a7db:c205a738f63a 78s progress revision walk 'bookmarks/master' (2/2) 78s progress revision 0 'master' (0/2) 78s progress revision 1 'next' (0/1) 78s ok 4 - cloning with bookmarks 78s 78s expecting success: 78s test_when_finished "rm -rf gitrepo*" && 78s 78s ( 78s cd hgrepo && 78s hg bookmark devel 78s ) && 78s 78s ( 78s git clone "hg::hgrepo" gitrepo && 78s cd gitrepo && 78s git checkout --quiet devel && 78s echo devel > content && 78s git commit -a -m devel && 78s git push --quiet origin devel 78s ) && 78s 78s check_bookmark hgrepo devel devel 78s 78s Cloning into 'gitrepo'... 78s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 78s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 78s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 78s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 79s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 79s or locale.getdefaultlocale()[1] 79s WARNING: capability_push is disabled, only do so when really sure 79s WARNING: various enhanced features might fail in subtle ways 79s adding changesets 79s adding manifests 79s adding file changes 79s adding remote bookmark devel 79s adding remote bookmark feature-a 79s added 3 changesets with 3 changes to 1 files (+1 heads) 79s new changesets 3abb3b87a7db:c205a738f63a 79s progress revision walk 'bookmarks/master' (2/2) 79s progress revision 0 'master' (0/2) 79s progress revision 1 'next' (0/1) 79s [devel ffd3860] devel 79s Author: A U Thor 79s 1 file changed, 1 insertion(+), 1 deletion(-) 79s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 79s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 79s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 79s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 79s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 79s or locale.getdefaultlocale()[1] 79s WARNING: capability_push is disabled, only do so when really sure 79s WARNING: various enhanced features might fail in subtle ways 79s no changes found 79s searching for changes 79s adding changesets 79s adding manifests 79s adding file changes 79s added 1 changesets with 1 changes to 1 files 79s ok 5 - update bookmark 79s 79s expecting success: 79s test_when_finished "rm -rf gitrepo*" && 79s 79s ( 79s git clone "hg::hgrepo" gitrepo && 79s cd gitrepo && 79s git checkout --quiet -b feature-b && 79s echo feature-b > content && 79s git commit -a -m feature-b && 79s git push --quiet origin feature-b 79s ) && 79s 79s check_bookmark hgrepo feature-b feature-b 79s 79s Cloning into 'gitrepo'... 79s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 79s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 79s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 79s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 80s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 80s or locale.getdefaultlocale()[1] 80s WARNING: capability_push is disabled, only do so when really sure 80s WARNING: various enhanced features might fail in subtle ways 80s adding changesets 80s adding manifests 80s adding file changes 80s adding remote bookmark devel 80s adding remote bookmark feature-a 80s added 4 changesets with 4 changes to 1 files (+1 heads) 80s new changesets 3abb3b87a7db:0b01ad3003bb 80s progress revision walk 'bookmarks/master' (3/3) 80s progress revision 0 'master' (0/3) 80s progress revision 1 'next' (0/1) 80s [feature-b 68276bb] feature-b 80s Author: A U Thor 80s 1 file changed, 1 insertion(+), 1 deletion(-) 80s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 80s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 80s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 80s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 80s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 80s or locale.getdefaultlocale()[1] 80s WARNING: capability_push is disabled, only do so when really sure 80s WARNING: various enhanced features might fail in subtle ways 80s no changes found 80s searching for changes 80s adding changesets 80s adding manifests 80s adding file changes 80s added 1 changesets with 1 changes to 1 files 81s ok 6 - new bookmark 81s 81s expecting success: 81s test_when_finished "rm -rf hgrepo gitrepo" && 81s 81s ( 81s hg init hgrepo && 81s cd hgrepo && 81s 81s touch content && 81s hg add content && 81s 81s > ../expected && 81s author_test alpha "" "H G Wells " && 81s author_test beta "beta" "beta " && 81s author_test gamma "gamma (comment)" "gamma " && 81s author_test delta "" "Unknown " && 81s author_test epsilon "epsilon" "epsilon " && 81s author_test zeta "zeta " && 81s author_test eta " eta " "eta " && 81s author_test theta "theta < test@example.com >" "theta " && 81s author_test iota "iota >test@example.com>" "iota " && 81s author_test kappa "kappa < test example com>" "kappa " && 81s author_test lambda "lambda@example.com" "Unknown " && 81s author_test mu "mu.mu@example.com" "Unknown " 81s ) && 81s 81s git clone "hg::hgrepo" gitrepo && 81s git --git-dir=gitrepo/.git log --reverse --format="%an <%ae>" > actual && 81s 81s test_cmp expected actual 81s 84s Cloning into 'gitrepo'... 84s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 84s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 84s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 84s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 84s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 84s or locale.getdefaultlocale()[1] 84s WARNING: capability_push is disabled, only do so when really sure 84s WARNING: various enhanced features might fail in subtle ways 84s adding changesets 84s adding manifests 84s adding file changes 84s added 12 changesets with 12 changes to 1 files 84s new changesets 57a974bcfaa8:b55081d66698 84s progress revision walk 'bookmarks/master' (11/11) 84s progress revision 0 'master' (0/12) 84s ok 7 - authors 84s 84s expecting success: 84s test_when_finished "rm -rf hgrepo gitrepo" && 84s 84s ( 84s hg init hgrepo && 84s cd hgrepo && 84s 84s echo one >> content && 84s hg add content && 84s hg commit -m one && 84s 84s echo two >> content && 84s hg commit -m two 84s ) && 84s 84s git clone "hg::hgrepo" gitrepo && 84s 84s ( 84s cd hgrepo && 84s hg strip 1 && 84s 84s echo three >> content && 84s hg commit -m three && 84s 84s echo four >> content && 84s hg commit -m four 84s ) && 84s 84s ( 84s cd gitrepo && 84s git fetch && 84s git log --format="%s" origin/master > ../actual 84s ) && 84s 84s hg -R hgrepo log --template "{desc}\n" > expected && 84s test_cmp actual expected 84s 85s Cloning into 'gitrepo'... 85s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 85s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 85s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 85s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 85s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 85s or locale.getdefaultlocale()[1] 85s WARNING: capability_push is disabled, only do so when really sure 85s WARNING: various enhanced features might fail in subtle ways 85s adding changesets 85s adding manifests 85s adding file changes 85s added 2 changesets with 2 changes to 1 files 85s new changesets f87c9493f315:75f98fa3308e 85s progress revision walk 'bookmarks/master' (1/1) 85s progress revision 0 'master' (0/2) 86s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 86s saved backup bundle to /tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/hgrepo/.hg/strip-backup/75f98fa3308e-261c506f-backup.hg 86s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 86s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 86s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 86s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 86s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 86s or locale.getdefaultlocale()[1] 86s WARNING: capability_push is disabled, only do so when really sure 86s WARNING: various enhanced features might fail in subtle ways 86s searching for changes 86s adding changesets 86s adding manifests 86s adding file changes 86s added 2 changesets with 2 changes to 1 files (+1 heads) 86s new changesets 11bf06d4a81b:2c71bb1228f3 86s progress revision 2 'default' (0/2) 86s From hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/hgrepo 86s + 45cc847...7bec197 master -> origin/master (forced update) 86s + 45cc847...7bec197 branches/default -> origin/branches/default (forced update) 87s ok 8 - strip 87s 87s expecting success: 87s test_when_finished "rm -rf hgrepo gitrepo*" && 87s 87s ( 87s hg init hgrepo && 87s cd hgrepo && 87s echo zero > content && 87s hg add content && 87s hg commit -m zero && 87s hg bookmark master && 87s echo one > content && 87s hg commit -m one 87s ) && 87s 87s ( 87s git clone "hg::hgrepo" gitrepo && 87s cd gitrepo && 87s echo two > content && 87s git commit -a -m two && 87s git push 87s ) && 87s 87s check_branch hgrepo default two 87s 88s Cloning into 'gitrepo'... 88s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 88s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 88s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 88s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 88s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 88s or locale.getdefaultlocale()[1] 88s WARNING: capability_push is disabled, only do so when really sure 88s WARNING: various enhanced features might fail in subtle ways 88s adding changesets 88s adding manifests 88s adding file changes 88s adding remote bookmark master 88s added 2 changesets with 2 changes to 1 files 88s new changesets 095f3e1cc052:715e93b9d499 88s progress revision walk 'bookmarks/default' (1/1) 88s progress revision 0 'default' (0/2) 88s [default 68b6ed9] two 88s Author: A U Thor 88s 1 file changed, 1 insertion(+), 1 deletion(-) 88s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 88s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 88s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 88s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 88s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 88s or locale.getdefaultlocale()[1] 88s WARNING: capability_push is disabled, only do so when really sure 88s WARNING: various enhanced features might fail in subtle ways 89s no changes found 89s searching for changes 89s adding changesets 89s adding manifests 89s adding file changes 89s added 1 changesets with 1 changes to 1 files 89s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/hgrepo 89s 7194d36..68b6ed9 default -> default 89s ok 9 - remote push with master bookmark 89s 89s expecting success: 89s test_when_finished "rm -rf hgrepo gitrepo*" && 89s 89s hg init hgrepo && 89s 89s ( 89s git init gitrepo && 89s cd gitrepo && 89s git remote add origin "hg::../hgrepo" && 89s echo one > content && 89s git add content && 89s git commit -a -m one && 89s git push origin master 89s ) && 89s 89s hg -R hgrepo log > actual && 89s cat actual && 89s test_cmp expected actual && 89s 89s check_branch hgrepo default one 89s 89s Initialized empty Git repository in /tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/gitrepo/.git/ 89s [master (root-commit) 64caca5] one 89s Author: A U Thor 89s 1 file changed, 1 insertion(+) 89s create mode 100644 content 89s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 89s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 89s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 89s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 89s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 89s or locale.getdefaultlocale()[1] 89s WARNING: capability_push is disabled, only do so when really sure 89s WARNING: various enhanced features might fail in subtle ways 89s no changes found 89s searching for changes 89s adding changesets 89s adding manifests 89s adding file changes 89s added 1 changesets with 1 changes to 1 files 89s To hg::../hgrepo 89s * [new branch] master -> master 90s changeset: 0:6e2126489d3d 90s tag: tip 90s user: A U Thor 90s date: Mon Jan 01 00:00:00 2007 +0230 90s summary: one 90s 90s ok 10 - remote push from master branch 90s 90s expecting success: 90s test_when_finished "rm -rf gitrepo*" && 90s 90s ( 90s hg init hgrepo && 90s cd hgrepo && 90s echo zero > content && 90s hg add content && 90s hg commit -m zero 90s ) && 90s 90s git clone "hg::hgrepo" gitrepo && 90s check gitrepo HEAD zero 90s 91s Cloning into 'gitrepo'... 91s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 91s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 91s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 91s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 91s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 91s or locale.getdefaultlocale()[1] 91s WARNING: capability_push is disabled, only do so when really sure 91s WARNING: various enhanced features might fail in subtle ways 91s adding changesets 91s adding manifests 91s adding file changes 91s added 1 changesets with 1 changes to 1 files 91s new changesets 7d81aa4dcb6b 91s progress revision walk 'bookmarks/master' (0/0) 91s progress revision 0 'master' (0/1) 91s ok 11 - remote cloning 91s 91s expecting success: 91s test_when_finished "rm -rf gitrepo*" && 91s 91s ( 91s git clone "hg::hgrepo" gitrepo && 91s mv gitrepo gitrepo2 && 91s cd gitrepo2 && 91s git fetch 91s ) 91s 91s Cloning into 'gitrepo'... 91s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 91s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 91s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 91s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 91s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 91s or locale.getdefaultlocale()[1] 91s WARNING: capability_push is disabled, only do so when really sure 91s WARNING: various enhanced features might fail in subtle ways 91s adding changesets 91s adding manifests 91s adding file changes 91s added 1 changesets with 1 changes to 1 files 91s new changesets 7d81aa4dcb6b 91s progress revision walk 'bookmarks/master' (0/0) 91s progress revision 0 'master' (0/1) 91s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 91s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 91s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 91s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 92s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 92s or locale.getdefaultlocale()[1] 92s WARNING: capability_push is disabled, only do so when really sure 92s WARNING: various enhanced features might fail in subtle ways 92s no changes found 92s ok 12 - moving remote clone 92s 92s expecting success: 92s test_when_finished "rm -rf gitrepo*" && 92s 92s ( 92s cd hgrepo && 92s hg bookmark devel 92s ) && 92s 92s ( 92s git clone "hg::hgrepo" gitrepo && 92s cd gitrepo && 92s git checkout --quiet devel && 92s echo devel > content && 92s git commit -a -m devel && 92s git push --quiet 92s ) && 92s 92s check_bookmark hgrepo devel devel 92s 92s Cloning into 'gitrepo'... 92s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 92s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 92s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 92s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 92s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 92s or locale.getdefaultlocale()[1] 92s WARNING: capability_push is disabled, only do so when really sure 92s WARNING: various enhanced features might fail in subtle ways 92s adding changesets 92s adding manifests 92s adding file changes 92s adding remote bookmark devel 92s added 1 changesets with 1 changes to 1 files 92s new changesets 7d81aa4dcb6b 92s progress revision walk 'bookmarks/master' (0/0) 92s progress revision 0 'master' (0/1) 92s [devel 6134e68] devel 92s Author: A U Thor 92s 1 file changed, 1 insertion(+), 1 deletion(-) 92s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 92s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 92s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 92s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 93s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 93s or locale.getdefaultlocale()[1] 93s WARNING: capability_push is disabled, only do so when really sure 93s WARNING: various enhanced features might fail in subtle ways 93s no changes found 93s searching for changes 93s adding changesets 93s adding manifests 93s adding file changes 93s added 1 changesets with 1 changes to 1 files 93s ok 13 - remote update bookmark 93s 93s expecting success: 93s test_when_finished "rm -rf gitrepo*" && 93s 93s ( 93s git clone "hg::hgrepo" gitrepo && 93s cd gitrepo && 93s git checkout --quiet -b feature-b && 93s echo feature-b > content && 93s git commit -a -m feature-b && 93s git push --quiet origin feature-b 93s ) && 93s 93s check_bookmark hgrepo feature-b feature-b 93s 93s Cloning into 'gitrepo'... 93s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 93s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 93s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 93s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 93s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 93s or locale.getdefaultlocale()[1] 93s WARNING: capability_push is disabled, only do so when really sure 93s WARNING: various enhanced features might fail in subtle ways 93s adding changesets 93s adding manifests 93s adding file changes 93s adding remote bookmark devel 93s added 2 changesets with 2 changes to 1 files 93s new changesets 7d81aa4dcb6b:20b215d26bfd 93s progress revision walk 'bookmarks/master' (1/1) 93s progress revision 0 'master' (0/2) 93s [feature-b 7ad3b9e] feature-b 93s Author: A U Thor 93s 1 file changed, 1 insertion(+), 1 deletion(-) 93s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 93s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 93s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 93s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 94s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 94s or locale.getdefaultlocale()[1] 94s WARNING: capability_push is disabled, only do so when really sure 94s WARNING: various enhanced features might fail in subtle ways 94s no changes found 94s searching for changes 94s adding changesets 94s adding manifests 94s adding file changes 94s added 1 changesets with 1 changes to 1 files 94s ok 14 - remote new bookmark 94s 94s expecting success: 94s test_when_finished "rm -rf gitrepo*" && 94s 94s git clone "hg::hgrepo" gitrepo && 94s 94s ( 94s cd hgrepo && 94s hg checkout default && 94s echo bump > content && 94s hg commit -m bump 94s ) && 94s 94s ( 94s cd gitrepo && 94s echo diverge > content && 94s git commit -a -m diverged && 94s check_push 1 <<-\EOF 94s master:non-fast-forward 94s EOF 94s ) && 94s 94s check_branch hgrepo default bump 94s 94s Cloning into 'gitrepo'... 94s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 94s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 94s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 94s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 94s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 94s or locale.getdefaultlocale()[1] 94s WARNING: capability_push is disabled, only do so when really sure 94s WARNING: various enhanced features might fail in subtle ways 94s adding changesets 94s adding manifests 94s adding file changes 94s adding remote bookmark devel 94s adding remote bookmark feature-b 94s added 3 changesets with 3 changes to 1 files 94s new changesets 7d81aa4dcb6b:ebc6426ff5cc 94s progress revision walk 'bookmarks/master' (2/2) 94s progress revision 0 'master' (0/3) 95s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 95s (leaving bookmark devel) 95s [master ab95b8d] diverged 95s Author: A U Thor 95s 1 file changed, 1 insertion(+), 1 deletion(-) 95s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 95s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 95s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 95s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 95s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 95s or locale.getdefaultlocale()[1] 95s WARNING: capability_push is disabled, only do so when really sure 95s WARNING: various enhanced features might fail in subtle ways 95s searching for changes 95s adding changesets 95s adding manifests 95s adding file changes 95s added 1 changesets with 1 changes to 1 files 95s new changesets c73daa08bb7f 95s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/hgrepo 95s ! [rejected] master -> master (non-fast-forward) 95s error: failed to push some refs to 'hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/hgrepo' 95s hint: Updates were rejected because the tip of your current branch is behind 95s hint: its remote counterpart. If you want to integrate the remote changes, 95s hint: use 'git pull' before pushing again. 95s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 95s ! [rejected] master -> master (non-fast-forward) 95s ok 15 - remote push diverged 95s 95s expecting success: 95s test_when_finished "rm -rf gitrepo*" && 95s 95s ( 95s cd hgrepo && 95s hg checkout tip^ && 95s hg bookmark diverge 95s ) && 95s 95s git clone "hg::hgrepo" gitrepo && 95s 95s ( 95s cd hgrepo && 95s echo "bump bookmark" > content && 95s hg commit -m "bump bookmark" 95s ) && 95s 95s ( 95s cd gitrepo && 95s git checkout --quiet diverge && 95s echo diverge > content && 95s git commit -a -m diverge && 95s check_push 1 <<-\EOF 95s diverge:non-fast-forward 95s EOF 95s ) && 95s 95s check_bookmark hgrepo diverge "bump bookmark" 95s 96s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 96s Cloning into 'gitrepo'... 96s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 96s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 96s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 96s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 96s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 96s or locale.getdefaultlocale()[1] 96s WARNING: capability_push is disabled, only do so when really sure 96s WARNING: various enhanced features might fail in subtle ways 96s adding changesets 96s adding manifests 96s adding file changes 96s adding remote bookmark devel 96s adding remote bookmark diverge 96s adding remote bookmark feature-b 96s added 4 changesets with 4 changes to 1 files 96s new changesets 7d81aa4dcb6b:c73daa08bb7f 96s progress revision walk 'bookmarks/master' (3/3) 96s progress revision 0 'master' (0/4) 97s created new head 97s [diverge 4521791] diverge 97s Author: A U Thor 97s 1 file changed, 1 insertion(+), 1 deletion(-) 97s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 97s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 97s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 97s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 97s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 97s or locale.getdefaultlocale()[1] 97s WARNING: capability_push is disabled, only do so when really sure 97s WARNING: various enhanced features might fail in subtle ways 97s searching for changes 97s adding changesets 97s adding manifests 97s adding file changes 97s updating bookmark diverge 97s added 1 changesets with 1 changes to 1 files (+1 heads) 97s new changesets 435451634a6b 97s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/hgrepo 97s ! [rejected] diverge -> diverge (non-fast-forward) 97s error: failed to push some refs to 'hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/hgrepo' 97s hint: Updates were rejected because the tip of your current branch is behind 97s hint: its remote counterpart. If you want to integrate the remote changes, 97s hint: use 'git pull' before pushing again. 97s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 97s ! [rejected] diverge -> diverge (non-fast-forward) 97s ok 16 - remote update bookmark diverge 97s 97s expecting success: 97s test_when_finished "rm -rf gitrepo*" && 97s 97s ( 97s git clone "hg::hgrepo" gitrepo && 97s cd gitrepo && 97s git checkout --quiet -b feature-c HEAD^ && 97s echo feature-c > content && 97s git commit -a -m feature-c && 97s git push --quiet origin feature-c 97s ) && 97s 97s check_bookmark hgrepo feature-c feature-c 97s 97s Cloning into 'gitrepo'... 97s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 97s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 97s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 97s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 97s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 97s or locale.getdefaultlocale()[1] 97s WARNING: capability_push is disabled, only do so when really sure 97s WARNING: various enhanced features might fail in subtle ways 98s adding changesets 98s adding manifests 98s adding file changes 98s adding remote bookmark devel 98s adding remote bookmark diverge 98s adding remote bookmark feature-b 98s added 5 changesets with 5 changes to 1 files (+1 heads) 98s new changesets 7d81aa4dcb6b:435451634a6b 98s WARNING: Branch 'default' has more than one head, consider merging 98s progress revision walk 'bookmarks/master' (4/4) 98s progress revision 0 'master' (0/4) 98s [feature-c 32fd74e] feature-c 98s Author: A U Thor 98s 1 file changed, 1 insertion(+), 1 deletion(-) 98s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 98s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 98s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 98s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 98s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 98s or locale.getdefaultlocale()[1] 98s WARNING: capability_push is disabled, only do so when really sure 98s WARNING: various enhanced features might fail in subtle ways 98s no changes found 98s searching for changes 98s adding changesets 98s adding manifests 98s adding file changes 98s added 1 changesets with 1 changes to 1 files (+1 heads) 98s ok 17 - remote new bookmark multiple branch head 98s 98s checking known breakage: 98s test_when_finished "rm -rf gitrepo hgrepo" && 98s 98s ( 98s hg init hgrepo && 98s cd hgrepo && 98s echo zero > content && 98s hg add content && 98s hg commit -m zero 98s ) && 98s 98s git clone "hg::hgrepo" gitrepo && 98s 98s ( 98s cd gitrepo && 98s cp content content-copy && 98s # recent git-fast-export is (too) picky in recognizing copies 98s # although git-log is not as picky; 98s # since https://github.com/git/git/commit/8096e1d385660c159d9d47e69b2be63cf22e4f31 98s # a copy is only marked if source filed not modified as well 98s # (though destination file can be modified) 98s echo one >> content-copy && 98s git add content content-copy && 98s git commit -m copy && 98s git mv content-copy content-moved 98s git commit -m moved && 98s git push origin master 98s ) && 98s 98s ( 98s hg -R hgrepo update && 98s test_cmp gitrepo/content hgrepo/content 98s test_cmp gitrepo/content-moved hgrepo/content-moved 98s cd hgrepo && 98s test `hg log -f content-moved | grep -c changeset` -eq 3 98s ) 98s 99s Cloning into 'gitrepo'... 99s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 99s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 99s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 99s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 99s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 99s or locale.getdefaultlocale()[1] 99s WARNING: capability_push is disabled, only do so when really sure 99s WARNING: various enhanced features might fail in subtle ways 99s adding changesets 99s adding manifests 99s adding file changes 99s added 1 changesets with 1 changes to 1 files 99s new changesets af6e869a0c24 99s progress revision walk 'bookmarks/master' (0/0) 99s progress revision 0 'master' (0/1) 99s [master 88b6b5d] copy 99s Author: A U Thor 99s 1 file changed, 2 insertions(+) 99s create mode 100644 content-copy 99s [master 8d8b729] moved 99s Author: A U Thor 99s 1 file changed, 0 insertions(+), 0 deletions(-) 99s rename content-copy => content-moved (100%) 99s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 99s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 99s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 99s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 100s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 100s or locale.getdefaultlocale()[1] 100s WARNING: capability_push is disabled, only do so when really sure 100s WARNING: various enhanced features might fail in subtle ways 100s no changes found 100s searching for changes 100s adding changesets 100s adding manifests 100s adding file changes 100s added 2 changesets with 2 changes to 2 files 100s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/hgrepo 100s 1f97d2f..8d8b729 master -> master 100s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 100s not ok 18 - push commits with copy and rename # TODO known breakage 100s 100s expecting success: 100s test_when_finished "rm -rf hgrepo gitrepo && LC_ALL=C" && 100s 100s LC_ALL=C.UTF-8 100s export LC_ALL 100s 100s ( 100s hg init hgrepo && 100s cd hgrepo && 100s 100s echo test >> "æ rø" && 100s hg add "æ rø" && 100s echo test >> "ø~?" && 100s hg add "ø~?" && 100s hg commit -m add-utf-8 && 100s echo test >> "æ rø" && 100s hg commit -m test-utf-8 && 100s hg rm "ø~?" && 100s hg mv "æ rø" "ø~?" && 100s hg commit -m hg-mv-utf-8 100s ) && 100s 100s ( 100s git clone "hg::hgrepo" gitrepo && 100s cd gitrepo && 100s git -c core.quotepath=false ls-files > ../actual 100s ) && 100s echo "ø~?" > expected && 100s test_cmp expected actual 100s 101s warning: filename contains '?', which is reserved on Windows: 'ø~?' 101s warning: filename contains '?', which is reserved on Windows: 'ø~?' 102s Cloning into 'gitrepo'... 102s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 102s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 102s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 102s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 102s WARNING: capability_push is disabled, only do so when really sure 102s WARNING: various enhanced features might fail in subtle ways 102s adding changesets 102s adding manifests 102s adding file changes 102s added 3 changesets with 4 changes to 2 files 102s new changesets 6595bd2c7d14:6ba72ad11dfc 102s progress revision walk 'bookmarks/master' (2/2) 102s progress revision 0 'master' (0/3) 102s ok 19 - fetch special filenames 102s 102s expecting success: 102s test_when_finished "rm -rf hgrepo gitrepo && LC_ALL=C" && 102s 102s mkdir -p tmp && cd tmp && 102s 102s LC_ALL=C.UTF-8 102s export LC_ALL 102s 102s ( 102s hg init hgrepo && 102s cd hgrepo && 102s 102s echo one >> content && 102s hg add content && 102s hg commit -m one 102s ) && 102s 102s ( 102s git clone "hg::hgrepo" gitrepo && 102s cd gitrepo && 102s 102s echo test >> "æ rø" && 102s git add "æ rø" && 102s git commit -m utf-8 && 102s 102s git push 102s ) && 102s 102s (cd hgrepo && 102s hg update && 102s hg manifest > ../actual 102s ) && 102s 102s printf "content\næ rø\n" > expected && 102s test_cmp expected actual 102s 103s Cloning into 'gitrepo'... 103s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 103s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 103s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 103s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 103s WARNING: capability_push is disabled, only do so when really sure 103s WARNING: various enhanced features might fail in subtle ways 103s adding changesets 103s adding manifests 103s adding file changes 103s added 1 changesets with 1 changes to 1 files 103s new changesets ea9c38891318 103s progress revision walk 'bookmarks/master' (0/0) 103s progress revision 0 'master' (0/1) 103s [master 600881c] utf-8 103s Author: A U Thor 103s 1 file changed, 1 insertion(+) 103s create mode 100644 "\303\246 r\303\270" 103s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 103s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 103s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 103s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 103s WARNING: capability_push is disabled, only do so when really sure 103s WARNING: various enhanced features might fail in subtle ways 103s no changes found 103s searching for changes 103s adding changesets 103s adding manifests 103s adding file changes 103s added 1 changesets with 1 changes to 1 files 103s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo 103s d1e6d6e..600881c master -> master 104s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 104s ok 20 - push special filenames 104s 104s expecting success: 104s test_when_finished "rm -rf hgrepo gitrepo*" && 104s 104s setup_big_push 104s 104s ( 104s cd gitrepo && 104s 104s check_push 1 --all <<-\EOF 104s master 104s good_bmark 104s branches/good_branch 104s new_bmark:new 104s branches/new_branch:new 104s bad_bmark1:non-fast-forward 104s bad_bmark2:non-fast-forward 104s branches/bad_branch:non-fast-forward 104s EOF 104s ) && 104s 104s if test "$CAPABILITY_PUSH" = "t" 104s then 104s # cap push handles refs one by one 104s # so it will push all requested it can 104s check_branch hgrepo default six && 104s check_branch hgrepo good_branch eight && 104s check_branch hgrepo bad_branch "bad branch" && 104s check_branch hgrepo new_branch ten && 104s check_bookmark hgrepo good_bmark three && 104s check_bookmark hgrepo bad_bmark1 one && 104s check_bookmark hgrepo bad_bmark2 one && 104s check_bookmark hgrepo new_bmark six 104s else 104s check_branch hgrepo default one && 104s check_branch hgrepo good_branch "good branch" && 104s check_branch hgrepo bad_branch "bad branch" && 104s check_branch hgrepo new_branch && 104s check_bookmark hgrepo good_bmark one && 104s check_bookmark hgrepo bad_bmark1 one && 104s check_bookmark hgrepo bad_bmark2 one && 104s check_bookmark hgrepo new_bmark 104s fi 104s 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 adding remote bookmark bad_bmark1 107s adding remote bookmark bad_bmark2 107s adding remote bookmark good_bmark 107s added 4 changesets with 4 changes to 1 files 107s new changesets 65b2c5a1abf6:04bcf7f6f755 107s progress revision walk 'bookmarks/master' (1/1) 107s progress revision 0 'master' (0/2) 107s progress revision 2 'bad_branch' (0/2) 107s HEAD is now at 32a4869 zero 107s HEAD is now at 32a4869 zero 107s HEAD is now at 675eae9 good branch 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 no changes found 107s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo 107s 675eae9..d1ecde3 branches/good_branch -> branches/good_branch 107s b1e1032..1acabc4 good_bmark -> good_bmark 107s b1e1032..60d376d master -> master 107s * [new branch] branches/new_branch -> branches/new_branch 107s * [new branch] new_bmark -> new_bmark 107s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 107s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 107s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 107s error: failed to push some refs to 'hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo' 107s hint: Updates were rejected because a pushed branch tip is behind its remote 107s hint: counterpart. If you want to integrate the remote changes, use 'git pull' 107s hint: before pushing again. 107s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 107s b1e1032..60d376d master -> master 107s b1e1032..1acabc4 good_bmark -> good_bmark 107s 675eae9..d1ecde3 branches/good_branch -> branches/good_branch 107s * [new branch] new_bmark -> new_bmark 107s * [new branch] branches/new_branch -> branches/new_branch 107s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 107s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 107s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 109s ok 21 - remote big push 109s 109s expecting success: 109s test_when_finished "rm -rf hgrepo gitrepo*" && 109s 109s ( 109s hg init hgrepo && 109s cd hgrepo && 109s echo zero > content && 109s hg add content && 109s hg commit -m zero && 109s hg bookmark bad_bmark && 109s hg bookmark good_bmark && 109s hg bookmark -i good_bmark && 109s hg -q branch good_branch && 109s echo "good branch" > content && 109s hg commit -m "good branch" && 109s hg -q branch bad_branch && 109s echo "bad branch" > content && 109s hg commit -m "bad branch" 109s ) && 109s 109s git clone "hg::hgrepo" gitrepo && 109s 109s ( 109s cd hgrepo && 109s hg bookmark -f bad_bmark && 109s echo update_bmark > content && 109s hg commit -m "update bmark" 109s ) && 109s 109s ( 109s cd gitrepo && 109s echo two > content && 109s git commit -q -a -m two && 109s 109s git checkout -q good_bmark && 109s echo three > content && 109s git commit -q -a -m three && 109s 109s git checkout -q bad_bmark && 109s echo four > content && 109s git commit -q -a -m four && 109s 109s git checkout -q branches/bad_branch && 109s echo five > content && 109s git commit -q -a -m five && 109s 109s check_push 1 --all <<-\EOF && 109s master 109s good_bmark 109s bad_bmark:non-fast-forward 109s branches/bad_branch:non-fast-forward 109s EOF 109s 109s git fetch && 109s 109s if test "$CAPABILITY_PUSH" = "t" 109s then 109s # cap push handles refs one by one 109s # so it will already have pushed some above previously 109s # (and master is a fake one that jumps around a bit) 109s check_push 1 --all <<-\EOF 109s bad_bmark:non-fast-forward 109s branches/bad_branch:non-fast-forward 109s EOF 109s else 109s check_push 1 --all <<-\EOF 109s master 109s good_bmark 109s bad_bmark:non-fast-forward 109s branches/bad_branch:non-fast-forward 109s EOF 109s fi 109s ) 109s 112s Cloning into 'gitrepo'... 112s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 112s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 112s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 112s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 112s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 112s or locale.getdefaultlocale()[1] 112s WARNING: capability_push is disabled, only do so when really sure 112s WARNING: various enhanced features might fail in subtle ways 112s adding changesets 112s adding manifests 112s adding file changes 112s adding remote bookmark bad_bmark 112s adding remote bookmark good_bmark 112s added 3 changesets with 3 changes to 1 files 112s new changesets 01f15397b85b:4e8b0896e512 112s progress revision walk 'bookmarks/master' (0/0) 112s progress revision 0 'master' (0/1) 112s progress revision 1 'bad_branch' (0/2) 113s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 113s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 113s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 113s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 113s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 113s or locale.getdefaultlocale()[1] 113s WARNING: capability_push is disabled, only do so when really sure 113s WARNING: various enhanced features might fail in subtle ways 113s searching for changes 113s adding changesets 113s adding manifests 113s adding file changes 113s updating bookmark bad_bmark 113s added 1 changesets with 1 changes to 1 files 113s new changesets bb6460e9fb7b 113s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo 113s 1528bf0..0a5aa19 good_bmark -> good_bmark 113s 1528bf0..165240e master -> master 113s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 113s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 113s error: failed to push some refs to 'hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo' 113s hint: Updates were rejected because the tip of your current branch is behind 113s hint: its remote counterpart. If you want to integrate the remote changes, 113s hint: use 'git pull' before pushing again. 113s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 113s 1528bf0..165240e master -> master 113s 1528bf0..0a5aa19 good_bmark -> good_bmark 113s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 113s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 113s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 113s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 113s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 113s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 113s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 113s or locale.getdefaultlocale()[1] 113s WARNING: capability_push is disabled, only do so when really sure 113s WARNING: various enhanced features might fail in subtle ways 113s no changes found 113s progress revision 3 'bad_branch' (0/1) 113s From hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo 113s ec0b874..65e28ad branches/bad_branch -> origin/branches/bad_branch 113s 1528bf0..65e28ad bad_bmark -> origin/bad_bmark 113s + 0a5aa19...1528bf0 good_bmark -> origin/good_bmark (forced update) 113s + 165240e...1528bf0 master -> origin/master (forced update) 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 no changes found 114s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo 114s 1528bf0..0a5aa19 good_bmark -> good_bmark 114s 1528bf0..165240e master -> master 114s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 114s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 114s error: failed to push some refs to 'hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo' 114s hint: Updates were rejected because the tip of your current branch is behind 114s hint: its remote counterpart. If you want to integrate the remote changes, 114s hint: use 'git pull' before pushing again. 114s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 114s 1528bf0..165240e master -> master 114s 1528bf0..0a5aa19 good_bmark -> good_bmark 114s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 114s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 114s ok 22 - remote big push non fast forward 114s 114s expecting success: 114s test_when_finished "rm -rf hgrepo gitrepo*" && 114s 114s setup_big_push 114s 114s ( 114s cd gitrepo && 114s 114s if test "$CAPABILITY_PUSH" = "t" 114s then 114s check_push 0 --force --all <<-\EOF 114s master:forced-update 114s good_bmark:forced-update 114s branches/good_branch:forced-update 114s new_bmark:new 114s branches/new_branch:new 114s bad_bmark1:forced-update 114s bad_bmark2:forced-update 114s branches/bad_branch:forced-update 114s EOF 114s else 114s check_push 0 --force --all <<-\EOF 114s master 114s good_bmark 114s branches/good_branch 114s new_bmark:new 114s branches/new_branch:new 114s bad_bmark1:forced-update 114s bad_bmark2:forced-update 114s branches/bad_branch:forced-update 114s EOF 114s fi 114s ) && 114s 114s check_branch hgrepo good_branch eight && 114s check_branch hgrepo bad_branch nine && 114s check_branch hgrepo new_branch ten && 114s check_bookmark hgrepo good_bmark three && 114s check_bookmark hgrepo bad_bmark1 four && 114s check_bookmark hgrepo bad_bmark2 five && 114s check_bookmark hgrepo new_bmark six 114s 116s Cloning into 'gitrepo'... 116s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 116s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 116s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 116s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 116s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 116s or locale.getdefaultlocale()[1] 116s WARNING: capability_push is disabled, only do so when really sure 116s WARNING: various enhanced features might fail in subtle ways 116s adding changesets 116s adding manifests 116s adding file changes 116s adding remote bookmark bad_bmark1 116s adding remote bookmark bad_bmark2 116s adding remote bookmark good_bmark 116s added 4 changesets with 4 changes to 1 files 116s new changesets 1adffac4c190:1a4b3ade448c 116s progress revision walk 'bookmarks/master' (1/1) 116s progress revision 0 'master' (0/2) 116s progress revision 2 'bad_branch' (0/2) 117s HEAD is now at d59a36e zero 117s HEAD is now at d59a36e zero 117s HEAD is now at a246116 good branch 117s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 117s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 117s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 117s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 117s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 117s or locale.getdefaultlocale()[1] 117s WARNING: capability_push is disabled, only do so when really sure 117s WARNING: various enhanced features might fail in subtle ways 117s no changes found 117s searching for changes 117s adding changesets 117s adding manifests 117s adding file changes 117s added 9 changesets with 9 changes to 1 files (+7 heads) 117s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo 117s + a79c600...9132a89 branches/bad_branch -> branches/bad_branch (forced update) 117s a246116..6095f08 branches/good_branch -> branches/good_branch 117s + 019e9b0...995f6e0 bad_bmark1 -> bad_bmark1 (forced update) 117s + 019e9b0...ef3f213 bad_bmark2 -> bad_bmark2 (forced update) 117s 019e9b0..625ca09 good_bmark -> good_bmark 117s 019e9b0..91633dc master -> master 117s * [new branch] branches/new_branch -> branches/new_branch 117s * [new branch] new_bmark -> new_bmark 117s 019e9b0..91633dc master -> master 117s 019e9b0..625ca09 good_bmark -> good_bmark 117s a246116..6095f08 branches/good_branch -> branches/good_branch 117s * [new branch] new_bmark -> new_bmark 117s * [new branch] branches/new_branch -> branches/new_branch 117s + 019e9b0...995f6e0 bad_bmark1 -> bad_bmark1 (forced update) 117s + 019e9b0...ef3f213 bad_bmark2 -> bad_bmark2 (forced update) 117s + a79c600...9132a89 branches/bad_branch -> branches/bad_branch (forced update) 119s ok 23 - remote big push force 119s 119s expecting success: 119s test_when_finished "rm -rf hgrepo gitrepo*" && 119s 119s setup_big_push 119s 119s ( 119s cd gitrepo && 119s 119s check_push 1 --dry-run --all <<-\EOF && 119s master 119s good_bmark 119s branches/good_branch 119s new_bmark:new 119s branches/new_branch:new 119s bad_bmark1:non-fast-forward 119s bad_bmark2:non-fast-forward 119s branches/bad_branch:non-fast-forward 119s EOF 119s 119s check_push 0 --dry-run master good_bmark new_bmark branches/good_branch branches/new_branch <<-\EOF 119s master 119s good_bmark 119s branches/good_branch 119s new_bmark:new 119s branches/new_branch:new 119s EOF 119s ) && 119s 119s check_branch hgrepo default one && 119s check_branch hgrepo good_branch "good branch" && 119s check_branch hgrepo bad_branch "bad branch" && 119s check_branch hgrepo new_branch && 119s check_bookmark hgrepo good_bmark one && 119s check_bookmark hgrepo bad_bmark1 one && 119s check_bookmark hgrepo bad_bmark2 one && 119s check_bookmark hgrepo new_bmark 119s 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 bad_bmark1 121s adding remote bookmark bad_bmark2 121s adding remote bookmark good_bmark 121s added 4 changesets with 4 changes to 1 files 121s new changesets 6043ebd01751:e567f9ff6fa6 121s progress revision walk 'bookmarks/master' (1/1) 121s progress revision 0 'master' (0/2) 121s progress revision 2 'bad_branch' (0/2) 122s HEAD is now at e6dce57 zero 122s HEAD is now at e6dce57 zero 122s HEAD is now at 21e75fe good branch 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 To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo 122s 21e75fe..5400491 branches/good_branch -> branches/good_branch 122s 85d568e..f18f5d6 good_bmark -> good_bmark 122s 85d568e..fe756a7 master -> master 122s * [new branch] branches/new_branch -> branches/new_branch 122s * [new branch] new_bmark -> new_bmark 122s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 122s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 122s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 122s error: failed to push some refs to 'hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo' 122s hint: Updates were rejected because a pushed branch tip is behind its remote 122s hint: counterpart. If you want to integrate the remote changes, use 'git pull' 122s hint: before pushing again. 122s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 122s 85d568e..fe756a7 master -> master 122s 85d568e..f18f5d6 good_bmark -> good_bmark 122s 21e75fe..5400491 branches/good_branch -> branches/good_branch 122s * [new branch] new_bmark -> new_bmark 122s * [new branch] branches/new_branch -> branches/new_branch 122s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 122s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 122s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 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 To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo 122s 21e75fe..5400491 branches/good_branch -> branches/good_branch 122s 85d568e..f18f5d6 good_bmark -> good_bmark 122s 85d568e..fe756a7 master -> master 122s * [new branch] new_bmark -> new_bmark 122s * [new branch] branches/new_branch -> branches/new_branch 122s 85d568e..fe756a7 master -> master 122s 85d568e..f18f5d6 good_bmark -> good_bmark 122s 21e75fe..5400491 branches/good_branch -> branches/good_branch 122s * [new branch] new_bmark -> new_bmark 122s * [new branch] branches/new_branch -> branches/new_branch 124s ok 24 - remote big push dry-run 124s 124s expecting success: 124s test_when_finished "rm -rf hgrepo gitrepo*" && 124s 124s setup_big_push 124s 124s ( 124s cd gitrepo && 124s 124s if test "$CAPABILITY_PUSH" = "t" 124s then 124s check_push 0 --force --dry-run --all <<-\EOF 124s master:forced-update 124s good_bmark:forced-update 124s branches/good_branch:forced-update 124s new_bmark:new 124s branches/new_branch:new 124s bad_bmark1:forced-update 124s bad_bmark2:forced-update 124s branches/bad_branch:forced-update 124s EOF 124s else 124s check_push 0 --force --dry-run --all <<-\EOF 124s master 124s good_bmark 124s branches/good_branch 124s new_bmark:new 124s branches/new_branch:new 124s bad_bmark1:forced-update 124s bad_bmark2:forced-update 124s branches/bad_branch:forced-update 124s EOF 124s fi 124s ) && 124s 124s check_branch hgrepo default one && 124s check_branch hgrepo good_branch "good branch" && 124s check_branch hgrepo bad_branch "bad branch" && 124s check_branch hgrepo new_branch && 124s check_bookmark hgrepo good_bmark one && 124s check_bookmark hgrepo bad_bmark1 one && 124s check_bookmark hgrepo bad_bmark2 one && 124s check_bookmark hgrepo new_bmark 124s 127s Cloning into 'gitrepo'... 127s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 127s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 127s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 127s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 127s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 127s or locale.getdefaultlocale()[1] 127s WARNING: capability_push is disabled, only do so when really sure 127s WARNING: various enhanced features might fail in subtle ways 127s adding changesets 127s adding manifests 127s adding file changes 127s adding remote bookmark bad_bmark1 127s adding remote bookmark bad_bmark2 127s adding remote bookmark good_bmark 127s added 4 changesets with 4 changes to 1 files 127s new changesets 002f2159aee4:51fc19278e09 127s progress revision walk 'bookmarks/master' (1/1) 127s progress revision 0 'master' (0/2) 127s progress revision 2 'bad_branch' (0/2) 127s HEAD is now at 0d27fce zero 127s HEAD is now at 0d27fce zero 127s HEAD is now at aaaaccf good branch 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 To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo 128s + 752a914...5e87f6c branches/bad_branch -> branches/bad_branch (forced update) 128s aaaaccf..5471c33 branches/good_branch -> branches/good_branch 128s + c6bdf70...986720a bad_bmark1 -> bad_bmark1 (forced update) 128s + c6bdf70...24d298c bad_bmark2 -> bad_bmark2 (forced update) 128s c6bdf70..16f9eab good_bmark -> good_bmark 128s c6bdf70..0904157 master -> master 128s * [new branch] branches/new_branch -> branches/new_branch 128s * [new branch] new_bmark -> new_bmark 128s c6bdf70..0904157 master -> master 128s c6bdf70..16f9eab good_bmark -> good_bmark 128s aaaaccf..5471c33 branches/good_branch -> branches/good_branch 128s * [new branch] new_bmark -> new_bmark 128s * [new branch] branches/new_branch -> branches/new_branch 128s + c6bdf70...986720a bad_bmark1 -> bad_bmark1 (forced update) 128s + c6bdf70...24d298c bad_bmark2 -> bad_bmark2 (forced update) 128s + 752a914...5e87f6c branches/bad_branch -> branches/bad_branch (forced update) 129s ok 25 - remote big push force dry-run 129s 129s expecting success: 129s test_when_finished "rm -rf hgrepo gitrepo*" && 129s 129s ( 129s hg init hgrepo && 129s cd hgrepo && 129s echo zero > content && 129s hg add content && 129s hg commit -m zero && 129s echo one > content && 129s hg commit -m one 129s ) && 129s 129s ( 129s git clone "hg::hgrepo" gitrepo && 129s cd gitrepo && 129s git reset --hard HEAD^ && 129s echo two > content && 129s git commit -a -m two && 129s test_expect_code 1 git push && 129s test_expect_code 1 git push 129s ) 129s 130s Cloning into 'gitrepo'... 130s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 130s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 130s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 130s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 130s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 130s or locale.getdefaultlocale()[1] 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 2 changesets with 2 changes to 1 files 131s new changesets 521e2b8a76aa:b85761becb9f 131s progress revision walk 'bookmarks/master' (1/1) 131s progress revision 0 'master' (0/2) 131s HEAD is now at 810e675 zero 131s [master 0cfc63e] two 131s Author: A U Thor 131s 1 file changed, 1 insertion(+), 1 deletion(-) 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 /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 131s or locale.getdefaultlocale()[1] 131s WARNING: capability_push is disabled, only do so when really sure 131s WARNING: various enhanced features might fail in subtle ways 131s no changes found 131s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo 131s ! [rejected] master -> master (non-fast-forward) 131s error: failed to push some refs to 'hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo' 131s hint: Updates were rejected because the tip of your current branch is behind 131s hint: its remote counterpart. If you want to integrate the remote changes, 131s hint: use 'git pull' before pushing again. 131s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 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 /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 131s or locale.getdefaultlocale()[1] 131s WARNING: capability_push is disabled, only do so when really sure 131s WARNING: various enhanced features might fail in subtle ways 131s no changes found 131s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo 131s ! [rejected] master -> master (non-fast-forward) 131s error: failed to push some refs to 'hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo' 131s hint: Updates were rejected because the tip of your current branch is behind 131s hint: its remote counterpart. If you want to integrate the remote changes, 131s hint: use 'git pull' before pushing again. 131s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 131s ok 26 - remote double failed push 131s 131s expecting success: 131s test_when_finished "rm -rf gitrepo hgrepo" && 131s 131s ( 131s hg init hgrepo && 131s cd hgrepo && 131s echo zero > content && 131s hg add content && 131s hg commit -m zero && 131s echo feature-a > content && 131s hg commit -m feature-a 131s hg bookmark feature-a 131s ) && 131s 131s git clone "hg::hgrepo" gitrepo && 131s check gitrepo origin/feature-a feature-a && 131s 131s ( 131s cd hgrepo && 131s hg bookmark -d feature-a 131s ) && 131s 131s ( 131s cd gitrepo && 131s git fetch --prune origin 131s git branch -a > out && 131s ! grep feature-a out 131s ) 131s 132s Cloning into 'gitrepo'... 132s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 132s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 132s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 132s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 133s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 133s or locale.getdefaultlocale()[1] 133s WARNING: capability_push is disabled, only do so when really sure 133s WARNING: various enhanced features might fail in subtle ways 133s adding changesets 133s adding manifests 133s adding file changes 133s adding remote bookmark feature-a 133s added 2 changesets with 2 changes to 1 files 133s new changesets ab312a4ae5ac:b5c69c587359 133s progress revision walk 'bookmarks/master' (1/1) 133s progress revision 0 'master' (0/2) 133s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 133s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 133s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 133s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 133s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 133s or locale.getdefaultlocale()[1] 133s WARNING: capability_push is disabled, only do so when really sure 133s WARNING: various enhanced features might fail in subtle ways 133s no changes found 133s error: refusing to update ref with bad name 'hg/origin/refs/bookmarks/feature-a' 133s From hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo 133s - [deleted] (none) -> origin/feature-a 133s ok 27 - fetch prune 133s 133s expecting success: 133s test_when_finished "rm -rf gitrepo hgrepo" && 133s 133s ( 133s hg init hgrepo && 133s cd hgrepo && 133s echo zero > content && 133s hg add content && 133s hg commit -m zero && 133s hg up -r null && 133s echo another > ocontent && 133s hg add ocontent && 133s hg commit -m one 133s ) && 133s 133s # -r 1 acts as master 133s ( 133s git init --bare gitrepo && cd gitrepo && 133s git remote add origin hg::../hgrepo && 133s git fetch origin refs/heads/*:refs/heads/* 133s ) && 133s 133s ( 133s cd hgrepo && 133s hg up 0 && 133s echo two > content && 133s hg commit -m two 133s ) && 133s 133s # now master already exists 133s # -r 2 becomes master head which has rev 0 as ancestor 133s # so when importing (parentless) rev 0, a reset is needed 133s # (to ensure rev 0 is not given a parent commit) 133s ( 133s cd gitrepo && 133s git fetch origin && 133s git log --format="%s" origin/master > ../actual 133s ) && 133s 133s hg -R hgrepo log -r . -f --template "{desc}\n" > expected && 133s test_cmp actual expected 133s 134s 0 files updated, 0 files merged, 1 files removed, 0 files unresolved 135s created new head 135s Initialized empty Git repository in /tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/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 added 2 changesets with 2 changes to 2 files (+1 heads) 135s new changesets 5b764827d43c:080cc15a11aa 135s WARNING: Branch 'default' has more than one head, consider merging 135s WARNING: Branch 'default' has more than one head, consider merging 135s progress revision 1 'default' (0/1) 135s From hg::../hgrepo 135s * [new branch] branches/default -> branches/default 135s * [new branch] master -> master 135s * [new branch] branches/default -> origin/branches/default 135s * [new branch] master -> origin/master 135s 1 files updated, 0 files merged, 1 files removed, 0 files unresolved 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) 136s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 136s or locale.getdefaultlocale()[1] 136s WARNING: capability_push is disabled, only do so when really sure 136s WARNING: various enhanced features might fail in subtle ways 136s searching for changes 136s adding changesets 136s adding manifests 136s adding file changes 136s added 1 changesets with 1 changes to 1 files 136s new changesets 3b0416f9f615 136s WARNING: Branch 'default' has more than one head, consider merging 136s progress revision walk 'branches/default' (2/2) 136s progress revision 0 'default' (0/2) 136s From hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo 136s + 373de76...f637316 branches/default -> origin/branches/default (forced update) 136s + 373de76...f637316 master -> origin/master (forced update) 136s ok 28 - fetch multiple independent histories 136s 136s expecting success: 136s test_when_finished "rm -rf gitrepo* hgrepo*" && 136s 136s ( 136s hg init hgrepo && 136s cd hgrepo && 136s echo a > a && 136s hg add a && 136s hg commit -m a && 136s hg bookmark -r null bookmark 136s ) && 136s 136s ( 136s git clone "hg::hgrepo" gitrepo && 136s check gitrepo HEAD a && 136s cd gitrepo && 136s git checkout --quiet -b bookmark && 136s git remote -v && 136s echo b > b && 136s git add b && 136s git commit -m b && 136s git push origin bookmark 136s ) 136s 137s Cloning into 'gitrepo'... 137s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 137s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 137s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 137s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 137s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 137s or locale.getdefaultlocale()[1] 137s WARNING: capability_push is disabled, only do so when really sure 137s WARNING: various enhanced features might fail in subtle ways 137s adding changesets 137s adding manifests 137s adding file changes 137s adding remote bookmark bookmark 137s added 1 changesets with 1 changes to 1 files 137s new changesets b080a899f942 137s WARNING: Ignoring invalid bookmark 'bookmark' 137s progress revision walk 'bookmarks/master' (0/0) 137s progress revision 0 'master' (0/1) 137s origin hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo (fetch) 137s origin hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo (push) 137s [bookmark 3b26802] b 137s Author: A U Thor 137s 1 file changed, 1 insertion(+) 137s create mode 100644 b 137s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 137s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 137s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 137s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 138s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 138s or locale.getdefaultlocale()[1] 138s WARNING: capability_push is disabled, only do so when really sure 138s WARNING: various enhanced features might fail in subtle ways 138s no changes found 138s WARNING: Ignoring invalid bookmark 'bookmark' 138s searching for changes 138s adding changesets 138s adding manifests 138s adding file changes 138s added 1 changesets with 1 changes to 1 files 138s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo 138s * [new branch] bookmark -> bookmark 138s ok 29 - clone remote with null bookmark, then push 138s 138s expecting success: 138s test_when_finished "rm -rf hgrepo gitrepo" && 138s 138s ( 138s hg init hgrepo && 138s cd hgrepo && 138s echo one > content && 138s hg add content && 138s hg commit -m one && 138s echo two > content && 138s hg commit -m two 138s ) && 138s 138s git clone "hg::hgrepo" gitrepo && 138s hg -R hgrepo log --template "{node}\n\n" > expected && 138s git --git-dir=gitrepo/.git log --pretty="tformat:%N" --notes=hg > actual && 138s test_cmp expected actual 138s 138s Cloning into 'gitrepo'... 138s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 138s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 138s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 138s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 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 added 2 changesets with 2 changes to 1 files 139s new changesets bb3586ef3614:920261250251 139s progress revision walk 'bookmarks/master' (1/1) 139s progress revision 0 'master' (0/2) 139s ok 30 - notes 139s 139s checking known breakage: 139s test_when_finished "rm -rf hgrepo gitrepo" && 139s 139s ( 139s hg init hgrepo && 139s cd hgrepo && 139s echo one > content && 139s hg add content && 139s hg commit -m one 139s ) && 139s 139s git clone "hg::hgrepo" gitrepo && 139s 139s ( 139s cd gitrepo && 139s echo two > content && 139s git commit -a -m two && 139s git push 139s ) && 139s 139s hg -R hgrepo log --template "{node}\n\n" > expected && 139s git --git-dir=gitrepo/.git log --pretty="tformat:%N" --notes=hg > actual && 139s test_cmp expected actual 139s 140s Cloning into 'gitrepo'... 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 adding changesets 140s adding manifests 140s adding file changes 140s added 1 changesets with 1 changes to 1 files 140s new changesets 0b17757325bf 140s progress revision walk 'bookmarks/master' (0/0) 140s progress revision 0 'master' (0/1) 140s [master 2d90105] two 140s Author: A U Thor 140s 1 file changed, 1 insertion(+), 1 deletion(-) 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 no changes found 140s searching for changes 140s adding changesets 140s adding manifests 140s adding file changes 140s added 1 changesets with 1 changes to 1 files 140s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo 140s 781e56f..2d90105 master -> master 141s --- expected 2025-10-18 19:29:56.044406725 +0000 141s +++ actual 2025-10-18 19:29:56.070213824 +0000 141s @@ -1,4 +1,3 @@ 141s -29e47df29d44f58ebf9de640354561164b52c491 141s 141s 0b17757325bf7c79eca6ca25f88eaf452f33f254 141s 141s not ok 31 - push updates notes # TODO known breakage 141s 141s expecting success: 141s test_when_finished "rm -rf hgrepo gitrepo" && 141s 141s ( 141s hg init hgrepo && 141s cd hgrepo && 141s echo one > content && 141s hg add content && 141s hg commit -m one 141s ) && 141s 141s git clone "hg::hgrepo" gitrepo && 141s 141s ( 141s cd gitrepo && 141s echo two > content && 141s git commit -a -m two && 141s git push origin master && 141s git branch feature-a && 141s git push origin feature-a 141s ) && 141s 141s check_bookmark hgrepo feature-a two 141s 141s Cloning into 'gitrepo'... 141s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 141s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 141s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 141s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 141s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 141s or locale.getdefaultlocale()[1] 141s WARNING: capability_push is disabled, only do so when really sure 141s WARNING: various enhanced features might fail in subtle ways 141s adding changesets 141s adding manifests 141s adding file changes 141s added 1 changesets with 1 changes to 1 files 141s new changesets a31b465fa6c3 142s progress revision walk 'bookmarks/master' (0/0) 142s progress revision 0 'master' (0/1) 142s [master 428617c] two 142s Author: A U Thor 142s 1 file changed, 1 insertion(+), 1 deletion(-) 142s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 142s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 142s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 142s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 142s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 142s or locale.getdefaultlocale()[1] 142s WARNING: capability_push is disabled, only do so when really sure 142s WARNING: various enhanced features might fail in subtle ways 142s no changes found 142s searching for changes 142s adding changesets 142s adding manifests 142s adding file changes 142s added 1 changesets with 1 changes to 1 files 142s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo 142s b4cd245..428617c master -> master 142s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 142s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 142s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 142s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 142s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 142s or locale.getdefaultlocale()[1] 142s WARNING: capability_push is disabled, only do so when really sure 142s WARNING: various enhanced features might fail in subtle ways 142s no changes found 142s 1 local changesets published 142s searching for changes 142s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo 142s * [new branch] feature-a -> feature-a 142s ok 32 - push bookmark without changesets 142s 142s expecting success: 142s test_when_finished "rm -rf hgrepo gitrepo" && 142s 142s ( 142s hg init hgrepo && 142s cd hgrepo && 142s echo one > content && 142s hg add content && 142s hg commit -m one 142s ) && 142s 142s git clone "hg::hgrepo" gitrepo && 142s 142s (cd hgrepo && hg tag v1.0) && 142s (cd gitrepo && git pull) && 142s 142s echo "v1.0" > expected && 142s git --git-dir=gitrepo/.git tag > actual && 142s test_cmp expected actual 142s 143s Cloning into 'gitrepo'... 143s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 143s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 143s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 143s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 143s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 143s or locale.getdefaultlocale()[1] 143s WARNING: capability_push is disabled, only do so when really sure 143s WARNING: various enhanced features might fail in subtle ways 143s adding changesets 143s adding manifests 143s adding file changes 143s added 1 changesets with 1 changes to 1 files 143s new changesets 9db8ebd6d1d4 143s progress revision walk 'bookmarks/master' (0/0) 143s progress revision 0 'master' (0/1) 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 searching for changes 144s adding changesets 144s adding manifests 144s adding file changes 144s added 1 changesets with 1 changes to 1 files 144s new changesets d20ca9a359b7 144s progress revision 1 'default' (0/1) 144s From hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo 144s 4a4ef0c..ca3fe87 master -> origin/master 144s 4a4ef0c..ca3fe87 branches/default -> origin/branches/default 144s * [new tag] v1.0 -> v1.0 144s Updating 4a4ef0c..ca3fe87 144s Fast-forward 144s .hgtags | 1 + 144s 1 file changed, 1 insertion(+) 144s create mode 100644 .hgtags 144s ok 33 - pull tags 144s 144s expecting success: 144s test_when_finished "rm -rf hgrepo gitrepo" && 144s 144s ( 144s hg init hgrepo && 144s cd hgrepo && 144s echo one > content && 144s hg add content && 144s hg commit -m one && 144s hg branch feature && 144s echo two > content && 144s hg commit -m two && 144s hg update default && 144s echo three > content && 144s hg commit -m three 144s ) && 144s 144s ( 144s git clone "hg::hgrepo" gitrepo && 144s cd gitrepo && 144s git merge -m Merge -Xtheirs origin/branches/feature && 144s git push 144s ) && 144s 144s cat > expected <<-EOF && 144s Merge 144s three 144s two 144s one 144s EOF 144s hg -R hgrepo log --template "{desc}\n" > actual && 144s test_cmp expected actual 144s 145s marked working directory as branch feature 145s (branches are permanent and global, did you want a bookmark?) 145s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 146s Cloning into 'gitrepo'... 146s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 146s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 146s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 146s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 146s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 146s or locale.getdefaultlocale()[1] 146s WARNING: capability_push is disabled, only do so when really sure 146s WARNING: various enhanced features might fail in subtle ways 146s adding changesets 146s adding manifests 146s adding file changes 146s added 3 changesets with 3 changes to 1 files (+1 heads) 146s new changesets 77ded223e407:05028db7c182 146s progress revision walk 'bookmarks/master' (2/2) 146s progress revision 0 'master' (0/2) 146s progress revision 1 'feature' (0/1) 146s Auto-merging content 146s Merge made by the 'ort' strategy. 146s content | 2 +- 146s 1 file changed, 1 insertion(+), 1 deletion(-) 146s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 146s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 146s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 146s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 146s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 146s or locale.getdefaultlocale()[1] 146s WARNING: capability_push is disabled, only do so when really sure 146s WARNING: various enhanced features might fail in subtle ways 146s no changes found 146s searching for changes 146s adding changesets 146s adding manifests 146s adding file changes 146s added 1 changesets with 1 changes to 1 files (-1 heads) 146s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo 146s a146033..4aa21ea master -> master 146s ok 34 - push merged named branch 146s 146s expecting success: 146s test_when_finished "rm -rf hgrepo gitrepo" && 146s 146s ( 146s hg init hgrepo && 146s cd hgrepo && 146s echo one > content && 146s hg add content && 146s hg commit -m one 146s ) && 146s 146s ( 146s git clone "hg::hgrepo" gitrepo && 146s cd gitrepo && 146s git tag v1.0 && 146s git push --tags 146s ) && 146s 146s echo "C O Mitter " > expected && 146s hg -R hgrepo log --template "{author}\n" -r tip > actual && 146s test_cmp expected actual 146s 147s Cloning into 'gitrepo'... 147s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 147s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 147s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 147s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 147s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 147s or locale.getdefaultlocale()[1] 147s WARNING: capability_push is disabled, only do so when really sure 147s WARNING: various enhanced features might fail in subtle ways 147s adding changesets 147s adding manifests 147s adding file changes 147s added 1 changesets with 1 changes to 1 files 147s new changesets c18815a9a21c 147s progress revision walk 'bookmarks/master' (0/0) 147s progress revision 0 'master' (0/1) 147s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 147s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 147s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 147s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 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 no changes found 148s searching for changes 148s adding changesets 148s adding manifests 148s adding file changes 148s added 1 changesets with 1 changes to 1 files 148s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo 148s * [new tag] v1.0 -> v1.0 148s ok 35 - light tag sets author 148s 148s expecting success: 148s test_when_finished "rm -rf hgrepo gitrepo" && 148s 148s ( 148s hg init hgrepo && 148s cd hgrepo && 148s echo one > content && 148s hg add content && 148s hg commit -m one && 148s hg branch feature && 148s echo two > content && 148s hg commit -m two 148s ) && 148s 148s ( 148s git clone "hg::hgrepo" gitrepo && 148s cd gitrepo && 148s git branch && 148s git checkout branches/feature && 148s git tag v1.0 && 148s git push --tags 148s ) && 148s 148s echo feature > expected && 148s hg -R hgrepo log --template="{branch}\n" -r tip > actual && 148s test_cmp expected actual 148s 149s marked working directory as branch feature 149s (branches are permanent and global, did you want a bookmark?) 149s Cloning into 'gitrepo'... 149s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 149s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 149s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 149s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 149s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 149s or locale.getdefaultlocale()[1] 149s WARNING: capability_push is disabled, only do so when really sure 149s WARNING: various enhanced features might fail in subtle ways 149s adding changesets 149s adding manifests 149s adding file changes 149s added 2 changesets with 2 changes to 1 files 149s new changesets ebd52dc429d6:7087d6e131f5 149s progress revision walk 'bookmarks/master' (0/0) 149s progress revision 0 'master' (0/1) 149s progress revision 1 'feature' (0/1) 149s * master 149s Switched to a new branch 'branches/feature' 149s branch 'branches/feature' set up to track 'origin/branches/feature'. 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) 150s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 150s or locale.getdefaultlocale()[1] 150s WARNING: capability_push is disabled, only do so when really sure 150s WARNING: various enhanced features might fail in subtle ways 150s no changes found 150s searching for changes 150s adding changesets 150s adding manifests 150s adding file changes 150s added 1 changesets with 1 changes to 1 files 150s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo 150s * [new tag] v1.0 -> v1.0 150s ok 36 - push tag different branch 150s 150s expecting success: 150s test_when_finished "rm -rf hgrepo gitrepo" && 150s 150s ( 150s hg init hgrepo && 150s cd hgrepo && 150s 150s echo test > test_file && 150s hg add test_file && 150s hg commit -m add && 150s 150s hg rm test_file && 150s hg commit -m remove 150s ) && 150s 150s git clone "hg::hgrepo" gitrepo && 150s check_files gitrepo 150s 151s Cloning into 'gitrepo'... 151s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 151s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 151s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 151s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 151s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 151s or locale.getdefaultlocale()[1] 151s WARNING: capability_push is disabled, only do so when really sure 151s WARNING: various enhanced features might fail in subtle ways 151s adding changesets 151s adding manifests 151s adding file changes 151s added 2 changesets with 1 changes to 1 files 151s new changesets 9c3776b30377:7479cc32cb48 151s progress revision walk 'bookmarks/master' (1/1) 151s progress revision 0 'master' (0/2) 151s ok 37 - cloning a removed file works 151s 151s expecting success: 151s test_when_finished "rm -rf hgrepo gitrepo" && 151s 151s ( 151s hg init hgrepo && 151s cd hgrepo && 151s 151s echo test > dir_or_file && 151s hg add dir_or_file && 151s hg commit -m add && 151s 151s hg rm dir_or_file && 151s mkdir dir_or_file && 151s echo test > dir_or_file/test_file && 151s hg add dir_or_file/test_file && 151s hg commit -m replase 151s ) && 151s 151s git clone "hg::hgrepo" gitrepo && 151s check_files gitrepo "dir_or_file/test_file" 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 added 2 changesets with 2 changes to 2 files 153s new changesets cccd8ed51bbd:329bd39b0d6e 153s progress revision walk 'bookmarks/master' (1/1) 153s progress revision 0 'master' (0/2) 153s ok 38 - cloning a file replaced with a directory 153s 153s expecting success: 153s test_when_finished "rm -rf hgrepo gitrepo" && 153s 153s ( 153s hg init hgrepo && 153s cd hgrepo && 153s 153s mkdir dir_or_file && 153s echo test > dir_or_file/test_file && 153s hg add dir_or_file/test_file && 153s hg commit -m add && 153s 153s hg rm dir_or_file/test_file && 153s echo test > dir_or_file && 153s hg add dir_or_file && 153s hg commit -m add && 153s 153s hg rm dir_or_file 153s ) && 153s 153s git clone "hg::hgrepo" gitrepo && 153s check_files gitrepo "dir_or_file" 153s 155s Cloning into 'gitrepo'... 155s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 155s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 155s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 155s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 155s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 155s or locale.getdefaultlocale()[1] 155s WARNING: capability_push is disabled, only do so when really sure 155s WARNING: various enhanced features might fail in subtle ways 155s adding changesets 155s adding manifests 155s adding file changes 155s added 2 changesets with 2 changes to 2 files 155s new changesets 22375100d649:864fb94889c8 155s progress revision walk 'bookmarks/master' (1/1) 155s progress revision 0 'master' (0/2) 155s ok 39 - clone replace directory with a file 155s 155s expecting success: 155s test_when_finished "rm -rf hgrepo gitrepo" && 155s 155s ( 155s hg init hgrepo && 155s cd hgrepo && 155s 155s touch test.txt && 155s hg add test.txt && 155s hg commit -m master && 155s hg branch parent && 155s echo test >test.txt && 155s hg commit -m test && 155s hg branch parent/child && 155s echo test1 >test.txt && 155s hg commit -m test1 155s ) && 155s 155s git clone -c remote-hg.ignore-name=child "hg::hgrepo" gitrepo && 155s check_files gitrepo "test.txt" 155s 156s marked working directory as branch parent 156s (branches are permanent and global, did you want a bookmark?) 156s marked working directory as branch parent/child 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) 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 adding changesets 157s adding manifests 157s adding file changes 157s added 3 changesets with 3 changes to 1 files 157s new changesets 492c67440dc8:c615fbc7ad2e 157s WARNING: Ignoring matched branch parent/child 157s progress revision walk 'bookmarks/master' (0/0) 157s progress revision 0 'master' (0/1) 157s progress revision 1 'parent' (0/1) 157s ok 40 - clone can ignore invalid refnames 157s 157s expecting success: 157s test_when_finished "rm -rf hgrepo gitrepo" && 157s 157s ( 157s hg init hgrepo && 157s cd hgrepo && 157s echo one > content && 157s hg add content && 157s hg commit -m one 157s ) && 157s 157s ( 157s git clone "hg::hgrepo" gitrepo && 157s cd gitrepo && 157s git tag -m "Version 1.0" v1.0 && 157s git push --tags 157s ) && 157s 157s cat > expected <<-\EOF && 157s tip:Version 1.0:C O Mitter 157s v1.0:one:H G Wells 157s EOF 157s 157s hg -R hgrepo log --template "{tags}:{desc}:{author}\n" > actual && 157s 157s test_cmp expected actual 157s 157s Cloning into 'gitrepo'... 157s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 157s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 157s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 157s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 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 added 1 changesets with 1 changes to 1 files 158s new changesets b6657ee3dde4 158s progress revision walk 'bookmarks/master' (0/0) 158s progress revision 0 'master' (0/1) 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 no changes found 158s searching for changes 158s adding changesets 158s adding manifests 158s adding file changes 158s added 1 changesets with 1 changes to 1 files 158s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo 158s * [new tag] v1.0 -> v1.0 158s ok 41 - push annotated tag 158s 158s expecting success: 158s test_when_finished "rm -rf hgrepo gitrepo1 gitrepo2" && 158s 158s hg init hgrepo && 158s 158s ( 158s git clone "hg::hgrepo" gitrepo1 && 158s cd gitrepo1 && 158s echo two >> content && 158s git add content && 158s git commit -m two --date="2016-09-26 00:00:00 -0230" && 158s git push 158s ) && 158s 158s git clone "hg::hgrepo" gitrepo2 && 158s 158s git --git-dir=gitrepo1/.git log -1 --format="%ai" > expected && 158s git --git-dir=gitrepo2/.git log -1 --format="%ai" > actual && 158s test_cmp expected actual 158s 159s Cloning into 'gitrepo1'... 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 warning: You appear to have cloned an empty repository. 159s [master (root-commit) 9f40cc0] two 159s Author: A U Thor 159s Date: Mon Sep 26 00:00:00 2016 -0230 159s 1 file changed, 1 insertion(+) 159s create mode 100644 content 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 searching for changes 159s adding changesets 159s adding manifests 159s adding file changes 159s added 1 changesets with 1 changes to 1 files 159s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main/tmp/hgrepo 159s * [new branch] master -> master 159s Cloning into 'gitrepo2'... 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 adding changesets 159s adding manifests 159s adding file changes 159s added 1 changesets with 1 changes to 1 files 160s new changesets e522f351d13b 160s progress revision walk 'bookmarks/master' (0/0) 160s progress revision 0 'master' (0/1) 160s ok 42 - timezone issues with negative offsets 160s 160s # still have 2 known breakage(s) 160s # passed all remaining 40 test(s) 160s 1..42 160s /bin/sh main-push.t --verbose 160s expecting success: 160s ( 160s hg init hgrepo && 160s cd hgrepo && 160s echo zero > content && 160s hg add content && 160s hg commit -m zero 160s ) 160s 160s ok 1 - setup 160s 160s expecting success: 160s test_when_finished "rm -rf gitrepo*" && 160s git clone "hg::hgrepo" gitrepo && 160s check gitrepo HEAD zero 160s 160s Cloning into 'gitrepo'... 160s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 160s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 160s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 160s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 160s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 160s or locale.getdefaultlocale()[1] 160s adding changesets 160s adding manifests 160s adding file changes 160s added 1 changesets with 1 changes to 1 files 160s new changesets 69d2f2b4d213 160s progress revision walk 'bookmarks/master' (0/0) 160s progress revision 0 'master' (0/1) 161s ok 2 - cloning 161s 161s expecting success: 161s test_when_finished "rm -rf gitrepo*" && 161s 161s ( 161s cd hgrepo && 161s hg branch next && 161s echo next > content && 161s hg commit -m next 161s ) && 161s 161s git clone "hg::hgrepo" gitrepo && 161s check gitrepo origin/branches/next next 161s 161s marked working directory as branch next 161s (branches are permanent and global, did you want a bookmark?) 161s Cloning into 'gitrepo'... 161s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 161s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 161s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 161s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 161s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 161s or locale.getdefaultlocale()[1] 161s adding changesets 161s adding manifests 161s adding file changes 161s added 2 changesets with 2 changes to 1 files 161s new changesets 69d2f2b4d213:46a80f524ef6 161s progress revision walk 'bookmarks/master' (0/0) 161s progress revision 0 'master' (0/1) 161s progress revision 1 'next' (0/1) 161s ok 3 - cloning with branches 161s 161s expecting success: 161s test_when_finished "rm -rf gitrepo*" && 161s 161s ( 161s cd hgrepo && 161s hg checkout default && 161s hg bookmark feature-a && 161s echo feature-a > content && 161s hg commit -m feature-a 161s ) && 161s 161s git clone "hg::hgrepo" gitrepo && 161s check gitrepo origin/feature-a feature-a 161s 162s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 162s Cloning into 'gitrepo'... 162s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 162s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 162s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 162s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 162s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 162s or locale.getdefaultlocale()[1] 162s adding changesets 162s adding manifests 162s adding file changes 162s adding remote bookmark feature-a 162s added 3 changesets with 3 changes to 1 files (+1 heads) 162s new changesets 69d2f2b4d213:594ed55f1feb 162s progress revision walk 'bookmarks/master' (2/2) 162s progress revision 0 'master' (0/2) 162s progress revision 1 'next' (0/1) 162s ok 4 - cloning with bookmarks 162s 162s expecting success: 162s test_when_finished "rm -rf gitrepo*" && 162s 162s ( 162s cd hgrepo && 162s hg bookmark devel 162s ) && 162s 162s ( 162s git clone "hg::hgrepo" gitrepo && 162s cd gitrepo && 162s git checkout --quiet devel && 162s echo devel > content && 162s git commit -a -m devel && 162s git push --quiet origin devel 162s ) && 162s 162s check_bookmark hgrepo devel devel 162s 163s Cloning into 'gitrepo'... 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 adding changesets 163s adding manifests 163s adding file changes 163s adding remote bookmark devel 163s adding remote bookmark feature-a 163s added 3 changesets with 3 changes to 1 files (+1 heads) 163s new changesets 69d2f2b4d213:594ed55f1feb 163s progress revision walk 'bookmarks/master' (2/2) 163s progress revision 0 'master' (0/2) 163s progress revision 1 'next' (0/1) 163s [devel e96e357] devel 163s Author: A U Thor 163s 1 file changed, 1 insertion(+), 1 deletion(-) 163s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 163s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 163s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 163s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 163s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 163s or locale.getdefaultlocale()[1] 163s no changes found 163s searching for changes 163s adding changesets 163s adding manifests 163s adding file changes 163s added 1 changesets with 1 changes to 1 files 164s ok 5 - update bookmark 164s 164s expecting success: 164s test_when_finished "rm -rf gitrepo*" && 164s 164s ( 164s git clone "hg::hgrepo" gitrepo && 164s cd gitrepo && 164s git checkout --quiet -b feature-b && 164s echo feature-b > content && 164s git commit -a -m feature-b && 164s git push --quiet origin feature-b 164s ) && 164s 164s check_bookmark hgrepo feature-b feature-b 164s 164s Cloning into 'gitrepo'... 164s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 164s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 164s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 164s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 164s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 164s or locale.getdefaultlocale()[1] 164s adding changesets 164s adding manifests 164s adding file changes 164s adding remote bookmark devel 164s adding remote bookmark feature-a 164s added 4 changesets with 4 changes to 1 files (+1 heads) 164s new changesets 69d2f2b4d213:f966b8acb9ba 164s progress revision walk 'bookmarks/master' (3/3) 164s progress revision 0 'master' (0/3) 164s progress revision 1 'next' (0/1) 164s [feature-b 82c7bd9] feature-b 164s Author: A U Thor 164s 1 file changed, 1 insertion(+), 1 deletion(-) 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 no changes found 164s searching for changes 164s adding changesets 164s adding manifests 164s adding file changes 164s added 1 changesets with 1 changes to 1 files 164s ok 6 - new bookmark 164s 164s expecting success: 164s test_when_finished "rm -rf hgrepo gitrepo" && 164s 164s ( 164s hg init hgrepo && 164s cd hgrepo && 164s 164s touch content && 164s hg add content && 164s 164s > ../expected && 164s author_test alpha "" "H G Wells " && 164s author_test beta "beta" "beta " && 164s author_test gamma "gamma (comment)" "gamma " && 164s author_test delta "" "Unknown " && 164s author_test epsilon "epsilon" "epsilon " && 164s author_test zeta "zeta " && 164s author_test eta " eta " "eta " && 164s author_test theta "theta < test@example.com >" "theta " && 164s author_test iota "iota >test@example.com>" "iota " && 164s author_test kappa "kappa < test example com>" "kappa " && 164s author_test lambda "lambda@example.com" "Unknown " && 164s author_test mu "mu.mu@example.com" "Unknown " 164s ) && 164s 164s git clone "hg::hgrepo" gitrepo && 164s git --git-dir=gitrepo/.git log --reverse --format="%an <%ae>" > actual && 164s 164s test_cmp expected actual 164s 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 adding changesets 168s adding manifests 168s adding file changes 168s added 12 changesets with 12 changes to 1 files 168s new changesets 27b43226d37f:4f8894e705b5 168s progress revision walk 'bookmarks/master' (11/11) 168s progress revision 0 'master' (0/12) 168s ok 7 - authors 168s 168s expecting success: 168s test_when_finished "rm -rf hgrepo gitrepo" && 168s 168s ( 168s hg init hgrepo && 168s cd hgrepo && 168s 168s echo one >> content && 168s hg add content && 168s hg commit -m one && 168s 168s echo two >> content && 168s hg commit -m two 168s ) && 168s 168s git clone "hg::hgrepo" gitrepo && 168s 168s ( 168s cd hgrepo && 168s hg strip 1 && 168s 168s echo three >> content && 168s hg commit -m three && 168s 168s echo four >> content && 168s hg commit -m four 168s ) && 168s 168s ( 168s cd gitrepo && 168s git fetch && 168s git log --format="%s" origin/master > ../actual 168s ) && 168s 168s hg -R hgrepo log --template "{desc}\n" > expected && 168s test_cmp actual expected 168s 169s Cloning into 'gitrepo'... 169s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 169s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 169s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 169s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 169s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 169s or locale.getdefaultlocale()[1] 169s adding changesets 169s adding manifests 169s adding file changes 169s added 2 changesets with 2 changes to 1 files 169s new changesets 8ff0831e9b63:20d4bc805cc4 169s progress revision walk 'bookmarks/master' (1/1) 169s progress revision 0 'master' (0/2) 169s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 169s saved backup bundle to /tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/hgrepo/.hg/strip-backup/20d4bc805cc4-88d76d69-backup.hg 170s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 170s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 170s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 170s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 170s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 170s or locale.getdefaultlocale()[1] 170s searching for changes 170s adding changesets 170s adding manifests 170s adding file changes 170s added 2 changesets with 2 changes to 1 files (+1 heads) 170s new changesets f1dcb6751e64:eac2bffc87dd 170s progress revision 2 'default' (0/2) 170s From hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/hgrepo 170s + 2b9d9da...6b78579 master -> origin/master (forced update) 170s + 2b9d9da...6b78579 branches/default -> origin/branches/default (forced update) 170s ok 8 - strip 170s 170s expecting success: 170s test_when_finished "rm -rf hgrepo gitrepo*" && 170s 170s ( 170s hg init hgrepo && 170s cd hgrepo && 170s echo zero > content && 170s hg add content && 170s hg commit -m zero && 170s hg bookmark master && 170s echo one > content && 170s hg commit -m one 170s ) && 170s 170s ( 170s git clone "hg::hgrepo" gitrepo && 170s cd gitrepo && 170s echo two > content && 170s git commit -a -m two && 170s git push 170s ) && 170s 170s check_branch hgrepo default two 170s 171s Cloning into 'gitrepo'... 171s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 171s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 171s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 171s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 172s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 172s or locale.getdefaultlocale()[1] 172s adding changesets 172s adding manifests 172s adding file changes 172s adding remote bookmark master 172s added 2 changesets with 2 changes to 1 files 172s new changesets 1a90b42575ed:024518ca61ff 172s progress revision walk 'bookmarks/default' (1/1) 172s progress revision 0 'default' (0/2) 172s [default d7c38f3] two 172s Author: A U Thor 172s 1 file changed, 1 insertion(+), 1 deletion(-) 172s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 172s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 172s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 172s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 172s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 172s or locale.getdefaultlocale()[1] 172s no changes found 172s searching for changes 172s adding changesets 172s adding manifests 172s adding file changes 172s added 1 changesets with 1 changes to 1 files 172s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/hgrepo 172s fffffff..d7c38f3 default -> default 172s ok 9 - remote push with master bookmark 172s 172s expecting success: 172s test_when_finished "rm -rf hgrepo gitrepo*" && 172s 172s hg init hgrepo && 172s 172s ( 172s git init gitrepo && 172s cd gitrepo && 172s git remote add origin "hg::../hgrepo" && 172s echo one > content && 172s git add content && 172s git commit -a -m one && 172s git push origin master 172s ) && 172s 172s hg -R hgrepo log > actual && 172s cat actual && 172s test_cmp expected actual && 172s 172s check_branch hgrepo default one 172s 173s Initialized empty Git repository in /tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/gitrepo/.git/ 173s [master (root-commit) 64caca5] one 173s Author: A U Thor 173s 1 file changed, 1 insertion(+) 173s create mode 100644 content 173s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 173s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 173s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 173s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 173s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 173s or locale.getdefaultlocale()[1] 173s no changes found 173s 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::../hgrepo 173s * [new branch] master -> master 173s changeset: 0:6e2126489d3d 173s tag: tip 173s user: A U Thor 173s date: Mon Jan 01 00:00:00 2007 +0230 173s summary: one 173s 173s ok 10 - remote push from master branch 173s 173s expecting success: 173s test_when_finished "rm -rf gitrepo*" && 173s 173s ( 173s hg init hgrepo && 173s cd hgrepo && 173s echo zero > content && 173s hg add content && 173s hg commit -m zero 173s ) && 173s 173s git clone "hg::hgrepo" gitrepo && 173s check gitrepo HEAD zero 173s 174s Cloning into 'gitrepo'... 174s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 174s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 174s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 174s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 174s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 174s or locale.getdefaultlocale()[1] 174s adding changesets 174s adding manifests 174s adding file changes 174s added 1 changesets with 1 changes to 1 files 174s new changesets 60f0743f01c5 174s progress revision walk 'bookmarks/master' (0/0) 174s progress revision 0 'master' (0/1) 174s ok 11 - remote cloning 174s 174s expecting success: 174s test_when_finished "rm -rf gitrepo*" && 174s 174s ( 174s git clone "hg::hgrepo" gitrepo && 174s mv gitrepo gitrepo2 && 174s cd gitrepo2 && 174s git fetch 174s ) 174s 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) 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 adding changesets 175s adding manifests 175s adding file changes 175s added 1 changesets with 1 changes to 1 files 175s new changesets 60f0743f01c5 175s progress revision walk 'bookmarks/master' (0/0) 175s progress revision 0 'master' (0/1) 175s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 175s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 175s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 175s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 175s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 175s or locale.getdefaultlocale()[1] 175s no changes found 175s ok 12 - moving remote clone 175s 175s expecting success: 175s test_when_finished "rm -rf gitrepo*" && 175s 175s ( 175s cd hgrepo && 175s hg bookmark devel 175s ) && 175s 175s ( 175s git clone "hg::hgrepo" gitrepo && 175s cd gitrepo && 175s git checkout --quiet devel && 175s echo devel > content && 175s git commit -a -m devel && 175s git push --quiet 175s ) && 175s 175s check_bookmark hgrepo devel devel 175s 175s Cloning into 'gitrepo'... 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) 176s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 176s or locale.getdefaultlocale()[1] 176s adding changesets 176s adding manifests 176s adding file changes 176s adding remote bookmark devel 176s added 1 changesets with 1 changes to 1 files 176s new changesets 60f0743f01c5 176s progress revision walk 'bookmarks/master' (0/0) 176s progress revision 0 'master' (0/1) 176s [devel ff9ecac] devel 176s Author: A U Thor 176s 1 file changed, 1 insertion(+), 1 deletion(-) 176s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 176s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 176s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 176s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 176s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 176s or locale.getdefaultlocale()[1] 176s no changes found 176s searching for changes 176s adding changesets 176s adding manifests 176s adding file changes 176s added 1 changesets with 1 changes to 1 files 176s ok 13 - remote update bookmark 176s 176s expecting success: 176s test_when_finished "rm -rf gitrepo*" && 176s 176s ( 176s git clone "hg::hgrepo" gitrepo && 176s cd gitrepo && 176s git checkout --quiet -b feature-b && 176s echo feature-b > content && 176s git commit -a -m feature-b && 176s git push --quiet origin feature-b 176s ) && 176s 176s check_bookmark hgrepo feature-b feature-b 176s 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) 177s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 177s or locale.getdefaultlocale()[1] 177s adding changesets 177s adding manifests 177s adding file changes 177s adding remote bookmark devel 177s added 2 changesets with 2 changes to 1 files 177s new changesets 60f0743f01c5:aaafe9438d49 177s progress revision walk 'bookmarks/master' (1/1) 177s progress revision 0 'master' (0/2) 177s [feature-b 44643ad] feature-b 177s Author: A U Thor 177s 1 file changed, 1 insertion(+), 1 deletion(-) 177s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 177s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 177s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 177s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 177s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 177s or locale.getdefaultlocale()[1] 177s no changes found 177s searching for changes 177s adding changesets 177s adding manifests 177s adding file changes 177s added 1 changesets with 1 changes to 1 files 177s ok 14 - remote new bookmark 177s 177s expecting success: 177s test_when_finished "rm -rf gitrepo*" && 177s 177s git clone "hg::hgrepo" gitrepo && 177s 177s ( 177s cd hgrepo && 177s hg checkout default && 177s echo bump > content && 177s hg commit -m bump 177s ) && 177s 177s ( 177s cd gitrepo && 177s echo diverge > content && 177s git commit -a -m diverged && 177s check_push 1 <<-\EOF 177s master:non-fast-forward 177s EOF 177s ) && 177s 177s check_branch hgrepo default bump 177s 177s Cloning into 'gitrepo'... 177s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 177s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 177s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 177s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 178s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 178s or locale.getdefaultlocale()[1] 178s adding changesets 178s adding manifests 178s adding file changes 178s adding remote bookmark devel 178s adding remote bookmark feature-b 178s added 3 changesets with 3 changes to 1 files 178s new changesets 60f0743f01c5:2d5d5e1d37fe 178s progress revision walk 'bookmarks/master' (2/2) 178s progress revision 0 'master' (0/3) 178s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 178s (leaving bookmark devel) 178s [master 700a57f] diverged 178s Author: A U Thor 178s 1 file changed, 1 insertion(+), 1 deletion(-) 178s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 178s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 178s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 178s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 178s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 178s or locale.getdefaultlocale()[1] 178s searching for changes 178s adding changesets 178s adding manifests 178s adding file changes 178s added 1 changesets with 1 changes to 1 files 178s new changesets 46eab41e54b8 178s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/hgrepo 178s ! [rejected] master -> master (non-fast-forward) 178s error: failed to push some refs to 'hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/hgrepo' 178s hint: Updates were rejected because the tip of your current branch is behind 178s hint: its remote counterpart. If you want to integrate the remote changes, 178s hint: use 'git pull' before pushing again. 178s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 178s ! [rejected] master -> master (non-fast-forward) 179s ok 15 - remote push diverged 179s 179s expecting success: 179s test_when_finished "rm -rf gitrepo*" && 179s 179s ( 179s cd hgrepo && 179s hg checkout tip^ && 179s hg bookmark diverge 179s ) && 179s 179s git clone "hg::hgrepo" gitrepo && 179s 179s ( 179s cd hgrepo && 179s echo "bump bookmark" > content && 179s hg commit -m "bump bookmark" 179s ) && 179s 179s ( 179s cd gitrepo && 179s git checkout --quiet diverge && 179s echo diverge > content && 179s git commit -a -m diverge && 179s check_push 1 <<-\EOF 179s diverge:non-fast-forward 179s EOF 179s ) && 179s 179s check_bookmark hgrepo diverge "bump bookmark" 179s 179s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 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) 179s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 179s or locale.getdefaultlocale()[1] 179s adding changesets 179s adding manifests 179s adding file changes 179s adding remote bookmark devel 179s adding remote bookmark diverge 179s adding remote bookmark feature-b 179s added 4 changesets with 4 changes to 1 files 179s new changesets 60f0743f01c5:46eab41e54b8 179s progress revision walk 'bookmarks/master' (3/3) 179s progress revision 0 'master' (0/4) 180s created new head 180s [diverge 6a4c045] diverge 180s Author: A U Thor 180s 1 file changed, 1 insertion(+), 1 deletion(-) 180s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 180s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 180s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 180s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 180s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 180s or locale.getdefaultlocale()[1] 180s searching for changes 180s adding changesets 180s adding manifests 180s adding file changes 180s updating bookmark diverge 180s added 1 changesets with 1 changes to 1 files (+1 heads) 180s new changesets 2ed9c4a07354 180s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/hgrepo 180s ! [rejected] diverge -> diverge (non-fast-forward) 180s error: failed to push some refs to 'hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/hgrepo' 180s hint: Updates were rejected because the tip of your current branch is behind 180s hint: its remote counterpart. If you want to integrate the remote changes, 180s hint: use 'git pull' before pushing again. 180s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 180s ! [rejected] diverge -> diverge (non-fast-forward) 180s ok 16 - remote update bookmark diverge 180s Cloning into 'gitrepo'... 180s 180s expecting success: 180s test_when_finished "rm -rf gitrepo*" && 180s 180s ( 180s git clone "hg::hgrepo" gitrepo && 180s cd gitrepo && 180s git checkout --quiet -b feature-c HEAD^ && 180s echo feature-c > content && 180s git commit -a -m feature-c && 180s git push --quiet origin feature-c 180s ) && 180s 180s check_bookmark hgrepo feature-c feature-c 180s 180s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 180s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 180s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 180s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 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 adding changesets 181s adding manifests 181s adding file changes 181s adding remote bookmark devel 181s adding remote bookmark diverge 181s adding remote bookmark feature-b 181s added 5 changesets with 5 changes to 1 files (+1 heads) 181s new changesets 60f0743f01c5:2ed9c4a07354 181s WARNING: Branch 'default' has more than one head, consider merging 181s progress revision walk 'bookmarks/master' (4/4) 181s progress revision 0 'master' (0/4) 181s [feature-c cc498e7] feature-c 181s Author: A U Thor 181s 1 file changed, 1 insertion(+), 1 deletion(-) 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 no changes found 181s searching for changes 181s adding changesets 181s adding manifests 181s adding file changes 181s added 1 changesets with 1 changes to 1 files (+1 heads) 181s ok 17 - remote new bookmark multiple branch head 181s 181s expecting success: 181s test_when_finished "rm -rf gitrepo hgrepo" && 181s 181s ( 181s hg init hgrepo && 181s cd hgrepo && 181s echo zero > content && 181s hg add content && 181s hg commit -m zero 181s ) && 181s 181s git clone "hg::hgrepo" gitrepo && 181s 181s ( 181s cd gitrepo && 181s cp content content-copy && 181s # recent git-fast-export is (too) picky in recognizing copies 181s # although git-log is not as picky; 181s # since https://github.com/git/git/commit/8096e1d385660c159d9d47e69b2be63cf22e4f31 181s # a copy is only marked if source filed not modified as well 181s # (though destination file can be modified) 181s echo one >> content-copy && 181s git add content content-copy && 181s git commit -m copy && 181s git mv content-copy content-moved 181s git commit -m moved && 181s git push origin master 181s ) && 181s 181s ( 181s hg -R hgrepo update && 181s test_cmp gitrepo/content hgrepo/content 181s test_cmp gitrepo/content-moved hgrepo/content-moved 181s cd hgrepo && 181s test `hg log -f content-moved | grep -c changeset` -eq 3 181s ) 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 adding changesets 182s adding manifests 182s adding file changes 182s added 1 changesets with 1 changes to 1 files 182s new changesets 80abe42c4b81 182s progress revision walk 'bookmarks/master' (0/0) 182s progress revision 0 'master' (0/1) 182s [master 19b2060] copy 182s Author: A U Thor 182s 1 file changed, 2 insertions(+) 182s create mode 100644 content-copy 182s [master 83cd93e] moved 182s Author: A U Thor 182s 1 file changed, 0 insertions(+), 0 deletions(-) 182s rename content-copy => content-moved (100%) 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 no changes found 183s searching for changes 183s adding changesets 183s adding manifests 183s adding file changes 183s added 2 changesets with 2 changes to 2 files 183s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/hgrepo 183s fffffff..83cd93e master -> master 183s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 183s ok 18 - push commits with copy and rename 183s 183s expecting success: 183s test_when_finished "rm -rf hgrepo gitrepo && LC_ALL=C" && 183s 183s LC_ALL=C.UTF-8 183s export LC_ALL 183s 183s ( 183s hg init hgrepo && 183s cd hgrepo && 183s 183s echo test >> "æ rø" && 183s hg add "æ rø" && 183s echo test >> "ø~?" && 183s hg add "ø~?" && 183s hg commit -m add-utf-8 && 183s echo test >> "æ rø" && 183s hg commit -m test-utf-8 && 183s hg rm "ø~?" && 183s hg mv "æ rø" "ø~?" && 183s hg commit -m hg-mv-utf-8 183s ) && 183s 183s ( 183s git clone "hg::hgrepo" gitrepo && 183s cd gitrepo && 183s git -c core.quotepath=false ls-files > ../actual 183s ) && 183s echo "ø~?" > expected && 183s test_cmp expected actual 183s 184s warning: filename contains '?', which is reserved on Windows: 'ø~?' 185s warning: filename contains '?', which is reserved on Windows: 'ø~?' 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 adding changesets 185s adding manifests 185s adding file changes 185s added 3 changesets with 4 changes to 2 files 185s new changesets c24b7517d194:5d40300c787d 185s progress revision walk 'bookmarks/master' (2/2) 185s progress revision 0 'master' (0/3) 185s ok 19 - fetch special filenames 185s 185s expecting success: 185s test_when_finished "rm -rf hgrepo gitrepo && LC_ALL=C" && 185s 185s mkdir -p tmp && cd tmp && 185s 185s LC_ALL=C.UTF-8 185s export LC_ALL 185s 185s ( 185s hg init hgrepo && 185s cd hgrepo && 185s 185s echo one >> content && 185s hg add content && 185s hg commit -m one 185s ) && 185s 185s ( 185s git clone "hg::hgrepo" gitrepo && 185s cd gitrepo && 185s 185s echo test >> "æ rø" && 185s git add "æ rø" && 185s git commit -m utf-8 && 185s 185s git push 185s ) && 185s 185s (cd hgrepo && 185s hg update && 185s hg manifest > ../actual 185s ) && 185s 185s printf "content\næ rø\n" > expected && 185s test_cmp expected actual 185s 186s Cloning into 'gitrepo'... 186s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 186s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 186s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 186s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 186s adding changesets 186s adding manifests 186s adding file changes 186s added 1 changesets with 1 changes to 1 files 186s new changesets 7f5f95e10e62 186s progress revision walk 'bookmarks/master' (0/0) 186s progress revision 0 'master' (0/1) 186s [master dd138e3] utf-8 186s Author: A U Thor 186s 1 file changed, 1 insertion(+) 186s create mode 100644 "\303\246 r\303\270" 186s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 186s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 186s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 186s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 186s no changes found 186s searching for changes 186s adding changesets 186s adding manifests 186s adding file changes 186s added 1 changesets with 1 changes to 1 files 186s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 186s fffffff..dd138e3 master -> master 187s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 187s ok 20 - push special filenames 187s 187s expecting success: 187s test_when_finished "rm -rf hgrepo gitrepo*" && 187s 187s setup_big_push 187s 187s ( 187s cd gitrepo && 187s 187s check_push 1 --all <<-\EOF 187s master 187s good_bmark 187s branches/good_branch 187s new_bmark:new 187s branches/new_branch:new 187s bad_bmark1:non-fast-forward 187s bad_bmark2:non-fast-forward 187s branches/bad_branch:non-fast-forward 187s EOF 187s ) && 187s 187s if test "$CAPABILITY_PUSH" = "t" 187s then 187s # cap push handles refs one by one 187s # so it will push all requested it can 187s check_branch hgrepo default six && 187s check_branch hgrepo good_branch eight && 187s check_branch hgrepo bad_branch "bad branch" && 187s check_branch hgrepo new_branch ten && 187s check_bookmark hgrepo good_bmark three && 187s check_bookmark hgrepo bad_bmark1 one && 187s check_bookmark hgrepo bad_bmark2 one && 187s check_bookmark hgrepo new_bmark six 187s else 187s check_branch hgrepo default one && 187s check_branch hgrepo good_branch "good branch" && 187s check_branch hgrepo bad_branch "bad branch" && 187s check_branch hgrepo new_branch && 187s check_bookmark hgrepo good_bmark one && 187s check_bookmark hgrepo bad_bmark1 one && 187s check_bookmark hgrepo bad_bmark2 one && 187s check_bookmark hgrepo new_bmark 187s fi 187s 189s Cloning into 'gitrepo'... 189s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 189s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 189s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 189s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 190s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 190s or locale.getdefaultlocale()[1] 190s adding changesets 190s adding manifests 190s adding file changes 190s adding remote bookmark bad_bmark1 190s adding remote bookmark bad_bmark2 190s adding remote bookmark good_bmark 190s added 4 changesets with 4 changes to 1 files 190s new changesets c8e431eceb69:e0e843923d2a 190s progress revision walk 'bookmarks/master' (1/1) 190s progress revision 0 'master' (0/2) 190s progress revision 2 'bad_branch' (0/2) 190s HEAD is now at 370c38a zero 190s HEAD is now at 370c38a zero 190s HEAD is now at 3830dba good branch 190s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 190s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 190s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 190s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 190s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 190s or locale.getdefaultlocale()[1] 190s no changes found 190s searching for changes 190s adding changesets 190s adding manifests 190s adding file changes 190s added 2 changesets with 2 changes to 1 files (+1 heads) 190s searching for changes 190s adding changesets 190s adding manifests 190s adding file changes 190s added 1 changesets with 1 changes to 1 files (+1 heads) 190s searching for changes 190s adding changesets 190s adding manifests 190s adding file changes 190s added 1 changesets with 1 changes to 1 files (+1 heads) 190s searching for changes 190s adding changesets 190s adding manifests 190s adding file changes 190s added 1 changesets with 1 changes to 1 files 190s searching for changes 190s adding changesets 190s adding manifests 190s adding file changes 190s added 1 changesets with 1 changes to 1 files (+1 heads) 190s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 190s fffffff..dd720d4 branches/good_branch -> branches/good_branch 190s fffffff..cf05f02 good_bmark -> good_bmark 190s fffffff..e258040 master -> master 190s * [new branch] branches/new_branch -> branches/new_branch 190s * [new branch] new_bmark -> new_bmark 190s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 190s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 190s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 190s error: failed to push some refs to 'hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo' 190s hint: Updates were rejected because a pushed branch tip is behind its remote 190s hint: counterpart. If you want to integrate the remote changes, use 'git pull' 190s hint: before pushing again. 190s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 190s fffffff..e258040 master -> master 190s fffffff..cf05f02 good_bmark -> good_bmark 190s fffffff..dd720d4 branches/good_branch -> branches/good_branch 190s * [new branch] new_bmark -> new_bmark 190s * [new branch] branches/new_branch -> branches/new_branch 190s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 190s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 190s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 192s ok 21 - remote big push 192s 192s expecting success: 192s test_when_finished "rm -rf hgrepo gitrepo*" && 192s 192s ( 192s hg init hgrepo && 192s cd hgrepo && 192s echo zero > content && 192s hg add content && 192s hg commit -m zero && 192s hg bookmark bad_bmark && 192s hg bookmark good_bmark && 192s hg bookmark -i good_bmark && 192s hg -q branch good_branch && 192s echo "good branch" > content && 192s hg commit -m "good branch" && 192s hg -q branch bad_branch && 192s echo "bad branch" > content && 192s hg commit -m "bad branch" 192s ) && 192s 192s git clone "hg::hgrepo" gitrepo && 192s 192s ( 192s cd hgrepo && 192s hg bookmark -f bad_bmark && 192s echo update_bmark > content && 192s hg commit -m "update bmark" 192s ) && 192s 192s ( 192s cd gitrepo && 192s echo two > content && 192s git commit -q -a -m two && 192s 192s git checkout -q good_bmark && 192s echo three > content && 192s git commit -q -a -m three && 192s 192s git checkout -q bad_bmark && 192s echo four > content && 192s git commit -q -a -m four && 192s 192s git checkout -q branches/bad_branch && 192s echo five > content && 192s git commit -q -a -m five && 192s 192s check_push 1 --all <<-\EOF && 192s master 192s good_bmark 192s bad_bmark:non-fast-forward 192s branches/bad_branch:non-fast-forward 192s EOF 192s 192s git fetch && 192s 192s if test "$CAPABILITY_PUSH" = "t" 192s then 192s # cap push handles refs one by one 192s # so it will already have pushed some above previously 192s # (and master is a fake one that jumps around a bit) 192s check_push 1 --all <<-\EOF 192s bad_bmark:non-fast-forward 192s branches/bad_branch:non-fast-forward 192s EOF 192s else 192s check_push 1 --all <<-\EOF 192s master 192s good_bmark 192s bad_bmark:non-fast-forward 192s branches/bad_branch:non-fast-forward 192s EOF 192s fi 192s ) 192s 194s Cloning into 'gitrepo'... 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) 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 bad_bmark 195s adding remote bookmark good_bmark 195s added 3 changesets with 3 changes to 1 files 195s new changesets c0afc41d0a61:1460d863056d 195s progress revision walk 'bookmarks/master' (0/0) 195s progress revision 0 'master' (0/1) 195s progress revision 1 'bad_branch' (0/2) 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 searching for changes 196s adding changesets 196s adding manifests 196s adding file changes 196s updating bookmark bad_bmark 196s added 1 changesets with 1 changes to 1 files 196s new changesets 4d31e3eb1458 196s searching for changes 196s adding changesets 196s adding manifests 196s adding file changes 196s added 1 changesets with 1 changes to 1 files (+1 heads) 196s searching for changes 196s adding changesets 196s adding manifests 196s adding file changes 196s added 1 changesets with 1 changes to 1 files (+1 heads) 196s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 196s fffffff..e768645 good_bmark -> good_bmark 196s fffffff..47a78ee master -> master 196s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 196s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 196s error: failed to push some refs to 'hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo' 196s hint: Updates were rejected because the tip of your current branch is behind 196s hint: its remote counterpart. If you want to integrate the remote changes, 196s hint: use 'git pull' before pushing again. 196s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 196s fffffff..47a78ee master -> master 196s fffffff..e768645 good_bmark -> good_bmark 196s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 196s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 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 updating bookmark good_bmark 196s 2 local changesets published 196s WARNING: Branch 'default' has more than one head, consider merging 196s progress revision 3 'bad_branch' (0/1) 196s From hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 196s f2f4ce1..13a3efd branches/bad_branch -> origin/branches/bad_branch 196s 8520e01..47a78ee branches/default -> origin/branches/default 196s 8520e01..13a3efd bad_bmark -> origin/bad_bmark 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 To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 196s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 196s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 196s error: failed to push some refs to 'hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo' 196s hint: Updates were rejected because the tip of your current branch is behind 196s hint: its remote counterpart. If you want to integrate the remote changes, 196s hint: use 'git pull' before pushing again. 196s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 196s ! [rejected] bad_bmark -> bad_bmark (non-fast-forward) 196s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 196s ok 22 - remote big push non fast forward 196s 196s expecting success: 196s test_when_finished "rm -rf hgrepo gitrepo*" && 196s 196s setup_big_push 196s 196s ( 196s cd gitrepo && 196s 196s if test "$CAPABILITY_PUSH" = "t" 196s then 196s check_push 0 --force --all <<-\EOF 196s master:forced-update 196s good_bmark:forced-update 196s branches/good_branch:forced-update 196s new_bmark:new 196s branches/new_branch:new 196s bad_bmark1:forced-update 196s bad_bmark2:forced-update 196s branches/bad_branch:forced-update 196s EOF 196s else 196s check_push 0 --force --all <<-\EOF 196s master 196s good_bmark 196s branches/good_branch 196s new_bmark:new 196s branches/new_branch:new 196s bad_bmark1:forced-update 196s bad_bmark2:forced-update 196s branches/bad_branch:forced-update 196s EOF 196s fi 196s ) && 196s 196s check_branch hgrepo good_branch eight && 196s check_branch hgrepo bad_branch nine && 196s check_branch hgrepo new_branch ten && 196s check_bookmark hgrepo good_bmark three && 196s check_bookmark hgrepo bad_bmark1 four && 196s check_bookmark hgrepo bad_bmark2 five && 196s check_bookmark hgrepo new_bmark six 196s 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] 199s adding changesets 199s adding manifests 199s adding file changes 199s adding remote bookmark bad_bmark1 199s adding remote bookmark bad_bmark2 199s adding remote bookmark good_bmark 199s added 4 changesets with 4 changes to 1 files 199s new changesets 8957c02b6e95:766b77ae95ad 199s progress revision walk 'bookmarks/master' (1/1) 199s progress revision 0 'master' (0/2) 199s progress revision 2 'bad_branch' (0/2) 199s HEAD is now at d9bda59 zero 199s HEAD is now at d9bda59 zero 199s HEAD is now at 58cb833 good branch 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 (+1 heads) 200s searching for changes 200s adding changesets 200s adding manifests 200s adding file changes 200s added 2 changesets with 2 changes to 1 files (+1 heads) 200s searching for changes 200s adding changesets 200s adding manifests 200s adding file changes 200s added 1 changesets with 1 changes to 1 files (+1 heads) 200s searching for changes 200s adding changesets 200s adding manifests 200s adding file changes 200s added 1 changesets with 1 changes to 1 files (+1 heads) 200s searching for changes 200s adding changesets 200s adding manifests 200s adding file changes 200s added 1 changesets with 1 changes to 1 files (+1 heads) 200s searching for changes 200s adding changesets 200s adding manifests 200s adding file changes 200s added 1 changesets with 1 changes to 1 files (+1 heads) 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 searching for changes 200s adding changesets 200s adding manifests 200s adding file changes 200s added 1 changesets with 1 changes to 1 files (+1 heads) 200s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 200s + fffffff...19e5677 branches/bad_branch -> branches/bad_branch (forced update) 200s + fffffff...c8d741b branches/good_branch -> branches/good_branch (forced update) 200s + fffffff...afceaf6 bad_bmark1 -> bad_bmark1 (forced update) 200s + fffffff...8a2d586 bad_bmark2 -> bad_bmark2 (forced update) 200s + fffffff...d6d0bef good_bmark -> good_bmark (forced update) 200s + fffffff...167afd6 master -> master (forced update) 200s * [new branch] branches/new_branch -> branches/new_branch 200s * [new branch] new_bmark -> new_bmark 200s + fffffff...167afd6 master -> master (forced update) 200s + fffffff...d6d0bef good_bmark -> good_bmark (forced update) 200s + fffffff...c8d741b branches/good_branch -> branches/good_branch (forced update) 200s * [new branch] new_bmark -> new_bmark 200s * [new branch] branches/new_branch -> branches/new_branch 200s + fffffff...afceaf6 bad_bmark1 -> bad_bmark1 (forced update) 200s + fffffff...8a2d586 bad_bmark2 -> bad_bmark2 (forced update) 200s + fffffff...19e5677 branches/bad_branch -> branches/bad_branch (forced update) 201s ok 23 - remote big push force 201s 201s expecting success: 201s test_when_finished "rm -rf hgrepo gitrepo*" && 201s 201s setup_big_push 201s 201s ( 201s cd gitrepo && 201s 201s check_push 1 --dry-run --all <<-\EOF && 201s master 201s good_bmark 201s branches/good_branch 201s new_bmark:new 201s branches/new_branch:new 201s bad_bmark1:non-fast-forward 201s bad_bmark2:non-fast-forward 201s branches/bad_branch:non-fast-forward 201s EOF 201s 201s check_push 0 --dry-run master good_bmark new_bmark branches/good_branch branches/new_branch <<-\EOF 201s master 201s good_bmark 201s branches/good_branch 201s new_bmark:new 201s branches/new_branch:new 201s EOF 201s ) && 201s 201s check_branch hgrepo default one && 201s check_branch hgrepo good_branch "good branch" && 201s check_branch hgrepo bad_branch "bad branch" && 201s check_branch hgrepo new_branch && 201s check_bookmark hgrepo good_bmark one && 201s check_bookmark hgrepo bad_bmark1 one && 201s check_bookmark hgrepo bad_bmark2 one && 201s check_bookmark hgrepo new_bmark 201s 204s Cloning into 'gitrepo'... 204s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 204s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 204s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 204s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 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 adding changesets 204s adding manifests 204s adding file changes 204s adding remote bookmark bad_bmark1 204s adding remote bookmark bad_bmark2 204s adding remote bookmark good_bmark 204s added 4 changesets with 4 changes to 1 files 204s new changesets 347cf67b4ed0:dc9808576638 204s progress revision walk 'bookmarks/master' (1/1) 204s progress revision 0 'master' (0/2) 204s progress revision 2 'bad_branch' (0/2) 204s HEAD is now at db50244 zero 204s HEAD is now at db50244 zero 204s HEAD is now at 6921cb1 good branch 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 To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 205s fffffff..c86f2d9 branches/good_branch -> branches/good_branch 205s fffffff..1e837cc good_bmark -> good_bmark 205s fffffff..e7c92c6 master -> master 205s * [new branch] branches/new_branch -> branches/new_branch 205s * [new branch] new_bmark -> new_bmark 205s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 205s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 205s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 205s error: failed to push some refs to 'hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo' 205s hint: Updates were rejected because a pushed branch tip is behind its remote 205s hint: counterpart. If you want to integrate the remote changes, use 'git pull' 205s hint: before pushing again. 205s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 205s fffffff..e7c92c6 master -> master 205s fffffff..1e837cc good_bmark -> good_bmark 205s fffffff..c86f2d9 branches/good_branch -> branches/good_branch 205s * [new branch] new_bmark -> new_bmark 205s * [new branch] branches/new_branch -> branches/new_branch 205s ! [rejected] bad_bmark1 -> bad_bmark1 (non-fast-forward) 205s ! [rejected] bad_bmark2 -> bad_bmark2 (non-fast-forward) 205s ! [rejected] branches/bad_branch -> branches/bad_branch (non-fast-forward) 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 To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 205s fffffff..c86f2d9 branches/good_branch -> branches/good_branch 205s fffffff..1e837cc good_bmark -> good_bmark 205s fffffff..e7c92c6 master -> master 205s * [new branch] new_bmark -> new_bmark 205s * [new branch] branches/new_branch -> branches/new_branch 205s fffffff..e7c92c6 master -> master 205s fffffff..1e837cc good_bmark -> good_bmark 205s fffffff..c86f2d9 branches/good_branch -> branches/good_branch 205s * [new branch] new_bmark -> new_bmark 205s * [new branch] branches/new_branch -> branches/new_branch 207s ok 24 - remote big push dry-run 207s 207s expecting success: 207s test_when_finished "rm -rf hgrepo gitrepo*" && 207s 207s setup_big_push 207s 207s ( 207s cd gitrepo && 207s 207s if test "$CAPABILITY_PUSH" = "t" 207s then 207s check_push 0 --force --dry-run --all <<-\EOF 207s master:forced-update 207s good_bmark:forced-update 207s branches/good_branch:forced-update 207s new_bmark:new 207s branches/new_branch:new 207s bad_bmark1:forced-update 207s bad_bmark2:forced-update 207s branches/bad_branch:forced-update 207s EOF 207s else 207s check_push 0 --force --dry-run --all <<-\EOF 207s master 207s good_bmark 207s branches/good_branch 207s new_bmark:new 207s branches/new_branch:new 207s bad_bmark1:forced-update 207s bad_bmark2:forced-update 207s branches/bad_branch:forced-update 207s EOF 207s fi 207s ) && 207s 207s check_branch hgrepo default one && 207s check_branch hgrepo good_branch "good branch" && 207s check_branch hgrepo bad_branch "bad branch" && 207s check_branch hgrepo new_branch && 207s check_bookmark hgrepo good_bmark one && 207s check_bookmark hgrepo bad_bmark1 one && 207s check_bookmark hgrepo bad_bmark2 one && 207s check_bookmark hgrepo new_bmark 207s 209s Cloning into 'gitrepo'... 209s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 209s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 209s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 209s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 210s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 210s or locale.getdefaultlocale()[1] 210s adding changesets 210s adding manifests 210s adding file changes 210s adding remote bookmark bad_bmark1 210s adding remote bookmark bad_bmark2 210s adding remote bookmark good_bmark 210s added 4 changesets with 4 changes to 1 files 210s new changesets 5718cc973e26:47449de7d7c1 210s progress revision walk 'bookmarks/master' (1/1) 210s progress revision 0 'master' (0/2) 210s progress revision 2 'bad_branch' (0/2) 210s HEAD is now at 7cbf6de zero 210s HEAD is now at 7cbf6de zero 210s HEAD is now at 3e02a73 good branch 210s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 210s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 210s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 210s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 210s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 210s or locale.getdefaultlocale()[1] 210s no changes found 210s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 210s + fffffff...3646dbf branches/bad_branch -> branches/bad_branch (forced update) 210s + fffffff...2767b62 branches/good_branch -> branches/good_branch (forced update) 210s + fffffff...f7d0d5a bad_bmark1 -> bad_bmark1 (forced update) 210s + fffffff...e963af0 bad_bmark2 -> bad_bmark2 (forced update) 210s + fffffff...649e4b8 good_bmark -> good_bmark (forced update) 210s + fffffff...b663802 master -> master (forced update) 210s * [new branch] branches/new_branch -> branches/new_branch 210s * [new branch] new_bmark -> new_bmark 210s + fffffff...b663802 master -> master (forced update) 210s + fffffff...649e4b8 good_bmark -> good_bmark (forced update) 210s + fffffff...2767b62 branches/good_branch -> branches/good_branch (forced update) 210s * [new branch] new_bmark -> new_bmark 210s * [new branch] branches/new_branch -> branches/new_branch 210s + fffffff...f7d0d5a bad_bmark1 -> bad_bmark1 (forced update) 210s + fffffff...e963af0 bad_bmark2 -> bad_bmark2 (forced update) 210s + fffffff...3646dbf branches/bad_branch -> branches/bad_branch (forced update) 212s ok 25 - remote big push force dry-run 212s 212s expecting success: 212s test_when_finished "rm -rf hgrepo gitrepo*" && 212s 212s ( 212s hg init hgrepo && 212s cd hgrepo && 212s echo zero > content && 212s hg add content && 212s hg commit -m zero && 212s echo one > content && 212s hg commit -m one 212s ) && 212s 212s ( 212s git clone "hg::hgrepo" gitrepo && 212s cd gitrepo && 212s git reset --hard HEAD^ && 212s echo two > content && 212s git commit -a -m two && 212s test_expect_code 1 git push && 212s test_expect_code 1 git push 212s ) 212s 213s Cloning into 'gitrepo'... 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 adding changesets 213s adding manifests 213s adding file changes 213s added 2 changesets with 2 changes to 1 files 213s new changesets bfaf42dbf2ff:cc8102ce9d28 213s progress revision walk 'bookmarks/master' (1/1) 213s progress revision 0 'master' (0/2) 213s HEAD is now at 07675b9 zero 213s [master 01a8b06] two 213s Author: A U Thor 213s 1 file changed, 1 insertion(+), 1 deletion(-) 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 To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 213s ! [rejected] master -> master (non-fast-forward) 213s error: failed to push some refs to 'hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo' 213s hint: Updates were rejected because the tip of your current branch is behind 213s hint: its remote counterpart. If you want to integrate the remote changes, 213s hint: use 'git pull' before pushing again. 213s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 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) 214s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 214s or locale.getdefaultlocale()[1] 214s no changes found 214s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 214s ! [rejected] master -> master (non-fast-forward) 214s error: failed to push some refs to 'hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo' 214s hint: Updates were rejected because the tip of your current branch is behind 214s hint: its remote counterpart. If you want to integrate the remote changes, 214s hint: use 'git pull' before pushing again. 214s hint: See the 'Note about fast-forwards' in 'git push --help' for details. 214s ok 26 - remote double failed push 214s 214s expecting success: 214s test_when_finished "rm -rf gitrepo hgrepo" && 214s 214s ( 214s hg init hgrepo && 214s cd hgrepo && 214s echo zero > content && 214s hg add content && 214s hg commit -m zero && 214s echo feature-a > content && 214s hg commit -m feature-a 214s hg bookmark feature-a 214s ) && 214s 214s git clone "hg::hgrepo" gitrepo && 214s check gitrepo origin/feature-a feature-a && 214s 214s ( 214s cd hgrepo && 214s hg bookmark -d feature-a 214s ) && 214s 214s ( 214s cd gitrepo && 214s git fetch --prune origin 214s git branch -a > out && 214s ! grep feature-a out 214s ) 214s 215s Cloning into 'gitrepo'... 215s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 215s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 215s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 215s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 215s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 215s or locale.getdefaultlocale()[1] 215s adding changesets 215s adding manifests 215s adding file changes 215s adding remote bookmark feature-a 215s added 2 changesets with 2 changes to 1 files 215s new changesets 96dfdc89186d:035a942e57a6 215s progress revision walk 'bookmarks/master' (1/1) 215s progress revision 0 'master' (0/2) 215s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 215s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 215s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 215s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 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 no changes found 216s error: refusing to update ref with bad name 'hg/origin/refs/bookmarks/feature-a' 216s From hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 216s - [deleted] (none) -> origin/feature-a 216s ok 27 - fetch prune 216s 216s expecting success: 216s test_when_finished "rm -rf gitrepo hgrepo" && 216s 216s ( 216s hg init hgrepo && 216s cd hgrepo && 216s echo zero > content && 216s hg add content && 216s hg commit -m zero && 216s hg up -r null && 216s echo another > ocontent && 216s hg add ocontent && 216s hg commit -m one 216s ) && 216s 216s # -r 1 acts as master 216s ( 216s git init --bare gitrepo && cd gitrepo && 216s git remote add origin hg::../hgrepo && 216s git fetch origin refs/heads/*:refs/heads/* 216s ) && 216s 216s ( 216s cd hgrepo && 216s hg up 0 && 216s echo two > content && 216s hg commit -m two 216s ) && 216s 216s # now master already exists 216s # -r 2 becomes master head which has rev 0 as ancestor 216s # so when importing (parentless) rev 0, a reset is needed 216s # (to ensure rev 0 is not given a parent commit) 216s ( 216s cd gitrepo && 216s git fetch origin && 216s git log --format="%s" origin/master > ../actual 216s ) && 216s 216s hg -R hgrepo log -r . -f --template "{desc}\n" > expected && 216s test_cmp actual expected 216s 217s 0 files updated, 0 files merged, 1 files removed, 0 files unresolved 217s created new head 217s Initialized empty Git repository in /tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/gitrepo/ 217s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 217s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 217s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 217s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 217s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 217s or locale.getdefaultlocale()[1] 217s progress revision 1 'default' (0/1) 217s adding changesets 217s adding manifests 217s adding file changes 217s added 2 changesets with 2 changes to 2 files (+1 heads) 217s new changesets 1540d709ebb1:48a3bc971a05 217s WARNING: Branch 'default' has more than one head, consider merging 217s WARNING: Branch 'default' has more than one head, consider merging 217s From hg::../hgrepo 217s * [new branch] branches/default -> branches/default 217s * [new branch] master -> master 217s * [new branch] branches/default -> origin/branches/default 217s * [new branch] master -> origin/master 218s 1 files updated, 0 files merged, 1 files removed, 0 files unresolved 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 searching for changes 218s adding changesets 218s adding manifests 218s adding file changes 218s added 1 changesets with 1 changes to 1 files 218s new changesets 7286119f9bd5 218s WARNING: Branch 'default' has more than one head, consider merging 218s progress revision walk 'branches/default' (2/2) 218s progress revision 0 'default' (0/2) 218s From hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 218s + 940d2c7...9090d3c branches/default -> origin/branches/default (forced update) 218s + 940d2c7...9090d3c master -> origin/master (forced update) 218s ok 28 - fetch multiple independent histories 218s 218s expecting success: 218s test_when_finished "rm -rf gitrepo* hgrepo*" && 218s 218s ( 218s hg init hgrepo && 218s cd hgrepo && 218s echo a > a && 218s hg add a && 218s hg commit -m a && 218s hg bookmark -r null bookmark 218s ) && 218s 218s ( 218s git clone "hg::hgrepo" gitrepo && 218s check gitrepo HEAD a && 218s cd gitrepo && 218s git checkout --quiet -b bookmark && 218s git remote -v && 218s echo b > b && 218s git add b && 218s git commit -m b && 218s git push origin bookmark 218s ) 218s 219s Cloning into 'gitrepo'... 219s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 219s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 219s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 219s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 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 bookmark 220s added 1 changesets with 1 changes to 1 files 220s new changesets dcca9e9e34d5 220s WARNING: Ignoring invalid bookmark 'bookmark' 220s progress revision walk 'bookmarks/master' (0/0) 220s progress revision 0 'master' (0/1) 220s origin hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo (fetch) 220s origin hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo (push) 220s [bookmark 5611040] b 220s Author: A U Thor 220s 1 file changed, 1 insertion(+) 220s create mode 100644 b 220s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 220s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 220s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 220s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 220s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 220s or locale.getdefaultlocale()[1] 220s no changes found 220s WARNING: Ignoring invalid bookmark 'bookmark' 220s searching for changes 220s adding changesets 220s adding manifests 220s adding file changes 220s added 1 changesets with 1 changes to 1 files 220s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 220s * [new branch] bookmark -> bookmark 220s ok 29 - clone remote with null bookmark, then push 220s 220s expecting success: 220s test_when_finished "rm -rf hgrepo gitrepo" && 220s 220s ( 220s hg init hgrepo && 220s cd hgrepo && 220s echo one > content && 220s hg add content && 220s hg commit -m one && 220s echo two > content && 220s hg commit -m two 220s ) && 220s 220s git clone "hg::hgrepo" gitrepo && 220s hg -R hgrepo log --template "{node}\n\n" > expected && 220s git --git-dir=gitrepo/.git log --pretty="tformat:%N" --notes=hg > actual && 220s test_cmp expected actual 220s 221s Cloning into 'gitrepo'... 221s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 221s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 221s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 221s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 221s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 221s or locale.getdefaultlocale()[1] 221s adding changesets 221s adding manifests 221s adding file changes 221s added 2 changesets with 2 changes to 1 files 221s new changesets 16b81c84dacd:ac99fff50d25 221s progress revision walk 'bookmarks/master' (1/1) 221s progress revision 0 'master' (0/2) 221s ok 30 - notes 221s 221s expecting success: 221s test_when_finished "rm -rf hgrepo gitrepo" && 221s 221s ( 221s hg init hgrepo && 221s cd hgrepo && 221s echo one > content && 221s hg add content && 221s hg commit -m one 221s ) && 221s 221s git clone "hg::hgrepo" gitrepo && 221s 221s ( 221s cd gitrepo && 221s echo two > content && 221s git commit -a -m two && 221s git push 221s ) && 221s 221s hg -R hgrepo log --template "{node}\n\n" > expected && 221s git --git-dir=gitrepo/.git log --pretty="tformat:%N" --notes=hg > actual && 221s test_cmp expected actual 221s 222s Cloning into 'gitrepo'... 222s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 222s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 222s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 222s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 222s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 222s or locale.getdefaultlocale()[1] 222s adding changesets 222s adding manifests 222s adding file changes 222s added 1 changesets with 1 changes to 1 files 222s new changesets acd73741ec6f 222s progress revision walk 'bookmarks/master' (0/0) 222s progress revision 0 'master' (0/1) 222s [master d9cade7] two 222s Author: A U Thor 222s 1 file changed, 1 insertion(+), 1 deletion(-) 222s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 222s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 222s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 222s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 223s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 223s or locale.getdefaultlocale()[1] 223s no changes found 223s searching for changes 223s adding changesets 223s adding manifests 223s adding file changes 223s added 1 changesets with 1 changes to 1 files 223s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 223s fffffff..d9cade7 master -> master 223s ok 31 - push updates notes 223s 223s expecting success: 223s test_when_finished "rm -rf hgrepo gitrepo" && 223s 223s ( 223s hg init hgrepo && 223s cd hgrepo && 223s echo one > content && 223s hg add content && 223s hg commit -m one 223s ) && 223s 223s git clone "hg::hgrepo" gitrepo && 223s 223s ( 223s cd gitrepo && 223s echo two > content && 223s git commit -a -m two && 223s git push origin master && 223s git branch feature-a && 223s git push origin feature-a 223s ) && 223s 223s check_bookmark hgrepo feature-a two 223s 224s Cloning into 'gitrepo'... 224s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 224s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 224s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 224s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 224s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 224s or locale.getdefaultlocale()[1] 224s adding changesets 224s adding manifests 224s adding file changes 224s added 1 changesets with 1 changes to 1 files 224s new changesets f9a1c65b4638 224s progress revision walk 'bookmarks/master' (0/0) 224s progress revision 0 'master' (0/1) 224s [master d4cfa60] two 224s Author: A U Thor 224s 1 file changed, 1 insertion(+), 1 deletion(-) 224s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 224s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 224s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 224s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 224s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 224s or locale.getdefaultlocale()[1] 224s no changes found 224s searching for changes 224s adding changesets 224s adding manifests 224s adding file changes 224s added 1 changesets with 1 changes to 1 files 224s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 224s fffffff..d4cfa60 master -> master 224s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 224s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 224s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 224s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 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 1 local changesets published 225s searching for changes 225s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 225s * [new branch] feature-a -> feature-a 225s ok 32 - push bookmark without changesets 225s 225s expecting success: 225s test_when_finished "rm -rf hgrepo gitrepo" && 225s 225s ( 225s hg init hgrepo && 225s cd hgrepo && 225s echo one > content && 225s hg add content && 225s hg commit -m one 225s ) && 225s 225s git clone "hg::hgrepo" gitrepo && 225s 225s (cd hgrepo && hg tag v1.0) && 225s (cd gitrepo && git pull) && 225s 225s echo "v1.0" > expected && 225s git --git-dir=gitrepo/.git tag > actual && 225s test_cmp expected actual 225s 226s Cloning into 'gitrepo'... 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 adding changesets 226s adding manifests 226s adding file changes 226s added 1 changesets with 1 changes to 1 files 226s new changesets 744ff104592c 226s progress revision walk 'bookmarks/master' (0/0) 226s progress revision 0 'master' (0/1) 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 searching for changes 226s adding changesets 226s adding manifests 226s adding file changes 226s added 1 changesets with 1 changes to 1 files 226s new changesets 1df89ac9ca70 226s progress revision 1 'default' (0/1) 226s From hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 226s 0fa82f7..957f749 master -> origin/master 226s 0fa82f7..957f749 branches/default -> origin/branches/default 226s * [new tag] v1.0 -> v1.0 227s Updating 0fa82f7..957f749 227s Fast-forward 227s .hgtags | 1 + 227s 1 file changed, 1 insertion(+) 227s create mode 100644 .hgtags 227s ok 33 - pull tags 227s 227s expecting success: 227s test_when_finished "rm -rf hgrepo gitrepo" && 227s 227s ( 227s hg init hgrepo && 227s cd hgrepo && 227s echo one > content && 227s hg add content && 227s hg commit -m one && 227s hg branch feature && 227s echo two > content && 227s hg commit -m two && 227s hg update default && 227s echo three > content && 227s hg commit -m three 227s ) && 227s 227s ( 227s git clone "hg::hgrepo" gitrepo && 227s cd gitrepo && 227s git merge -m Merge -Xtheirs origin/branches/feature && 227s git push 227s ) && 227s 227s cat > expected <<-EOF && 227s Merge 227s three 227s two 227s one 227s EOF 227s hg -R hgrepo log --template "{desc}\n" > actual && 227s test_cmp expected actual 227s 227s marked working directory as branch feature 227s (branches are permanent and global, did you want a bookmark?) 228s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 228s Cloning into 'gitrepo'... 228s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 228s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 228s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 228s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 228s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 228s or locale.getdefaultlocale()[1] 228s adding changesets 228s adding manifests 228s adding file changes 228s added 3 changesets with 3 changes to 1 files (+1 heads) 228s new changesets 8aad4f763beb:a79fdec7c408 228s progress revision walk 'bookmarks/master' (2/2) 228s progress revision 0 'master' (0/2) 228s progress revision 1 'feature' (0/1) 228s Auto-merging content 228s Merge made by the 'ort' strategy. 228s content | 2 +- 228s 1 file changed, 1 insertion(+), 1 deletion(-) 228s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 228s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 228s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 228s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 229s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 229s or locale.getdefaultlocale()[1] 229s no changes found 229s searching for changes 229s adding changesets 229s adding manifests 229s adding file changes 229s added 1 changesets with 1 changes to 1 files (-1 heads) 229s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 229s fffffff..fcf87ae master -> master 229s ok 34 - push merged named branch 229s 229s expecting success: 229s test_when_finished "rm -rf hgrepo gitrepo" && 229s 229s ( 229s hg init hgrepo && 229s cd hgrepo && 229s echo one > content && 229s hg add content && 229s hg commit -m one 229s ) && 229s 229s ( 229s git clone "hg::hgrepo" gitrepo && 229s cd gitrepo && 229s git tag v1.0 && 229s git push --tags 229s ) && 229s 229s echo "C O Mitter " > expected && 229s hg -R hgrepo log --template "{author}\n" -r tip > actual && 229s test_cmp expected actual 229s 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 added 1 changesets with 1 changes to 1 files 230s new changesets 1f5c7669b25f 230s progress revision walk 'bookmarks/master' (0/0) 230s progress revision 0 'master' (0/1) 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 searching for changes 230s adding changesets 230s adding manifests 230s adding file changes 230s added 1 changesets with 1 changes to 1 files 230s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 230s * [new tag] v1.0 -> v1.0 231s ok 35 - light tag sets author 231s 231s expecting success: 231s test_when_finished "rm -rf hgrepo gitrepo" && 231s 231s ( 231s hg init hgrepo && 231s cd hgrepo && 231s echo one > content && 231s hg add content && 231s hg commit -m one && 231s hg branch feature && 231s echo two > content && 231s hg commit -m two 231s ) && 231s 231s ( 231s git clone "hg::hgrepo" gitrepo && 231s cd gitrepo && 231s git branch && 231s git checkout branches/feature && 231s git tag v1.0 && 231s git push --tags 231s ) && 231s 231s echo feature > expected && 231s hg -R hgrepo log --template="{branch}\n" -r tip > actual && 231s test_cmp expected actual 231s 231s marked working directory as branch feature 231s (branches are permanent and global, did you want a bookmark?) 232s Cloning into 'gitrepo'... 232s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 232s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 232s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 232s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 232s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 232s or locale.getdefaultlocale()[1] 232s adding changesets 232s adding manifests 232s adding file changes 232s added 2 changesets with 2 changes to 1 files 232s new changesets 46ecd54eb1d2:04d8a9efb4f5 232s progress revision walk 'bookmarks/master' (0/0) 232s progress revision 0 'master' (0/1) 232s progress revision 1 'feature' (0/1) 232s * master 232s Switched to a new branch 'branches/feature' 232s branch 'branches/feature' set up to track 'origin/branches/feature'. 232s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 232s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 232s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 232s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 232s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 232s or locale.getdefaultlocale()[1] 232s no changes found 232s searching for changes 232s adding changesets 232s adding manifests 232s adding file changes 232s added 1 changesets with 1 changes to 1 files 232s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 232s * [new tag] v1.0 -> v1.0 233s ok 36 - push tag different branch 233s 233s expecting success: 233s test_when_finished "rm -rf hgrepo gitrepo" && 233s 233s ( 233s hg init hgrepo && 233s cd hgrepo && 233s 233s echo test > test_file && 233s hg add test_file && 233s hg commit -m add && 233s 233s hg rm test_file && 233s hg commit -m remove 233s ) && 233s 233s git clone "hg::hgrepo" gitrepo && 233s check_files gitrepo 233s 234s Cloning into 'gitrepo'... 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 adding changesets 234s adding manifests 234s adding file changes 234s added 2 changesets with 1 changes to 1 files 234s new changesets 571b837f0be3:0bef61932afb 234s progress revision walk 'bookmarks/master' (1/1) 234s progress revision 0 'master' (0/2) 234s ok 37 - cloning a removed file works 234s 234s expecting success: 234s test_when_finished "rm -rf hgrepo gitrepo" && 234s 234s ( 234s hg init hgrepo && 234s cd hgrepo && 234s 234s echo test > dir_or_file && 234s hg add dir_or_file && 234s hg commit -m add && 234s 234s hg rm dir_or_file && 234s mkdir dir_or_file && 234s echo test > dir_or_file/test_file && 234s hg add dir_or_file/test_file && 234s hg commit -m replase 234s ) && 234s 234s git clone "hg::hgrepo" gitrepo && 234s check_files gitrepo "dir_or_file/test_file" 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) 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 adding changesets 236s adding manifests 236s adding file changes 236s added 2 changesets with 2 changes to 2 files 236s new changesets 05281876fa69:08f550e15638 236s progress revision walk 'bookmarks/master' (1/1) 236s progress revision 0 'master' (0/2) 236s ok 38 - cloning a file replaced with a directory 236s 236s expecting success: 236s test_when_finished "rm -rf hgrepo gitrepo" && 236s 236s ( 236s hg init hgrepo && 236s cd hgrepo && 236s 236s mkdir dir_or_file && 236s echo test > dir_or_file/test_file && 236s hg add dir_or_file/test_file && 236s hg commit -m add && 236s 236s hg rm dir_or_file/test_file && 236s echo test > dir_or_file && 236s hg add dir_or_file && 236s hg commit -m add && 236s 236s hg rm dir_or_file 236s ) && 236s 236s git clone "hg::hgrepo" gitrepo && 236s check_files gitrepo "dir_or_file" 236s 237s Cloning into 'gitrepo'... 237s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 237s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 237s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 237s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 238s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 238s or locale.getdefaultlocale()[1] 238s adding changesets 238s adding manifests 238s adding file changes 238s added 2 changesets with 2 changes to 2 files 238s new changesets 8fbf4576f126:5844895874e8 238s progress revision walk 'bookmarks/master' (1/1) 238s progress revision 0 'master' (0/2) 238s ok 39 - clone replace directory with a file 238s 238s expecting success: 238s test_when_finished "rm -rf hgrepo gitrepo" && 238s 238s ( 238s hg init hgrepo && 238s cd hgrepo && 238s 238s touch test.txt && 238s hg add test.txt && 238s hg commit -m master && 238s hg branch parent && 238s echo test >test.txt && 238s hg commit -m test && 238s hg branch parent/child && 238s echo test1 >test.txt && 238s hg commit -m test1 238s ) && 238s 238s git clone -c remote-hg.ignore-name=child "hg::hgrepo" gitrepo && 238s check_files gitrepo "test.txt" 238s 239s marked working directory as branch parent 239s (branches are permanent and global, did you want a bookmark?) 239s marked working directory as branch parent/child 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) 240s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 240s or locale.getdefaultlocale()[1] 240s adding changesets 240s adding manifests 240s adding file changes 240s added 3 changesets with 3 changes to 1 files 240s new changesets dd2c0fff73d7:042afecf5c13 240s WARNING: Ignoring matched branch parent/child 240s progress revision walk 'bookmarks/master' (0/0) 240s progress revision 0 'master' (0/1) 240s progress revision 1 'parent' (0/1) 240s ok 40 - clone can ignore invalid refnames 240s 240s expecting success: 240s test_when_finished "rm -rf hgrepo gitrepo" && 240s 240s ( 240s hg init hgrepo && 240s cd hgrepo && 240s echo one > content && 240s hg add content && 240s hg commit -m one 240s ) && 240s 240s ( 240s git clone "hg::hgrepo" gitrepo && 240s cd gitrepo && 240s git tag -m "Version 1.0" v1.0 && 240s git push --tags 240s ) && 240s 240s cat > expected <<-\EOF && 240s tip:Version 1.0:C O Mitter 240s v1.0:one:H G Wells 240s EOF 240s 240s hg -R hgrepo log --template "{tags}:{desc}:{author}\n" > actual && 240s 240s test_cmp expected actual 240s 240s 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) 241s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 241s or locale.getdefaultlocale()[1] 241s adding changesets 241s adding manifests 241s adding file changes 241s added 1 changesets with 1 changes to 1 files 241s new changesets 14fd6e0e9c27 241s progress revision walk 'bookmarks/master' (0/0) 241s progress revision 0 'master' (0/1) 241s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 241s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 241s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 241s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 241s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 241s or locale.getdefaultlocale()[1] 241s no changes found 241s searching for changes 241s adding changesets 241s adding manifests 241s adding file changes 241s added 1 changesets with 1 changes to 1 files 241s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 241s * [new tag] v1.0 -> v1.0 242s ok 41 - push annotated tag 242s 242s expecting success: 242s test_when_finished "rm -rf hgrepo gitrepo1 gitrepo2" && 242s 242s hg init hgrepo && 242s 242s ( 242s git clone "hg::hgrepo" gitrepo1 && 242s cd gitrepo1 && 242s echo two >> content && 242s git add content && 242s git commit -m two --date="2016-09-26 00:00:00 -0230" && 242s git push 242s ) && 242s 242s git clone "hg::hgrepo" gitrepo2 && 242s 242s git --git-dir=gitrepo1/.git log -1 --format="%ai" > expected && 242s git --git-dir=gitrepo2/.git log -1 --format="%ai" > actual && 242s test_cmp expected actual 242s 242s Cloning into 'gitrepo1'... 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 warning: You appear to have cloned an empty repository. 242s [master (root-commit) 9f40cc0] two 242s Author: A U Thor 242s Date: Mon Sep 26 00:00:00 2016 -0230 242s 1 file changed, 1 insertion(+) 242s create mode 100644 content 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.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 242s * [new branch] master -> master 242s Cloning into 'gitrepo2'... 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) 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 e522f351d13b 243s progress revision walk 'bookmarks/master' (0/0) 243s progress revision 0 'master' (0/1) 243s ok 42 - timezone issues with negative offsets 243s 243s expecting success: 243s test_when_finished "rm -rf hgrepo* gitrepo*" && 243s 243s ( 243s hg init hgrepo && 243s cd hgrepo && 243s echo zero > content && 243s hg add content && 243s hg commit -m zero 243s hg bookmark feature-a 243s ) && 243s 243s git clone "hg::hgrepo" gitrepo && 243s check_bookmark hgrepo feature-a zero && 243s 243s ( 243s cd gitrepo && 243s git push --quiet origin :feature-a 243s ) && 243s 243s check_bookmark hgrepo feature-a 243s 244s Cloning into 'gitrepo'... 244s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 244s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 244s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 244s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 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 adding changesets 244s adding manifests 244s adding file changes 244s adding remote bookmark feature-a 244s added 1 changesets with 1 changes to 1 files 244s new changesets 7b40889b9441 244s progress revision walk 'bookmarks/master' (0/0) 244s progress revision 0 'master' (0/1) 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 error: refusing to update ref with bad name 'hg/origin/refs/heads/feature-a' 245s ok 43 - remote delete bookmark 245s 245s expecting success: 245s test_when_finished "rm -rf hgrepo gitrepo" && 245s 245s ( 245s hg init hgrepo && 245s cd hgrepo && 245s echo zero > content && 245s hg add content && 245s hg commit -m zero 245s ) && 245s 245s git clone "hg::hgrepo" gitrepo && 245s 245s ( 245s cd gitrepo && 245s echo one > content && 245s git commit -a -m one && 245s git push --quiet origin master:feature-b && 245s git push --quiet origin master^:refs/heads/feature-a 245s ) && 245s 245s check_bookmark hgrepo feature-a zero && 245s check_bookmark hgrepo feature-b one && 245s 245s ( 245s cd gitrepo && 245s git push --quiet origin master:feature-a 245s ) && 245s 245s check_bookmark hgrepo feature-a one 245s 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) 246s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 246s or locale.getdefaultlocale()[1] 246s adding changesets 246s adding manifests 246s adding file changes 246s added 1 changesets with 1 changes to 1 files 246s new changesets b181acf873a5 246s progress revision walk 'bookmarks/master' (0/0) 246s progress revision 0 'master' (0/1) 246s [master 915569d] one 246s Author: A U Thor 246s 1 file changed, 1 insertion(+), 1 deletion(-) 246s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 246s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 246s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 246s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 246s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 246s or locale.getdefaultlocale()[1] 246s no changes found 246s searching for changes 246s adding changesets 246s adding manifests 246s adding file changes 246s added 1 changesets with 1 changes to 1 files 246s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 246s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 246s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 246s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 246s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 246s or locale.getdefaultlocale()[1] 246s no changes found 246s adding remote bookmark feature-b 246s 1 local changesets published 246s searching for changes 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 no changes found 247s adding remote bookmark feature-a 247s searching for changes 247s ok 44 - source:dest bookmark 247s 247s expecting success: 247s test_when_finished "rm -rf gitrepo* hgrepo*" && 247s 247s setup_check_hg_commits_repo && 247s 247s ( 247s cd gitrepo && 247s git fetch origin && 247s git reset --hard origin/master && 247s ! git push second master 2>../error 247s ) 247s 247s cat error && 247s grep rejected error | grep hg 247s 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) 248s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 248s or locale.getdefaultlocale()[1] 248s adding changesets 248s adding manifests 248s adding file changes 248s added 1 changesets with 1 changes to 1 files 248s new changesets ff832273ba61 248s progress revision walk 'bookmarks/master' (0/0) 248s progress revision 0 'master' (0/1) 249s updating to branch default 249s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 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 progress revision walk 'branches/default' (0/0) 249s progress revision 0 'default' (0/1) 249s From hg::../hgrepo.second 249s * [new branch] branches/default -> second/branches/default 249s * [new branch] master -> second/master 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) 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 searching for changes 251s adding changesets 251s adding manifests 251s adding file changes 251s added 5 changesets with 5 changes to 2 files 251s new changesets 22fca66f1f66:d214e4b23033 251s progress revision 1 'default' (0/5) 251s From hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 251s ed717e2..20390f9 master -> origin/master 251s ed717e2..20390f9 branches/default -> origin/branches/default 251s HEAD is now at 20390f9 restored 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 To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo.second 251s ! [remote rejected] master -> master (rejected not pushing hg based commit ffe1e5c4fe4bec442b54d139dffc8792ea9fc7d1) 251s error: failed to push some refs to 'hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo.second' 251s ! [remote rejected] master -> master (rejected not pushing hg based commit ffe1e5c4fe4bec442b54d139dffc8792ea9fc7d1) 251s ok 45 - check-hg-commits with fail mode 251s 251s expecting success: 251s check_hg_commits_push 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 progress revision walk 'bookmarks/master' (0/0) 252s progress revision 0 'master' (0/1) 252s updating to branch default 252s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 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) 253s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 253s or locale.getdefaultlocale()[1] 253s progress revision walk 'branches/default' (0/0) 253s progress revision 0 'default' (0/1) 253s From hg::../hgrepo.second 253s * [new branch] branches/default -> second/branches/default 253s * [new branch] master -> second/master 254s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 254s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 254s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 254s 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 progress revision 1 'default' (0/5) 254s From hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 254s 4e84739..306ddbd master -> origin/master 254s 4e84739..306ddbd branches/default -> origin/branches/default 255s HEAD is now at 306ddbd restored 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 WARNING: Pushing hg changeset 72034a9f8cb87eb691859bdbd101c900d0bc6c00 for 5f523cc12ab398d96389256262d62440c2ea791e 255s WARNING: Pushing hg changeset 49e7f24f5f58ad6c4b5e3608ffe6e047d7f435e2 for 4b60788322439ccb217282b4740ff4fa8d6cf466 255s WARNING: Pushing hg changeset 6d11d033b62124b6fffc8d034b175147b71440ca for e378b5f29ba45082eac040f9203ea0c5f05927dd 255s WARNING: Pushing hg changeset c1747b99bb945ee75e40ebfd6683a8286005f8f1 for 5e900461bda592045cafbdfb4b485456833126ef 255s WARNING: Pushing hg changeset 56b02cd3b5ff66040fefeb9e5fad8d622431a7ea for 306ddbd0d3b2fddbf885c40f897f79dea9c7e6c7 255s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo.second 255s fffffff..306ddbd master -> master 255s WARNING: Pushing hg changeset 72034a9f8cb87eb691859bdbd101c900d0bc6c00 for 5f523cc12ab398d96389256262d62440c2ea791e 255s WARNING: Pushing hg changeset 49e7f24f5f58ad6c4b5e3608ffe6e047d7f435e2 for 4b60788322439ccb217282b4740ff4fa8d6cf466 255s WARNING: Pushing hg changeset 6d11d033b62124b6fffc8d034b175147b71440ca for e378b5f29ba45082eac040f9203ea0c5f05927dd 255s WARNING: Pushing hg changeset c1747b99bb945ee75e40ebfd6683a8286005f8f1 for 5e900461bda592045cafbdfb4b485456833126ef 255s WARNING: Pushing hg changeset 56b02cd3b5ff66040fefeb9e5fad8d622431a7ea for 306ddbd0d3b2fddbf885c40f897f79dea9c7e6c7 255s ok 46 - check-hg-commits with push mode - no local proxy 255s 255s expecting success: 255s check_hg_commits_push 255s 256s Cloning into 'gitrepo'... 256s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 256s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 256s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 256s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 256s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 256s or locale.getdefaultlocale()[1] 256s adding changesets 256s adding manifests 256s adding file changes 256s added 1 changesets with 1 changes to 1 files 256s new changesets 3d006b8fffe0 256s progress revision walk 'bookmarks/master' (0/0) 256s progress revision 0 'master' (0/1) 257s updating to branch default 257s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 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 no changes found 257s progress revision walk 'branches/default' (0/0) 257s progress revision 0 'default' (0/1) 257s From hg::../hgrepo.second 257s * [new branch] branches/default -> second/branches/default 257s * [new branch] master -> second/master 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) 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 searching for changes 259s adding changesets 259s adding manifests 259s adding file changes 259s added 5 changesets with 5 changes to 2 files 259s new changesets 3e60e76ea2a9:3c4996c7f127 259s progress revision 1 'default' (0/5) 259s From hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo 259s 477b43d..62237e1 master -> origin/master 259s 477b43d..62237e1 branches/default -> origin/branches/default 259s HEAD is now at 62237e1 restored 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: Using hg changeset 3e60e76ea2a935726ebe4556fe7ca6dd3c240deb for 46fc9fea257b1d4006fbfa9cc81d440defcdadc5 259s WARNING: Using hg changeset 52656d309025f9c6f849f777a4bef776f7654bf4 for 196dff42dad01d7616a4e5321e0b56e62fc7fdb2 259s WARNING: Using hg changeset 318f4533a753bf7e7d75b6d018bee52f3cf22c02 for f1484d2261b3b8440bf070cb9c00b74dd5cd58fe 259s WARNING: Using hg changeset 5bd9f6930e4c74aa69284d8571c5a6a09cf730db for 62c29b79d296bd53c12a7ee564871b268e2d711e 259s WARNING: Using hg changeset 3c4996c7f1272447e5c79f5cb434a820af403b4b for 62237e1e324db6a97d25a5aafb3df2caedb734aa 259s searching for changes 259s adding changesets 259s adding manifests 259s adding file changes 259s added 5 changesets with 5 changes to 2 files 259s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/hgrepo.second 259s fffffff..62237e1 master -> master 259s WARNING: Using hg changeset 3e60e76ea2a935726ebe4556fe7ca6dd3c240deb for 46fc9fea257b1d4006fbfa9cc81d440defcdadc5 259s WARNING: Using hg changeset 52656d309025f9c6f849f777a4bef776f7654bf4 for 196dff42dad01d7616a4e5321e0b56e62fc7fdb2 259s WARNING: Using hg changeset 318f4533a753bf7e7d75b6d018bee52f3cf22c02 for f1484d2261b3b8440bf070cb9c00b74dd5cd58fe 259s WARNING: Using hg changeset 5bd9f6930e4c74aa69284d8571c5a6a09cf730db for 62c29b79d296bd53c12a7ee564871b268e2d711e 259s WARNING: Using hg changeset 3c4996c7f1272447e5c79f5cb434a820af403b4b for 62237e1e324db6a97d25a5aafb3df2caedb734aa 260s ok 47 - check-hg-commits with push mode - with local proxy 260s 260s expecting success: 260s test_when_finished "rm -rf gitrepo* hgrepo*" && 260s 260s setup_check_shared_marks_repo && 260s 260s ( 260s cd gitrepo && 260s check_marks .git/hg y && 260s check_marks .git/hg/origin n && 260s check_marks .git/hg/second n 260s ) 260s 260s Cloning into 'gitrepo'... 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] 261s adding changesets 261s adding manifests 261s adding file changes 261s added 1 changesets with 1 changes to 1 files 261s new changesets bc16162554f8 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 261s From hg::../hgrepo 261s * [new branch] branches/default -> second/branches/default 261s * [new branch] master -> second/master 261s total 28 261s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 19:31 . 261s drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 18 19:31 .. 261s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 19:31 .hg 261s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 19:31 marks-git 261s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 19:31 marks-hg 261s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:31 origin 261s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:31 second 261s total 16 261s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:31 . 261s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 19:31 .. 261s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 19:31 clone 261s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:31 refs 261s total 16 261s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:31 . 261s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 19:31 .. 261s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 19:31 clone 261s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:31 refs 261s ok 48 - shared-marks unset 261s 261s expecting success: 261s test_when_finished "rm -rf gitrepo* hgrepo*" && 261s 261s git config --global remote-hg.shared-marks true && 261s setup_check_shared_marks_repo && 261s 261s ( 261s cd gitrepo && 261s check_marks .git/hg y && 261s check_marks .git/hg/origin n && 261s check_marks .git/hg/second n 261s ) && 261s 261s git config --global remote-hg.shared-marks false && 261s ( 261s cd gitrepo && 261s git fetch origin && 261s check_marks .git/hg n && 261s check_marks .git/hg/origin y && 261s check_marks .git/hg/second y 261s ) 261s 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] 262s adding changesets 262s adding manifests 262s adding file changes 262s added 1 changesets with 1 changes to 1 files 262s new changesets 34cf01bae006 262s progress revision walk 'bookmarks/master' (0/0) 262s progress revision 0 'master' (0/1) 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] 262s no changes found 262s From hg::../hgrepo 262s * [new branch] branches/default -> second/branches/default 262s * [new branch] master -> second/master 262s total 28 262s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 19:31 . 262s drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 18 19:31 .. 262s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 19:31 .hg 262s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 19:31 marks-git 262s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 19:31 marks-hg 262s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:31 origin 262s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:31 second 262s total 16 262s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:31 . 262s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 19:31 .. 262s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 19:31 clone 262s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:31 refs 262s total 16 262s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:31 . 262s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 19:31 .. 262s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 19:31 clone 262s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:31 refs 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) 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 WARNING: seeded marks of origin with shared; performing gc 263s /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. 263s or locale.getdefaultlocale()[1] 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 ERROR: found both .git/hg/origin/marks-git and .git/hg/marks-git 263s WARNING: gc for origin failed 263s WARNING: seeded marks of second with shared; performing gc 263s /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. 263s or locale.getdefaultlocale()[1] 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 Loading hg marks ... 263s Loading git marks ... 263s Performing garbage collection on git commits ... 263s Computing marks intersection ... 263s Including notes commits ... 263s Writing hg marks ... 263s Writing git marks ... 263s no changes found 263s total 20 263s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 19:31 . 263s drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 18 19:31 .. 263s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 19:31 .hg 263s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:31 origin 263s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:31 second 263s total 24 263s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:31 . 263s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 19:31 .. 263s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 19:31 clone 263s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 19:31 marks-git 263s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 19:31 marks-hg 263s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:31 refs 263s total 20 263s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:31 . 263s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 19:31 .. 263s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 19:31 clone 263s -rw-rw-r-- 1 ubuntu ubuntu 0 Oct 18 19:31 marks-git 263s -rw-rw-r-- 1 ubuntu ubuntu 71 Oct 18 19:31 marks-hg 263s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:31 refs 263s ok 49 - shared-marks set to unset 263s 263s expecting success: 263s test_when_finished "rm -rf gitrepo* hgrepo*" && 263s 263s git config --global remote-hg.shared-marks false && 263s setup_check_shared_marks_repo && 263s 263s ( 263s cd gitrepo && 263s check_marks .git/hg n && 263s check_marks .git/hg/origin y && 263s check_marks .git/hg/second y 263s ) && 263s 263s git config --global --unset remote-hg.shared-marks && 263s ( 263s cd gitrepo && 263s git fetch origin && 263s check_marks .git/hg n && 263s check_marks .git/hg/origin y && 263s check_marks .git/hg/second y 263s ) && 263s 263s git config --global remote-hg.shared-marks true && 263s ( 263s cd gitrepo && 263s git fetch origin && 263s check_marks .git/hg y && 263s check_marks .git/hg/origin n && 263s check_marks .git/hg/second n 263s ) 263s 264s Cloning into 'gitrepo'... 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 adding changesets 264s adding manifests 264s adding file changes 264s added 1 changesets with 1 changes to 1 files 264s new changesets 495afed38cca 264s progress revision walk 'bookmarks/master' (0/0) 264s progress revision 0 'master' (0/1) 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) 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 no changes found 265s progress revision walk 'branches/default' (0/0) 265s progress revision 0 'default' (0/1) 265s From hg::../hgrepo 265s * [new branch] branches/default -> second/branches/default 265s * [new branch] master -> second/master 265s total 20 265s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 19:32 . 265s drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 18 19:32 .. 265s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 19:31 .hg 265s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:31 origin 265s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:32 second 265s total 24 265s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:31 . 265s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 19:32 .. 265s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 19:31 clone 265s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 19:31 marks-git 265s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 19:31 marks-hg 265s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:31 refs 265s total 24 265s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:32 . 265s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 19:32 .. 265s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 19:32 clone 265s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 19:32 marks-git 265s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 19:32 marks-hg 265s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:32 refs 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 no changes found 265s total 20 265s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 19:32 . 265s drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 18 19:32 .. 265s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 19:31 .hg 265s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:32 origin 265s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:32 second 265s total 24 265s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:32 . 265s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 19:32 .. 265s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 19:31 clone 265s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 19:32 marks-git 265s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 19:32 marks-hg 265s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:31 refs 265s total 24 265s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:32 . 265s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 19:32 .. 265s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 19:32 clone 265s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 19:32 marks-git 265s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 19:32 marks-hg 265s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:32 refs 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 WARNING: using marks of remote origin as shared marks 265s no changes found 265s total 28 265s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 19:32 . 265s drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 18 19:32 .. 265s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 19:31 .hg 265s -rw-rw-r-- 1 ubuntu ubuntu 132 Oct 18 19:32 marks-git 265s -rw-rw-r-- 1 ubuntu ubuntu 116 Oct 18 19:32 marks-hg 265s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:32 origin 265s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:32 second 265s total 16 265s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:32 . 265s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 19:32 .. 265s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 19:31 clone 265s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:31 refs 265s total 16 265s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:32 . 265s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 18 19:32 .. 265s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 18 19:32 clone 265s drwxrwxr-x 4 ubuntu ubuntu 4096 Oct 18 19:32 refs 265s ok 50 - shared-marks unset to set 265s 265s expecting success: 265s test_when_finished "rm -rf hgrepo gitrepo*" && 265s 265s hg init hgrepo && 265s 265s ( 265s git init gitrepo && 265s cd gitrepo && 265s git remote add origin "hg::../hgrepo" && 265s echo one > content && 265s chmod a+x content && 265s git add content && 265s git commit -a -m one && 265s git mv content content2 && 265s git commit -a -m two && 265s git push origin master 265s ) && 265s 265s ( 265s umask 0 && 265s cd hgrepo && 265s hg update && 265s stat content2 >expected && 265s grep -- -r.xr.xr.x expected 265s ) 265s 266s Initialized empty Git repository in /tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/gitrepo/.git/ 266s [master (root-commit) 5913097] one 266s Author: A U Thor 266s 1 file changed, 1 insertion(+) 266s create mode 100755 content 266s [master cbb24bc] two 266s Author: A U Thor 266s 1 file changed, 0 insertions(+), 0 deletions(-) 266s rename content => content2 (100%) 266s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 266s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 266s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 266s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 266s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 266s or locale.getdefaultlocale()[1] 266s no changes found 266s searching for changes 266s adding changesets 266s adding manifests 266s adding file changes 266s added 2 changesets with 2 changes to 2 files 266s To hg::../hgrepo 266s * [new branch] master -> master 266s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 266s Access: (0777/-rwxrwxrwx) Uid: ( 1000/ ubuntu) Gid: ( 1000/ ubuntu) 266s ok 51 - push with renamed executable preserves executable bit 266s 266s expecting success: 266s test_when_finished "rm -rf sub hgrepo gitrepo*" && 266s 266s hg init hgrepo && 266s 266s ( 266s git init sub && 266s cd sub && 266s : >empty && 266s git add empty && 266s git commit -m init 266s ) && 266s 266s ( 266s git init gitrepo && 266s cd gitrepo && 266s git submodule add ../sub sub && 266s git remote add origin "hg::../hgrepo" && 266s git commit -a -m sub && 266s git push origin master 266s ) && 266s 266s ( 266s cd hgrepo && 266s hg update && 266s expected="[git-remote-hg: skipped import of submodule at $(git -C ../sub rev-parse HEAD)]" 266s test "$expected" = "$(cat sub)" 266s ) 266s 266s Initialized empty Git repository in /tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/sub/.git/ 266s [master (root-commit) be983cd] init 266s Author: A U Thor 266s 1 file changed, 0 insertions(+), 0 deletions(-) 266s create mode 100644 empty 266s Initialized empty Git repository in /tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/gitrepo/.git/ 266s Cloning into '/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.main-push/tmp/gitrepo/sub'... 267s done. 267s [master (root-commit) c56d720] sub 267s Author: A U Thor 267s 2 files changed, 4 insertions(+) 267s create mode 100644 .gitmodules 267s create mode 160000 sub 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 no changes found 267s searching for changes 267s adding changesets 267s adding manifests 267s adding file changes 267s added 1 changesets with 2 changes to 2 files 267s To hg::../hgrepo 267s * [new branch] master -> master 267s 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 267s ok 52 - push with submodule 267s 267s # passed all 52 test(s) 267s 1..52 267s /bin/sh bidi.t --verbose 267s expecting success: 267s test_when_finished "rm -rf gitrepo* hgrepo*" && 267s 267s ( 267s git init -q gitrepo && 267s cd gitrepo && 267s 267s echo alpha > alpha && 267s git add alpha && 267s git commit -m "add älphà" && 267s 267s GIT_AUTHOR_NAME="tést èncödîng" && 267s export GIT_AUTHOR_NAME && 267s echo beta > beta && 267s git add beta && 267s git commit -m "add beta" && 267s 267s echo gamma > gamma && 267s git add gamma && 267s git commit -m "add gämmâ" && 267s 267s : TODO git config i18n.commitencoding latin-1 && 267s echo delta > delta && 267s git add delta && 267s git commit -m "add déltà" 267s ) && 267s 267s hg_clone gitrepo hgrepo && 267s git_clone hgrepo gitrepo2 && 267s hg_clone gitrepo2 hgrepo2 && 267s 267s HGENCODING=utf-8 hg_log hgrepo > expected && 267s HGENCODING=utf-8 hg_log hgrepo2 > actual && 267s 267s test_cmp expected actual 267s 267s [master (root-commit) 79c6ce2] add älphà 267s Author: A U Thor 267s 1 file changed, 1 insertion(+) 267s create mode 100644 alpha 267s [master 68b42de] add beta 267s Author: tést èncödîng 267s 1 file changed, 1 insertion(+) 267s create mode 100644 beta 267s [master 8ee0762] add gämmâ 267s Author: tést èncödîng 267s 1 file changed, 1 insertion(+) 267s create mode 100644 gamma 267s [master 3b0b48f] add déltà 267s Author: tést èncödîng 267s 1 file changed, 1 insertion(+) 267s create mode 100644 delta 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) 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 searching for changes 268s adding changesets 268s adding manifests 268s adding file changes 268s added 4 changesets with 4 changes to 4 files 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 adding changesets 268s adding manifests 268s adding file changes 268s added 4 changesets with 4 changes to 4 files 268s new changesets 1e3e49d2cc8f:6674f1c866b5 268s progress revision walk 'bookmarks/master' (3/3) 268s progress revision 0 'master' (0/4) 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 searching for changes 269s no changes found 269s searching for changes 269s adding changesets 269s adding manifests 269s adding file changes 269s added 4 changesets with 4 changes to 4 files 270s ok 1 - encoding 270s 270s expecting success: 270s test_when_finished "rm -rf gitrepo* hgrepo*" && 270s 270s ( 270s git init -q gitrepo && 270s cd gitrepo && 270s echo alpha > alpha && 270s git add alpha && 270s git commit -m "add alpha" && 270s echo beta > beta && 270s git add beta && 270s git commit -m "add beta" 270s mkdir foo && 270s echo blah > foo/bar && 270s git add foo && 270s git commit -m "add foo" && 270s git rm alpha && 270s git commit -m "remove alpha" && 270s git rm foo/bar && 270s git commit -m "remove foo/bar" 270s ) && 270s 270s hg_clone gitrepo hgrepo && 270s git_clone hgrepo gitrepo2 && 270s hg_clone gitrepo2 hgrepo2 && 270s 270s hg_log hgrepo > expected && 270s hg_log hgrepo2 > actual && 270s 270s test_cmp expected actual 270s 270s [master (root-commit) 223a6f6] add alpha 270s Author: A U Thor 270s 1 file changed, 1 insertion(+) 270s create mode 100644 alpha 270s [master 862befc] add beta 270s Author: A U Thor 270s 1 file changed, 1 insertion(+) 270s create mode 100644 beta 270s [master 86bf00d] add foo 270s Author: A U Thor 270s 1 file changed, 1 insertion(+) 270s create mode 100644 foo/bar 270s rm 'alpha' 270s [master 74dc957] remove alpha 270s Author: A U Thor 270s 1 file changed, 1 deletion(-) 270s delete mode 100644 alpha 270s rm 'foo/bar' 270s [master ea36818] remove foo/bar 270s Author: A U Thor 270s 1 file changed, 1 deletion(-) 270s delete mode 100644 foo/bar 270s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 270s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 270s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 270s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 270s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 270s or locale.getdefaultlocale()[1] 270s no changes found 270s searching for changes 270s adding changesets 270s adding manifests 270s adding file changes 270s added 5 changesets with 3 changes to 3 files 270s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 270s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 270s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 270s 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 adding changesets 271s adding manifests 271s adding file changes 271s added 5 changesets with 3 changes to 3 files 271s new changesets 362b656574c3:54f595cbdf1f 271s progress revision walk 'bookmarks/master' (4/4) 271s progress revision 0 'master' (0/5) 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 searching for changes 271s no changes found 271s searching for changes 271s adding changesets 271s adding manifests 271s adding file changes 271s added 5 changesets with 3 changes to 3 files 272s ok 2 - file removal 272s 272s expecting success: 272s test_when_finished "rm -rf gitrepo* hgrepo*" && 272s 272s ( 272s git init -q gitrepo && 272s cd gitrepo && 272s git config receive.denyCurrentBranch ignore && 272s echo alpha > alpha && 272s git add alpha && 272s git commit -m "add alpha" && 272s git tag alpha && 272s 272s echo beta > beta && 272s git add beta && 272s git commit -m "add beta" && 272s git tag -a -m "added tag beta" beta 272s ) && 272s 272s hg_clone gitrepo hgrepo && 272s git_clone hgrepo gitrepo2 && 272s hg_clone gitrepo2 hgrepo2 && 272s 272s hg_log hgrepo > expected && 272s hg_log hgrepo2 > actual && 272s 272s test_cmp expected actual 272s 272s [master (root-commit) 223a6f6] add alpha 272s Author: A U Thor 272s 1 file changed, 1 insertion(+) 272s create mode 100644 alpha 272s [master 862befc] add beta 272s Author: A U Thor 272s 1 file changed, 1 insertion(+) 272s create mode 100644 beta 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 no changes found 272s searching for changes 272s adding changesets 272s adding manifests 272s adding file changes 272s added 2 changesets with 2 changes to 2 files 272s searching for changes 272s searching for changes 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 adding changesets 273s adding manifests 273s adding file changes 273s added 2 changesets with 2 changes to 2 files 273s new changesets 362b656574c3:7cd99375c843 273s progress revision walk 'bookmarks/master' (1/1) 273s progress revision 0 'master' (0/2) 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] 274s searching for changes 274s no changes found 274s searching for changes 274s adding changesets 274s adding manifests 274s adding file changes 274s added 2 changesets with 2 changes to 2 files 274s ok 3 - git tags 274s 274s expecting success: 274s test_when_finished "rm -rf gitrepo* hgrepo*" && 274s 274s ( 274s git init -q gitrepo && 274s cd gitrepo && 274s 274s echo alpha > alpha && 274s git add alpha && 274s git commit -q -m "add alpha" && 274s git checkout -q -b not-master 274s ) && 274s 274s ( 274s hg_clone gitrepo hgrepo && 274s 274s cd hgrepo && 274s hg -q co default && 274s hg mv alpha beta && 274s hg -q commit -m "rename alpha to beta" && 274s hg branch gamma | grep -v "permanent and global" && 274s hg -q commit -m "started branch gamma" 274s ) && 274s 274s hg_push hgrepo gitrepo && 274s hg_clone gitrepo hgrepo2 && 274s 274s : Back to the common revision && 274s (cd hgrepo && hg checkout default) && 274s 274s # fetch does not affect phase, but pushing now does 274s hg_log hgrepo | grep -v phase > expected && 274s hg_log hgrepo2 | grep -v phase > actual && 274s 274s test_cmp expected actual 274s 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 no changes found 275s searching for changes 275s adding changesets 275s adding manifests 275s adding file changes 275s added 1 changesets with 1 changes to 1 files 275s searching for changes 276s marked working directory as branch gamma 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 searching for changes 276s adding changesets 276s adding manifests 276s adding file changes 276s adding remote bookmark not-master 276s added 2 changesets with 1 changes to 1 files 276s new changesets 5889597089fe:3320583a8de0 276s 1 local changesets published 276s progress revision 1 'default' (0/1) 276s progress revision 2 'gamma' (0/1) 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 searching for changes 277s no changes found 277s searching for changes 277s adding changesets 277s adding manifests 277s adding file changes 277s added 2 changesets with 2 changes to 2 files 277s searching for changes 277s adding changesets 277s adding manifests 277s adding file changes 277s added 1 changesets with 0 changes to 0 files 277s searching for changes 277s searching for changes 277s 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 278s ok 4 - hg branch 278s 278s expecting success: 278s test_when_finished "rm -rf gitrepo* hgrepo*" && 278s 278s ( 278s git init -q gitrepo && 278s cd gitrepo && 278s 278s echo alpha > alpha && 278s git add alpha && 278s git commit -m "add alpha" && 278s git checkout -q -b not-master 278s ) && 278s 278s ( 278s hg_clone gitrepo hgrepo && 278s 278s cd hgrepo && 278s hg co default && 278s hg tag alpha 278s ) && 278s 278s hg_push hgrepo gitrepo && 278s # pushing a fetched tag is a problem ... 278s { hg_clone gitrepo hgrepo2 || true ; } && 278s 278s # fetch does not affect phase, but pushing now does 278s hg_log hgrepo | grep -v phase > expected && 278s hg_log hgrepo2 | grep -v phase > actual && 278s 278s test_cmp expected actual 278s 278s [master (root-commit) 223a6f6] add alpha 278s Author: A U Thor 278s 1 file changed, 1 insertion(+) 278s create mode 100644 alpha 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 searching for changes 278s adding changesets 278s adding manifests 278s adding file changes 278s added 1 changesets with 1 changes to 1 files 278s searching for changes 279s 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 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] 279s searching for changes 279s adding changesets 279s adding manifests 279s adding file changes 279s adding remote bookmark not-master 279s added 1 changesets with 1 changes to 1 files 279s new changesets 16869bbe54be 279s 1 local changesets published 279s progress revision 1 'default' (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 searching for changes 280s no changes found 280s searching for changes 280s adding changesets 280s adding manifests 280s adding file changes 280s added 2 changesets with 2 changes to 2 files 280s searching for changes 280s searching for changes 280s To hg::../hgrepo2 280s * [new branch] branches/default -> branches/default 280s * [new branch] master -> master 280s * [new branch] not-master -> not-master 280s ! [rejected] alpha -> alpha (already exists) 280s error: failed to push some refs to 'hg::../hgrepo2' 280s hint: Updates were rejected because the tag already exists in the remote. 280s ok 5 - hg tags 280s 280s expecting success: 280s test_when_finished "rm -rf gitrepo* hgrepo*" && 280s 280s ( 280s git init -q gitrepo && 280s cd gitrepo && 280s 280s echo alpha > alpha && 280s git add alpha && 280s git commit -m "add alpha" --date="2007-01-01 00:00:00 +0000" && 280s 280s echo beta > beta && 280s git add beta && 280s git commit -m "add beta" --date="2007-01-01 00:00:00 +0100" && 280s 280s echo gamma > gamma && 280s git add gamma && 280s git commit -m "add gamma" --date="2007-01-01 00:00:00 -0100" && 280s 280s echo delta > delta && 280s git add delta && 280s git commit -m "add delta" --date="2007-01-01 00:00:00 +0130" && 280s 280s echo epsilon > epsilon && 280s git add epsilon && 280s git commit -m "add epsilon" --date="2007-01-01 00:00:00 -0130" 280s ) && 280s 280s hg_clone gitrepo hgrepo && 280s git_clone hgrepo gitrepo2 && 280s hg_clone gitrepo2 hgrepo2 && 280s 280s hg_log hgrepo > expected && 280s hg_log hgrepo2 > actual && 280s 280s test_cmp expected actual 280s 280s [master (root-commit) a663549] add alpha 280s Author: A U Thor 280s Date: Mon Jan 1 00:00:00 2007 +0000 280s 1 file changed, 1 insertion(+) 280s create mode 100644 alpha 280s [master ea3e397] add beta 280s Author: A U Thor 280s Date: Mon Jan 1 00:00:00 2007 +0100 280s 1 file changed, 1 insertion(+) 280s create mode 100644 beta 280s [master d7a1343] add gamma 280s Author: A U Thor 280s Date: Mon Jan 1 00:00:00 2007 -0100 280s 1 file changed, 1 insertion(+) 280s create mode 100644 gamma 280s [master 79cd3e4] add delta 280s Author: A U Thor 280s Date: Mon Jan 1 00:00:00 2007 +0130 280s 1 file changed, 1 insertion(+) 280s create mode 100644 delta 280s [master f12dbdf] add epsilon 280s Author: A U Thor 280s Date: Mon Jan 1 00:00:00 2007 -0130 280s 1 file changed, 1 insertion(+) 280s create mode 100644 epsilon 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 5 changesets with 5 changes to 5 files 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] 282s adding changesets 282s adding manifests 282s adding file changes 282s added 5 changesets with 5 changes to 5 files 282s new changesets 87c8f82b00d0:21e96c99dac4 282s progress revision walk 'bookmarks/master' (4/4) 282s progress revision 0 'master' (0/5) 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 searching for changes 282s no changes found 282s searching for changes 282s adding changesets 282s adding manifests 282s adding file changes 282s added 5 changesets with 5 changes to 5 files 283s ok 6 - test timezones 283s 283s # passed all 6 test(s) 283s 1..6 283s /bin/sh helper.t --verbose 283s expecting success: 283s test_when_finished "rm -rf gitrepo* hgrepo*" && 283s 283s setup_repos && 283s 283s ( 283s cd gitrepo && 283s test_expect_code 2 git-hg-helper help 2> ../help 283s ) 283s # remotes should be in help output 283s grep origin help 283s 283s Cloning into 'gitrepo'... 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) 284s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 284s or locale.getdefaultlocale()[1] 284s adding changesets 284s adding manifests 284s adding file changes 284s added 1 changesets with 1 changes to 1 files 284s new changesets 997271f272d8 284s progress revision walk 'bookmarks/master' (0/0) 284s progress revision 0 'master' (0/1) 284s origin 284s ok 1 - subcommand help 284s 284s expecting success: 284s test_when_finished "rm -rf gitrepo* hgrepo*" && 284s 284s setup_repos && 284s 284s ( 284s cd hgrepo && 284s pwd >../expected 284s ) && 284s 284s ( 284s cd gitrepo && 284s git-hg-helper repo origin > ../actual 284s ) && 284s 284s test_cmp expected actual 284s 285s Cloning into 'gitrepo'... 285s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 285s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 285s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 285s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 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 progress revision walk 'bookmarks/master' (0/0) 285s progress revision 0 'master' (0/1) 285s /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. 285s or locale.getdefaultlocale()[1] 285s ok 2 - subcommand repo - no local proxy 285s 285s expecting success: 285s test_when_finished "rm -rf gitrepo* hgrepo*" && 285s 285s setup_repos && 285s 285s ( 285s cd gitrepo && 285s export gitdir=`git rev-parse --git-dir` 285s # trick to normalize path 285s ( cd $gitdir/hg/origin/clone && pwd ) >../expected && 285s ( cd `git-hg-helper repo origin` && pwd ) > ../actual 285s ) && 285s 285s test_cmp expected actual 285s 286s Cloning into 'gitrepo'... 286s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 286s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 286s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 286s 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 adding changesets 286s adding manifests 286s adding file changes 286s added 1 changesets with 1 changes to 1 files 286s new changesets e4599aecc003 286s progress revision walk 'bookmarks/master' (0/0) 286s progress revision 0 'master' (0/1) 287s /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. 287s or locale.getdefaultlocale()[1] 287s ok 3 - subcommand repo - with local proxy 287s 287s expecting success: 287s test_when_finished "rm -rf gitrepo* hgrepo*" && 287s 287s setup_repos && 287s 287s ( 287s cd gitrepo && 287s git rev-parse HEAD > rev-HEAD && 287s test -s rev-HEAD && 287s git-hg-helper hg-rev `cat rev-HEAD` > hg-HEAD && 287s git-hg-helper git-rev `cat hg-HEAD` > git-HEAD && 287s test_cmp rev-HEAD git-HEAD 287s ) 287s 287s Cloning into 'gitrepo'... 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 1 changesets with 1 changes to 1 files 287s new changesets 49aff900f712 287s progress revision walk 'bookmarks/master' (0/0) 287s progress revision 0 'master' (0/1) 288s /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. 288s or locale.getdefaultlocale()[1] 288s /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. 288s or locale.getdefaultlocale()[1] 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 ok 4 - subcommands hg-rev and git-rev 288s 288s expecting success: 288s test_when_finished "rm -rf gitrepo* hgrepo*" && 288s 288s ( 288s hg init hgrepo && 288s cd hgrepo && 288s echo zero > content && 288s hg add content && 288s hg commit -m zero 288s echo one > content && 288s hg commit -m one && 288s echo two > content && 288s hg commit -m two && 288s echo three > content && 288s hg commit -m three 288s ) && 288s 288s git clone hg::hgrepo gitrepo && 288s 288s ( 288s cd hgrepo && 288s hg strip -r 1 && 288s echo four > content && 288s hg commit -m four 288s ) && 288s 288s ( 288s cd gitrepo && 288s git fetch origin && 288s git reset --hard origin/master && 288s git gc && 288s git-hg-helper gc --check-hg origin > output && 288s cat output && 288s grep "hg marks" output && 288s grep "git marks" output 288s ) 288s 289s Cloning into 'gitrepo'... 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) 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 adding changesets 290s adding manifests 290s adding file changes 290s added 4 changesets with 4 changes to 1 files 290s new changesets 9f0f3c7c13c9:e3a3cb0d3b41 290s progress revision walk 'bookmarks/master' (3/3) 290s progress revision 0 'master' (0/4) 290s 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 290s saved backup bundle to /tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgrepo/.hg/strip-backup/9d7b8438f071-eb7c27ad-backup.hg 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] 291s searching for changes 291s adding changesets 291s adding manifests 291s adding file changes 291s added 1 changesets with 1 changes to 1 files (+1 heads) 291s new changesets 6c341831e8ca 291s progress revision 4 'default' (0/1) 291s From hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgrepo 291s + 39a935b...a28be3f master -> origin/master (forced update) 291s + 39a935b...a28be3f branches/default -> origin/branches/default (forced update) 291s HEAD is now at a28be3f four 291s /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. 291s or locale.getdefaultlocale()[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 Loading hg marks ... 291s Loading git marks ... 291s Performing garbage collection on git commits ... 291s Computing marks intersection ... 291s Including notes commits ... 291s Trimmed hg marks from #5 down to #0 291s Trimmed git marks from #12 down to #2 291s Writing hg marks ... 291s Writing git marks ... 291s Loading hg marks ... 291s Trimmed hg marks from #5 down to #0 291s Writing hg marks ... 291s Loading git marks ... 291s Trimmed git marks from #12 down to #2 291s Writing git marks ... 291s ok 5 - subcommand gc 291s 291s expecting success: 291s test_when_finished "rm -rf gitrepo* hgrepo*" && 291s 291s setup_repos && 291s 291s ( 291s cd hgrepo && 291s echo one > content && 291s hg commit -m one 291s ) && 291s 291s ( 291s cd gitrepo && 291s git fetch origin 291s ) && 291s 291s hg log -R hgrepo > expected && 291s # not inside gitrepo; test shared path handling 291s GIT_DIR=gitrepo/.git git-hg-helper origin log > actual 291s 291s test_cmp expected actual 291s 292s Cloning into 'gitrepo'... 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 adding changesets 292s adding manifests 292s adding file changes 292s added 1 changesets with 1 changes to 1 files 292s new changesets 7403a48c8878 292s progress revision walk 'bookmarks/master' (0/0) 292s progress revision 0 'master' (0/1) 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 searching for changes 292s adding changesets 292s adding manifests 292s adding file changes 292s added 1 changesets with 1 changes to 1 files 292s new changesets be9070086246 292s progress revision 1 'default' (0/1) 292s From hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgrepo 292s 30da337..f20cada master -> origin/master 292s 30da337..f20cada branches/default -> origin/branches/default 293s /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. 293s or locale.getdefaultlocale()[1] 293s ok 6 - subcommand [some-repo] 293s 293s expecting success: 293s test_when_finished "rm -rf gitrepo* hgrepo*" && 293s 293s setup_repo hg hgrepo && 293s ( 293s cd hgrepo && 293s setup_repo hg sub_hg_a && 293s setup_repo hg sub_hg_b && 293s setup_repo git sub_git && 293s echo "sub_hg_a = sub_hg_a" > .hgsub && 293s echo "sub_hg_b = sub_hg_b" >> .hgsub && 293s echo "sub_git = [git]sub_git" >> .hgsub && 293s hg add .hgsub && 293s hg commit -m substate 293s ) 293s 293s git clone hg::hgrepo gitrepo && 293s 293s ( 293s cd gitrepo && 293s git-hg-helper sub update --force && 293s test -f content_hgrepo && 293s test -f sub_hg_a/content_sub_hg_a && 293s test -f sub_hg_b/content_sub_hg_b && 293s test -f sub_git/content_sub_git 293s ) && 293s 293s check gitrepo HEAD substate && 293s check gitrepo/sub_hg_a HEAD zero_sub_hg_a && 293s check gitrepo/sub_hg_b HEAD zero_sub_hg_b && 293s check gitrepo/sub_git HEAD zero_sub_git 293s 295s Initialized empty Git repository in /tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgrepo/sub_git/.git/ 295s [master (root-commit) e9a16bb] zero_sub_git 295s Author: A U Thor 295s 1 file changed, 1 insertion(+) 295s create mode 100644 content_sub_git 296s Cloning into 'gitrepo'... 296s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 296s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 296s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 296s 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 adding changesets 296s adding manifests 296s adding file changes 296s added 2 changesets with 3 changes to 3 files 296s new changesets 682d1ccdfc15:8e1e29f354aa 296s progress revision walk 'bookmarks/master' (1/1) 296s progress revision 0 'master' (0/2) 296s /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. 296s or locale.getdefaultlocale()[1] 296s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 296s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 296s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 296s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 296s Cloning into './sub_hg_a'... 296s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 296s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 296s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 296s 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 progress revision walk 'bookmarks/master' (0/0) 297s progress revision 0 'master' (0/1) 297s adding changesets 297s adding manifests 297s adding file changes 297s added 1 changesets with 1 changes to 1 files 297s new changesets 406101e08521 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 Cloning into './sub_hg_b'... 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 progress revision walk 'bookmarks/master' (0/0) 297s progress revision 0 'master' (0/1) 297s added 1 changesets with 1 changes to 1 files 297s new changesets 41b7b2c618da 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 Cloning into './sub_git'... 297s done. 297s ok 7 - subcommand sub initial update (hg and git subrepos) 297s 297s expecting success: 297s test_when_finished "rm -rf gitrepo* hgrepo*" && 297s 297s setup_subrepos && 297s 297s git clone hg::hgrepo gitrepo && 297s 297s ( 297s cd gitrepo && 297s git-hg-helper sub --recursive update --force && 297s test -f content_hgrepo && 297s test -f sub_hg_a/content_sub_hg_a && 297s test -f sub_hg_a/sub_hg_a_x/content_sub_hg_a_x && 297s test -f sub_hg_b/content_sub_hg_b && 297s test -f sub_hg_b/sub_git/content_sub_git 297s ) && 297s 297s check gitrepo HEAD substate && 297s check gitrepo/sub_hg_a HEAD substate_hg_a && 297s check gitrepo/sub_hg_b HEAD substate_hg_b && 297s check gitrepo/sub_hg_a/sub_hg_a_x HEAD zero_sub_hg_a_x && 297s check gitrepo/sub_hg_b/sub_git HEAD zero_sub_git 297s 300s Initialized empty Git repository in /tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ 300s [master (root-commit) e9a16bb] zero_sub_git 300s Author: A U Thor 300s 1 file changed, 1 insertion(+) 300s create mode 100644 content_sub_git 301s Cloning into 'gitrepo'... 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 /usr/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 2 changesets with 3 changes to 3 files 301s new changesets 9d42c70faa52:b314bbe32662 301s progress revision walk 'bookmarks/master' (1/1) 301s progress revision 0 'master' (0/2) 302s /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. 302s or locale.getdefaultlocale()[1] 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) 302s Cloning into './sub_hg_a'... 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) 302s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 302s or locale.getdefaultlocale()[1] 302s adding changesets 302s adding manifests 302s adding file changes 302s added 2 changesets with 3 changes to 3 files 302s new changesets ff59df5328a1:73c3b3e57176 302s progress revision walk 'bookmarks/master' (1/1) 302s progress revision 0 'master' (0/2) 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) 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) 302s Cloning into './sub_hg_a/sub_hg_a_x'... 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) 302s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 302s or locale.getdefaultlocale()[1] 303s adding changesets 303s adding manifests 303s adding file changes 303s added 1 changesets with 1 changes to 1 files 303s new changesets 5747a4f27bc0 303s progress revision walk 'bookmarks/master' (0/0) 303s progress revision 0 'master' (0/1) 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: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 Cloning into './sub_hg_b'... 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 adding changesets 303s adding manifests 303s adding file changes 303s added 2 changesets with 3 changes to 3 files 303s new changesets f7c1a5a03d95:6fd1b997d53f 303s progress revision walk 'bookmarks/master' (1/1) 303s progress revision 0 'master' (0/2) 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: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 Cloning into './sub_hg_b/sub_git'... 303s done. 303s ok 8 - subcommand sub initial recursive update 303s 303s expecting success: 303s test_when_finished "rm -rf gitrepo* hgrepo*" && 303s 303s test_sub_update 303s 306s Initialized empty Git repository in /tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ 306s [master (root-commit) e9a16bb] zero_sub_git 306s Author: A U Thor 306s 1 file changed, 1 insertion(+) 306s create mode 100644 content_sub_git 307s Cloning into 'gitrepo'... 307s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 307s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 307s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 307s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 307s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 307s or locale.getdefaultlocale()[1] 307s adding changesets 307s adding manifests 307s adding file changes 307s added 2 changesets with 3 changes to 3 files 307s new changesets 8356cb28e365:ea750d239819 307s progress revision walk 'bookmarks/master' (1/1) 307s progress revision 0 'master' (0/2) 308s /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. 308s or locale.getdefaultlocale()[1] 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 Cloning into './sub_hg_a'... 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 b8e9269ab0e9:32ff913d4113 308s progress revision walk 'bookmarks/master' (1/1) 308s progress revision 0 'master' (0/2) 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: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 Cloning into './sub_hg_a/sub_hg_a_x'... 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 1 changesets with 1 changes to 1 files 308s new changesets 67df1094b7d1 308s progress revision walk 'bookmarks/master' (0/0) 308s progress revision 0 'master' (0/1) 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: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 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 2 changesets with 3 changes to 3 files 309s new changesets 1dd30bd8357b:cf956a3f63c1 309s progress revision walk 'bookmarks/master' (1/1) 309s progress revision 0 'master' (0/2) 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: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/sub_git'... 309s done. 310s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 310s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 310s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 310s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 310s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 310s or locale.getdefaultlocale()[1] 310s searching for changes 310s adding changesets 310s adding manifests 310s adding file changes 310s added 1 changesets with 1 changes to 1 files 310s new changesets 563769f71ec4 310s progress revision 2 'default' (0/1) 310s From hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgrepo 310s 015a3eb..fb27d16 master -> origin/master 310s 015a3eb..fb27d16 branches/default -> origin/branches/default 310s Updating 015a3eb..fb27d16 310s Fast-forward 310s .hgsubstate | 2 +- 310s 1 file changed, 1 insertion(+), 1 deletion(-) 310s /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. 310s or locale.getdefaultlocale()[1] 310s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 310s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 310s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 310s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 310s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 310s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 310s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 310s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 311s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 311s or locale.getdefaultlocale()[1] 311s searching for changes 311s adding changesets 311s adding manifests 311s adding file changes 311s added 1 changesets with 1 changes to 1 files 311s new changesets d9f650e20627 311s progress revision 2 'default' (0/1) 311s From hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgrepo/sub_hg_a 311s 8378b25..88839d3 branches/default -> origin/branches/default 311s 8378b25..88839d3 master -> origin/master 311s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 311s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 311s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 311s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 311s HEAD is now at 8378b25 substate_hg_a 311s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 311s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 311s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 311s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 311s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 311s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 311s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 311s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 311s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 311s or locale.getdefaultlocale()[1] 311s searching for changes 311s adding changesets 311s adding manifests 311s adding file changes 311s added 1 changesets with 1 changes to 1 files 311s new changesets 83f2368fcada 311s progress revision 1 'default' (0/1) 311s From hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgrepo/sub_hg_a/sub_hg_a_x 311s 20d43d6..8af1401 branches/default -> origin/branches/default 311s 20d43d6..8af1401 master -> origin/master 311s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 311s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 311s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 311s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 311s HEAD is now at 20d43d6 zero_sub_hg_a_x 311s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 311s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 311s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 311s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 311s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 311s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 311s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 311s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 311s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 311s or locale.getdefaultlocale()[1] 311s no changes found 312s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 312s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 312s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 312s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 312s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 312s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 312s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 312s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 312s ok 9 - subcommand sub subsequent recursive update 312s 312s expecting success: 312s test_when_finished "rm -rf gitrepo* hgrepo*" && 312s 312s test_sub_update --rebase 312s 315s Initialized empty Git repository in /tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ 315s [master (root-commit) e9a16bb] zero_sub_git 315s Author: A U Thor 315s 1 file changed, 1 insertion(+) 315s create mode 100644 content_sub_git 316s Cloning into 'gitrepo'... 316s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 316s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 316s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 316s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 316s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 316s or locale.getdefaultlocale()[1] 316s adding changesets 316s adding manifests 316s adding file changes 316s added 2 changesets with 3 changes to 3 files 316s new changesets bc13ca4d540c:f031bd5e043a 316s progress revision walk 'bookmarks/master' (1/1) 316s progress revision 0 'master' (0/2) 316s /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. 316s or locale.getdefaultlocale()[1] 316s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 316s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 316s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 316s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 316s Cloning into './sub_hg_a'... 316s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 316s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 316s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 316s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 317s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 317s or locale.getdefaultlocale()[1] 317s adding changesets 317s adding manifests 317s adding file changes 317s added 2 changesets with 3 changes to 3 files 317s new changesets 58182570fff0:532b0ddd12a7 317s progress revision walk 'bookmarks/master' (1/1) 317s progress revision 0 'master' (0/2) 317s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 317s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 317s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 317s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 317s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 317s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 317s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 317s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 317s Cloning into './sub_hg_a/sub_hg_a_x'... 317s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 317s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 317s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 317s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 317s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 317s or locale.getdefaultlocale()[1] 317s adding changesets 317s adding manifests 317s adding file changes 317s added 1 changesets with 1 changes to 1 files 317s new changesets b83dadf3bb1f 317s progress revision walk 'bookmarks/master' (0/0) 317s progress revision 0 'master' (0/1) 317s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 317s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 317s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 317s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 317s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 317s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 317s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 317s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 317s Cloning into './sub_hg_b'... 317s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 317s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 317s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 317s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 318s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 318s or locale.getdefaultlocale()[1] 318s adding changesets 318s adding manifests 318s adding file changes 318s added 2 changesets with 3 changes to 3 files 318s new changesets 6a8cbd0fd515:f4d11fcb2e3c 318s progress revision walk 'bookmarks/master' (1/1) 318s progress revision 0 'master' (0/2) 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) 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) 318s Cloning into './sub_hg_b/sub_git'... 318s done. 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 searching for changes 319s adding changesets 319s adding manifests 319s adding file changes 319s added 1 changesets with 1 changes to 1 files 319s new changesets 1bb0e8007a52 319s progress revision 2 'default' (0/1) 319s From hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgrepo 319s 26183f1..754d1a3 master -> origin/master 319s 26183f1..754d1a3 branches/default -> origin/branches/default 319s Updating 26183f1..754d1a3 319s Fast-forward 319s .hgsubstate | 2 +- 319s 1 file changed, 1 insertion(+), 1 deletion(-) 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 /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) 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 searching for changes 320s adding changesets 320s adding manifests 320s adding file changes 320s added 1 changesets with 1 changes to 1 files 320s new changesets 076efc979a67 320s progress revision 2 'default' (0/1) 320s From hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgrepo/sub_hg_a 320s f0feeac..9a7b853 branches/default -> origin/branches/default 320s f0feeac..9a7b853 master -> origin/master 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 HEAD is now at f0feeac substate_hg_a 320s Successfully rebased and updated detached HEAD. 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 /usr/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 searching for changes 320s adding changesets 320s adding manifests 320s adding file changes 320s added 1 changesets with 1 changes to 1 files 320s new changesets f93305aee2b4 320s progress revision 1 'default' (0/1) 320s From hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgrepo/sub_hg_a/sub_hg_a_x 320s aab33ac..b6d7690 branches/default -> origin/branches/default 320s aab33ac..b6d7690 master -> origin/master 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 HEAD is now at aab33ac zero_sub_hg_a_x 320s Successfully rebased and updated detached HEAD. 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 /usr/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] 321s no changes found 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) 321s ok 10 - subcommand sub subsequent recursive update -- rebase 321s 321s expecting success: 321s test_when_finished "rm -rf gitrepo* hgrepo*" && 321s 321s test_sub_update --merge 321s 324s Initialized empty Git repository in /tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgrepo/sub_hg_b/sub_git/.git/ 324s [master (root-commit) e9a16bb] zero_sub_git 324s Author: A U Thor 324s 1 file changed, 1 insertion(+) 324s create mode 100644 content_sub_git 325s Cloning into 'gitrepo'... 325s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 325s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 325s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 325s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 325s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 325s or locale.getdefaultlocale()[1] 325s adding changesets 325s adding manifests 325s adding file changes 325s added 2 changesets with 3 changes to 3 files 325s new changesets 210ab1d7b9bc:8d30738b9805 325s progress revision walk 'bookmarks/master' (1/1) 325s progress revision 0 'master' (0/2) 325s /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. 325s or locale.getdefaultlocale()[1] 325s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 325s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 325s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 325s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 325s Cloning into './sub_hg_a'... 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 9ea8bd8f036a:2d75d4755f0e 326s progress revision walk 'bookmarks/master' (1/1) 326s progress revision 0 'master' (0/2) 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: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 Cloning into './sub_hg_a/sub_hg_a_x'... 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 1 changesets with 1 changes to 1 files 326s new changesets 7d4aa8f502ad 326s progress revision walk 'bookmarks/master' (0/0) 326s progress revision 0 'master' (0/1) 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: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 Cloning into './sub_hg_b'... 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) 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 787b869a98c6:7e2012b49321 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_b/sub_git'... 327s done. 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: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 searching for changes 328s adding changesets 328s adding manifests 328s adding file changes 328s added 1 changesets with 1 changes to 1 files 328s new changesets 292baf738adc 328s progress revision 2 'default' (0/1) 328s From hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgrepo 328s d0aae08..ca27153 master -> origin/master 328s d0aae08..ca27153 branches/default -> origin/branches/default 328s Updating d0aae08..ca27153 328s Fast-forward 328s .hgsubstate | 2 +- 328s 1 file changed, 1 insertion(+), 1 deletion(-) 328s /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. 328s or locale.getdefaultlocale()[1] 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) 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 f6cebf9a116c 329s progress revision 2 'default' (0/1) 329s From hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgrepo/sub_hg_a 329s 9d59ddb..87e2a5c branches/default -> origin/branches/default 329s 9d59ddb..87e2a5c 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) 329s HEAD is now at 9d59ddb substate_hg_a 329s Updating 9d59ddb..87e2a5c 329s Fast-forward 329s .hgsubstate | 2 +- 329s 1 file changed, 1 insertion(+), 1 deletion(-) 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 progress revision 1 'default' (0/1) 329s added 1 changesets with 1 changes to 1 files 329s new changesets f2120a0c9ede 329s From hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgrepo/sub_hg_a/sub_hg_a_x 329s f8edae0..e6e702a branches/default -> origin/branches/default 329s f8edae0..e6e702a 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) 329s HEAD is now at f8edae0 zero_sub_hg_a_x 329s Updating f8edae0..e6e702a 329s Fast-forward 329s content_sub_hg_a_x | 2 +- 329s 1 file changed, 1 insertion(+), 1 deletion(-) 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 no changes found 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 /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 11 - subcommand sub subsequent recursive update -- merge 330s 330s expecting success: 330s test_when_finished "rm -rf gitrepo* hgrepo*" && 330s 330s test_sub_foreach 330s 333s Initialized empty Git repository in /tmp/autopkgtest.BMirzM/build.cPU/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 333s 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 b380b78c7fb8:0ed4e3b4d9b8 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) 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 4c53036752d3:f8f22d6c8718 334s progress revision walk 'bookmarks/master' (1/1) 334s 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 e18d01eb0944 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 335s added 2 changesets with 3 changes to 3 files 335s new changesets 376656e967f5:fe5727800608 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_b/sub_git'... 335s done. 336s /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. 336s or locale.getdefaultlocale()[1] 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 /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 /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 /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 hg 6e97e81b7617be3327db75130f6925674bdad61d f8f22d6c87181e2e3041067b1891452317ad0161 sub_hg_a /tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/gitrepo 336s hg 4497d3f46016aab3666d60367529ea3c2446abfa e18d01eb09443eb3c1692417d7b1be5d8b043952 sub_hg_a_x /tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/gitrepo/sub_hg_a 336s hg 5bc4c0dc88a4fc4277af4e19734dd79e8f9254c8 fe5727800608a83cea565801a36bbdf05e3adf51 sub_hg_b /tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/gitrepo 336s git e9a16bb7c08361f85ab0002e4094b4229fefb384 e9a16bb7c08361f85ab0002e4094b4229fefb384 sub_git /tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/gitrepo/sub_hg_b 336s ok 12 - subcommand sub foreach 336s 336s expecting success: 336s test_when_finished "rm -rf gitrepo* hgrepo*" && 336s 336s setup_repo hg hgrepo && 336s ( 336s cd hgrepo && 336s setup_repo hg sub_hg && 336s echo "sub_hg = sub_hg" > .hgsub && 336s hg add .hgsub && 336s hg commit -m substate 336s ) 336s 336s git clone hg::hgrepo gitrepo && 336s 336s ( 336s cd gitrepo && 336s git-hg-helper sub update --force && 336s 336s ( 336s cd sub_hg && 336s grep url .git/config > ../expected && 336s git config remote.origin.url foobar && 336s grep foobar .git/config 336s ) && 336s 336s git-hg-helper sub sync && 336s grep url sub_hg/.git/config > actual && 336s test_cmp expected actual 336s ) 336s 338s Cloning into 'gitrepo'... 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 adding changesets 338s adding manifests 338s adding file changes 338s added 2 changesets with 3 changes to 3 files 338s new changesets 41e8f7221518:ddd38cd21fdd 338s progress revision walk 'bookmarks/master' (1/1) 338s progress revision 0 'master' (0/2) 338s /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. 338s or locale.getdefaultlocale()[1] 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 Cloning into './sub_hg'... 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) 339s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 339s or locale.getdefaultlocale()[1] 339s adding changesets 339s adding manifests 339s adding file changes 339s added 1 changesets with 1 changes to 1 files 339s new changesets 65857fcbb0c2 339s progress revision walk 'bookmarks/master' (0/0) 339s progress revision 0 'master' (0/1) 339s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 339s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 339s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 339s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 339s url = foobar 339s /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. 339s or locale.getdefaultlocale()[1] 339s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 339s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 339s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 339s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 339s ok 13 - subcommand sub sync 339s 339s expecting success: 339s test_when_finished "rm -rf gitrepo* hgrepo*" && 339s 339s setup_repo hg hgrepo && 339s ( 339s cd hgrepo && 339s setup_repo hg sub_hg && 339s setup_repo git sub_git && 339s echo "sub_hg = sub_hg" > .hgsub && 339s echo "sub_git = [git]sub_git" >> .hgsub && 339s hg add .hgsub && 339s hg commit -m substate 339s ) 339s 339s git clone hg::hgrepo gitrepo && 339s 339s ( 339s cd gitrepo && 339s git-hg-helper sub update --force && 339s 339s ( 339s cd sub_hg && 339s echo one > content_sub_hg && 339s git add content_sub_hg && 339s git commit -m one_sub_hg && 339s # detached HEAD 339s git push origin HEAD:master && 339s # also fetch to ensure notes are updated 339s git fetch origin 339s ) && 339s 339s ( 339s cd sub_git && 339s echo one > content_sub_git && 339s git add content_sub_git && 339s git commit -m one_sub_git && 339s # detached HEAD; push revision to other side ... anywhere 339s git push origin HEAD:refs/heads/new 339s ) 339s ) && 339s 339s ( 339s cd gitrepo && 339s git-hg-helper sub upstate && 339s git diff && 339s git status --porcelain | grep .hgsubstate && 339s git add .hgsubstate && 339s git commit -m update_sub && 339s git push origin master 339s ) && 339s 339s hg clone hgrepo hgclone && 339s 339s ( 339s cd hgclone && 339s hg update 339s ) && 339s 339s check_branch hgclone default update_sub && 339s check_branch hgclone/sub_hg default one_sub_hg && 339s check hgclone/sub_git HEAD one_sub_git 339s 340s Initialized empty Git repository in /tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgrepo/sub_git/.git/ 340s [master (root-commit) e9a16bb] zero_sub_git 340s Author: A U Thor 340s 1 file changed, 1 insertion(+) 340s create mode 100644 content_sub_git 341s Cloning into 'gitrepo'... 341s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 341s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 341s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 341s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 341s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 341s or locale.getdefaultlocale()[1] 341s adding changesets 341s adding manifests 341s adding file changes 341s added 2 changesets with 3 changes to 3 files 341s new changesets f93ad2cbd33f:884e1f3e3948 341s progress revision walk 'bookmarks/master' (1/1) 341s progress revision 0 'master' (0/2) 342s /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. 342s or locale.getdefaultlocale()[1] 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 Cloning into './sub_hg'... 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 1 changesets with 1 changes to 1 files 342s new changesets 65ef8c899051 342s progress revision walk 'bookmarks/master' (0/0) 342s progress revision 0 'master' (0/1) 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 Cloning into './sub_git'... 342s done. 342s [detached HEAD d5b6166] one_sub_hg 342s Author: A U Thor 342s 1 file changed, 1 insertion(+), 1 deletion(-) 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 no changes found 342s searching for changes 342s adding changesets 342s adding manifests 342s adding file changes 342s added 1 changesets with 1 changes to 1 files 342s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgrepo/sub_hg 342s fffffff..d5b6166 HEAD -> master 342s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 342s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 342s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 342s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 343s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 343s or locale.getdefaultlocale()[1] 343s no changes found 343s 1 local changesets published 343s From hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgrepo/sub_hg 343s 34f9e4b..d5b6166 branches/default -> origin/branches/default 343s [detached HEAD cea1af1] one_sub_git 343s Author: A U Thor 343s 1 file changed, 1 insertion(+), 1 deletion(-) 343s To /tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgrepo/sub_git 343s * [new branch] HEAD -> new 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 Updating ./sub_hg to bcb7fd7bbd8c9c17908f50cc8a43e2a653ed93a1 [git d5b6166] 343s Updating ./sub_git to cea1af1c0bdaae94623e5a8e4d85c13835bb44b6 [git cea1af1] 343s diff --git a/.hgsubstate b/.hgsubstate 343s index e2c7f2e..0c3f879 100644 343s --- a/.hgsubstate 343s +++ b/.hgsubstate 343s @@ -1,2 +1,2 @@ 343s -e9a16bb7c08361f85ab0002e4094b4229fefb384 sub_git 343s -65ef8c89905161eea1f81937124229f891a70361 sub_hg 343s +cea1af1c0bdaae94623e5a8e4d85c13835bb44b6 sub_git 343s +bcb7fd7bbd8c9c17908f50cc8a43e2a653ed93a1 sub_hg 343s M .hgsubstate 343s [master 3cef9fa] update_sub 343s Author: A U Thor 343s 1 file changed, 2 insertions(+), 2 deletions(-) 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 no changes found 344s searching for changes 344s adding changesets 344s adding manifests 344s adding file changes 344s added 1 changesets with 1 changes to 1 files 344s To hg::/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgrepo 344s fffffff..3cef9fa master -> master 344s Cloning into '/tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgclone/sub_git'... 344s done. 344s Switched to a new branch 'new' 344s updating to branch default 344s cloning subrepo sub_git from /tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgrepo/sub_git 344s cloning subrepo sub_hg from /tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgrepo/sub_hg 344s 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 344s 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 345s ok 14 - subcommand sub addstate 345s 345s expecting success: 345s test_when_finished "rm -rf gitrepo* hgrepo*" && 345s 345s setup_repo hg hgrepo && 345s ( 345s cd hgrepo && 345s setup_repo hg sub_hg_a && 345s setup_repo hg sub_hg_b && 345s setup_repo git sub_git && 345s echo "sub_hg_a = sub_hg_a" > .hgsub && 345s echo "sub_hg_b = sub_hg_b" >> .hgsub && 345s echo "sub_git = [git]sub_git" >> .hgsub && 345s hg add .hgsub && 345s hg commit -m substate 345s ) 345s 345s git clone hg::hgrepo gitrepo && 345s 345s ( 345s cd gitrepo && 345s git-hg-helper sub update --force sub_hg_a && 345s git-hg-helper sub update --force sub_git && 345s ( 345s # advance and add a tag to the git repo 345s cd sub_git && 345s echo one > content_sub_git && 345s git add content_sub_git && 345s git commit -m one_sub_git && 345s git tag feature-a 345s ) && 345s 345s git-hg-helper sub status --cached > output && 345s cat output && 345s grep "^ .*sub_hg_a (.*master.*)$" output && 345s grep "^-.*sub_hg_b$" output && 345s grep "^+.*sub_git (feature-a~1)$" output && 345s git-hg-helper sub status sub_git > output && 345s cat output && 345s grep "^+.*sub_git (feature-a)$" output > actual && 345s test_cmp output actual 345s ) 345s 347s Initialized empty Git repository in /tmp/autopkgtest.BMirzM/build.cPU/src/test/trash directory.helper/hgrepo/sub_git/.git/ 347s [master (root-commit) e9a16bb] zero_sub_git 347s Author: A U Thor 347s 1 file changed, 1 insertion(+) 347s create mode 100644 content_sub_git 347s Cloning into 'gitrepo'... 347s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 347s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 347s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 347s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 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 2 changesets with 3 changes to 3 files 347s new changesets c927f3912bb8:43783e28da3a 347s progress revision walk 'bookmarks/master' (1/1) 347s progress revision 0 'master' (0/2) 348s /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. 348s or locale.getdefaultlocale()[1] 348s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 348s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 348s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 348s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 348s /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. 348s or locale.getdefaultlocale()[1] 348s Cloning into './sub_hg_a'... 348s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 348s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 348s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 348s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 348s /usr/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. 348s or locale.getdefaultlocale()[1] 348s adding changesets 348s adding manifests 348s adding file changes 348s added 1 changesets with 1 changes to 1 files 348s new changesets 5de16fa8bcec 348s progress revision walk 'bookmarks/master' (0/0) 348s progress revision 0 'master' (0/1) 348s /usr/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w' 348s RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)') 348s /usr/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\(' 348s m = re.match(b'^(.+?) ext:\((.+)\)$', name) 349s /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. 349s or locale.getdefaultlocale()[1] 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-hg-helper:44: 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 Cloning into './sub_git'... 349s done. 349s [detached HEAD cea1af1] one_sub_git 349s Author: A U Thor 349s 1 file changed, 1 insertion(+), 1 deletion(-) 349s /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. 349s or locale.getdefaultlocale()[1] 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: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 32e6581242d0d19271288938e5164e9469aacd84 ./sub_hg_a (heads/master) 349s -0cc17e692b6e3d5b9e099fc6c36fa442772521d4[hg] ./sub_hg_b 349s +e9a16bb7c08361f85ab0002e4094b4229fefb384 ./sub_git (feature-a~1) 349s 32e6581242d0d19271288938e5164e9469aacd84 ./sub_hg_a (heads/master) 349s -0cc17e692b6e3d5b9e099fc6c36fa442772521d4[hg] ./sub_hg_b 349s +e9a16bb7c08361f85ab0002e4094b4229fefb384 ./sub_git (feature-a~1) 349s /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. 349s 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 /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 +cea1af1c0bdaae94623e5a8e4d85c13835bb44b6 ./sub_git (feature-a) 350s ok 15 - subcommand sub status 350s 350s # passed all 15 test(s) 350s 1..15 350s make clean 350s make[1]: Entering directory '/tmp/autopkgtest.BMirzM/build.cPU/src/test' 350s rm -f -r 'trash directory'.* test-results 350s make[1]: Leaving directory '/tmp/autopkgtest.BMirzM/build.cPU/src/test' 350s make: Leaving directory '/tmp/autopkgtest.BMirzM/build.cPU/src/test' 350s autopkgtest [19:33:25]: test upstream-test-suite: -----------------------] 351s upstream-test-suite PASS 351s autopkgtest [19:33:26]: test upstream-test-suite: - - - - - - - - - - results - - - - - - - - - - 351s autopkgtest [19:33:26]: @@@@@@@@@@@@@@@@@@@@ summary 351s upstream-test-suite PASS