[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How to get all versions of a file? (incl. branches)

From: Karl Krach <mailinglists_at_blueSpirit.la>
Date: Sun, 08 Jan 2012 10:01:38 +0100

On 01/08/2012 09:43 AM, Johan Corveleyn wrote:
> In SVN's current implementation, no record is kept of
> "copyto" information.

Thanks Johan. But since there is only a recommendation to create your
branches at ^/branches you could never list all branches (except with
browsing the full log, which is very expensive - especially for big
projects).

I'm just working on a small app to list the revision graph for a
selected folder. If the selected folder is in the trunk, I have no
(clean) chance to find it's branches.

I can guess, that the branches are located in "echo URL | sed
's/trunk.*/branches/" and check relative path there - but what if the
folder was deleted/renamed in this branch? I have to find the
"copy/branch revision" and receive their log history. Each access of the
SVN repository of googlecode takes about 2-3 seconds, this means that
many requests take some time :/

What happens if some stupid guy names the "trunk" as "main line" or
translates the branch-folder into German: "zweige" :)

Charly
Received on 2012-01-08 10:02:25 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.