rename is not atomic (& is confusing)
From: Jason Sachs <jsachs_at_dekaresearch.com>
Date: 2007-03-29 17:22:39 CEST
(TSVN 1.4.3 build 8645 on my Windows 2000 PC.)
Rename seems to not be atomic. If I do TortoiseSVN->Rename, what it seems to do is to locally rename a file, and just update the status. This shows the renamed file as "added". If I commit the "added" file, the repository then has 2 files (original plus the newly renamed file); there is no way to commit the file as deleted unless I commit the directory.
If I decide, "whoops, I didn't want to rename after all", and I update the directory from the repository, it doesn't restore the renamed file. If I do "revert" instead, it leaves the newly renamed file as blank (no icon overlay), then I have to manually rename the file back and revert it again.
This is very confusing. I would suggest some possibilities:
---------------------------------------------------------------------
|
This is an archived mail posted to the TortoiseSVN Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.