'bzr cat' on a remote branch....

John Szakmeister john at szakmeister.net
Fri Jul 2 21:37:07 BST 2010


I've been working on a plugin for QuickBuild (http://www.pmease.com/),
and ran into a few interesting problems.  One of the biggest was being
able to obtain the text of a remote file, so that QuickBuild could
provide information about the change sets that went into the build.
With the new Bazaar 2.2, I was able to use 'bzr cat -d url://to/branch
path/to/file' to capture that information.  Is there any way of doing
this without branching locally in bzr < 2.2?

Also, it would have also been useful to have a '-o' option on 'bzr
cat' to cat it to a file (since I could use shell redirection in this
case).  I worked around that issue, since it wasn't too hard, but I
could certainly see it being useful for others trying to do similar
things.

Thanks in advance!

-John



More information about the bazaar mailing list