Concerning RE: Rename multiple files in repos
Gleason, Todd wrote on 5 Nov 2008, 9:50, at least in part:
> I have to admit that it doesn't make sense to me that Windows is that
> peculiar here. The filesystem may be case-insensitive, but it does
> preserve case, and besides, don't the .svn folders store all the
> actions you want to commit? I don't understand why you shouldn't be
> able to do "svn mv foo FOO" so long as there isn't an existing FOO
> (and in Windows there can't be). The resulting "svn: Cannot move path
> 'foo' into itself" error to me is best characterized as a bug, rather
> than a platform limitation. I can type "ren foo FOO" with no trouble
> whatsoever, after all.
I suppose that Windows/NTFS just change the entry in the file
table while SVN does a copy-delete or sort on the actual file.
Maybe it could be a little bit smarter internally by doing copy X to
Copy-of-X, delete X, copy Copy-of-X to Y, delete Copy-of-X (if it
can't make use of the OS's rename function). Of course that
doubles the steps of the whole process, is unnecessary with actual
move operations (which may or may not involve a rename of the
file), and annoys *nix folks just by the thought of it.
Jan Hendrik
---------------------------------------
Freedom quote:
Those who won our independence by revolution were not cowards.
They did not fear political change. They did not exalt order
at the cost of liberty.
-- Louis D. Brandeis (U.S. Supreme Court Justice, 1856-1941)
Whitney vs. California, 1927
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-05 19:57:40 CET