From 4c7ca9bed06cd9602d2a44041cdf2eddaf5a98d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B7=AF=E5=B0=8F=E9=B9=BF?= <1551755561@qq.com> Date: Wed, 26 Mar 2025 17:20:49 +0800 Subject: [PATCH 1/2] Add a know issue in "import_export.md" During the import/export process, only the most recent merge request diffs will be retained --- doc/user/project/settings/import_export.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/user/project/settings/import_export.md b/doc/user/project/settings/import_export.md index f676ece1cd79dc..e622fedc50c2cd 100644 --- a/doc/user/project/settings/import_export.md +++ b/doc/user/project/settings/import_export.md @@ -38,6 +38,8 @@ Using project export files for backups does not always work, and not all items a [troubleshooting documentation](import_export_troubleshooting.md#error-pgquerycanceled-error-canceling-statement-due-to-statement-timeout). - In GitLab 17.0, 17.1, and 17.2, imported epics and work items are mapped to the importing user rather than the original author. +- For merge requests, only the latest diffs is preserved during import/export. + This means that after importing a project, you can only view the latest version code changes in the Changes tab and the latest pipeline in the Pipelines tab of merge requests. ## Migrate projects by uploading an export file -- GitLab From f524f5dc047e03ef4b56574e0bc9978ecd94ba90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B7=AF=E5=B0=8F=E9=B9=BF?= <1551755561@qq.com> Date: Thu, 27 Mar 2025 15:59:28 +0800 Subject: [PATCH 2/2] Update import_export.md --- doc/user/project/settings/import_export.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/user/project/settings/import_export.md b/doc/user/project/settings/import_export.md index e622fedc50c2cd..027a90a49995c0 100644 --- a/doc/user/project/settings/import_export.md +++ b/doc/user/project/settings/import_export.md @@ -38,8 +38,8 @@ Using project export files for backups does not always work, and not all items a [troubleshooting documentation](import_export_troubleshooting.md#error-pgquerycanceled-error-canceling-statement-due-to-statement-timeout). - In GitLab 17.0, 17.1, and 17.2, imported epics and work items are mapped to the importing user rather than the original author. -- For merge requests, only the latest diffs is preserved during import/export. - This means that after importing a project, you can only view the latest version code changes in the Changes tab and the latest pipeline in the Pipelines tab of merge requests. +- For merge requests, only the latest diff is preserved during import or export. + After importing or exporting a project, only the latest diff version and the latest pipeline in merge requests are visible. ## Migrate projects by uploading an export file -- GitLab