如何在家庭环境中使用化石 (DVCS)? [英] How can I use fossil (DVCS) in a home environment?

查看:29
本文介绍了如何在家庭环境中使用化石 (DVCS)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将化石作为我的新 VCS,因为我是从事小型项目的孤独开发人员.我开始测试化石,但遇到了一个(可能是主要的新手)问题.如何推送或拉到另一个目录(这在 Hg 上很容易).Fossil pull 或 push 命令需要一个 URL 而不是目录.当我在一个目录中启动服务器并尝试从另一个目录推送时,我收到服务器循环"错误消息.有什么想法吗?

I'm trying fossil as my new VCS, since I'm a lone developer working on small projects. I started testing fossil but I encountered a (probably major newbie) problem. How does one push or pull to another directory (which is easy on Hg). Fossil pull or push commands expect a URL and not a directory. When I start a server in one directory and try to push from another directory I get the "server loop" error message. Any ideas?

推荐答案

根据 这张化石票,克隆、推和拉需要运行化石服务器.你不能只使用repo,你必须启动一个服务器,然后参考http://localhost/whatever 你应该是金色的.

According to this fossil ticket, cloning, pushing and pulling require a fossil server to be running. You can't just use the repo, you'll have to start a server, then refer to http://localhost/whatever and you should be golden.

  1. 在原始存储库中运行fossil server
  2. 转到目标目录并运行 fossil clone http://localhost:8080 (或推或拉)
  1. Run fossil server in the original repository
  2. Go to the destination directory and run fossil clone http://localhost:8080 <repository name> (or push or pull)

这篇关于如何在家庭环境中使用化石 (DVCS)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆