0

Say I have 10 versions in bzr repository, and I want to remove the last 2 versions. I tried "bzr revert -r -3", but it just revert the files to the second last version, and the following "bar log" still shows all 10 versions in the repository.

Hailiang Zhang
  • 17,604
  • 23
  • 71
  • 117

1 Answers1

2

The command to do that is uncommit:

bzr uncommit -r-3

The last two revisions will be removed from the branch.

janos
  • 120,954
  • 29
  • 226
  • 236