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

[PATCH] Allow copy files that already copied

From: Ivan Zhakov <chemodax_at_gmail.com>
Date: 2005-12-01 16:19:53 CET

Hi!
Current libsvn_wc implementation disallow command sequence like this:
touch foo
svn add foo
svn ci
svn cp foo foo2
svn cp foo2 foo3
svn ci

I propose to allow this and make foo3 take foo's URL as copyfrom-url.
Look to attached patch.
Yes, I know it is bit confusing, but it is usefull, especially for refactoring.

[[
Allow copy/move files that already copied.

* subversion/libsvn_wc/copy.c:
  (copy_file_administratively, copy_dir_administratively): Use
source's copyfrom-url and
  copyfrom-rev instead of url and rev when copy already copied files.
]]

--
Ivan Zhakov


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

Received on Thu Dec 1 16:40:38 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.