Hi, Erik and devs!
I'm working on wc-replacements branch. As my next step I try implement
svn URL PATH replacements. And I don't know how implemented this
properly. At this stage I made this in folowing way (check attached
patch):
[[
* subversion/libsvn_client/copy.c:
(repos_to_wc_copy): Allow replacing deleted files.
* subversion/libsvn_wc/update_editor.c
(install_file): Update revision field only if new_revision != 0.
* subversion/tests/clients/cmdline/copy_tests.py:
(repos_to_wc_copy_replacement): New test for repos to wc replacements.
(repos_to_wc): Modify expected revision after copy.
]]
As you see questionable hack occur in function install_file(). But it
works and passes all tests. Although I don't know when revision field
in entries file should be present.
Also it seems that my patch fixes bug
http://subversion.tigris.org/issues/show_bug.cgi?id=2144
Reverting repos-to-wc replacements didn't implemented yet.
--
Ivan Zhakov
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 26 15:38:37 2005