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

RE: Need to run an SVN Update which preserves local changes

From: Bob Archer <bob.archer_at_amsi.com>
Date: Wed, 29 Jul 2009 09:39:56 -0400

> It just occurred to me that I might preserve locally changed files by
> having a script identify and backup locally changed files and restore
> them after the SVN update, is there an SVN command to output if a file
> has local changes?

You know what you are asking for is going to cause data loss.

Let's say I modify a file and commit that change. Then my co-worker has modified the same file... he copies it off to another folder, does an update then copies his file back. Well, sure, his file hasn't been touched, but when he commits his changes mine will be lost. (Well not lost because they are in the earlier revision, but they will no longer be in the HEAD revision.)

BOb

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2376602

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-29 15:40:49 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.