在 SourceSafe 中更改签出文件的签出文件夹

发布于 2024-09-02 15:12:55 字数 400 浏览 12 评论 0原文

我必须重建我的机器并从 XP 升级到 Windows 7。我现在遇到了一个问题:我之前在 SourceSafe 中签出了文件,但在新安装的本地文件夹中仍然有这些文件的副本。然而,SourceSafe 仍然将它们签出到旧的 XP 文件夹(c:\documents 和设置等),而文件现在驻留在 c:\Users 中。

Visual Studio 中的待签入现在认为我没有签出任何内容,并且 SourceSafe 声明文件已在 c:\documents and settings\ 路径下签出给我。

有什么方法可以告诉 SourceSafe 只需“查看那里”的文件吗?它似乎适用于单独撤消和重做文件签出,但这是一个漫长的过程,我希望尽可能避免。如果我只是单独签出这些文件,那么它会将它们列为签出给我两次,每个位置一次。

任何指示将不胜感激!

I had to rebuild my machine and went from XP to Windows 7. I've now got a bit of an issue: I had files checked out in SourceSafe previously, which I still have copies of in the local folder on my new install. However, SourceSafe still has them checked out to the old XP folder (c:\documents and settings etc) whereas the files now reside in c:\Users.

Pending Checkins in Visual Studio now thinks I have nothing checked out, and SourceSafe declares that the files are checked out to me under the c:\documents and settings\ path.

Is there any way to tell SourceSafe to simply "look over there" for the files instead? It seems to work with individually undoing and redoing checkout on the files, but that's a lengthy process and one I'd like to avoid if possible. If I simply checkout the files individually then it lists them as checked out to me twice, one for each of the locations.

Any pointers would be very much appreciated!

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

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

发布评论

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

评论(2

冰火雁神 2024-09-09 15:12:55

如果将工作文件夹设置到新位置,则可以再次检出该文件,但选中“不获取本地副本”复选框。现在您已将其检出到正确的位置,并且可以检入文件。

或者,当您选择检入单个文件时,可以单击“浏览”从不同位置选择文件。

这是旧版本的 SourceSafe (VSS6) 的情况,但希望从那时起 UI 没有发生太大变化。

If you set the working folder to the new location, you can check out the file again, but check the "don't get local copy" checkbox. Now you've got it checked out in the correct location and can check the file in.

Or, when you choose to check in a single file, you can click "Browse" to select a file from a different location.

This is with an older version of SourceSafe (VSS6), but hopefully the UI hasn't changed much since then.

沫雨熙 2024-09-09 15:12:55

呃,我越来越难以记住我的 VSS...(我都是凭记忆做这一切)

您不能右键单击 VSS 中的文件夹并选择“签入...”并将其指向您的文件夹吗?新的本地副本?我以前做过类似的事情。它警告您它已签出到不同的位置,但它会签入文件......

Ugh, it's getting hard for me to remember my VSS... (I'm doing this all from memory)

Can't you right-click on your folder in VSS and select "Check In..." and point it to your new local copy? I've done something like this before. It warns you that it's checked out to a different place, but it will check in the files...

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