[RFC] Tracking file copies

Jelmer Vernooij jelmer at samba.org
Mon Jun 19 18:13:55 BST 2006


On Mon, 2006-06-19 at 18:43 +0200, Johan Rydberg wrote:
> John Arbash Meinel <john at arbash-meinel.com> writes:
> 
> >> I am mainly interested in this information as metadata - so it can be
> >> imported from and exported to other version control systems. It might
> >> also help in terms of storage for some storage backends (in the case of
> >> weaves, keep both files in one weave?).
> >
> > [...]
> > Are you wanting to create a new separate file
> > (.bzr/repository/file-id-copies.knit), or just as a revision property,
> > or just as a record in the knit index, or ...
> Having a separate versioned file for it would probably be the
> simplest, storage wise.  But we would have to extend our interfaces to
> support it, which I feel could become quite ugly.
Would putting it into the InventoryEntry help? That's the place that
makes the most sense to me and it won't complicate the interface. Some
formats could simply not support tracking file copies.

> We could have had versioned file ids; where a file is identified by a
> <file-id, version> tuple.  If you copy the file, the version is
> increased.  But that would make merge hard as well (merge two
> revisions that both have copied the same file, but for different
> reasons).  And it would require extensive surgery to our code.
I wouldn't dare suggest that. (-:

Cheers,

Jelmer
-- 
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060619/d78d3b86/attachment.pgp 


More information about the bazaar mailing list