On Sun, Jan 8, 2012 at 9:31 AM, Karl Krach <mailinglists_at_bluespirit.la> wrote:
> 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
You'd have to examine / parse the output of 'svn log -r0:HEAD -v
^/branches', to see all the 'Additions' (all lines with an 'A' as
first character).
> 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.
Unfortunately, you can't, except by examining the output of 'svn log
-v' again. In SVN's current implementation, no record is kept of
"copyto" information.
--
Johan
Received on 2012-01-08 09:45:01 CET