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

Re: Problem committing .doc files

From: Mark Reibert <svn_at_reibert.com>
Date: 2007-08-29 08:25:43 CEST

On Thu, 2007-08-30 at 00:25 -0400, Glen Barber wrote:
> When I edit a .doc file using MS Word 2003, on occasion I get the error
> stating my "working copy may be out-of-date." This message repeats even
> after I 'svn up' and try to re-commit. The only 2 solutions I have
> found are:

If you have edited the (non-text-mergeable, aka binary) file then 'svn
up' will simply leave you with a merge conflict that must be manually
resolved. After doing so you should be able to commit. See:

http://svnbook.red-bean.com/en/1.4/svn.branchmerge.copychanges.html#svn.branchmerge.copychanges.bestprac.merge

Note this has nothing to do with a .doc file, per se, but rather it is a
situation that will result from simultaneous edits on a file that cannot
be textually merged. Your best bet is to avoid this situation via locks
and the svn:needs-lock property. See:

http://svnbook.red-bean.com/en/1.4/svn.advanced.locking.html#svn.advanced.locking.lock-communication

-- 
----------------------
Mark S. Reibert, Ph.D.
svn@reibert.com
----------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 29 08:23:08 2007

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.