Thomas Eyde wrote:
> And I apologize for not being entirely clear. I totally forgot to say
> I'd like to have this feature in the commit dialog. What I had in mind
> was Tortoise to do something similar as the missing files at commit
> time. So nothing visible should happen until I commit.
So basically you want TSVN to monitor all renames and cache them until
> I do a lot of renaming and moving files and folders. When I rename a
> class, a file renaming follows. When I rename a namespace, a folder
> rename follows. I would lose my flow if I should do that first with
> the Tortoise commands in the Explorer shell, and then track those
> changes in the IDE.
But that's what AnkhSVN would do for you. I know it's not that stable
and you have to use a nightly build to use it with VS2005. But still,
that's really the job of an IDE plugin, not TSVN.
>> * renames also have to be done outside version control - I have to do
>> that more than I rename files with the TSVN command (e.g. replacing the
>> contents of a file.
> Renaming a file not under source control shouldn't cause any action.
But to see if a file is under version control, we have to check it's
status - if there is no SVN status it's unversioned. So we still have to
access the disk for *every* rename.
>> * other apps also rename files, it's not just the user doing it on
>> purpose. Some apps rename files very frequently (e.g. virus scanners
>> renaming temp files, ...)
> But those apps never commit their changes. A sequence of renamings
> back to the original name should mean that no renaming ever took
How about this:
ren file1 file3
ren file2 file1
ren file3 file2
This means file1 gets exchanged with file2. In Subversion, this would
require more than just renaming (or the files wouldn't get replaced).
Or should we ignore the renames here (because by your definition this
would be a renaming sequence back to the original name).
It's not that easy as you might think.
I guess I could come up with an edge case where this wouldn't work every
time you suggest a way of how it should work :)
> AnkhSVN didn't work on my machine. Yes, I know that's a lame excuse.
> But if it did, it wouldn't buy me much, as I still have to invoke menu
> commands manually.
I think AnkhSVN hooks into the VS renames. So if you rename a
file/folder in the IDE it will do automatically an SVN rename. So no
need to use menu commands to do that.
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.tigris.org
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Mon Jun 19 18:11:45 2006