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

Re: Merging read-only files

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-05-06 15:15:30 CEST

Nicklas Norling wrote:

> Hi.
>
> I searched the issue tracker and also the maillist but did not find anything
> relating to my problem:
>
> I'm using update on a working copy that has a file with pending
> modifications
> and where the read-only attribute has been set on the file. Win32
> client, unix server.
>
> This results in an error that the file_name.tmp can not be moved to
> file_name
> with the error 'access denied'. It takes quite a few seconds for it to
> figure out
> that the file is read-only.
> Also it stops the update and leaves 'lock' files in the .svn directories.
>
> A subsequent clean up will create a filename.2.tmp and then gives me the
> same error.
>
> Is this a bug? Is it known before?

It's not a bug, it's more like "don't do that." :-)

If 'svn update' needs to change a working file, but the file is set to
read-only, what do you expect? Of course the update will be
interrupted. The update is obstructed. Fix the working-file's
permission, run 'svn cleanup' so the working copy can finish processing
the interrupted work, then 'svn update' again to finish the update.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 6 15:15:59 2004

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.