annotate .hgignore @ 6665:d2b90c9e5829 stable

uncommit: set uncommit_source extra consistently in interactive mode Previously, the uncommit_source extra was only explicitly set on the temporary changeset created during the uncommit command. Due to a contract mismatch because the extra() method returned a dict that might be reused for multiple callers and this call site expected a fresh dict, the resulting changeset produced by the uncommit command might or might not have had the correct extra nonetheless. This changeset ensures that it will be set consistently. There is a discussion whether the extra() method (in core) should always return a fresh dict. Independent of the outcome of the discussion, this fix should work. I checked that the tests work no matter whether extra() returns a fresh dict or a reused one (current core behavior).
author Manuel Jacob <me@manueljacob.de>
date Thu, 01 Feb 2024 19:13:24 +0100
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