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

Re: [Issue 876] Changed - svn revert of svn move

From: Branko Čibej <brane_at_xbc.nu>
Date: 2002-08-22 11:55:27 CEST

Scott Lamb wrote:

> issues@subversion.tigris.org wrote:
>
>> http://subversion.tigris.org/issues/show_bug.cgi?id=876
>>
>> + ------- Additional Comments From blair@tigris.org 2002-08-21 18:16
>> PDT -------
>> + Ideally, you could say
>> + + svn revert hot-backup-db.py
>> + + and it would do the following:
>> + + 1) Revert hot-backup.py.
>> + 2) Revert hot-backup-db.py.
>> + 3) Delete hot-backup-db.py.
>
>
> Most intuitive IMHO is just executing the reverse before committing
> the change. I.e., "svn mv oldfile newfile" is reverted by "svn mv
> newfile oldfile". Other modifications (to the file's contents or
> properties) are not reverted by that command.

Except that that doesn't work, because our working copy can't handle it.

Anyway, we need better tracking of renames and moves. We shouldn't be
creating new nodes in the repository, and I have a ToDo to open a new
issue about that. I know this came up before, and I was against
explicitly tracking renames then; but that was before we had a coherent
schema, in which a node id really means something. It's time to
reconsider now.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 22 11:56:08 2002

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.