Re: "You have to update your working copy" doesn't offer to update

Stefan via TortoiseSVN-dev <[email protected]> Tue, 22 Nov 2022 09:31:53 -0800 (PST)
Newsgroups gmane.comp.version-control.subversion.tortoisesvn.devel
Message-ID <[email protected]>

On Monday, November 21, 2022 at 11:43:51 PM UTC+1 [email protected] 
wrote:

> Hi,
>
> There has been reports about commits (and merge?) failing with "You have 
> to update your working copy first" but without the subsequent offer to 
> update.
>
> Today I stumbled on one such case. I traced it 
> to CommitCommand::IsOutOfDate not checking for error 155011 
> (SVN_ERR_WC_NOT_UP_TO_DATE).
>
> Is there a particular reason not to include this in "IsOutOfDate"?
>

The only reason I can think of is that this error code was overlooked.


> I'm suggesting a simple patch:
>
>
yes, please commit.

-- 
You received this message because you are subscribed to the Google Groups "TortoiseSVN-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn-dev/2fc0684d-2dc3-4ca3-972f-19d89b019570n%40googlegroups.com.