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

Re: FSFS hotcopy issues

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-09-25 13:10:32 CEST

Greg Hudson <ghudson@MIT.EDU> writes:

> On Sat, 2005-09-24 at 22:33 +0100, Max Bowsher wrote:
>> OOPS! Now there is a lock in the hotcopied repository, for a path which does
>> NOT exist in the hotcopied repository.
>
> Is that a bug? I thought we could lock nonexistent paths.

I remember an earlier discussion

http://svn.haxx.se/dev/archive-2005-03/0329.shtml

which seemed to conclude that locks would only be allowed on only
existing files. Both the fs backends have:

  /* While our locking implementation easily supports the locking of
     nonexistent paths, we deliberately choose not to allow such madness. */
  if (kind == svn_node_none)
    return svn_error_createf (SVN_ERR_FS_NOT_FOUND, NULL,
                              "Path '%s' doesn't exist in HEAD revision",
                              args->path);

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Sep 25 13:11:23 2005

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

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