Failed pipeline for branch/stable | mercurial-devel | 1d8c1103

2021-07-28 Thread Heptapod


Pipeline #25219 has failed!

Project: mercurial-devel ( https://foss.heptapod.net/octobus/mercurial-devel )
Branch: branch/stable ( 
https://foss.heptapod.net/octobus/mercurial-devel/-/commits/branch/stable )

Commit: 1d8c1103 ( 
https://foss.heptapod.net/octobus/mercurial-devel/-/commit/1d8c1103ad14c166cb6c19e42bc802876f48f67a
 )
Commit Message: help: indicate how to run downgrade a repositor...
Commit Author: Pierre-Yves David ( https://foss.heptapod.net/marmoute )

Pipeline #25219 ( 
https://foss.heptapod.net/octobus/mercurial-devel/-/pipelines/25219 ) triggered 
by Administrator ( https://foss.heptapod.net/root )
had 7 failed builds.

Job #230499 ( 
https://foss.heptapod.net/octobus/mercurial-devel/-/jobs/230499/raw )

Stage: tests
Name: test-py2-chg
Job #230500 ( 
https://foss.heptapod.net/octobus/mercurial-devel/-/jobs/230500/raw )

Stage: tests
Name: test-py2-pure
Job #230506 ( 
https://foss.heptapod.net/octobus/mercurial-devel/-/jobs/230506/raw )

Stage: tests
Name: test-py3-rust
Job #230502 ( 
https://foss.heptapod.net/octobus/mercurial-devel/-/jobs/230502/raw )

Stage: tests
Name: test-py3
Job #230505 ( 
https://foss.heptapod.net/octobus/mercurial-devel/-/jobs/230505/raw )

Stage: tests
Name: test-py3-rhg
Job #230504 ( 
https://foss.heptapod.net/octobus/mercurial-devel/-/jobs/230504/raw )

Stage: tests
Name: test-py3-pure
Job #230503 ( 
https://foss.heptapod.net/octobus/mercurial-devel/-/jobs/230503/raw )

Stage: tests
Name: test-py3-chg

-- 
You're receiving this email because of your account on foss.heptapod.net.



___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


mercurial@47642: 31 new changesets

2021-07-28 Thread Mercurial Commits
31 new changesets in mercurial:

https://www.mercurial-scm.org/repo/hg/rev/a9d75262b992
changeset:   47612:a9d75262b992
user:Pulkit Goyal <7895pul...@gmail.com>
date:Fri Jul 09 15:27:38 2021 +0530
summary: dirstate: add dedicated function for updating data of a file

https://www.mercurial-scm.org/repo/hg/rev/8b16ccc71001
changeset:   47613:8b16ccc71001
user:Pulkit Goyal <7895pul...@gmail.com>
date:Wed Jul 07 23:04:19 2021 +0530
summary: mergestate: use dirstate.update_file API in recordupdates()

https://www.mercurial-scm.org/repo/hg/rev/9aad229a773a
changeset:   47614:9aad229a773a
user:Raphaël Gomès 
date:Thu Jun 10 17:58:03 2021 +0200
summary: windows: add windows behavior on broken pager

https://www.mercurial-scm.org/repo/hg/rev/a8d1adeeba87
changeset:   47615:a8d1adeeba87
user:Pierre-Yves David 
date:Mon Jul 12 00:14:11 2021 +0200
summary: test-sigpipe: run the hook using `sh`

https://www.mercurial-scm.org/repo/hg/rev/df6148ca7120
changeset:   47616:df6148ca7120
user:Pierre-Yves David 
date:Sun Jul 11 23:08:00 2021 +0200
summary: sigpipe-remote: check environment variable sooner

https://www.mercurial-scm.org/repo/hg/rev/d5fc1b59a2df
changeset:   47617:d5fc1b59a2df
user:Pierre-Yves David 
date:Mon Jul 12 03:29:21 2021 +0200
summary: sigpipe-remote: verify the script is IO are unbuffered

https://www.mercurial-scm.org/repo/hg/rev/27ff81547d35
changeset:   47618:27ff81547d35
user:Pierre-Yves David 
date:Mon Jul 12 03:30:04 2021 +0200
summary: sigpipe-remote: simply delegate pipe forwarding to subprocess we 
can kill

https://www.mercurial-scm.org/repo/hg/rev/f0fbe8f4faa6
changeset:   47619:f0fbe8f4faa6
user:Pierre-Yves David 
date:Sat Jul 10 01:15:03 2021 +0200
summary: run-tests: enforce the drive letter from `getcwd` to upper case

https://www.mercurial-scm.org/repo/hg/rev/724066f23e2d
changeset:   47620:724066f23e2d
user:Pierre-Yves David 
date:Fri Jul 09 23:38:24 2021 +0200
summary: hg-ssh: normalize the drive of the current working directory on 
windows

https://www.mercurial-scm.org/repo/hg/rev/d6ee6456bd5f
changeset:   47621:d6ee6456bd5f
user:Pierre-Yves David 
date:Sat Jul 10 13:10:18 2021 +0200
summary: windows: enforce upper case drive letter for getcwd in mercurial 
too

https://www.mercurial-scm.org/repo/hg/rev/bb917eea1605
changeset:   47622:bb917eea1605
user:Pierre-Yves David 
date:Sat Jul 10 13:46:24 2021 +0200
summary: windows: introduce a `util.abspath` to replace os.path.abspath

https://www.mercurial-scm.org/repo/hg/rev/227bbb078c2c
changeset:   47623:227bbb078c2c
user:Pierre-Yves David 
date:Sat Jul 10 14:05:38 2021 +0200
summary: windows: use abspath in chgserver

https://www.mercurial-scm.org/repo/hg/rev/27e75b8bf784
changeset:   47624:27e75b8bf784
user:Pierre-Yves David 
date:Sat Jul 10 14:05:49 2021 +0200
summary: windows: use abspath in commandserver

https://www.mercurial-scm.org/repo/hg/rev/7bafe40ab78a
changeset:   47625:7bafe40ab78a
user:Pierre-Yves David 
date:Sat Jul 10 14:05:59 2021 +0200
summary: windows: use abspath in extensions

https://www.mercurial-scm.org/repo/hg/rev/1fdf315eff66
changeset:   47626:1fdf315eff66
user:Pierre-Yves David 
date:Sat Jul 10 14:06:06 2021 +0200
summary: windows: use abspath in mercurial/hg.py

https://www.mercurial-scm.org/repo/hg/rev/aceede7c4929
changeset:   47627:aceede7c4929
user:Pierre-Yves David 
date:Sat Jul 10 14:06:19 2021 +0200
summary: windows: use abspath in hgwebdir

https://www.mercurial-scm.org/repo/hg/rev/a125cbbc5782
changeset:   47628:a125cbbc5782
user:Pierre-Yves David 
date:Sat Jul 10 14:06:29 2021 +0200
summary: windows: use abspath in subrepo

https://www.mercurial-scm.org/repo/hg/rev/5cf2059d2647
changeset:   47629:5cf2059d2647
user:Pierre-Yves David 
date:Sat Jul 10 14:06:39 2021 +0200
summary: windows: use abspath in subrepoutil

https://www.mercurial-scm.org/repo/hg/rev/8e5192e41e0b
changeset:   47630:8e5192e41e0b
user:Pierre-Yves David 
date:Sat Jul 10 14:06:46 2021 +0200
summary: windows: use abspath in url

https://www.mercurial-scm.org/repo/hg/rev/16bae8abcc03
changeset:   47631:16bae8abcc03
user:Pierre-Yves David 
date:Sat Jul 10 14:07:02 2021 +0200
summary: windows: use abspath in the git extension

https://www.mercurial-scm.org/repo/hg/rev/3b2d080f11b5
changeset:   47632:3b2d080f11b5
user:Pierre-Yves David 
date:Sat Jul 10 14:07:14 2021 +0200
summary: windows: use abspath in convert.bzr

https://www.mercurial-scm.org/repo/hg/rev/770fd64a63e0
changeset:   47633:770fd64a63e0
user:Pierre-Yves David 
date:Sat Jul 10 14:07:25 2021 +0200
summary: windows: use abspath in 

D11227: run-tests: use a small timeout for chg instance

2021-07-28 Thread marmoute (Pierre-Yves David)
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  There is case where the test runner fails to clean up the temporary files in
  that case, spawned chg instance can stay around for 1 hours. Getting them to
  shut down sooner cannot hurt.
  
  (We should also use a more robust approach for this cleanup)

REPOSITORY
  rHG Mercurial

BRANCH
  stable

REVISION DETAIL
  https://phab.mercurial-scm.org/D11227

AFFECTED FILES
  tests/run-tests.py
  tests/test-basic.t
  tests/test-commandserver.t

CHANGE DETAILS

diff --git a/tests/test-commandserver.t b/tests/test-commandserver.t
--- a/tests/test-commandserver.t
+++ b/tests/test-commandserver.t
@@ -214,6 +214,7 @@
   ... runcommand(server, [b'-R', b'foo', b'showconfig', b'ui', 
b'defaults'])
   *** runcommand showconfig
   bundle.mainreporoot=$TESTTMP/repo
+  chgserver.idletimeout=60
   devel.all-warnings=true
   devel.default-date=0 0
   extensions.fsmonitor= (fsmonitor !)
diff --git a/tests/test-basic.t b/tests/test-basic.t
--- a/tests/test-basic.t
+++ b/tests/test-basic.t
@@ -2,6 +2,7 @@
 
 #if no-extraextensions
   $ hg config
+  chgserver.idletimeout=60
   devel.all-warnings=true
   devel.default-date=0 0
   extensions.fsmonitor= (fsmonitor !)
diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -1546,6 +1546,8 @@
 hgrc.write(b'mergemarkers = detailed\n')
 hgrc.write(b'promptecho = True\n')
 hgrc.write(b'timeout.warn=15\n')
+hgrc.write(b'[chgserver]\n')
+hgrc.write(b'idletimeout=60\n')
 hgrc.write(b'[defaults]\n')
 hgrc.write(b'[devel]\n')
 hgrc.write(b'all-warnings = true\n')



To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D11226: run-tests: do not inherit file descriptor when running a command

2021-07-28 Thread marmoute (Pierre-Yves David)
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  This is one of the difference between python2 and python3 and could have been 
a
  reason why test hang with python2 + chg. This does not seems to help the
  hanging issue at all…
  
  However, now that this is written lets reduce the difference between python2
  and python3.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

REVISION DETAIL
  https://phab.mercurial-scm.org/D11226

AFFECTED FILES
  tests/run-tests.py

CHANGE DETAILS

diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -1587,6 +1587,7 @@
 proc = subprocess.Popen(
 _bytes2sys(cmd),
 shell=True,
+close_fds=closefds,
 cwd=_bytes2sys(self._testtmp),
 env=env,
 )



To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D11225: dummyssh: make sure we don't inherit files descriptor to the children

2021-07-28 Thread marmoute (Pierre-Yves David)
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  This is one of the difference between python2 and python3 and could have been 
a
  reason why test hang with python2 + chg. This does not seems to help the
  hanging issue at all…
  
  However, now that this is written lets reduce the difference between python2
  and python3.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

REVISION DETAIL
  https://phab.mercurial-scm.org/D11225

AFFECTED FILES
  tests/dummyssh

CHANGE DETAILS

diff --git a/tests/dummyssh b/tests/dummyssh
--- a/tests/dummyssh
+++ b/tests/dummyssh
@@ -31,5 +31,5 @@
 hgcmd = shlex.join(cmds)
 # shlex generate windows incompatible string...
 hgcmd = hgcmd.replace("'", '"')
-r = subprocess.call(hgcmd, shell=True)
+r = subprocess.call(hgcmd, shell=True, close_fds=True)
 sys.exit(bool(r))



To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D11224: dirstate: use `add` in the deprecation message about `add`

2021-07-28 Thread marmoute (Pierre-Yves David)
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  The previous message was talking about `remove`.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

REVISION DETAIL
  https://phab.mercurial-scm.org/D11224

AFFECTED FILES
  mercurial/dirstate.py

CHANGE DETAILS

diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py
--- a/mercurial/dirstate.py
+++ b/mercurial/dirstate.py
@@ -828,7 +828,7 @@
 )
 else:
 util.nouideprecwarn(
-b"do not use `remove` outside of update/merge context."
+b"do not use `add` outside of update/merge context."
 b" Use `set_tracked`",
 b'6.0',
 stacklevel=2,



To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D11223: obsolete: disable other evolution config options if createmarkers is off

2021-07-28 Thread av6 (Anton Shestakov)
av6 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  We used to raise an abort in this case, but recent changes to local clone
  command (377d8fc20e34 
) 
resulted in destrepo both caring about
  experimental.evolution config options and not initializing extensions.
  
  So imagine if you had evolve and allowdivergence enabled in your ~/.hgrc. 
Local
  clone stopped working after 377d8fc20e34 
 
because evolve sets
  experimental.evolution=all, but only on srcrepo, for destrepo the extension is
  not initialized. It's possible to make local cloning work by initializing
  extensions for destrepo in some cases, but in other cases (e.g. 
allowdivergence
  in ~/.hgrc, evolve extension in original-repo/.hg/hgrc) it would still fail.
  
  In a discussion with Pierre-Yves David it was decided to simply force other
  evolution options to be false if createmarkers is not enabled.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D11223

AFFECTED FILES
  mercurial/obsolete.py
  tests/test-clone.t

CHANGE DETAILS

diff --git a/tests/test-clone.t b/tests/test-clone.t
--- a/tests/test-clone.t
+++ b/tests/test-clone.t
@@ -580,6 +580,24 @@
   3 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ rm -r ua
 
+Local clones don't get confused by unusual experimental.evolution options
+
+  $ hg clone \
+  >   --config experimental.evolution=allowunstable,allowdivergence,exchange \
+  >   a ua
+  updating to branch default
+  3 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  $ rm -r ua
+
+  $ hg clone \
+  >   --config experimental.evolution.createmarkers=no \
+  >   --config experimental.evolution.allowunstable=yes \
+  >   --config experimental.evolution.allowdivergence=yes \
+  >   --config experimental.evolution.exchange=yes \
+  >   a ua
+  updating to branch default
+  3 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  $ rm -r ua
 
 Test clone with special '@' bookmark:
   $ cd a
diff --git a/mercurial/obsolete.py b/mercurial/obsolete.py
--- a/mercurial/obsolete.py
+++ b/mercurial/obsolete.py
@@ -144,20 +144,16 @@
 """Returns dicts showing state of obsolescence features."""
 
 createmarkersvalue = _getoptionvalue(repo, createmarkersopt)
-unstablevalue = _getoptionvalue(repo, allowunstableopt)
-divergencevalue = _getoptionvalue(repo, allowdivergenceopt)
-exchangevalue = _getoptionvalue(repo, exchangeopt)
-
-# createmarkers must be enabled if other options are enabled
-if (
-unstablevalue or divergencevalue or exchangevalue
-) and not createmarkersvalue:
-raise error.Abort(
-_(
-b"'createmarkers' obsolete option must be enabled "
-b"if other obsolete options are enabled"
-)
-)
+if createmarkersvalue:
+unstablevalue = _getoptionvalue(repo, allowunstableopt)
+divergencevalue = _getoptionvalue(repo, allowdivergenceopt)
+exchangevalue = _getoptionvalue(repo, exchangeopt)
+else:
+# if we cannot create obsolescence markers, we shouldn't exchange them
+# or perform operations that lead to instability or divergence
+unstablevalue = False
+divergencevalue = False
+exchangevalue = False
 
 return {
 createmarkersopt: createmarkersvalue,



To: av6, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D11221: rebase: use obsolete.isenabled() to check for experimental.allowdivergence

2021-07-28 Thread av6 (Anton Shestakov)
av6 created this revision.
Herald added a reviewer: martinvonz.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  Now that obsolete.isenabled() can also check if divergence is allowed, let's
  use it for consistency. Other experimental.evolution options are already
  checked via this function.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D11221

AFFECTED FILES
  hgext/rebase.py

CHANGE DETAILS

diff --git a/hgext/rebase.py b/hgext/rebase.py
--- a/hgext/rebase.py
+++ b/hgext/rebase.py
@@ -362,10 +362,7 @@
 skippedset = set(self.obsolete_with_successor_in_destination)
 skippedset.update(self.obsolete_with_successor_in_rebase_set)
 _checkobsrebase(self.repo, self.ui, obsoleteset, skippedset)
-allowdivergence = self.ui.configbool(
-b'experimental', b'evolution.allowdivergence'
-)
-if allowdivergence:
+if obsolete.isenabled(self.repo, obsolete.allowdivergenceopt):
 self.obsolete_with_successor_in_rebase_set = set()
 else:
 for rev in self.repo.revs(
@@ -1652,7 +1649,7 @@
 successors in destination or no non-obsolete successor.
 """
 # Obsolete node with successors not in dest leads to divergence
-divergenceok = ui.configbool(b'experimental', b'evolution.allowdivergence')
+divergenceok = obsolete.isenabled(repo, obsolete.allowdivergenceopt)
 divergencebasecandidates = rebaseobsrevs - rebaseobsskipped
 
 if divergencebasecandidates and not divergenceok:



To: av6, martinvonz, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D11222: fix: use obsolete.isenabled() to check for experimental.allowdivergence

2021-07-28 Thread av6 (Anton Shestakov)
av6 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  Now that obsolete.isenabled() can also check if divergence is allowed, let's
  use it for consistency. Other experimental.evolution options are already
  checked via this function.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D11222

AFFECTED FILES
  hgext/fix.py

CHANGE DETAILS

diff --git a/hgext/fix.py b/hgext/fix.py
--- a/hgext/fix.py
+++ b/hgext/fix.py
@@ -147,6 +147,7 @@
 mdiff,
 merge,
 mergestate as mergestatemod,
+obsolete,
 pycompat,
 registrar,
 rewriteutil,
@@ -451,10 +452,7 @@
 """Aborts if the revision shouldn't be replaced with a fixed one."""
 if ctx.obsolete():
 # It would be better to actually check if the revision has a successor.
-allowdivergence = ui.configbool(
-b'experimental', b'evolution.allowdivergence'
-)
-if not allowdivergence:
+if not obsolete.isenabled(repo, obsolete.allowdivergenceopt):
 raise error.Abort(
 b'fixing obsolete revision could cause divergence'
 )



To: av6, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


[Bug 6556] New: How do I download Norton on my laptop through norton.com/setup?

2021-07-28 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6556

Bug ID: 6556
   Summary: How do I download Norton on my laptop through
norton.com/setup?
   Product: Mercurial project
   Version: unspecified
  Hardware: PC
OS: Windows
Status: UNCONFIRMED
  Severity: feature
  Priority: wish
 Component: website
  Assignee: bugzi...@mercurial-scm.org
  Reporter: butlerkac...@gmail.com
CC: mercurial-devel@mercurial-scm.org

If you want to download Norton then you have to go to norton.com/setup then you
have to follow the below mentioned step.
Download Norton device security
1.  Login to your account.
2.  Enter your email address along with the password for Norton, and click
the login option.
3.  In the My Norton portal, click Download. 
4.  Move to the Get Started page, Select agree and Download.
If you are unable to do it on your own then you can connect to us, we have an
expert team with us that can fix all your issues in just one phone call.

https://www.howdoisetup.com/norton-setup

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel