[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Update fails to delete a line of code

From: Andy Levy <andy.levy_at_gmail.com>
Date: Wed, 4 Apr 2012 14:50:07 -0400

On Wed, Apr 4, 2012 at 14:38, Reed, David <DReed_at_cmal.com> wrote:
> I am not subscribed, so please be so kind as to CC me in your response.
> Thanks.
>
>
>
> Using relatively current versions of SubversionEdge and TortoiseSVN, I
> "committed" a file (from which I had deleted a line of code in my local
> workspace).
>
>
>
> Then I logged onto my app server and used TortoiseSVN and "updated" the same
> file.
>
>
>
> I was surprised to see that, instead of replacing the file on the app server
> with the latest revision, a merge was performed automatically.  Without
> asking me, the file on the app server was merged with the version I had
> committed to the repository, and this merge resulted in *no change* to the
> copy on the app server -- since the merge kept in place the line of code I
> was trying to delete.
>
>
>
> Obviously, this was not the desired result.  What should I do differently,
> so that committing a file with a line deleted, and then updating the same
> file on a second machine, will result in the file on the second machine
> reflecting the deletion?

Did the file on your app server have any uncommitted changes in it?
Received on 2012-04-04 20:51:19 CEST

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.