Skip to content
This repository was archived by the owner on Sep 17, 2020. It is now read-only.
This repository was archived by the owner on Sep 17, 2020. It is now read-only.

--delete-empty-revs breaks copy operations (and --renumber-revs) #1

@emosenkis

Description

@emosenkis

Copy operations may point to revisions that were deleted (even though the paths they refer to are included) because they may point to a revision in which the target path was not modified (any revision between the desired modification and the next modification).

This breaks --renumber-revs because it tries to look up the copy target rev in revmap but the key is missing.

To fix this, we'll have to lookup the greatest key in revmap that does not exceed X instead of just looking for X.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions