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

Re: TortoiseSVN - Issues when working in a sub-dir within a WC - "svn: warning: W155007: '.' is not a working copy"

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 25 Nov 2011 18:51:23 +0100

On 25.11.2011 09:23, javier.jarava_at_rsa.com wrote:
> Hi, Stefan…
>
> UAC is not enabled in the machine – Company policy.
>
> Attached you can find a zip file with the PROCMON .pml trace of the
> activity of the svn.exe command while performing the following actions:
>
> Microsoft Windows [Version 6.1.7600]
>
> Copyright (c) 2009 Microsoft Corporation. All rights reserved.
>
> C:\WORKDOCS\DOCS_jaravj\PROJ\SVN_CO_Tort\es\Gobierno_Canario\SIEM_Pliego
>
>>svn st
>
> svn: warning: W155007: '.' is not a working copy
>
> C:\WORKDOCS\DOCS_jaravj\PROJ\SVN_CO_Tort\es\Gobierno_Canario\SIEM_Pliego
>
>>cd ..
>
> C:\WORKDOCS\DOCS_jaravj\PROJ\SVN_CO_Tort\ES\Gobierno_Canario
>
>>svn st
>
> C:\WORKDOCS\DOCS_jaravj\PROJ\SVN_CO_Tort\ES\Gobierno_Canario
>
>>cd SIEM_Pliego
>
> C:\WORKDOCS\DOCS_jaravj\PROJ\SVN_CO_Tort\ES\Gobierno_Canario\SIEM_Pliego
>
>>svn st
>
> C:\WORKDOCS\DOCS_jaravj\PROJ\SVN_CO_Tort\ES\Gobierno_Canario\SIEM_Pliego
>
>>
>
> To get to that directory, I did WIN+R, opened the folder directly and
> from there I did ctrl-M to get a command prompt (thanks to your
> incredibly useful StEx).
>
> As you can see in the attached screenshot, the folder is **not** showing
> the proper TSVN shell commands. I have to “click” to the root SVN CO
> folder (C:\WORKDOCS\DOCS_jaravj\PROJ\SVN_CO_Tort) to get the proper
> behavior… Sometimes though it’s enough to get “up” one or two levels to
> get the proper behavior working…

Thanks for the Procmon log.
I spent the last two hours going over it with a microscope, but came up
empty. I also stepped through the whole code to find out where it might
fail:

* in case your harddrive is often going to sleep and you don't have the
latest drivers installed, the call to GetDriveType() (in the apr
library) can return DRIVE_UNKNOWN and that would make the status call fail.
* if your working copy is on a mount point/symlink, then svn can fail to
detect that root properly. There was a commit in Subversion which should
have fixed this (r1158187, r1158196, r1158201, r1158207). But maybe that
didn't fix things completely?

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2887182
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-11-25 18:51:34 CET

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.