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

SV: WG: Re: [bug] subwcrev

From: Jan Linnenkohl <Jan.Linnenkohl_at_gmx.de>
Date: 2006-06-14 10:31:15 CEST

Here a little patch, to get a nicer error message.

Jan

Index: SubWCRev.cpp
===================================================================
--- SubWCRev.cpp (revision 6786)
+++ SubWCRev.cpp (working copy)
@@ -386,6 +386,12 @@
         if (!PathFileExists(wc))
         {
                 _tprintf(_T("Directory or file '%s' does not exist\n"), wc);
+ if (_tcschr(wc, '\"') != NULL) // dir contains a quoation mark
+ {
+ _tprintf(_T("The WorkingCopyPath may be entered with an ending backslash and inside\n"));
+ _tprintf(_T("quotation marks, e.g. \"C:\\test\\\" - Please use a dot between the\n"));
+ _tprintf(_T("backslash and the quoation mark, e.g. \"C:\\test\\.\"\n"));
+ }
                 return ERR_FNF; // dir does not exist
         }
         char * pBuf = NULL;

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org

Received on Wed Jun 14 10:37:20 2006

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

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