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

Re: Check for modifications - Copy paths to clipboard enhancement

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 06 Mar 2012 20:34:59 +0100

On 06.03.2012 06:34, Daniel Becroft wrote:
> Hi,
>
> Currently, within the Check for Modifications dialog, I can select a
> number of changed items and use "Copy paths to clipboard" to, well, get
> the paths on the clipboard.
>
> However, if I launch CfM from the root of my working copy, I'll always
> get everything (including any common parent directories). For example:
>
> trunk/alpha/beta/A
> trunk/alpha/beta/A/A
> trunk/alpha/beta/A/B
> trunk/alpha/beta/A/C
> trunk/alpha/beta/B/A
> trunk/alpha/beta/B/C
>
> I'd like to suggest a 'Copy paths to clipboard' alternative, that will
> strip common parent paths off the copy. In the above examples, the paths
> would be copied as:
>
> /A
> /A/A
> /A/B
> /A/C
> /B/A
> /B/C
>
> This will make it really useful when constructing svn-devel style log
> messages of:
>
> [in trunk/alpha/beta]
> * A, A/A, etc.

While that is a nice idea, I see a few problems:
* adding another menu entry just for this is a little too much - there
are already enough entries there and adding more will just make the menu
more crowded
* using shift/ctrl/otherkeys as modifiers is also not a good idea
because most users wouldn't even know about that

Not sure why you do this in the CfM dialog and not directly in the
commit dialog?

Because in the commit dialog, if you paste the urls/paths into the
message edit box, you then get:

trunk/alpha/beta/A
trunk/alpha/beta/A/A
trunk/alpha/beta/A/B
trunk/alpha/beta/A/C
trunk/alpha/beta/B/A
trunk/alpha/beta/B/C

Now, hold down the ALT key and select the rectangle from the top left
(left of the first 'trunk') down to the first '/' char of the last
'trunk/'. That will select all 'trunk/' strings from the left. Then
simply hit the delete button and you have your urls/paths the way you
like them.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2931547
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-03-06 20:35:13 CET

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.