RE: branch sync with unversioned files results in versioned file being deleted when reintegrated
From: Varnau, Steve (Neoview) <steve.varnau_at_hp.com>
Date: Mon, 1 Aug 2011 16:08:03 +0000
From: C L [mailto:cl_111_at_hotmail.com]
Hey all,
I found this oddity today with a branch which had an unversioned file in a checkout, which I then synced up with a trunk which had a version of the file committed. "svn merge" reported the file skipped and a "svn status" afterwards didn't complain about conflicts. The merge was committed and then reintegrated into trunk, which promptly marked the file as being deleted.
Anyone else encounter this?
Yes, this is a common scenario. It is the easiest way to inadvertently lose content when merging.
I tell our developers to always clean up private files after reverting a merge, but it is an easy thing to miss.
By my understanding, there are some improvements coming in 1.7 which will considerably improve the situation -- better merge reporting and mergeinfo recording will not show a skipped file as merged.
-Steve
|
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.