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 docs/design: propose submodule storage approach 2023-04-24 14:29:47 -07:00
technical docs: add architecture doc 2023-05-16 11:09:20 -07:00
branches.md templater: indicate if branch needs to be pushed to a remote 2022-11-09 22:44:55 -08:00
code-of-conduct.md Boilerplate for new Google open source project 2020-12-11 23:37:59 -08:00
config.md cli: allow resolving shorter ids within a configured revset 2023-05-11 23:41:24 -07:00
config.toml Update docs/config.toml with new way to show relative timestamps 2023-02-15 21:26:14 -08:00
conflicts.md docs: indent conflict marker examples to not confuse tools 2022-12-12 16:20:40 -08:00
contributing.md contributing.md: docs on working with protos 2023-04-16 22:04:27 -07:00
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 docs: fix minor typos in GitHub example commands 2023-04-11 14:41:00 -07:00
glossary.md docs: add a glossary 2023-04-17 16:48:23 -07:00
operation-log.md operation-log.md: Give a brief description of @, +, - 2023-02-18 22:42:51 -08:00
related-work.md docs: mention Sapling as a similar tool 2023-04-13 10:10:14 -07:00
revsets.md docs: don't say "both inclusive" about x:y and x..y revset endpoint 2023-05-05 22:26:27 -07:00
templates.md docs: add a word to docs about divergent 2023-04-09 22:56:33 -07:00
tutorial.md Switch graph node to use for commit instead of 2023-04-02 23:15:37 -07:00
working-copy.md workspace: add a root subcommand to print the workspace root path 2023-01-24 16:53:54 +01:00