You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by David James <ja...@cs.toronto.edu> on 2007/08/14 16:58:36 UTC

Re: svn commit: r26062 - branches/ctypes-python-bindings/csvn

> +     def relocate(self, from_url, to_url, dir="", recurse=True):
> +         """Modify a working copy directory DIR (defaults to WC root),
> +         changing any repository URLs that begin with FROM_URL to begin with
> +         TO_URL instead, recursing into subdirectories if RECURSE is True
> +         (True by default)."""
> +
> +         svn_client_relocate(dir, from_url, to_url, recurse, self.client,
> +                     self.iterpool)

Hi Sage,

Should we call self._build_path on the WC dir here,, so that the we
make sure the path is really relative to the WC root?

Cheers,

David

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

Re: svn commit: r26062 - branches/ctypes-python-bindings/csvn

Posted by Sage La Torra <sa...@gmail.com>.
Fixed in r26139. sorry for the delayed fix, somehow I missed the
original suggestion.

Sage

On 8/14/07, David James <ja...@cs.toronto.edu> wrote:
> > +     def relocate(self, from_url, to_url, dir="", recurse=True):
> > +         """Modify a working copy directory DIR (defaults to WC root),
> > +         changing any repository URLs that begin with FROM_URL to begin with
> > +         TO_URL instead, recursing into subdirectories if RECURSE is True
> > +         (True by default)."""
> > +
> > +         svn_client_relocate(dir, from_url, to_url, recurse, self.client,
> > +                     self.iterpool)
>
> Hi Sage,
>
> Should we call self._build_path on the WC dir here,, so that the we
> make sure the path is really relative to the WC root?
>
> Cheers,
>
> David
>

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