Provide a way to access the last modified revision from the Tree API
Bug #585962 reported by
Jelmer Vernooij
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
affects bzr
The most common reason that existing code looks directly at inventory
objects is that it has to find out the last modified revision, something
that is not possible using the Tree API.
It would be nice if we could have such a call and make .inventory
optional, that would make it possible for bzr-{svn,git,hg} to avoid a
lot of code trying to come up with inventory entry objects on the fly.
tags: | added: check-for-breezy |
To post a comment you must log in.
I agree that this is the most common. I doubt that bzr-svn et al could get rid of .inventory entirely, but certainly it could be rare for them to need to populate it.
I think there is an ugly hack in doing: iter_entries_ by_dir( file_id) .next() [1].revision
tree.
But I'm not positive about that.