English 中文(简体)
我如何从科索沃统计局备用名录(没有服务器)恢复一个项目
原标题:How do I restore a project from a CVS Backup Directory (without the server)
  • 时间:2012-05-02 15:23:18
  •  标签:
  • cvs
  • restore

我拥有在综合安全局管理的项目的后备名录。

How can I extract it so that the files are "normal" again? All the extensions seem to end in ,v and the files themselves have got CVS comments that render the files rather useless to me.

不幸的是,原先的CVS服务器根本不存在。

任何帮助都将受到高度赞赏。

最佳回答

如果您拥有所有存放处的档案,而不仅仅是项目档案,而且还有CVSROOT名录中的文件(与项目目录相同)。

Restore the files into a temporary directory. No need to do so as root, a simple directory off of a normal users account will do.

Temporarily set your CVSROOT environment variable to point to the temporary directory.

然后,你应当能够从存放处(在另一个名录中谨慎地这样做)。 或出口,或你喜欢什么。

In fact, if you don t need remote/multiuser access to the repo, you can even continue using the repo (with all the revision information) this way.

可能令人混淆的一点是,CVSROOT环境变量中具体列出的名录将包含可能称为CVSROOT的目录。 每个储存在存放处的项目也应有相同的目录。

So if you restored everything to /home/username/restored_root , you d want the variable to point to /home/username/restored_root which will have a directory named CVSROOT in it, as well as one directory for each project that was in the repository.

问题回答

暂无回答




相关问题
Use the commit message in a CVS pre-commit hook

Is it possible to use the commit message in a pre-commit hook in CVS? The CVS server is running remotely, and I access it using pserver. Ideally, I want to allow the commit if the files pass the ...

Using CVS to #ifdef my changes

I have a large project that has many changes not yet checked in. I want to check them in but have them only take effect when a certain symbol is #define d CVS does have the ability to format diffs ...

Netbeans CVS - existing repo - existing working copy

I m using Netbeans to develop with Drupal. I m trying to let Netbeans get drupal core and modules from the repository on drupal.org to my local working copy. Problem is: I already have a working ...

Does an Eclipse CVS merge appear in the log view of a file?

I m not new to the Branch/Merge idea, but I m new to CVS. I have a sample file that I have brached off of the main trunk, and have made non-conflicting edits to both the branch and the main. When I ...

Tips on upgrading CVS to git/hg?

We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...

Get local cvs comment history when committing file/s in emacs

I often commit files with similar cvs comment but not in a single operation. I would like to able to bring up previous comments I ve used in a previous commit when I am in the process of writing a ...

热门标签