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

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

From: Karl Krach <mailinglists_at_blueSpirit.la>
Date: Sun, 08 Jan 2012 09:31:55 +0100

Hello,

I ve created a feature branch with "svn copy" and committed some
content. Afterwards I "merge --reintegrated" this feature branch to the
trunk and deleted it.

In the future, when I do a "svn list ^/branches" this branch is one - of
course, since it's deleted.

1) How can I list all files, which ever were created in a folder?
   $ svn list -r0:HEAD ^/branches
   svn: Revision range is not allowed

2a) If I examine one file in the trunk - how can I get the complete
history (incl. all branches, also the deleted ones)?

2b) Is there a way to figure out the link from TRUNK to BRANCH? When I
create a branch (with svn copy) there is a link from the copy (branch)
to the source (target) by copyfrom_path and copyfrom_rev. But if I
examine the trunk, there is only a link when the branch is merged back
once - if there was no merge, there is no reference to the branch.

The solution does not need a command line, it can also be done in code
(http://subversion.apache.org/docs/api/1.6/group__Log.html#ga6907dbe5f0117b0beee65c41fa6d0837).

Thanks, Charly
Received on 2012-01-08 09:32:51 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.