Beyond Compare 3 编辑已禁用

发布于 2024-10-20 21:35:47 字数 185 浏览 1 评论 0原文

使用 BC2,当我单击 SourceGear Vault 中的“显示差异...”选项时。它允许我从存储库复制到工作版本并保存,但我无法使用 BC3 执行此操作。它不允许复制到另一面(右),并且在 BC3 底部显示禁用编辑。甚至 DiffMerge 也是如此。我在这里不明白什么?

有人可以向我解释为什么 BC3 会发生变化吗?有解决方法吗?

With BC2, when i click the Show differences... option in SourceGear Vault. It allow me to copy from the repository to the working version and save but I can't do this with BC3. It doesn't allow copying to the otherside (right) and have the editing disabled showing at the bottom of the BC3. It is even the same with DiffMerge. What am I not understanding here?

Can someone explain to me why the changes in BC3 and is there a workaround?

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

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

发布评论

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

评论(3

仙女 2024-10-27 21:35:47

Beyond Compare 将因以下任一原因禁用文件编辑:

  • 它是 3 向合并中的输入文件之一
  • 比较已取消
  • 比较遇到错误(文件损坏、字符编码无效、内存不足、伽马射线)等)
  • 文件格式的转换设置不支持转换回原始格式(MS Word、PDF)
  • 该文件位于只读“文件系统”上(7zip/RAR/CHM 存档、CD/DVD-ROM)
  • A文件或父文件夹已被用户在会话设置中或使用 /ro 命令行开关明确禁用编辑
  • 查看器本身不支持编辑(例如,v4 之前的十六进制比较)

此外,完整编辑查看菜单中的strong> (F2)切换键可在内联编辑和基于行的模式之间切换。如果它被禁用,您可以复制/删除整行并在窗口底部输入行详细信息编辑,但主窗口不会有光标,打字被禁用,并且它将始终选择整行。与上述项目不同,这不会在状态栏中显示“编辑已禁用”。

Beyond Compare will disable editing of a file for any of the following reasons:

  • It's one of the input files in a 3-way merge
  • The comparison was cancelled
  • The comparison encountered an error (corrupt file, invalid character encoding, out of memory, gamma rays, etc)
  • The file format's conversion settings don't support converting back to the original format (MS Word, PDF)
  • The file is on a read-only "filesystem" (7zip/RAR/CHM archives, CD/DVD-ROMs)
  • A file or parent folder had editing explicitly disabled by the user in the session settings or using the /ro command line switches
  • The viewer itself doesn't support editing (eg, Hex Compare prior to v4)

Also, the Full Edit (F2) toggle in the Text Compare View menu switches between inline editing and line-based mode. If it's disabled you can copy/delete whole lines and type in the line details edits at the bottom of the window, but the main windows won't have a cursor, typing is disabled, and it will always select whole lines. Unlike the above items, this doesn't show "Editing Disabled" in the status bar.

隐诗 2024-10-27 21:35:47

命令行上必须有一个标志来调用 BC,例如 /ro# 或 /#ro 或 /(side)readonly (其中 side 是左或右),它会阻止编辑。

这些标志之所以存在,是因为经常使用临时文件来调用 diff 来进行 diff,特别是从 SCC 中。 Vault 可能有一个“外部 diff”命令,因此您必须选择标志是否始终存在,它可以防止您意外编辑临时文件并在关闭 diff 工具时丢失这项工作。

there must be a flag on the command line to call BC such as /ro# or /#ro or /(side)readonly (where side is left or right), it prevents editing.

these flags are there because differs are often called with temporary files to diff, in particular from SCC. and Vault probably has a single "external diff" command, thus you have to choose whether the flags are always there, it protects you from unexpectly editing a temporary file and loose this work when closing the diff tool, or not.

酒浓于脸红 2024-10-27 21:35:47

我发现的几个原因是:

  • 如果文件的编码与默认值不同。在这种情况下,将编码更改为预期的编码。 (在我的例子中为 Japanese-ShiftJIS)
  • 如果正在进行文件刷新。

The few reasons I have found are:

  • If the encoding of the file is different than the default. In this case change the encoding to the expected one. (Japanese-ShiftJIS in my case)
  • If a refresh of files is in progress.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文