lp:~cjwatson/brz/fastimport-fix-directory-renames

Created by Colin Watson and last modified
Get this branch:
bzr branch lp:~cjwatson/brz/fastimport-fix-directory-renames
Only Colin Watson can upload to this branch. If you are Colin Watson please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Colin Watson
Project:
Breezy
Status:
Development

Recent revisions

7542. By Colin Watson

fastimport: Fix export of directory renames.

Passing `specific_files=[change.path[0]]` to
`tree_old.iter_entries_by_dir` yields only the entry for that path,
rather than for that path and all directory entries contained by it as
the code appeared to expect. Fix this to emit the correct rename
commands for all directory entries under the path being renamed, and fix
up subsequent delete commands to match.

This fixes the export of
https://bazaar.launchpad.net/~lazr-developers/launchpadlib/trunk/revision/36.1.1,
which renames the `launchpadlib` directory to `src/launchpadlib` as well
as making various other changes. It may be relevant to
https://bugs.launchpad.net/brz/+bug/1890216 as well, although I haven't
checked and I haven't tackled the rather larger task of writing useful
tests.

7540. By Jelmer Vernooij

Invoke brz directly, not via Python.

Merged from https://code.launchpad.net/~jelmer/brz/invoke-brz/+merge/409289

7537. By Jelmer Vernooij

Add some more typing hints.

Merged from https://code.launchpad.net/~jelmer/brz/typing-fixes/+merge/407806

7536. By Martin Packman

Make flake8 source test behave

Merged from https://code.launchpad.net/~gz/brz/flake8_source_test/+merge/407491

7535. By Jelmer Vernooij

Switch the Breezy entrypoint code to Rust!

Merged from https://code.launchpad.net/~brz/brz/brz.rs/+merge/407393

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:brz
This branch contains Public information 
Everyone can see this information.

Subscribers