deleted revisions not exported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Fast Import |
Triaged
|
Low
|
Unassigned |
Bug Description
When revisions are removed from the Bzr branch, "fast-export" does not pick them up.
In concrete example, I first made some local changes to a branch, committed them and exported them first fast-export (saving the marks file).
Then, I did a "bzr pull --overwrite" to get rid of the changes, pulling from the parent repository. (There were no other changes coming from the parent.) This works fine.
The next "bzr fast-export" however, does not export the removed revision. In fact, its output is empty.
Consequently, "git fast-import" does not pick this up.
[ For the record: "git fast-import" also complains with error messages such as
warning: Not updating refs/heads/master (new tip ... does not contain ...).
After that, the HEAD is left at the wrong (now stale) tip.
The solution to that is to give it a "--force" parameter. ]
bzr-fastimport should issue a "reset" command in this case.