Rev 1257: Fix URL changing with reparent. in file:///data/jelmer/bzr-svn/0.4-ra-cext/

Jelmer Vernooij jelmer at samba.org
Sun Jun 22 00:12:55 BST 2008


At file:///data/jelmer/bzr-svn/0.4-ra-cext/

------------------------------------------------------------
revno: 1257
revision-id: jelmer at samba.org-20080621231253-2unajf3iu6mbl4h5
parent: jelmer at samba.org-20080621225335-7u3jpjqjfmcd6zrj
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4-ra-cext
timestamp: Sun 2008-06-22 01:12:53 +0200
message:
  Fix URL changing with reparent.
modified:
  ra.c                           ra.pyx-20080313140933-qybkqaxe3m4mcll7-1
=== modified file 'ra.c'
--- a/ra.c	2008-06-21 21:44:04 +0000
+++ b/ra.c	2008-06-21 23:12:53 +0000
@@ -616,6 +616,7 @@
 	if (temp_pool == NULL)
 		return NULL;
 	RUN_RA_WITH_POOL(temp_pool, ra, svn_ra_reparent(ra->ra, url, temp_pool));
+	ra->url = apr_pstrdup(ra->pool, url);
 	apr_pool_destroy(temp_pool);
 	Py_RETURN_NONE;
 }




More information about the bazaar-commits mailing list