How to access file history ?
I'd like to get a history of revisions affecting a particular file along with the name the file had in each revision. "bzr log <file>" gives you the list if the file exists at the start or end, but not if it had another name or had a short lifetime. I could grovel through the"-v" output to track the name changes, but I'd really like to provide a revno and a name.
I'm prepared to use the bzrlib API, but I'm not sure where. I'd like to get the fileid for a filename as of a particular revision, then get a list of revisions touching that fileid. How do I get from revno and name to fileid?
For context, this is for use in a versioned FUSE file system for a history view, where each file appears as a directory of numbered versions. See <http://
So, for example, I have a file which appears in rev 7 as test.c, and changes to splaytest.c in rev 10. I'd like to be able to specify it as -r8 test.c and find out the rest.
Thanks for any advice.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Bazaar Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- John A Meinel
- Solved:
- Last query:
- Last reply: