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

RE: svn commit: rev 4091 - trunk/subversion/libsvn_wc

From: Sander Striker <striker_at_apache.org>
Date: 2002-12-11 20:57:35 CET

> -----Original Message-----
> From: striker@tigris.org [mailto:striker@tigris.org]
> Sent: Wednesday, December 11, 2002 8:33 PM

Joy...

D:\svn\subversion>svn diff -x "--show-c-function -u" subversion
Index: subversion/libsvn_wc/update_editor.c
===================================================================
--- subversion/libsvn_wc/update_editor.c (revision 4090)
+++ subversion/libsvn_wc/update_editor.c (working copy)
@@ -233,14 +233,14 @@ make_dir_baton (const char *path,
       /* for checkouts, telescope the new_URL normally. no such thing as
          disjoint urls. */
       if (pb)
- d->new_URL = svn_path_join (pb->new_URL, d->name, pool);
+ d->new_URL = svn_path_url_add_component (pb->new_URL, d->name, pool);
       else
         d->new_URL = apr_pstrdup (pool, eb->ancestor_url);
     }
   else if (eb->switch_url)
     {
       if (pb)
- d->new_URL = svn_path_join (pb->new_URL, d->name, pool);
+ d->new_URL = svn_path_url_add_component (pb->new_URL, d->name, pool);
       else
         d->new_URL = apr_pstrdup (pool, eb->switch_url);
     }
@@ -401,7 +401,7 @@ make_file_baton (struct dir_baton *pb,
   /* Figure out the new_URL for this file. */
   if (pb->edit_baton->is_checkout || pb->edit_baton->switch_url)
     {
- f->new_URL = svn_path_join (pb->new_URL, f->name, pool);
+ f->new_URL = svn_path_url_add_component (pb->new_URL, f->name, pool);
     }
   else
     {

D:\svn\subversion>svn ci subversion/libsvn_wc/update_editor.c
Sending subversion/libsvn_wc/update_editor.c
Transmitting file data .
Committed revision 4091.

But ofcourse my line-endings were screwed, which diff didn't show.
Why aren't we using native eol style?

Sander 'turning away in shame'

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 11 20:58:25 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.