LT-21752: Add Send/Receive data option to backup/restore#907
Open
jasonleenaylor wants to merge 2 commits into
Open
LT-21752: Add Send/Receive data option to backup/restore#907jasonleenaylor wants to merge 2 commits into
jasonleenaylor wants to merge 2 commits into
Conversation
* Add a user choice for including Send/Receive data on by default for projects using Send/Receive * Always restore the repository if it is in the backup but display a checkbox to show if the data is there * Only Block the restore if the backup does not have Send/Receive data in it * Update liblcm to the version including this backup option
* -Libary requried liblcm, while the default option wanted Lcm * File was written out with spaces but tabs were expected
NUnit Tests 1 files ±0 1 suites ±0 12m 22s ⏱️ + 1m 20s Results for commit 3bc4f51. ± Comparison against base commit 9345700. This pull request removes 1 and adds 3 tests. Note that renamed tests count towards both. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.hg(Mercurial) directories andOtherRepositories/folders in backupsRestoreProjectPresenter.IsOkayToRestoreProject()to allow restoring over S/R projects when the backup includes S/R dataManage-LocalLibraries.ps1: usesXmlWriterwith tab-indented settings instead ofXmlDocument.Save()to preserveSilVersions.propsformatting; makes-LibraryValidateSet names (lcm,palaso) consistent with pack-mode switch names (-Lcm,-Palaso)Companion PR
The liblcm side of this feature (interface, settings, serialization, backup/restore service changes, and tests) has already been merged: the
IBackupInfo.IncludeSendReceiveDataproperty,BackupFileSettingsserialization,ProjectBackupServicefile gathering,ProjectRestoreServiceextraction, andRestoreProjectSettingscommand-line option.Test plan
RestoreProjectPresenterTests.cs(3 tests forIncludesFileswith S/R flag variations).hgexists in project.hg/andOtherRepositories/entries when checkedManage-LocalLibraries.ps1 -Library lcm -Version Xworks (previously required-Library liblcm)SilVersions.propsretains tab indentation after runningManage-LocalLibraries.ps1🤖 Generated with Claude Code
This change is