On Wednesday, January 27, 2021 at 5:55:41 PM UTC+1 Niklas Matthies wrote:
> TortoiseSVN version: 1.14.0.28885-x64 (most current version)
>
> To reproduce:
>
> 1) Create a branch "old" and commit something to it.
> 2) Move (rename) the branch "old" to "current".
> 3) Open the log window for "current" (context menu "Show log").
> 4) Locate the commit from step 1 and select "Create branch/tag from
> revision" in the context menu of that commit.
> 5) Change "To path" to "[...]/new" and submit the dialog ("OK").
>
> => TortoiseSVN shows an error dialog "Subversion reported an error"
> with message "'<path>/current' path not found"
>
I think this behavior is what we want here, because there's no indication
in the log dialog that the url for which the log dialog is shown has
changed. So the error clearly tells the user that the path/url for which
the log dialog is shown does not exist in the selected revision.
This avoids a branch created from a wrong url.
>
> The problem is that the revision we are branching from only exists in
> the "old" branch, but TortoiseSVN passes the path of the "current"
> branch to SVN instead. This is also visible in the value of "From URL"
> in the Copy dialog, which shows the URL of the newest revision in the
> log. Judging from the Revision Graph view, TortoiseSVN should be able
> to know that the revision to be copied has a different URL. A manual
> "svn copy <URL>/old@<old revision> <URL>/new" does work.
>
And have you noticed how long the revision graph takes to execute?
That's not something I will implement just for creating a branch...
Stefan
--
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/aab05726-f488-4575-8811-a62fa7959699n%40googlegroups.com.