On 07/23/2010 03:43 PM, Bob Archer wrote:
> Are there any plans to have some way to indicate a "project root" in svn
> 1.7? Or, will it work the same way... we will know the working copy root but
> not necessarily the project/repository root. Having this might help with
> sub-tree merges as well as the relocate issue being talked about above.
I don't follow how the knowledge of the project root really matters in the
scope of this discussion. This type of relocate operation is done not when
you want to switch a working copy directory so that it reflects some other
repository tree, but when you want to do a working copy metadata rewrite to
account for a total change in the repository root URL for the project.
# I'd like to work on the 'some-branch' branch now.
svn switch wc ^/branches/some-branch
# IT has switched from svnserve- to Apache-based SVN hosting.
svn switch --relocate svn://server/svn/repo http://server/svn/repo wc
However, we've discussed numerous times the value of having some indication
of the root of the project branch -- useful for preventing subtree merges,
useful for possibly storing branch management policies, etc. No, that's not
planned for 1.7. But I think it's definitely something we should explore
for future releases.
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet <> www.collab.net <> Distributed Development On Demand
Received on 2010-07-24 02:24:38 CEST