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

Re: [PATCH] RapidSVN first impressions, and a small fix

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2002-07-27 01:37:31 CEST

On Fri, Jul 26, 2002 at 12:40:38PM -0400, Daniel Berlin wrote:

> > I've had problems with this too. If I save an email with a svn diff
> > and apply the patch, I get failures. If I select-all the email and
> > paste it into a file and then apply the patch, it works fine.
> >
>
> It's whitespace difference (tab v. space or whatever)
>
> try patch --ignore-whitespace

here's a patch that should apply. this was created with "svn diff -x
'-b -u'" so it should have avoided that irritating whitespace issue.

-garrett

Index: ./exceptions.cpp
===================================================================
--- ./exceptions.cpp
+++ ./exceptions.cpp Thu Jul 25 21:53:46 2002
@@ -7,6 +7,10 @@
         what( __estr );
 }
 
+VSvnEx::~VSvnEx()
+{
+}
+
 VSvnEx& VSvnEx::operator=( const VSvnEx& rhs )
 {
         if( this == &rhs )
Index: ./exceptions.h
===================================================================
--- ./exceptions.h
+++ ./exceptions.h Thu Jul 25 21:55:09 2002
@@ -11,6 +11,8 @@
                                         VSvnEx( const wxString&__estr = "",
                                                         const long __code = -1 );
 
+ virtual ~VSvnEx();
+
                                         VSvnEx( const VSvnEx& rhs )
                                         {
                                                 *this = rhs;
Index: ./tracer.cpp
===================================================================
--- ./tracer.cpp
+++ ./tracer.cpp Thu Jul 25 21:57:10 2002
@@ -36,6 +36,10 @@
 {
 }
 
+ErrorTracer::~ErrorTracer()
+{
+}
+
 void ErrorTracer::Trace( const wxString& str )
 {
         msgs += str + _T("\n");
Index: ./tracer.h
===================================================================
--- ./tracer.h
+++ ./tracer.h Thu Jul 25 21:54:47 2002
@@ -58,6 +58,9 @@
 
 public:
                                 ErrorTracer( wxWindow *__parent );
+
+ virtual ~ErrorTracer();
+
         void Trace( const wxString& );
         void ShowErrors();
 };

-- 
garrett rooney                    Remember, any design flaw you're 
rooneg@electricjellyfish.net      sufficiently snide about becomes  
http://electricjellyfish.net/     a feature.       -- Dan Sugalski
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 27 01:38:01 2002

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

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