annotate debian/control @ 6935:954d7ea5cd67 stable tip

stack: when stack base is obsolete, pick any successor, even if at random There are situations when s0 is obsolete and we also cannot pick just one successor for it to use in stack. In such a case, let's pick the "latest" successor from the first set. We're assuming that obsutil.successorssets() returns data in the same order (it should, since it makes sure to sort data internally). Keeping that in mind, while the successor picked for s0 by this code is not based on any sort of sophisticated logic, it should nonetheless be the same every time. This patch is probably not going to completely break anything that was previously working fine, because the previous behavior was to just abort with an exception.
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 16 Nov 2024 17:01:02 +0400
parents 4f051e30fcae
children 33d5071edd05
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
531
b18b00036355 pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
1 Source: mercurial-evolve
b18b00036355 pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
2 Section: vcs
b18b00036355 pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
3 Priority: optional
537
6b459431d215 pkg-debian: fix uploader fields
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 536
diff changeset
4 Maintainer: Logilab <contact@logilab.fr>
6b459431d215 pkg-debian: fix uploader fields
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 536
diff changeset
5 Uploaders:
6b459431d215 pkg-debian: fix uploader fields
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 536
diff changeset
6 Julien Cristau <julien.cristau@logilab.fr>,
6b459431d215 pkg-debian: fix uploader fields
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 536
diff changeset
7 Pierre-Yves David <pierre-yves.david@logilab.fr>,
5410
e1a452f297e7 packaging: bump Standards-Version to 4.3.0
Anton Shestakov <av6@dwimlabs.net>
parents: 5409
diff changeset
8 Standards-Version: 4.3.0
531
b18b00036355 pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
9 Build-Depends:
6451
4f051e30fcae packaging: update minimum supported mercurial version in d/control
Anton Shestakov <av6@dwimlabs.net>
parents: 6138
diff changeset
10 mercurial (>= 4.9),
4913
cac7e750422f debian: also build with python3
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 4912
diff changeset
11 python3,
4912
43e9bb4de6b5 debian: update debhelper compat
Denis Laxalde <denis@laxalde.org>
parents: 4909
diff changeset
12 debhelper (>= 10),
4909
56a8fbdd6090 debian: use pybuild and dh_sphinxdoc
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 4685
diff changeset
13 dh-python,
6138
d5759f574fd9 debian: mark build dependencies only needed for documentation
Kim Alvefur <zash@zash.se>
parents: 6136
diff changeset
14 python3-sphinx <!nodoc>,
d5759f574fd9 debian: mark build dependencies only needed for documentation
Kim Alvefur <zash@zash.se>
parents: 6136
diff changeset
15 imagemagick <!nodoc>,
d5759f574fd9 debian: mark build dependencies only needed for documentation
Kim Alvefur <zash@zash.se>
parents: 6136
diff changeset
16 librsvg2-bin <!nodoc>,
d5759f574fd9 debian: mark build dependencies only needed for documentation
Kim Alvefur <zash@zash.se>
parents: 6136
diff changeset
17 graphviz <!nodoc>,
4913
cac7e750422f debian: also build with python3
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 4912
diff changeset
18 X-Python3-Version: >= 3.6
1642
fb5e479080d8 project: change evolution domain to mercurial-scm
timeless@gmail.com
parents: 1617
diff changeset
19 Homepage: https://www.mercurial-scm.org/doc/evolution/
5409
dcc17be9542b packaging: add Vcs-* fields to debian/control
Anton Shestakov <av6@dwimlabs.net>
parents: 5408
diff changeset
20 Vcs-Browser: https://www.mercurial-scm.org/repo/evolve/
dcc17be9542b packaging: add Vcs-* fields to debian/control
Anton Shestakov <av6@dwimlabs.net>
parents: 5408
diff changeset
21 Vcs-Hg: https://www.mercurial-scm.org/repo/evolve/
531
b18b00036355 pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
22
b18b00036355 pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
23 Package: mercurial-evolve
b18b00036355 pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
24 Architecture: all
b18b00036355 pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
25 Depends:
4913
cac7e750422f debian: also build with python3
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 4912
diff changeset
26 ${python3:Depends},
536
53d3f4749ebc pkg-debian: improve control files
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 531
diff changeset
27 ${misc:Depends},
4909
56a8fbdd6090 debian: use pybuild and dh_sphinxdoc
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 4685
diff changeset
28 ${sphinxdoc:Depends},
6451
4f051e30fcae packaging: update minimum supported mercurial version in d/control
Anton Shestakov <av6@dwimlabs.net>
parents: 6138
diff changeset
29 mercurial (>= 4.9),
4909
56a8fbdd6090 debian: use pybuild and dh_sphinxdoc
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 4685
diff changeset
30 Built-Using: ${sphinxdoc:Built-Using}
531
b18b00036355 pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
31 Description: evolve extension for Mercurial
b18b00036355 pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
32 This package provides the experimental "evolve" extension for the Mercurial
b18b00036355 pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
33 DVCS.
b18b00036355 pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
34 .
b18b00036355 pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
35 This extension provides several commands to mutate history and deal with issues
b18b00036355 pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
36 it may raise.