You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Dipen Lama <la...@gmail.com> on 2014/02/15 17:11:50 UTC

Re: svn 1.8.0 problem "both sides of the move must be committed together"

Commit parent folder inside which you moved files by drag and drop. This 
solve the problem in SVN by performing commit  at both  sides of the move 
the same time, thus solution to the problem. 
For more info 
http://rndp-android.blogspot.com/2014/02/svn-180-problem-both-sides-of-move-must.html


On Tuesday, July 2, 2013 6:56:27 PM UTC+5:45, Gunnar Dalsnes wrote:
>
> Hi, 
>
> When I try to commit I get: 
>
> svn: E200009: Commit failed (details follow): 
> svn: E200009: Cannot commit 'E:\svn\fishtalk trunk\src\VPA 
> Framework\VPAEntities 
> \Wrasse\BLEWrasseContainer.cs' because it was moved to 'E:\svn\fishtalk 
> trunk\sr 
> c\Plugins\Registration\BLEntities\Wrasse\BLEWrasseContainer.cs' which is 
> not par 
> t of the commit; both sides of the move must be committed together 
>
> This is strange, because I correctly moved the files with TSVN 1.8.0 
> using "SVN Move versioned item(s) here". Tried commiting from both TSVN 
> and from command line with svn.exe and same error. 
>
> When I check with svn status I get this: 
> <lots of other unrelated adds, mods and deletes> 
> A       src\Plugins\Registration\IBLPWrasse\Entities 
> A  +    src\Plugins\Registration\IBLPWrasse\Entities\BLEWrasseContainer.cs 
> D       src\VPA Framework\VPAEntities\Wrasse\BLEWrasseContainer.cs 
>          > moved to 
> src\Plugins\Registration\BLEntities\Wrasse\BLEWrasseContainer.cs 
>
> This seems to confirms that I moved the file correctly. 
>
> I tried recreating the problem by creating an empty repo, creating same 
> folder structure and moving, then modifying a file, but then it worked 
> without problem (typical). 
>
> Here are the 4 relevant entries (I think) from NODES in wc.db, if that 
> can help: 
> 15751,"1","src/VPA 
> Framework/VPAEntities/Wrasse/BLEWrasseContainer.cs","0","src/VPA 
> Framework/VPAEntities/Wrasse","1","trunk/src/VPA 
> Framework/VPAEntities/Wrasse/BLEWrasseContainer.cs","24486","normal",,,"file",,"infinity","$sha1$544d1e17178a9ee815a60b74995fc72aa4a5e526",,"533","1214814539781408","username","2362","1372322295733206",,, 
>
> 62069,"1","src/VPA 
> Framework/VPAEntities/Wrasse/BLEWrasseContainer.cs","5","src/VPA 
> Framework/VPAEntities/Wrasse",,,,"base-deleted",,"src/Plugins/Registration/BLEntities/Wrasse/BLEWrasseContainer.cs","file",,,,,,,,,,,, 
>
> 62075,"1","src/Plugins/Registration/IBLPWrasse/Entities","5","src/Plugins/Registration/IBLPWrasse",,,,"normal",,,"dir",,"infinity",,,,"0",,,,,, 
>
> 62080,"1","src/Plugins/Registration/IBLPWrasse/Entities/BLEWrasseContainer.cs","6","src/Plugins/Registration/IBLPWrasse/Entities","1","trunk/src/VPA 
>
> Framework/VPAEntities/Wrasse/BLEWrasseContainer.cs","24410","normal",,,"file",,"infinity","$sha1$544d1e17178a9ee815a60b74995fc72aa4a5e526",,"533","1214814539781408","username","2362","1372331062606714",,, 
>
>
> This repo was converted from SVN 1.7 format (not a fresh checkout), in 
> case this is relevant. This is on WinXP. SVN server is 1.7.3 (r1242825). 
>
> Update: I finally managed to commit by only selecting the deleted source 
> file, added destination file and added destination folder (ignoring all 
> other changed): 
>
> Command: Commit 
> Adding: E:\svn\Copy of fishtalk 
> trunk\src\Plugins\Registration\IBLPWrasse\Entities 
> Adding: E:\svn\Copy of fishtalk 
> trunk\src\Plugins\Registration\IBLPWrasse\Entities\BLEWrasse.cs 
> Deleting: E:\svn\Copy of fishtalk trunk\src\VPA 
> Framework\VPAEntities\Wrasse\BLEWrasse.cs 
> Sending content: E:\svn\Copy of fishtalk 
> trunk\src\Plugins\Registration\IBLPWrasse\Entities\BLEWrasse.cs 
> Completed: At revision: 24489 
>
> Still, very annoying. This can't be right. 
>
> regards, 
> Gunnar Dalsnes 
>