Search code examples
bazaar

How to undo bzr mv --auto


After doing a bzr mv --auto a deleted file and a new file have been incorrectly picked up as a moved file, and now show up as renamed under bzr status. How can I change this so that the new file is marked as new again (and the deleted as deleted)?


Solution

  • Given:

    $ bzr status
    renamed:
      a => b
    

    you would need to do:

    $ bzr mv b a
    b => a
    ~$ mv a b
    $ bzr add b
    adding b
    $ bzr status
    removed:
      a
    added:
      b