On Wed, Mar 7, 2012 at 5:34 AM, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
> 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.
Thanks, Stefan. I do it in the CfM dialog because I didn't know the same
option was available directly within the Commit dialog. My bad.
I also wasn't aware of the ALT key modifier for selection. That does the
same job.
Interestingly, if I do copy/paste from the Commit/CfM dialogs, I get tabs
inserted at the front of lines 2 down. So it becomes:
trunk/alpha/beta/A
trunk/alpha/beta/A/A
trunk/alpha/beta/A/B
...
Is this intentional?
Cheers,
Daniel B.
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2931589
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-03-07 00:51:12 CET