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

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

From: <javier.jarava_at_rsa.com>
Date: Tue, 8 Nov 2011 12:42:00 -0500

Hi al!

I've recently updated to TortoiseSVN-1.7.1.22161-x64-svn-1.7.1.msi and I'm seeing an odd behavior. If I try to do any operation within a WC sub-dir directly from the command line (I installed the tools together with the GUI), I get an error:

                svn: warning: W155007: '.' is not a working copy

And if I open an explorer window directly there, I get a context menu that *does not* include the Commit/Update/etc options that are normal in an WC. See "TSVN-Image1-08-11-2011 18-22-35.png"

BUT if I open an Explorer window in the ROOT of the WC, and then click down to the same directory, then things seem to "wake up" and then the GUI gets the proper element, and the command line works... See "TSVN-Image2-08-11-2011 18-23-02.png"

There is a similar behavior in the command line: initially what I did was:

* Open an Explorer window to the WC sub-dir

* Open a CMD shell there (using StExBar) and do an SVN ST there, which fails

* CD to the WC root (mapped to %svn% in my laptop), and then do an "svn st" on each dir before drilling down to the same folder and it works in all the folders in the middle...

The shortened version of the CMD dialog is:

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\WORKDOCS\DOCS_jaravj\PROJ\SVN_CO_Tort\<FOLDER1>\<FOLDER2>\<FOLDER3>
>svn st
svn: warning: W155007: '.' is not a working copy

C:\WORKDOCS\DOCS_jaravj\PROJ\SVN_CO_Tort\<FOLDER1>\<FOLDER2>\<FOLDER3>
>cd %svn%

C:\WORKDOCS\DOCS_jaravj\PROJ\SVN_CO_Tort
>svn st
<<CORRECT SVN ST output>>

C:\WORKDOCS\DOCS_jaravj\PROJ\SVN_CO_Tort
>cd <FOLDER1>

C:\WORKDOCS\DOCS_jaravj\PROJ\SVN_CO_Tort\<FOLDER1>
>svn st
<<CORRECT SVN ST output>>

C:\WORKDOCS\DOCS_jaravj\PROJ\SVN_CO_Tort\<FOLDER1>
>cd <FOLDER2>

C:\WORKDOCS\DOCS_jaravj\PROJ\SVN_CO_Tort\<FOLDER1>\<FOLDER2>
>svn st
<<CORRECT SVN ST output>>

C:\WORKDOCS\DOCS_jaravj\PROJ\SVN_CO_Tort\\<FOLDER1>\<FOLDER2>
>cd <FOLDER3>

C:\WORKDOCS\DOCS_jaravj\PROJ\SVN_CO_Tort\\<FOLDER1>\<FOLDER2>\<FOLDER3>
>svn st
<<CORRECT SVN ST output>>

Once I've done that, things seem to work fine for that set of directories, but if I open a NEW explorer window to another path in the WC tree, I get the same behavior...

This is extremely uncomfortable, as I have to go up and down in my "WC" tree every time that I need to use SVN - which makes it very inefficient...

Best Regards

                Javier Jarava

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2876336

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

TSVN-Image1-08-11-2011 18-22-35.png
TSVN-Image2-08-11-2011 18-23-02.png
Received on 2011-11-08 18:43:47 CET

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