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

Re: [TSVN] FAQ admin not working

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-09-20 19:33:33 CEST

Nicklas Norling wrote:

> Why do reality always keep knocking down those good ideas? ;) Let's see
> if I can kepe it alive for another round.
>
> If other programs rename it we wan't the notification I guess, but if
> svn renames it... Hmm, if there's no way to
> distinguish between the two (such as asking the svn API if it was svn
> mv'ed or not) then I guess the idea is shot
> down.

We can't reliably differ between those two. After all, you can use any
svn client to do the renames, not just our own TortoiseProc.exe.

> About the second use-case, if I rename a file and then is answering,
> Yes, I wan't to also rename it in the repo,
> it's decided I did make a bo-bo and would expect the file to be renamed
> back and then svn mv'ed to the new name.
> If I really did do the right thing I would answer No and nothing would
> happen. I'd expect No being the default...

But what would we do if a user selects ~100 files and moves them inside
the working copy? Ask for every file? Or just wait after each
notification we get a few seconds and gather the notifications, then ask
if we don't get any notifications for e.g. 3 seconds anymore? Horrible
race condition: you can (if you're fast enough) rename files from
*different* working copies in three seconds. And if we just wait less
than three seconds, we would maybe ask several times if the user
moves/copies big files which take some time for the operation to complete.
Also, the explorer can halt the operation to ask the user about
overwriting, so just waiting isn't really an option either.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Sep 20 20:21:32 2005

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.