You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Daniel Patterson <da...@danpat.net> on 2005/03/23 00:22:09 UTC

Web Folders, renaming resources and SVNAutoversioning errors

Hello,

  When renaming a resource with SVNAutoversioning turned on, using Win32
  Web Folders (on Win2k, WINNT 4.0 and WinXP), the user is presented
  with an error dialog that reads something like:

    "Unable to rename X."

  However, the resource is succesfully renamed, and a refresh of the
  Web Folders view shows the renamed resource.

  Looking at the Apache logs, I can see:

10.21.41.249 - n147897 [23/Mar/2005:11:15:36 +1100] "PROPFIND /repos/test
HTTP/1.1" 207 4191
10.21.41.249 - n147897 [23/Mar/2005:11:15:36 +1100] "PROPFIND
/repos/test/trunk HTTP/1.1" 207 5869
10.21.41.249 - n147897 [23/Mar/2005:11:15:37 +1100] "PROPFIND
/repos/test/trunk/renamed HTTP/1.1" 207 931
10.21.41.249 - 147897 [23/Mar/2005:11:15:45 +1100] "PROPFIND
/repos/test/trunk HTTP/1.1" 207 1290
10.21.41.249 - n147897 [23/Mar/2005:11:15:46 +1100] "MOVE
/repos/test/trunk/renamed HTTP/1.1" 409 291
10.21.41.249 - n147897 [23/Mar/2005:11:17:07 +1100] "PROPFIND
/repos/test/trunk HTTP/1.1" 207 5870
10.21.41.249 - n147897 [23/Mar/2005:11:17:08 +1100] "PROPFIND
/repos/test/trunk HTTP/1.1" 207 5870
10.21.41.249 - n147897 [23/Mar/2005:11:17:08 +1100] "PROPFIND /repos/test
HTTP/1.1" 207 4191
10.21.41.249 - n147897 [23/Mar/2005:11:17:08 +1100] "PROPFIND
/repos/test/trunk HTTP/1.1" 207 5870

  To generate this sequence of requests, I browsed to "/repos/test/trunk"
  renamed "renamed" to "renamed2" and the error dialog was displayed.
  Then I closed it and refreshed /repos/test/trunk.

  The question is, is the response that Subversion is returning not what
  the Web Folders client is expecting (409 Conflict)?  The rename seems to
  be working, using an Subversion client to browse the repository
  history shows everything as expected.

daniel


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Web Folders, renaming resources and SVNAutoversioning errors

Posted by Daniel Patterson <da...@danpat.net>.
Ben Collins-Sussman wrote:
> Daniel Patterson wrote:
> 
>> Hello,
>>
>>   When renaming a resource with SVNAutoversioning turned on, using Win32
>>   Web Folders (on Win2k, WINNT 4.0 and WinXP), the user is presented
>>   with an error dialog that reads something like:
> 
> 
> What version of svn?  1.1.3?  Or are you testing the new trunk, now that 
> it supports http LOCK requests?

   This is 1.1.3.  As far as I can see, there are no lock requests issued
   by the client (unless it uses OPTIONS to discover if locking is
   supported?  Is that what OPTIONS is for?)

   I should also add that the namespace is protected with Basic
   authentication (this seems to affect how the various Windows
   clients behave, so it might be relevant).

   I'll setup plain mod_dav and see what the Web Folders client does.

daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Web Folders, renaming resources and SVNAutoversioning errors

Posted by Ben Collins-Sussman <su...@collab.net>.
Daniel Patterson wrote:
> Hello,
> 
>   When renaming a resource with SVNAutoversioning turned on, using Win32
>   Web Folders (on Win2k, WINNT 4.0 and WinXP), the user is presented
>   with an error dialog that reads something like:

What version of svn?  1.1.3?  Or are you testing the new trunk, now that 
it supports http LOCK requests?


> 10.21.41.249 - n147897 [23/Mar/2005:11:15:46 +1100] "MOVE
> /repos/test/trunk/renamed HTTP/1.1" 409 291
> 10.21.41.249 - n147897 [23/Mar/2005:11:17:07 +1100] "PROPFIND
> /repos/test/trunk HTTP/1.1" 207 5870
> 10.21.41.249 - n147897 [23/Mar/2005:11:17:08 +1100] "PROPFIND
> /repos/test/trunk HTTP/1.1" 207 5870
> 10.21.41.249 - n147897 [23/Mar/2005:11:17:08 +1100] "PROPFIND /repos/test
> HTTP/1.1" 207 4191
> 10.21.41.249 - n147897 [23/Mar/2005:11:17:08 +1100] "PROPFIND
> /repos/test/trunk HTTP/1.1" 207 5870
> 
>   To generate this sequence of requests, I browsed to "/repos/test/trunk"
>   renamed "renamed" to "renamed2" and the error dialog was displayed.
>   Then I closed it and refreshed /repos/test/trunk.
> 
>   The question is, is the response that Subversion is returning not what
>   the Web Folders client is expecting (409 Conflict)?  The rename seems to
>   be working, using an Subversion client to browse the repository
>   history shows everything as expected.

If this is happening with today's trunk code, this looks like an 
interesting recipe to try.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org