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

Re: Patch: Confirm Move

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 24 Jan 2008 19:57:41 +0100

Damian L. Powell wrote:
> Hi Stefan,
>
> I recently had a problem where I used the repo browser to create a
> branch. Unfortunately, I ended up moving my repository's trunk into a
> subdirectory of tags. Now that's not strictly speaking a problem because
> you can just move it back. However, after you do that, the log is really
> slow and you have to uncheck 'Stop on copy or rename' to see the whole
> log.
>
> Since TSVN warns you if you try to commit to tags, I thought it might
> sensible if TSVN could warn you if you try to move one of the 'special'
> directories (branches, tags or trunk). So here's a patch to do just
> that.

Thanks for the patch!
Committed in revision 11929.

> Ideally, I would have liked to use the code that already exists for some
> of this processing in the CPathClassificator class but to be frank, I
> didn't understand how to efficiently get the contents of repo browser's
> pathlist into it. So, I added the method to CTSVNPath instead. Feel free
> to refactor this stuff however you see fit though.

I know the feeling :)
The code from Stefan^2 has something about it that makes it very hard to
understand :)

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-01-24 19:58:00 CET

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.