THG does not save registered repositories across restarts
Created originally on Bitbucket by benjaminjrood (Benjamin Rood)
The problem is as follows:
- I add a repository to the Repository Registry by right clicking on the "default" group in the registry and select "Add Repository".
- I browse to the location of my repository and it is added to the registry.
- I following steps 1 and 2 to add another repository.
- I I close the repository added from steps 1 and 2
- I close THG.
- I re-launch THG
- Upon relaunch, only the repository from step 3 is visible (since it was still open at exit).
The machine configuration I am using is Fedora 17 x86_64 and THG 2.7.1. This functionality worked as of 2.6.x. From my examination of the generated thg-reporegistry.xml file, an entry is made when a repository is added. However, if that repository was never loaded (i.e. double-click to bring up the commit history), during the next relaunch of THG that entry in thg-reporegistry.xml will be removed and the repository will not be displayed in the repository registry window.
If I have some time I will poke around the source code and see what else I can find.