2006/12/21

bzr-gtk

I tried out the bzr-gtk gui for Bazaar, but it took too long time to get it working, and it doesn't do too much. I am thinking on a wxPython based gui for it. I think it would be much more widely usable than a pygtk app.



It actually have nice features, but I would prefer to have a wxPython version. It could work on OSX too, and it is much easier to install.



I used WinCvs for a long time and then SmartCVS. They are really good programs and made my life a lot easier.



What I miss from bzr-gtk:

  • file level informations (I just would like to see the history of a file.)
  • the file listing window doesn't have a column header, it is not possible to order by status
  • flat view: view all files recursively in a directory
  • visual diff (or to be able to use an external one)
  • I really like the visualization but no it would be nice to show the changed file list too





2006/12/20

Bazzar in practice, WinMerge patch, bzr-gtk

I am now using Bazaar to store my working copy. I didn't have the opportunity to try out the syncing (no commits for today).



In the same time I made a little modification on my favorite merge application (WinMerge) and I used Bazaar to create the patch. It was a good mini learning project. I had only one problem. The diff on the console looked good, but when I redirected the output to a file there were extra line breaks in it. I don't know why this happens, I weren't able to avoid it, but I had to remove them with tr.



I made a mistake. I created a branch and then moved the directory. It worked well till I tried to do a pull. I got a nice exception. The exception came from a filename converting function, and the filename was empty. I moved on because the merge operation worked, and didn't have time to bother with it, but today I checked the .brv directory for any kind of easy solution, and it was there. There is a file called parent which contained something like this: ../../../. I moved the directory one level up, so I just had to remove a ../ and everything became fine.



I tried out the bzr-gtk gui for Bazaar, but it took too long time to get it working, and it doesn't do too much. I am thinking on a wxPython based gui for it. I think it would be much more widely usable than a pygtk app.





2006/12/08

VSS -> Bazaar

I hate MS Visual SourceSafe, but must use it, so it is time to do something.



The idea: use bazaar as a proxy between me and VSS.



Goals:

  • keep my working source up2date without too much effort
  • use branches to separate independent tasks and to be able to track them
  • I don't want to commit into VSS through bazaar, I will merge changes manually back, but I need help to check-out the required files



Workflow:

  1. import project from VSS into Bazaar
  2. check-out, create branch, work on it, commit, add new files, remove files ...
  3. if it is needed update from VSS [vss get latest version, commit changes into bazaar]

  4. merge back manually to VSS [need a good report about the changes, vss check-out, manual merge, compile, commit, update bazaar main branch]
The corresponding doc from the bazaar homepage: http://bazaar-vcs.org/TrackingUpstream