Handling foreign metadata for bzr revisions

John Barstow jbowtie at amathaine.com
Wed Aug 18 05:57:19 BST 2010


Looking through LogFormatter._foreign_info_properties, I seem to have an issue.

If a revision originates in a foreign repository, we use
mapping.vcs.show_foreign_revid and I understand what's going on here.

If, however, a revision originates in bzr and is pushed to a foreign
repository, then when fetching the revision from the foreign
repository we get a bzr-native revision id, so LogFormatter never
picks up the foreign properties.

This is important to me (particularly now, with edge cases to
test/debug) because that means I lose the foreign changeset
information that shows up for all other revisions pulled from that
repository (which makes it harder to compare what pull produced to
what is actually in the repository).

So I guess the question is: if I author a revision in Bazaar and
commit it to the foreign repository, is there anyway of associating
the foreign repository properties (such as the changeset number) with
the bzr-authored revision? Has the Subversion plugin solved this? Is
this an issue in practice?



More information about the bazaar mailing list