Find a missing saved revision
Use this guide when a revision that you saved does not appear in the Timeline.
Check the project and branch in IOFabrik
Section titled “Check the project and branch in IOFabrik”- Confirm the project in the top-bar Repository selector.
- Check the Branch selector.
- Open Home and expand Timeline at the bottom of its sidebar.
- Look for the save message and author on the selected branch.
- If you saved on another branch, select that branch and inspect its Timeline.
Saving a file in Studio 5000 updates the working file. Save Changes in IOFabrik creates a revision in Git. An unsaved change does not yet have a Timeline entry.
If a teammate saved the revision, confirm that they shared it. Select Sync to receive shared work. If Sync fails, use Fix a failed Sync.
If the project was cloned with Shallow Clone on, older revisions can be absent. Clone into a new folder with Shallow Clone off to retrieve the full history. Keep the existing folder until you have preserved any local work.
Preserve work that is not on a branch
Section titled “Preserve work that is not on a branch”If Repository Settings → Troubleshooting shows Not on Any Branch (Detached HEAD), preserve the current position before switching away:
- Back up the complete project.
- Reopen the original project and return to Repository Settings → Troubleshooting.
- Enter an unused branch name, such as
recovered-pump-work. - Select Create Branch.
- Confirm that the top-bar Branch selector shows the new branch.
The new branch points to the current saved revision. Use Save Changes to record any remaining working-file changes.
Search local saved history
Section titled “Search local saved history”Replace the project path and run these read-only PowerShell commands. The block adds the bundled Git and Git LFS directories to PATH for this session:
$repo = 'C:\Projects\PumpStation'$tools = Join-Path $env:LOCALAPPDATA 'IOFabrik\tools\bin'$git = Join-Path $tools 'git\cmd\git.exe'$lfs = Join-Path $tools 'lfs\git-lfs.exe'$env:PATH = (Split-Path $git) + ';' + (Split-Path $lfs) + ';' + $env:PATH& $git -C $repo status --short --branch& $git -C $repo log --all --oneline --decorate -30& $git -C $repo reflog -20Expect revision hashes and save messages from the log. --all includes local branches and known remote-tracking branches. The reflog records recent movements of local branch tips and HEAD.
If the expected revision appears on another branch, return to IOFabrik and inspect that branch. If it appears only in the reflog, preserve it before running maintenance.
Preserve a revision found in the reflog
Section titled “Preserve a revision found in the reflog”Back up the complete project first. Close IOFabrik before creating a recovery branch.
Replace REVISION_HASH with the hash that you verified in the previous output:
$repo = 'C:\Projects\PumpStation'$git = Join-Path $env:LOCALAPPDATA 'IOFabrik\tools\bin\git\cmd\git.exe'$revision = 'REVISION_HASH'$branch = 'recovery-' + (Get-Date -Format 'yyyyMMdd-HHmmss')& $git -C $repo show --no-patch --oneline $revisionif ($LASTEXITCODE -ne 0) { throw 'The revision was not found. Check the hash before creating a branch.' }& $git -C $repo branch $branch $revisionif ($LASTEXITCODE -ne 0) { throw 'The recovery branch could not be created.' }& $git -C $repo branch --list $branchExpect the new recovery-... branch name. Creating the branch preserves that saved revision without replacing your current working files.
Verify the recovered work
Section titled “Verify the recovered work”Reopen the project in IOFabrik. Use the Branch selector to inspect the recovery branch when your current work is saved. Open its Timeline and confirm the expected revision.
If Git reports a damaged object or the revision remains missing, stop before Deep Clean & Repair. Keep your backup and collect diagnostics. Include the save message, branch name, and the last time you saw the revision.