jj/docs
Ilya Grigoriev 714aff63e6 git.rs: properly abandon commits from moved/deleted branches on remote (#864)
This bug concerns the way `import_refs` that gets called by `fetch` computes
the heads that should be visible after the import.

Previously, the list of such heads was computed *before* local branches were
updated based on changes to the remote branches. So, commits that should have
been abandoned based on this update of the local branches weren't properly
abandoned.

Now, `import_refs` tracks the heads that need to be visible because of some ref
in a mapping keyed by the ref. If the ref moves or is deleted, the
corresponding heads are updated.

Fixes #864
2023-05-17 17:57:58 -07:00
..
design
technical docs: add architecture doc 2023-05-16 11:09:20 -07:00
branches.md
code-of-conduct.md
config.md cli: allow resolving shorter ids within a configured revset 2023-05-11 23:41:24 -07:00
config.toml
conflicts.md
contributing.md
git-comparison.md docs: use git switch/restore in command-equivalence table 2023-05-07 21:48:40 -07:00
git-compatibility.md git.rs: properly abandon commits from moved/deleted branches on remote (#864) 2023-05-17 17:57:58 -07:00
github.md
glossary.md
operation-log.md
related-work.md
revsets.md
templates.md
tutorial.md
working-copy.md