Stefan said "check out from /trunk of a branch instead..." 
I assume that was meant to read "check out from /trunk OR a branch 
instead..."

On Saturday, 6 August 2022 at 02:35:00 UTC+10 Stefan wrote:

> On Friday, August 5, 2022 at 4:14:17 PM UTC+2 Dominik Gnthr wrote:
>
>>
>> Hi,
>>
>> I recently stumbled upon a bug, when I found a user had committed to a 
>> tag.
>>
>> Normally the function
>> CSVNProgressDlg::IsCommittingToTag checks if you're committing to a tag 
>> and warns you.
>>
>> But if you include a file that is not inside a tag, then the warning 
>> isn't shown.
>>
>> Example commit:
>> Changed /project/tags/test.txt
>> This shows the warning
>>
>> Example commit with two files:
>> Changed /project/tags/test.txt
>> Changed /project/something.txt 
>> This does not show the warning.
>>
>
> I assume here that you've chosen /project as the root of your commit. In 
> that case of course the check won't catch that you might be committing to a 
> tag. Because while you see the files in the commit dialog, when the actual 
> commit happens only /project is passed, and no paths inside that folder.
>
> But honestly: it's very, very unusual to have a working copy checked out 
> from the repo root. I mean you would have *all* tags and branches checked 
> out as well. That's a huge waste of disk space.
>
> check out from /trunk of a branch instead, and use "switch" to change 
> between your branches and trunk. That's the recommended way.
>  
>

-- 
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 tortoisesvn+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tortoisesvn/9e5e3164-2c4e-44f3-aa65-706c904955fbn%40googlegroups.com.

Reply via email to