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

svn URL PATH wc replacements questions

From: Ivan Zhakov <chemodax_at_gmail.com>
Date: 2005-08-26 15:37:26 CEST

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

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.