conversion of baz branches where the parent archive is unreachible

Aaron Bentley aaron.bentley at utoronto.ca
Wed Sep 7 18:30:40 BST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Collins wrote:
> Martin, Aaron - 
> 	one of the open questions in importing from baz is what to do when we
> cannot recurse to the start of history.
> 
> I think the right thing to do is to list a parent revision in the first
> revision we do import that has the right baz ancestor (baz can tell us
> this), and that it should be in the revision-history file.
> 
> Aaron says this violates an invariant that branches must have every rev
> in revision-history locally. What do you think about relaxing that?

I don't think this is especially useful, and I think it complicates the
model.  That complicates the coding.

The model I see is: revision-history is the story of what has happened
in this branch, and that story is fleshed out by the data in the stores.
 It is true that revision FOO had an ancestor named BAR, but that's not
part of the story of *this* branch.  The story of this branch begins
with revision FOO.

I don't think it makes sense for 'bzr diff -r 1..50' to fail, especially
when 'bzr diff -r 0..50' succeeds.  Not to mention other commands, like
log, that require the presence of the referenced revisions.  I think
that produces a situation that is complicated to explain to users.  And
I think they'll say "well, I didn't *want*
me at example.com/cat--br--ver--patch-n!  I told baz-import to skip it.
What's it doing in my revision history?  Can I please take it out?"

I would suggest that revisions past the history horizon should be listed
in a secondary file, such as 'inactive-revision-history', for situations
in which it is useful.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDHyPA0F+nu1YWqI0RAjFcAKCCZCwTNcotb1A4ODQgCplyhbyBTQCeMGBT
/S9349mzXm947SXccBRmghQ=
=aBy8
-----END PGP SIGNATURE-----




More information about the bazaar mailing list