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

Re: default of tag operation is HEAD revision of repository ?

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 18 Jun 2008 17:10:22 +0200

Bernhard Merkle wrote:
> Hi,
> at the moment in TTSVN the _default_ when tagging/branching is to use
> the HEAD revision of the repository. Now IMO this can be a bit tricky
> or risky. Why is this the default ?
> I am usually tagging my local working copy so I think this would be
> the "better" default (at least for me :-)
> Anyway I can think of situations where I want to tag, and in the
> meantime someone else checks in a new revision on the server. I this
> case I am even tagging a wrong version ! so question:
> - why is tagging HEAD revision of repository the default in
> TortoiseSVN ? (risky)
> - could you supply an option to adapt the default (e.g. for personal
> user perferences)

In TSVN 1.5, the default is still HEAD. But while the dialog is up, a
separate thread is started which crawls the working copy to find the
highest 'last committed' revsion. Once that thread ended, the default
changes to "working copy" with that revision found.
For small to mid sized working copies, that is fast enough so you won't
even notice it and you would see the default always at "working copy",
not HEAD (faster than the dialog needs to repaint for the first time).
Only for bigger working copies, this will take a few seconds.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-06-18 17:10:42 CEST

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.