getting size of a file for a specific revision

Ian Clatworthy ian.clatworthy at internode.on.net
Wed Apr 30 13:52:45 BST 2008


Andreas Deininger wrote:
> Hi,
> is there a way to use the bzr command in order to get the size of a
> file for a specific revision?
> I have in mind a command like
> $ bzr ls --verbose /my/path/to/file -r 10  (or so).
> Any other way to achieve that?

On Linux or OS X, try this:

  bzr cat /my/path/to/file -r 10 | wc

If you just what the number of lines, add a -l option to wc.

Ian C.



More information about the bazaar mailing list