Hi Daniel

Thank you for this solution. Always nice for a developer to see how a small 
change can make a big difference.

My subject probably obscures the real cause, but I think my MonitoringData 
snippet was able to give a hint. Also, for the other thread.

I have installed the nightly build r29490 and tested it. The first 
impression was good (all exclamation marks disappeared). But the solution 
is not completely clean.

If the URL is incorrect, the exclamation mark appears after "Check Now". 
When the erroneous entry is selected, it disappears again until the next 
"Check Now". However, in the right window you can always see the concrete 
error message, which differs if the hostname or the path of the URL is 
wrong.

If it is worth to work on it again, is not up to me. The current solution 
is better in any case.

Greetings
~ Andreas


[email protected] schrieb am Montag, 5. Dezember 2022 um 21:52:06 UTC+1:

> Hi,
>
> The URL is stored in wcPathOrUrl, and if I understand your description 
> this is now correct.
>
> The highlighted "2" is just part of the error message from the last time 
> Project Monitor tried to check that project.
>
> I would argue that Project Monitor actually succeeds in changing the URL, 
> however it doesn't always clear the last error message. To be more precise, 
> it clears the last error message the next time it finds a new commit in 
> that repository. So if you had only waited a while, most error messages 
> (and error icons) would have cleared themselves.
>
> That being said, it is obviously not a good idea to keep an old error 
> message. I've fixed this in the current /trunk, you should be able to check 
> a new nightly build in a few hours. (Note that the nightly builds don't 
> support the Windows 11 context menu yet, for this you'd have to wait for a 
> new release).
>
> For more details, check the tortoise-dev group or the source code.
>
> Kind regards,
> Daniel
>
> torsdag 3 november 2022 kl. 10:06:27 UTC+1 skrev Andreas Grob:
>
>> Dear TortoisSVN team
>>
>> My company moved all SVN repos to a new server and updated them.
>> A relocate for all local directories became necessary. In the project 
>> monitor I also changed the new URL and the authentication.
>> Unfortunately this did not work in all cases. However, deleting and 
>> recreating worked.
>> I could now reproduce this again by changing a URL (a '2' added) and 
>> setting it back again.
>> In the temporary file the following is written (abbreviated):
>>
>> [item_017]
>> lastErrorMsg=<<SI-END-OF-MULTILINE-TEXT
>> Unable to connect to a repository at URL
>>  'https://svn.abc2.dev/svn/dev/projects/dummy/trunk'
>> The specified host is unknown.  
>> SI-END-OF-MULTILINE-TEXT
>> root=https://svn.abc.dev/svn/dev
>> wcPathOrUrl=https://svn.abc.dev/svn/dev/projects/dummy/trunk
>>
>> My guess is that it has to do with the fact that wcPathOrUrl is much 
>> longer than the root path. So not just "/trunk" after it.
>>
>> Greetings
>> ~ Andreas
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TortoiseSVN" 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/d9d2a506-7041-4d67-b588-c28c9b2b658en%40googlegroups.com.

Reply via email to