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

Re: [TSVN] Bug in SubWcRev - Opening "non-subversion" folder as repository

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-07-07 11:27:35 CEST

Jan Linnenkohl wrote:
> I played a little bit with SubWcRev and when I tried to open a
> non-subversion folder, I got an unhandled exception. It would be nice,
> when this could be fixed.
>
> Command: SubWcRev.exe c:/NonSubVersionControlledFolder

Seems to be due to this code:

        if (svnerr)
        {
                svn_handle_error(svnerr, stderr, FALSE);
        }

Using stderr causes a crash? Not sure how this should be fixed as I am
not familiar with handling different char widths.

Also, svn_handle_error should be replaced with svn_handle_error2 which
would allow us to add a SubWCRev: prefix to error messages.

Simon

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Jul 7 11:26:54 2005

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