Bug: Show log not possible for deleted branches!

173 views
Skip to first unread message

Michael Möllney

unread,
Feb 23, 2024, 8:15:52 AM2/23/24
to TortoiseSVN
Hi,

I'm not sure if this is a long standing bug or just new for the newest 1.4.6.
(TortoiseSVN 1.14.6, Build 29673 - 64 Bit , 2023/12/25 19:33:34)

I had created a very simple repository:

r1: create trunk/branches/tags
r2: create text file in trunk
r3: create branch: FB1
r4: create second text file in FB1
r5: create third file in trunk
r6: merge FB1 into trunk

If I use the Revision Graph and right click on r4 I can ask for a log an see the log of the branch. Fine!

r7: delete FB1 (via Repro Browser)

If I use the Revision Graph I can see the deleted branch (r7 is shown as red item).
If I right click on r4 I can ask for a log, but now an error occurs:

There has been a problem contacting the server...
...
The error was:
URL: 'file:///C:/temp/SubversionRepostirories/LogDeletedBranchRep/branches/FB1'
 non-existent in revision 7

Bummer!

This means I can not request the log for a deleted branch?!
What am I doing wrong?
Shouldn't the log request revision 4?

Kind regards,
Michael




Michael Möllney

unread,
Feb 23, 2024, 8:26:23 AM2/23/24
to TortoiseSVN
I just checked the ChageLog of TortoiseSVN and it seems that some similar/same error was some time ago fixed?
- BUG: Issue #231: 'show log' fails for deleted entry. (Stefan)

Daniel Sahlberg

unread,
Feb 23, 2024, 10:25:04 AM2/23/24
to TortoiseSVN
fredag 23 februari 2024 kl. 14:26:23 UTC+1 skrev michael...@gmail.com:
I just checked the ChageLog of TortoiseSVN and it seems that some similar/same error was some time ago fixed?
- BUG: Issue #231: 'show log' fails for deleted entry. (Stefan)

"Some time ago" was about 10 years, in version 1.7.6. But that doesn't seem to be related at all. Unless you use 1.7.5 or older, you should not be affected by this.
 


Michael Möllney schrieb am Freitag, 23. Februar 2024 um 14:15:52 UTC+1:
Hi,

I'm not sure if this is a long standing bug or just new for the newest 1.4.6.
(TortoiseSVN 1.14.6, Build 29673 - 64 Bit , 2023/12/25 19:33:34)

I had created a very simple repository:

r1: create trunk/branches/tags
r2: create text file in trunk
r3: create branch: FB1
r4: create second text file in FB1
r5: create third file in trunk
r6: merge FB1 into trunk

If I use the Revision Graph and right click on r4 I can ask for a log an see the log of the branch. Fine!

r7: delete FB1 (via Repro Browser)

If I use the Revision Graph I can see the deleted branch (r7 is shown as red item).
If I right click on r4 I can ask for a log, but now an error occurs:

There has been a problem contacting the server...
...
The error was:
URL: 'file:///C:/temp/SubversionRepostirories/LogDeletedBranchRep/branches/FB1'
 non-existent in revision 7

Bummer!

Can you describe how you opened the Revision Graph, because I can't seem to figure out how to reproduce it. I'm fairly sure that the "show log" command should use a peg revision so it should be quite an easy fix.


This means I can not request the log for a deleted branch?!
What am I doing wrong?
Shouldn't the log request revision 4?

Kind regards,
Michael

Kind regards,
Daniel 

Daniel Sahlberg

unread,
Feb 25, 2024, 11:52:16 AM2/25/24
to TortoiseSVN
Can you check again with a Nightly build? Stefan made a change in r29679 which should add the peg revision.

Kind regards,
Daniel

Michael Möllney

unread,
Feb 27, 2024, 7:14:53 AM2/27/24
to TortoiseSVN
I tried with the current nightly build:
TortoiseSVN 1.14.99, Build 29679 - 64 Bit -dev, 2024/02/23 18:22:01
It's not working.

I also can not request a log from the Repro Browser:

If I'm on Head revision I can't see the FB1 branch (OK since it is deleted, btw. is there a way to see deleted as deleted?)
If I'm setting the revision to 4 I can see the FB1 branch (OK, as it is available in revision 4). But opening the log via the context menu does not work, too.
The error message shows again the non-existent in revision 7.

I attach the repository and a screenshot of the error I'm seeing.

Screenshot 2024-02-27 131231.png
LogDeletedBranchRep.zip

Daniel Sahlberg

unread,
Mar 10, 2024, 4:22:29 AM3/10/24
to TortoiseSVN
tisdag 27 februari 2024 kl. 13:14:53 UTC+1 skrev michael...@gmail.com:
I tried with the current nightly build:
TortoiseSVN 1.14.99, Build 29679 - 64 Bit -dev, 2024/02/23 18:22:01
It's not working.

I also can not request a log from the Repro Browser:

If I'm on Head revision I can't see the FB1 branch (OK since it is deleted, btw. is there a way to see deleted as deleted?)
If I'm setting the revision to 4 I can see the FB1 branch (OK, as it is available in revision 4). But opening the log via the context menu does not work, too.
The error message shows again the non-existent in revision 7.

I attach the repository and a screenshot of the error I'm seeing.

Screenshot 2024-02-27 131231.png

 Thank you for the screenshots, makes it much easier to replicate.

The problem was that the "Log Messages" dialog is asking the repository for the HEAD revision, based on the deleted path. I've made a change to ask for the HEAD revision based on the repository root instead in r29682. It should be in the nightly builds within 24 hours.

Kind regards,
Daniel


Michael Möllney

unread,
Mar 15, 2024, 5:48:43 PM3/15/24
to TortoiseSVN
Hi Daniel,

I installed
TortoiseSVN 1.14.99, Build 29682 - 64 Bit -dev, 2024/03/10 08:13:29
and it seems to work now:
I can use the Repro Browser as shown in my screenshot, but now it shows the log. Great.
Also requesting a log from the Revision Graph works again:
Screenshot 2024-03-15 224629.png

Thank you for helping to fix this bug.

Kind regards,
Michael

Daniel Sahlberg

unread,
Mar 16, 2024, 8:41:55 AM3/16/24
to TortoiseSVN
Thank you for your report and also thanks for testing and confirming the changes work for you!
Reply all
Reply to author
Forward
0 new messages