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

Patch: Confirm Move

From: Damian L. Powell <damian_at_shadow-angel.com>
Date: Thu, 24 Jan 2008 18:18:06 -0000

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

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

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.


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:18:21 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.