annotate .hgignore @ 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 ba316ce15040
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6115
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
1 syntax: glob
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
2 *.py[cdo]
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
3 *~
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
4 *.swp
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
5 *.orig
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
6 *.rej
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
7 *.egg-info
3376
aad37ffd7d58 doc: import the training support
Boris Feld <boris.feld@octobus.net>
parents: 3203
diff changeset
8
6115
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
9 syntax: rootglob
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
10 .idea/
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
11 .mypy_cache/
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
12 .pytype/
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
13 .vscode/
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
14 html/
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
15 build/
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
16 dist/
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
17 MANIFEST
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
18 tests/easy_run.sh
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
19 tests/*.err
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
20 tests/.testtimes*
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
21 docs/training/graphs/
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
22 docs/training/html/
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
23 docs/training/index.html
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
24 docs/training/graphviz-images/
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
25 docs/training/img/
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
26 docs/training/output/
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
27 docs/training/pandocfilters/
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
28 docs/tutorials/**.rst
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
29 docs/figures/**.png
ba316ce15040 hgignore: rewrite using globs, rootglobs
Raphaël Gomès <rgomes@octobus.net>
parents: 3376
diff changeset
30 docs/static/**.ico