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

Re: Feature Request

From: Andy Levy <andy.levy_at_gmail.com>
Date: Fri, 21 Nov 2008 13:23:19 -0500

On Fri, Nov 21, 2008 at 13:15, Gre7g <gre7g.luterman_at_gmail.com> wrote:
> I'm the only programmer developing one of the projects I'm on, but
> quite often I'll attempt a commit and TSVN will spit back a "working
> directory is out of date, please do an update first" sort of message.
> This seems kind of silly to me as I know that no one has made changes
> to the files involved, but oh well. I do an update and then a
> recommit.

Do you find that this happens more frequently when you commit a
directory after you've committed a single file, or when you're
committing a directory which is either the parent of or not really
related at all to the last directory you committed?

Remember, the revisions are global to the whole repository, so if you
have 2 parallel directories (common parent) and commit the first
directory, the second directory is still "behind" on revision numbers,
even though no changes actually happened to that second directory. But
the WC doesn't know this until you perform an update.

> Yes, it's not a big deal to do an update and recommit (especially
> since TSVN saves log messages), but considering how often this
> happens, wouldn't it be a good idea for TSVN to actually look for this
> error specifically? Instead of just returning the error and dumping it
> all back on me, TSVN could just pop up a dialog saying "TSVN needs to
> do an update first. Update now?" The user could click OK or Cancel. On
> OK, TSVN would do an update of the appropriate directory and then if
> no new conflicts were found, pop up a second dialog saying, "Update
> complete... Try the commit again?"
>
> Or, hell, just assume "yes" at that point and do the commit again with
> the log message the user already entered. If conflicts were found,
> just pop up an informational dialog so the user knows why the commit
> wasn't retried.

Assumptions and doing things "automatically" lead to lost work.

> Thanks for listening, and I hope to see this added some day. Keep up
> the great work,

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-11-21 19:23:24 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.