Subversion unusable after upgrading Qt (macOS)
-
Hi,
You should check the bug report system as well as take a look at the history of the Qt Creator sources to see if something has changed in that regard.
-
Hi @Sprezzatura,
can you please give the exact steps of what you did and from Creators Version Control pane the commands that have been executed? I'm not aware of SVN changes in 19.0 (there are some planned for 20.0), so it must be a small glitch that causes the problem on your side.
Subversion + Tortoise continue to work flawlessly on my Windows computer.
Do you mean Creators Subversion Plugin works as expected on Windows?
Thanks and regards
-
- I upgraded my macOS version of Qt Creator to 19.0.0
- I did "brew upgrade subversion"
- I updated the "Subversion Command" in Preferences ➔ Tools ➔ Subversion
In Qt Creator, when I click on "Tools ➔ Subversion ➔ Status of Directory of Project...", I only see the files in this directory.
What used to appear was "➔ Status of Project", and it would show all the files in all the directories, not just the ones in the same directory as the .PRO file. This project includes many files from a variety of different directories.
Further, the files that are displayed include many non-committed files, which are not part of the repository.
I can "svn update" and "svn commit" from the command line (which proves Subversion is working), but it's more time-consuming and error-prone.
-
Hi,
You should check the bug report system as well as take a look at the history of the Qt Creator sources to see if something has changed in that regard.
@SGaist I searched for "Subversion", there are 198 items. I have a hunch it's a configuration problem, not a bug.
-
- I upgraded my macOS version of Qt Creator to 19.0.0
- I did "brew upgrade subversion"
- I updated the "Subversion Command" in Preferences ➔ Tools ➔ Subversion
In Qt Creator, when I click on "Tools ➔ Subversion ➔ Status of Directory of Project...", I only see the files in this directory.
What used to appear was "➔ Status of Project", and it would show all the files in all the directories, not just the ones in the same directory as the .PRO file. This project includes many files from a variety of different directories.
Further, the files that are displayed include many non-committed files, which are not part of the repository.
I can "svn update" and "svn commit" from the command line (which proves Subversion is working), but it's more time-consuming and error-prone.
@Sprezzatura can you please show the exact SVN commands from the Version Control pane when you do "Status of Directory of Project"?
Also please answer:
Do you mean Creators Subversion Plugin works as expected on Windows?
Regards
-
I am not using the Qt Creator Subversion Plugin on Windows. I use Tortoise instead. It operates directly from File Explorer.
The SVN command issued from the Plugin on the Mac is:
svn status CC_Qt\MyProject\CC_Qt\ is the directory where the .PRO is located. However, there are many .CPP files that are part of the compilation, and are located in \MyProject\other. In the previous version of Qt Creator and the Subversion plugin, the 'status' command listed all the files in both \MyProject\CC_Qt\ and \MyProject\other.
Now it only lists the modified files in \MyProject\CC_Qt, and does not list the modified files in \MyProject\other.
Also, it lists many unversioned files.
-
Hi @Sprezzatura, from your description it sounds as if everything is working as expected. "Project Directory Status" list all changes below the directory of the
.profile. If you use "Repository Status" instead, it should list all changes in the whole repository. As said, there has been no changes to the functionality, but the actions have been slightly renamed (but that already happened in 2024).Also, it lists many unversioned files.
It must have been like this forever. SVN does not seem to provide native filtering and Creator does not apply a filter itself.
I hope that helps,
Regards -
Nope, it didn't used to list unversioned files. The equivalent SVN command is
svn status -uqI have to scroll through a long list on unversioned files that I didn't used to see before the upgrade.
Yes, if I click on
Repository statusI do see everything, files in all directories.Is there anywhere I can configure the SVN commands?
BTW thanks for your help.
-
@Sprezzatura I don't want to start a fight, but I looked in Creators source code and there has never been a filtering. That would be a new (probably useful) feature, we have it for git too.
But currently, no there is no configuration for these commands.
Regards
-
OK... but when I do "Repository Status", I get a random selection of some of the directories. It's missing the main directories.
Also, it's showing me binary file types that should never be committed to a Source Repository:
- .OBJ
- .DLL
- .SBR
- .DYLIB
- .PCH
- . EXE
I'm pretty sure I never used to see those.