[RFC] Change svn_wc_add_repos_file4(copyfrom_url) to (_root, _relpath)
From: Julian Foad <julian.foad_at_wandisco.com>
Date: Thu, 12 Aug 2010 14:43:29 +0100
svn_wc_add_repos_file4(..., copyfrom_url, ...) has a check that says,
"If copyfrom_url isn't in the same repository as the WC target parent
Semantically, yes, copying from another repos isn't yet supported. But
The only reason it checks *at this level* is because it wants to know
* Change this API to take copyfrom_repos_root and
* Remove this check and relpath calculation from its implementation.
* Update the callers (two in libsvn_client, one in libsvn_wc).
* For back-compat, move the check and _relpath calculation into
That wouldn't change any behaviour right now, but would remove an
I'm thinking this change fits into a generally desirable pattern of
Any concerns? If not I'll try to do it.
This is an archived mail posted to the Subversion Dev mailing list.