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.





0 comments: