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

[PATCH] Fix for issue 3609

From: Noorul Islam K M <noorul_at_collab.net>
Date: Tue, 02 Nov 2010 15:38:02 +0530

Log

[[[

Fix issue 3609: Canonicalize url

* subversion/svn/info-cmd.c
  (svn_cl__info): Canonicalize url before passing over to API

Patch by: Noorul Islam K M <noorul{_AT_}collab.net>

]]]

Thanks and Regards
Noorul

Index: subversion/svn/info-cmd.c
===================================================================
--- subversion/svn/info-cmd.c (revision 1029983)
+++ subversion/svn/info-cmd.c (working copy)
@@ -538,6 +538,8 @@
       /* Get peg revisions. */
       SVN_ERR(svn_opt_parse_path(&peg_revision, &truepath, target, subpool));
 
+ truepath = svn_uri_canonicalize(truepath, subpool);
+
       /* If no peg-rev was attached to a URL target, then assume HEAD. */
       if (svn_path_is_url(target))
         {
Received on 2010-11-02 11:10:36 CET

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