Search code examples
version-controlrepositoryhierarchybazaarrepository-design

How to move up a bazaar repository one hierarchy level up?


I have a project hierarchy like this, with a bazaar repository that has been created in subFolder_1.

 a_folder
   +-- subFolder_1
       +-- .bzr
       +-- ... (more content)
   +-- subFolder_2

I now would like to move the bazaar repository one level up, like if I had created it in a_folder.

The new structure should then look like this:

 a_folder
   +-- .bzr
   +-- subFolder_1
       +-- ... (more content)
   +-- subFolder_2

I would like to keep the history (commit logs and content of the commits). How should I proceed?


Solution

  • I just went the easy way: moved the .bzr directory one level up. Next commit, everything was removed / added as every path was modified (different root hierarchy).
    Aside from that, it seems to work. I didn't notice any side effect.