Re: trying to get new version of files from svn archive
From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Mon, 25 Apr 2011 09:43:03 -0500
On Apr 25, 2011, at 09:34, dov.kruger_at_americas.bnpparibas.com wrote:
> Excuse my ignorance, I'm used to cvs.
I have never used cvs, so my advice may not exactly correspond.
> I edited some files at the same time as a colleague, but when we realized, he went forward, so my copies were obsolete.
Not necessarily. You might have made changes to different parts of the file, which subversion would have resolved for you, in a probably proper manner.
> Some time later, I tried to update, to get the new files, and to get his updated version.
Ok, a conflict occurred, so you and he did modify similar-enough parts of the file that subversion could not automatically merge them. You would now usually resolve the conflict manually.
You usually do this by opening the file in an editor and picking the correct lines from amongst those subversion has indicated in the file for you. You can also make use of the three additional files subversion has created (one containing the old file, one containing the new upstream file, and one containing your version) to assist you in deciding what's right.
> Since I wanted the new ones, I first looked for the equivalent of
Ok, now you don't have the file at all.
> svn up
This should indeed have brought back the current version of the file. Are you sure it did not?
This is an archived mail posted to the Subversion Users mailing list.