SVN: Checkout, Multi-Repo, Optimizations & Clean-up #104
No reviewers
Labels
No Label
Kind
Breaking
Kind
Bug
Kind: Community
Kind
Documentation
Kind
Easy
Kind
Enhancement
Kind
Feature
Kind
Proposal
Kind
Security
Kind
Studio Request
Kind
Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: studio/blender-studio-tools#104
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "Mets/blender-studio-pipeline:SVN-improvements"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The SVN add-on finally allows checking out repositories from scratch!
The UI is a bit ugly, because I felt the need to very aggressively warn the user that if they aren't running Blender through a terminal, they will get screwed, because unlike all other SVN operations, it WILL freeze up the UI until it is done.
This is because it feels wrong to let
svn checkout
casually run in the background while Blender continues running. Not only would this make it impossible to print live feedback to the console due to technical limitations, but it would also make it trivial to accidentally cancel the checkout process by quitting Blender. To be fair, it turns out that SVN deals with a cancelled checkout quite graciously, so if it does happen, it can be resumed easily, but still. Another reason to have it be a blocking process is because when it's done, we would like to make the new checkout the active repository so user can verify that authentication and status updates are working.Better multi-repository workflow
While having multiple repositories was already supported, it was a bit buggy and had some questionable UX. For starters, the "Current Blend" repo mode wasn't working at all, whoops. Now, when that is used, instead of hiding the repo list, we gray out all entries except that of the current .blend, and make that the active one. When switching from one repo's .blend file to another, we also nudge the active repo index to the relevant repo. It just works!
Fix drawing lag
Due to complex filtering of many elements, the UI would slow down to a crawl when there are a lot of files with a lot of log entries. This has been optimized a bunch, so everything runs silky smooth again.
Reverting whole repo to older versions can now be done in the background
Yeah, this one was still blocking until now.
It now also gives you a warning if you have any local modifications, since if you're trying to revert the entire repo to a past state, you probably don't want to have local modifications. The UI will advise you to revert or commit your changes before reverting the whole repo.
Plus one million error fixed
Particularly when turning the addon off and back on in various states. Not sure why you would be doing that, but now you can.