bazaar

How can I get a commit message from a bzr post-commit hook?

I'm trying to write a bzr post-commit hook for my private bugtracker, but I'm stuck at the function signature of post_commit(local, master, old_revno, old_revid, new_revno, mew_revid). How can I extract the commit message for the branch from this with bzrlib in Python? ...

How do DVCSs (DRCSs) work?

I have been hearing a lot of good things about DVCS systems, in particular about bazaar. Apart from the concept of distributed repository, I see two main advantages being touted: the merge is better automated, and the rename is handled right. Could someone please point me at some text explaining how exactly the improvements work? How do...

Copying a directory that is version controlled

I am curious whether it is OK to copy a directory that is under version control and start working on both copies. I know it can be different from one VCS to another, but I intentionally don't specify any VCS since I am curious about different cases. I was talking to a coworker recently about doing it in SVN. I think it should be OK, bu...

How do I export the Bazaar history of a subfolder

I'm coding a framework along with a project which uses this framework. The project is a Bazaar repository, with the framework in a subfolder below the project. I want to give the framework a Bazaar repository of its own. How do I do it? ...

What are the relative strengths and weaknesses of Git, Mercurial, and Bazaar?

What do folks here see as the relative strengths and weaknesses of Git, Mercurial, and Bazaar? In considering each of them with one another and against version control systems like SVN and Perforce, what issues should be considered? In planning a migration from SVN to one of these distributed version control systems, what factors would...

How do I disable Tortoise BZR?

I'm a huge fan of bzr and I'm glad they're working on tortoise for it, but currently it's WAY too slow to be useful. The icons are almost always incorrect and when I load a directory in explorer with a lot of branches it locks up my entire system for anywhere from 10 seconds to 2 minutes. I look forward to trying it again in the future...

Should I look at version control systems beyond Subversion?

Within the last year I have become addicted to subversion. I am an only developer and I also work on a few of my own projects. With SVN its really easy to manage everything - and because it is hosted on an online server though HTTPS I can access my code from anywhere. It is also great for deploying code to our production/development serv...

Bazaar (bzr) integration with Visual Studio

What's the best way to use Bazaar (bzr) as the version control system in Visual Studio 2008? ...

Bazaar and $Id$

Most my sources are in subversion and I use '$Id$' to add revision information to those sources. Then I can easily check what sources were used (e.g.. --version option shows that info). Now I'm going to use bazaar and I can't find such a functionality. Is there any equivalent of svn '$Id$' in bazaar? ...

Development of a library in distributed version control system (bazaar)

I am relatively new to bazaar (primarily used cvs, then subversion, and at my current job we're using SourceUnsafe). My current development environment is structured like this: \dev (shared repository) \trunk \project1 (branch) \project2 (branch) \branches \proj1-bugfix123 (branch of \trunk...

Does git have an equivalent for the bazaar automv plugin?

The only distributed revision control system I've used on my projects is bazaar. I don't know much about git and mercurial except how to do checkouts. The reason I like bazaar is the automv plugin. It detects when I've moved/deleted files manualy (from command line/ide etc.) which I tend to do alot when I'm in a hurry. But bazaar is real...

examining history of deleted file

If I delete a file in Subversion, how can I look at it's history and contents? If I try to do svn cat or svn log on a nonexistent file, it complains that the file doesn't exist. Also, if I wanted to resurrect the file, should I just svn add it back? (I asked specifically about Subversion, but I'd also like to hear about how Bazaar, Mer...

Bazaar: moving from single-developer to an accessible repository

I've started using bazaar DVCS for a project in a single-user mode, as described in their tutorial. I would like to involve another developer in this project, but the multi-user, "brancheable" repository seems to have different structure from my little ad-hoc directory. I can't find the documentation on how to go from one to the other. C...

bzr remove to delete a file with branch having uncommited changes

I have to delete a versioned file my bzr repository using bzr remove command. bzr remove file_name it deletes the versioned file (from the file system) I cannot use bzr commit , (as the file has been deleted from the repository) bzr commit Commits all the changed file to the reposit...

Bazaar bound branch commit-and-update

I use bzr for websites. I have all my current ones set up so the master branch is kept on the server by having them bound. This means when I commit locally, the changes are automatically pushed out. All good so far. But I still have to call an update on the remote server. While I can see this being great for some people, I'm finding it ...

Do you have a clever hack to work around svn:externals not being supported in bzr-svn

I'm using bzr to access a Subversion repository. Which is great, but the repository uses quite a few svn:externals properties to bring in code from related projects. Bzr-svn doesn't support svn:externals yet. Is there a good way to work around this limitation? ...

Is it worth the effort to create pretty revision history in a DVCS?

I used to go back and edit my Mercurial commits to try to create a pretty history. I might have put two unrelated things into one commit, or I might have made several commits that were better understood as a single commit, but eventually it seemed like a waste of time and I got over the minor embarrassment of having less than perfect his...

Using WinMerge with Bazaar

I searched a lot, found that some people claimed they did that, but I can't make it to work. How to you use WinMerge, my favorite diff tool on Windows, with Bazaar? I know difftools plugin (shipped with Bazaar) handles this but the controller.py file doesn't list it, and I fail to see where to specify a path. Looks like it searches in ...

bazaar + cruise control

The team i work with is using Bazaar as its VCS, i would like to introduce CruiseControl (CC) with PHPUnderControl (PUC) into the mix, but cannot seem to find any documentation or plugin for bazaar and CC. There is a plugin for cc.net, but it has to run on linux yes i know mono but it seems PUC requires CC not cc.net. is there any way fo...

What are your coolest/most unusual hacks using a distributed version control system?

I have been working with git for a few months and I find that most of the things that have transformed my everyday work for the better can be attributed to the flexibility and lack of enforced default policy in a distributed VCS. Quite a few people seem to have felt the same way and have built upon this kind of flexibility I have read...