On 3/28/07, Prasanna Pendse <prasanna.pendse@gmail.com> wrote:
>
> I'm working at a large Fortune 100 company on a project converting from
> ClearCase to Subversion. We've got a problem and need you guys' help.
>
> - One team is working on trunk (say TeamOne).
> - Another team is working on a branch (say TeamTwo).
> - TeamTwo is re-organizing the directory structure of the same code base.
> Files being moved from one dir to another to facilitate clean atomic builds.
> - TeamOne is continuing feature development without making any dir
> structure changes.
> - We need to merge from the branch to trunk.
> - We want the contents on trunk to appear in the directory structure that
> came from the branch.
>
> We can't do this right now. It overwrites the changes made on trunk. If
> you try to merge from trunk to branch, it says the file doesn't exist
> (because it does an 'Add/Delete' and its not the same object any more).
>
> We can boil this issue down into a simple scenario:
>
> - Developer A is working on FileX.java on trunk.
> - Developer B is also working on FileX.java on trunk.
> - Developer A renames FileX.java and commits the change.
> - Developer B is stuck and cannot merge.
>
> Does anyone have a solution to this issue?
There really is not a solution for this in Subversion. Improving this is on
the Subversion roadmap, but the way it works today is as you have described.
I have a blog post with a little more information and links to relevant
issues:
http://markphip.blogspot.com/2006/12/subversion-moverename-feature.html
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on Wed Mar 28 15:48:04 2007