[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: Reed, David <DReed_at_CMAL.com>
Date: Wed, 4 Apr 2012 18:53:05 +0000

No, it was identical to the local file, except for the deleted line of code.

-----Original Message-----
From: Andy Levy [mailto:andy.levy_at_gmail.com]
Sent: Wednesday, April 04, 2012 2:50 PM
To: Reed, David
Cc: users_at_subversion.apache.org
Subject: Re: Update fails to delete a line of code

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?
Confidentiality Note: This e-mail, and any attachment to it, contains privileged and confidential information intended only for the use of the individual(s) or entity named on the e-mail. If the reader of this e-mail is not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that reading it is strictly prohibited. If you have received this e-mail in error, please immediately return it to the sender and delete it from your system. Thank you.
Received on 2012-04-04 20:53:39 CEST

This is an archived mail posted to the Subversion Users mailing list.