Fixed path SVN journal of copies and movements

I am trying to get log history (recursively, if possible) of a fixed path in SVN across all copies / hosts / etc. In fact, I try to avoid peg revisions and use the log for the path, not for the objects. The svn manual poses this question: "Are you asking about operations that happened with all the objects that ever lived on this path?" - but this does not look like an option for this use case. He suggests that this is not what you want, but it is exactly what I want.

Is there a way to do this without causing repeated requests in order to cross the gaps between different copies living on a fixed path in the SVN change history?

+3
source share
4 answers

After consulting with SVN developers, the answer to this question is that this is not possible with a single svn command. There is a very old mistake to implement this behavior, but it did not get a clutch:

http://subversion.tigris.org/issues/show_bug.cgi?id=928

I hope this will be possible in a future version.

+1
source

I don't know anything in SVN. The whole story seems to be from the point of view of the object, not from the point of view of the repository. Even doing this by stitching multiple queries will be a problem, because you need to find out when the object is moving, and you have to make a new request.

, , , . .

+2

. , .

0

ViewVC "commit database". SQL. SQL , .

The initial extraction of metadata takes a lot of time - about 12 hours for a 10 GB repository, but only once. You can then configure the hook after committing to update metadata on each commit, which is very fast. A medium sized metadata database is around 200 MB for a 10 GB repository.

A metadata request is fast.

0
source

Source: https://habr.com/ru/post/1773985/


All Articles