RE: Re: default of tag operation is HEAD revision of repository ?
From: Gleason, Todd <tgleason_at_impac.com>
Date: Wed, 18 Jun 2008 13:48:34 -0700
It seems like the race condition is then not against when you click OK, but against when you do any editing. It's still unpredictable what you'll end up with if you aren't paying attention, spend some amount of time to change the target URL, and then proceed. Maybe it has picked a WC revision, maybe it has left it at HEAD.
I don't agree with the suggestions as to what to use for the default, either. In some cases you want what's in your working copy, and in some cases you don't. I don't see how you can statically choose a good default, or dynamically with a race condition in the mix.
Also, if I understand correctly (and I may not), the default doesn't seem to make a lot of sense with respect to what the command line does. The svn book's documentation on svn copy doesn't say what default revision it uses for URLs or for WCs, but I'd guess that it's HEAD for URLs and BASE for WCs. In other words, the default is effectively chosen after you pick your source and destination. (Did I miss anything?)
To emulate this, I'd think you'd leave the radio buttons unchecked, and check something (if nothing is already checked) when the user changes the target URL. If it needs to be the WC, then you could let the scanning thread finish and pull that revision--although I gather that TSVN is trying to be smarter than svn copy here and perhaps choose a revision higher than the BASE for the collective directory structure. I don't know if this is a good or bad idea because again it sounds different from what I expect svn copy does.
-----Original Message-----
On 18 Jun., 19:36, Stefan Küng <tortoise..._at_gmail.com> wrote:
well, I think the behaviour is not obvious for the user. please keep
the current implemented solution seem a bit overcomplicated for me.
Berni
---------------------------------------------------------------------
---------------------------------------------------------------------
|
This is an archived mail posted to the TortoiseSVN Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.