MKS中掉线的成员可以恢复吗?

发布于 2024-10-20 02:23:54 字数 294 浏览 4 评论 0原文

我当前的客户使用 MKS 进行源代码控制。

他们有一项政策,不允许开发人员删除成员。因此,这也禁止我们进行移动等。

我询问了这背后的原因,我被告知这是因为一旦你从 MKS 中删除了一名会员,你就无法将其恢复。与 SVN 不同,在 SVN 中你总是可以从历史记录中恢复,显然在 MKS 中,一旦历史记录消失,它就消失了。

这是真的吗,还是客户弄错了?

他们在MKS中的操作是否类似于svn的删除操作?

显然,无法完全控制我们的源代码树会导致我们的代码库出现问题。在挑战这种做法之前,我想了解事实。

My current client uses MKS for source control.

They have a policy where developers are not granted permissions to drop members. This therefore prohibits us from doing moves etc., as well.

I've asked for the reasoning behind this, and I'm told it's because once you drop a member from MKS, you can't get it back. Unlike in SVN where you can always recover from the history, apparantly in MKS once it's gone, it's gone.

Is this true, or is the client mistaken?

Is their an operation in MKS analogous to svn's delete operation?

Obviously not having full control over our source tree leads to problems with our codebase. I'd like to know the facts before I challenge this practice.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

紫罗兰の梦幻 2024-10-27 02:23:54

您可以在 MKS 中恢复已删除的成员。
但是您必须知道服务器上的相关存档文件。如果该成员被重命名和/或在过去移动,这可能是一项非常困难的任务。

You can restore dropped members in MKS.
But you must know the related archive file on the server. If the member was renamed and/or move in the past, this could be a very difficult task.

执着的年纪 2024-10-27 02:23:54

再次添加已删除成员的命令是“从存档添加成员”。
或者在命令行上:

si addmemberfromarchive

正如 Martin 指出的,您需要知道中央服务器上存档文件的位置。

The command to add a dropped member again is "Add Member from Archive".
Or on the command line:

si addmemberfromarchive

As Martin pointed out, you need to know the location of the archive file on the central server.

暖风昔人 2024-10-27 02:23:54

除了@Martin 和@SzG 之外,我还想建议制作一份要存档的成员参考列表并保持更新。
检查以下命令

si viewsandbox --recurse --xmlapi --sandbox=%SANDBOX% --includeDropped --fields=memberarchive,memberrev,workingarchive,workingrev,name 

如果您不需要工作(存档|修订),那么您就可以使用si viewproject

In addition to @Martin and @SzG I'd like to suggest making a reference list of member-to-archive and keep that updated.
Check the following command

si viewsandbox --recurse --xmlapi --sandbox=%SANDBOX% --includeDropped --fields=memberarchive,memberrev,workingarchive,workingrev,name 

If you don't need working(archive|revision) you are well with si viewproject

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文