The Krita VCS plugin (aka Krita VC)
A small Version Control panel that lives inside Krita, so you can save a version, set work aside, or switch to another line of work without leaving your canvas. It uses the same engine and the same history as the Krita VCS app, so a version saved in one shows up in the other. It needs the app installed too.
Download the pluginIf something goes wrong
Most problems come down to a file in the wrong place, Krita not finding the kvc tool, or a painting the app isn't tracking yet.
"Version Control" isn't in the Dockers menu. The plugin didn't load. Check that kritavc.desktop and the kritavc folder are directly inside pykrita, that Krita VC is ticked in the Python Plugin Manager, and that you restarted Krita afterwards.
"The kvc command-line tool wasn't found." Install the Krita VCS app if you haven't, then click Locate kvc and pick the file from the install steps.
"That isn't the kvc tool." You picked a different file, often the main krita-vc app itself. Pick kvc (or kvc.exe on Windows), the file itself rather than its folder.
"Krita VC tracks .kra documents." The painting you have open is a .png, .jpg or another format. Only .kra files have versions. Save it as .kra and start tracking it in the app.
"Open a saved document to see its versions." The painting hasn't been saved to a file yet. Save it as a .kra first.
"This artwork isn't version-controlled." Start tracking the painting in the app with Track an artwork. If the app already tracks it and you changed Settings → Storage → Where version history is kept, that's the cause: for now the panel only finds history kept beside the painting.
"repository is busy (locked by another process)" The app, or another action from the panel, is saving, switching or backing up right now. The message says what it's doing and for how long. Wait for it to finish and try again. The lock releases by itself, even after a crash, so there's nothing to delete by hand.
"Save (Ctrl+S) or undo your changes in … first." An action would have rewritten a painting that still has unsaved changes. You shouldn't normally see this, because clicking into the panel saves first. If you do, that save failed; see the next item.
"Couldn't save …" Krita couldn't write the file. Usually it's read-only, the disk is full, or another program has it open. Commit won't save a version from an out-of-date file, so fix the file and click the refresh button to try again.
"kvc didn't finish within …" Reading the history took longer than 30 seconds, or a save or switch longer than 5 minutes. Close the Krita VCS app if it's open and try again.
"version history is damaged: …" Part of this painting's history can't be read, so nothing new is saved on top of it, from the panel or the app. Open the app and run Settings → Storage → Check for problems to see what's wrong. Restoring an earlier backup brings a working history back.
Anything else The panel shows a short message and writes the full details to krita-vc-error.log in your home folder. Include that file if you open an issue on GitHub.