Merging add of directory within deleted directory fails
From: <ben_at_jsupport.com.au>
Date: 2006-01-20 00:48:14 CET
Hi,
I haven't been able to pin this down as an already identified bug or not,
Regards,
SUMMARY
Merging fails if a) a directory in the source has been deleted in the
I've tried this with subversion 1.2.3 and subversion 1.3.0 (client-side)
TEST CASE
The repository has the following initial structure of two branch
b1
The process is:
A: Baseline and Branch the Code
1) add and commit a directory ("deltest") and file ("a.txt") in b1
B: Change in branch 2 to delete the directory
1) delete (with commit) the directory in b2
C: Changes in branch 1, testing merge of updates into branch 2
1) modify the file in b1
3) add a new file ("new.txt") in b1
5) add a new direcdtory ("newdir") in b1
TEST CASE RUN
C:\svntest>cd b1
C:\svntest\b1>svn commit -m "original deltest in b1"
C:\svntest\b1>svn copy deltest ..\b2
C:\svntest\b1>cd ..\b2
C:\svntest\b2>svn status
C:\svntest\b2>svn commit -m "commit copy of deltest in b2"
Committed revision 9148.
C:\svntest\b2>svn delete deltest
C:\svntest\b2>svn commit -m "deleted deltest in b2"
Committed revision 9149.
C:\svntest\b2>cd ..\b1
C:\svntest\b1>echo "newtext" > deltest\a.txt
C:\svntest\b1>svn commit -m "changed a.txt in b1"
C:\svntest\b1>cd ..\b2
C:\svntest\b2>svn merge http://server:8001/svn/myRepo/b1@9147
C:\svntest\b2>cd ..\b1
C:\svntest\b1>echo anotherFile > deltest\new.txt
C:\svntest\b1>svn add deltest\new.txt
C:\svntest\b1>svn commit -m "adding new file under deltest"
C:\svntest\b1>cd ..\b2
C:\svntest\b2>svn merge http://server:8001/svn/myRepo/b1@9147
C:\svntest\b2>cd ..\b1
C:\svntest\b1>mkdir deltest\newdir
C:\svntest\b1>svn add deltest\newdir
C:\svntest\b1>svn commit -m "newdir"
Committed revision 9154.
C:\svntest\b1>cd ..\b2
C:\svntest\b2>svn merge http://server:8001/svn/myRepo/b1@9147
---------------------------------------------------------------------
|
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.