最新存储库版本的 CVS 备份副本
我有一个 CVS 存储库,并且我注意到在我的工作目录(沙箱)中存在如下文件:myFile.cpp.~1.3.~。我认为这些文件总是与存储库中的最新文件相对应,但事实似乎并非如此。
我想知道这些文件来自哪里以及我是否可以创建它们以便它们成为存储库中的最新版本。
ps 我经常使用 emacs。也许这也可能在这里发挥作用...
编辑:我意识到这几乎肯定与 emacs 有关。它似乎知道我正在处理 CVS 文件,当我转到“工具”->“比较版本”并比较最新版本时,它命名的缓冲区几乎与我上面描述的格式相同(减去最后一个之前的“.”) “~”)。
I have a CVS repository and I've noticed that in my working directory (sandbox) there are files like: myFile.cpp.~1.3.~. I thought that these files always corresponded to the latest one in the repository, but that doesn't seem to be the case.
I'm wondering where these files come from and whether I can create them so that they are the latest version in the repository.
p.s. i use emacs a lot. perhaps that could be at play here too...
EDIT: I'm realizing that this is almost definitely something related to emacs. It seems to know that I'm working on a CVS file and when I go to Tools->Compare Versions and compare the latest version it names the buffer almost identical to the format I descibed above (minus the "." before the last "~").
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对我来说听起来像 emacs。 Emacs 以 ~ 结尾命名临时文件。
要关闭它,您可以将 (setq make-backup-files nil) 添加到 .emacs
Sounds to me like emacs. Emacs names temp files with a ~ at the end.
To turn that off you can add (setq make-backup-files nil) to .emacs