Logging all revisions in a repository.
bialix at ukr.net
Tue Mar 13 09:05:24 UTC 2012
Dan MacMillan пишет:
> I use shared repositories and I would like to get an XML log including
> all revisions in the repository. The order of the revisions doesn’t
> matter to me as I will be processing the output anyway. I could log
> each branch sharing the repository and eliminate duplicates myself but
> it will be slow. I’m just wondering if there’s a way to get this
> information directly from Bazaar.
Yes, you can do this. Look at the code in heads.py module of bzrtools
plugin. It finds all revisions in the repository and is able to find out
which are dead (without corresponding branches) and which are still
present in the branch history. You can adapt that code to your needs.
More information about the bazaar