bzr command to find path to file at given revision?

James Henstridge james at jamesh.id.au
Fri Jul 10 06:17:36 UTC 2020


On Fri, 10 Jul 2020 at 08:43, Chris Hecker <checker at d6.com> wrote:
> Hi, I have a file, say b/foo.c that used to be at a/bar.c...there there an easy way given b/foo.c and a revno to find out the path to the file at that revno?  In other words, if the rename/move happened at r5, and I want to look at r3 of b/foo.c, how do I find out that's actually r3 of a/bar.c?
>

Maybe not the quickest, but you can get a listing of all files and
their IDs with:

    bzr ls -R --show-ids

This command takes the "-r" argument to inspect other revisions, so
you use this to go current filename -> file ID -> old filename.

James.



More information about the bazaar mailing list