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

Re: Annoying behavior with open binary files & update

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2007-03-30 00:46:00 CEST

Adam Patacchiola wrote:
> We use visio to design our DB, which results in a binary file that we check in.
> Most of the time I have visio open so I can reference the database when I'm
> writing code. Sometimes when I do an update I forget to close visio and this
> file has been changed by another developer. TSVN does not handle this case well
> at all and pukes. Then I close visio and try to do the update again and get an
> error telling me I need to do a cleanup, which rarely works. I usually have to
> checkout the entire repository again, which is super annoying if I have made a
> bunch of changes, and especially if changes have been made by others in the
> files I was working on, meaning I have to merge the files manually. There must
> be a better way to handle this...such as checking if the file can be moved
> before actually moving it perhaps?

This is a subversion issue, not TSVN, so you should ask on the
subversion users mailing list.

Subversion cannot merge changes in binary files, unless Visio itself can
do it and you specify it as a merge program in TSVN's settings. Normally
you would set the svn:needs-lock property on binary files, which makes
them read-only in your working copy, unless you take out a lock on the file.

If visio is holding the file open, there is not much that can be done to
update your working copy, although Subversion could probably fail more
gracefully when this happens. I believe there is a subversion issue open
for this, and possibly a fix on trunk.

Simon

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Mar 30 00:46:05 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.