[MERGE][0.8] fix fetch to raise RevisionNotPresent if a file version is not present.

Martin Pool mbp at sourcefrog.net
Thu May 4 07:58:27 BST 2006


On  4 May 2006, Robert Collins <robertc at robertcollins.net> wrote:
> On Wed, 2006-05-03 at 23:14 +1000, Martin Pool wrote:
> 
> > Is it the revision_ids that altered it, or is it the new versions  
> > that were introduced?  (They can differ when e.g. a merge brings in a  
> > newly added file.)
> 
> They cant differ :). There only two cases for a file id in an inventory:
> either the revision field is carried over from a separate revision, in
> which case that revision is brought in by the fetch as well. Or its
> altered in this inventory and thus it has the value of this revision. 

OK, I wasn't sure if it would cover it, but you're right.

> I am, and certainly its no worse than the code today, so I'm merging it.
> But we can revisit later if desired.

Fine with me.

-- 
Martin




More information about the bazaar mailing list