You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by embedmobile y <em...@gmail.com> on 2007/08/08 13:59:14 UTC

about rename

When I rename a file in SVN, the information I can get from the hook
function is that a file is deleted first, and then another file is added.
Does anyone happen to know whether there is a way to determine from the hook
function  whether the opertion is file rename or file deletion and addtion?
Thank in advance for any help

Re: about rename

Posted by John Peacock <jp...@rowman.com>.
embedmobile y wrote:
> When I rename a file in SVN, the information I can get from the hook
> function is that a file is deleted first, and then another file is
> added.

That is how Subversion currently handles renames; there is no atomic rename,
only delete + add with history.  I think that is on the list of 2.0 features,
but don't quote me on it... ;-)

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Blvd
Suite H
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747

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