Re: Moves in FSFS
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Tue, 17 Sep 2013 12:43:21 +0100 (BST)
Branko Čibej wrote:
You can tell in other ways. (1) you can find it in the "changes" list for the revision. (2) if you have an index of (revision, node-line-id) to path, you can look up the node-line-id in that.
But I suppose you're well aware of that, and so presumably you mean something more specific: that from a history walk (as in "log") of the particular (node-id, copy-id) across a revision range, you want to discover a point where it says "I was moved", like we discover an entry that says "I was copied", and you want to get that info efficiently, so you want to have the relevant revision number encoded into the id. I agree users would expect to see an entry for the node in "svn log"; I don't know for sure that it needs a new node-revision-id in order to accomplish this efficiently. I agree it's a possible and reasonable solution.
> Note that in the current FS implementation, there is not "node" object
I assume you mean "the same" only in terms of new id assignment, not (for example) that it would necessarily create a new representation of the data content. I'd be interested to see what part of the DAG model relies on that.
- Julian
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.