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

Re: I am stuck, again

From: Andy Levy <andy.levy_at_gmail.com>
Date: Tue, 17 Nov 2009 10:59:57 -0500

On Tue, Nov 17, 2009 at 09:41, Willy <wrewing001_at_yahoo.com> wrote:
> I understand that there is a proper way to rename files using Tortoise
> SVN.
> My style of programming is to refactor rather ruthlessly and most of
> the time when I rename something, SVN shows it to me as the old name
> being missing and the new one ready to be added.  I accept this.

Ruthlessly? Maybe you need to be a little more cautious. Use a
Subversion plugin for your development environment which can handle
your renames & moves and things will get much, much easier.

> But all too often everything gets completely messed up.  I try to
> commit and Tortoise tells me I cannot and tells me what to do such as
> an Update.  I follow its advice, which doesn't work, and it tells to
> do something else, such as a Clean Up.  This typically goes in a
> circle back to the original advice.
> How I wish Tortoise had a command that said "just accept (wtf) is in
> this folder!!!!".

If you enable WebDAV autoversioning in your repository and mount the
repository as a drive letter via WebDAV, it'll kind of do that.

> Sorry, but without that, how can anyone think of Tortoise as a robust,
> quality too.

Weak argument at best - you're not using the system properly, and it's
trying the best it can to handle it. What you're saying is "how can
anyone think of this socket wrench as a robust, quality tool when it
breaks after I use it as a replacement for my framing hammer?"

> To get out of my current predictament there will be many white knuckle
> moments in which I make numerous back ups, surgically remove .svn
> folders and coerce Subversion into reaccepting all my source files.

Then you're doing things wrong. Your refactoring needs to take into
account the fact that the files are being managed by Subversion. Most
Subversion IDE plugins (Subclipse, AnkhSVN, etc.) handle this just

> Subversion should be be resiliently and transparently minding my
> files.  Instead I find that I serve its very delicate little needs.

Subversion can't read your mind. It needs to be told explicitly what
you want done. Let's suppose that the system can do what you're asking
for. You're going to come here with a similar rant the first time it
does something you didn't want it to do, or it couldn't follow your
trail of a half-dozen renames & moves of the same file because you
couldn't make up your mind.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-11-17 17:00:14 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.