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

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

Open
emosenkis opened this issue Aug 2, 2013 · 0 comments
Open
Assignees

Comments

@emosenkis
Copy link
Owner

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.

@ghost ghost assigned emosenkis Aug 2, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant